diff options
author | shadlaws <shad@shadlaws.com> | 2013-03-04 23:44:50 +0100 |
---|---|---|
committer | shadlaws <shad@shadlaws.com> | 2013-03-04 23:44:50 +0100 |
commit | a517d9a33a47a2308cec1c9bfb1138abf181a909 (patch) | |
tree | 7d134143cd5cd667b2b2036fe8584183b8b5c865 /themes/wind | |
parent | e77276736351700b3bbd1080369738620ff8be28 (diff) |
Follow-on to #2033 - Change variables and js script loading for Flash Flowplayer.
- changed movie_img event variable names to have "flash" in them.
- moved flowplayer.js loading from page.html.php to movieplayer-flash.
- removed conditional loading for small, photo-specific JS files in page.html.php
to keep combined JS consistent between page types (better for caching).
Diffstat (limited to 'themes/wind')
-rw-r--r-- | themes/wind/views/page.html.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php index 898b499d..1bb329df 100644 --- a/themes/wind/views/page.html.php +++ b/themes/wind/views/page.html.php @@ -50,14 +50,8 @@ <?= $theme->script("gallery.dialog.js") ?> <?= $theme->script("superfish/js/superfish.js") ?> <?= $theme->script("jquery.localscroll.js") ?> - - <? /* These are page specific but they get combined */ ?> - <? if ($theme->page_subtype == "photo"): ?> <?= $theme->script("jquery.scrollTo.js") ?> <?= $theme->script("gallery.show_full_size.js") ?> - <? elseif ($theme->page_subtype == "movie"): ?> - <?= $theme->script("flowplayer-flash/flowplayer.js") ?> - <? endif ?> <?= $theme->head() ?> |