From 2d7ab6f4dac14a3bbf6718edfaf999e6ad58cf98 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 14 Jan 2009 07:21:35 +0000 Subject: Create Item_Model::thumb_tag() and Item_Model::resize_tag() to provide an abstraction for when we add movie support. --- themes/default/views/album.html.php | 6 +----- themes/default/views/photo.html.php | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'themes') diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php index c5415a39..cb3bd430 100644 --- a/themes/default/views/album.html.php +++ b/themes/default/views/album.html.php @@ -14,11 +14,7 @@
  • thumb_top($child) ?> - <?= $child->title ?> + thumb_tag(array("class" => "gThumbnail")) ?> thumb_bottom($child) ?>

    title ?>

    diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index a2ae5a8b..aa7053dc 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -12,11 +12,7 @@ - <?= $item->title ?> + resize_tag(array("id" => "gPhotoId-{$item->id}")) ?>

    title ?>

    -- cgit v1.2.3