diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-26 08:25:24 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-26 08:25:24 -0700 |
commit | 84e98e830c4967c277dfcb5bb6d18c0ec3313355 (patch) | |
tree | a82d81bd63c2d22a55ac5c095cf5561956a73a21 /modules/gallery/helpers | |
parent | f4778699fc52c045f60d72e20bebc000d9f6bda8 (diff) |
Move the inclusion of photo and movie specific javascript into gallery_theme
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r-- | modules/gallery/helpers/gallery_theme.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php index 24f4129b..0679087e 100644 --- a/modules/gallery/helpers/gallery_theme.php +++ b/modules/gallery/helpers/gallery_theme.php @@ -31,6 +31,10 @@ class gallery_theme_Core { if ($theme->page_type == 'photo') { $buf .= html::script("lib/jquery.scrollTo.js"); $buf .= html::script("lib/jquery.localscroll.js"); + $buf .= html::script("lib/gallery.show_full_size.js"); + } + if ($theme->page_type == 'movie') { + $buf .= html::script("lib/flowplayer.js"); } $buf .= html::script($theme->url("js/ui.init.js", false, true)); if ($session->get("debug")) { |