From 139964bcc7bc8c0fc4fd708d9df265e067049391 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 20 Jun 2009 19:22:35 +0000 Subject: finished improving thumbnail code and replaced the old image error image --- views/default/object/album.php | 6 +++--- views/default/tidypics/albums.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'views/default') diff --git a/views/default/object/album.php b/views/default/object/album.php index 1e8ff9dc9..eb26123e2 100644 --- a/views/default/object/album.php +++ b/views/default/object/album.php @@ -5,7 +5,7 @@ global $CONFIG; - $file = $vars['entity']; + $file = $vars['entity']; $file_guid = $file->getGUID(); $tags = $file->tags; $title = $file->title; @@ -14,7 +14,7 @@ $friendlytime = friendly_time($vars['entity']->time_created); $mime = $file->mimetype; - if (get_context() == "search") { + if (get_context() == "search") { if (get_input('search_viewtype') == "gallery") { //default gallery view for album listing @ /photos/owned/ @@ -23,7 +23,7 @@ if($file->cover) $album_cover = 'thumbnail'; else - $album_cover = 'new album'; + $album_cover = 'new album'; ?>