diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-21 23:51:13 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-21 23:51:13 +0000 |
commit | 5bb588f9dac320ba16f1d08634e2a26a8dd895a2 (patch) | |
tree | b2a192c198bd9ca29c7e4aaca38e3ee8227f81be /engine | |
parent | 05f8aeaf8b08a58267adc6569a64bee38e915b31 (diff) | |
download | elgg-5bb588f9dac320ba16f1d08634e2a26a8dd895a2.tar.gz elgg-5bb588f9dac320ba16f1d08634e2a26a8dd895a2.tar.bz2 |
Refs #2882 basic lightbox
git-svn-id: http://code.elgg.org/elgg/trunk@8808 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/views.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php index 98edf1502..6c3d481e3 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -1491,6 +1491,12 @@ function elgg_views_boot() { elgg_load_js('jquery-ui'); elgg_load_js('jquery.form'); + elgg_register_simplecache_view('js/lightbox'); + $lightbox_js_url = elgg_get_simplecache_url('js', 'lightbox'); + elgg_register_js('lightbox', $lightbox_js_url); + $lightbox_css_url = 'vendors/jquery/fancybox/jquery.fancybox-1.3.4.css'; + elgg_register_css('lightbox', $lightbox_css_url); + elgg_register_event_handler('ready', 'system', 'elgg_views_register_core_head_elements'); elgg_register_event_handler('pagesetup', 'system', 'elgg_views_add_rss_link'); |