From 329799db33b04d09b9ce3bef4f26ffab6e2fcebc Mon Sep 17 00:00:00 2001 From: John Bowles Date: Fri, 27 Aug 2010 17:00:18 -0700 Subject: [PATCH] Embed_videos: Moved JS to header, added DIV. Removed unused view. --- .../helpers/embed_videos_theme.php | 2 +- .../views/embed_video_js.html.php | 6 +++--- .../views/embedded_video.html.php | 19 ------------------- 3 files changed, 4 insertions(+), 23 deletions(-) delete mode 100644 modules/embed_videos/views/embedded_video.html.php diff --git a/modules/embed_videos/helpers/embed_videos_theme.php b/modules/embed_videos/helpers/embed_videos_theme.php index 5d51204f..b7464478 100644 --- a/modules/embed_videos/helpers/embed_videos_theme.php +++ b/modules/embed_videos/helpers/embed_videos_theme.php @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class embed_videos_theme_Core { - static function photo_bottom($theme) { + static function head($theme) { $item = $theme->item(); if ($item && $item->is_photo()) { $embedded_video = ORM::factory("embedded_video") diff --git a/modules/embed_videos/views/embed_video_js.html.php b/modules/embed_videos/views/embed_video_js.html.php index 7f3201c8..ea2aa721 100644 --- a/modules/embed_videos/views/embed_video_js.html.php +++ b/modules/embed_videos/views/embed_video_js.html.php @@ -20,8 +20,8 @@ ?> \ No newline at end of file diff --git a/modules/embed_videos/views/embedded_video.html.php b/modules/embed_videos/views/embedded_video.html.php deleted file mode 100644 index efdd7f1c..00000000 --- a/modules/embed_videos/views/embedded_video.html.php +++ /dev/null @@ -1,19 +0,0 @@ - -
- photo_top() ?> - - paginator() ?> - -
- resize_top($item) ?> - - resize_bottom($item) ?> -
- -
-

title) ?>

-
description)) ?>
-
- - photo_bottom() ?> -