From 7532e1a802beb74b32417cedefc9a000733c8004 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Thu, 9 Jun 2011 20:34:48 +0000 Subject: feature:2330 ability to hide the "new" icon for recent photos git-svn-id: http://piwigo.org/svn/trunk@11285 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/category_cats.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/category_cats.inc.php') diff --git a/include/category_cats.inc.php b/include/category_cats.inc.php index 4271ad9be..47ae8fda8 100644 --- a/include/category_cats.inc.php +++ b/include/category_cats.inc.php @@ -306,7 +306,6 @@ if (count($categories) > 0) 'ID' => $category['id'], 'TN_SRC' => $thumbnail_src_of[$category['representative_picture_id']], 'TN_ALT' => strip_tags($category['name']), - 'icon_ts' => get_icon($category['max_date_last'], $category['is_child_date_last']), 'URL' => make_index_url( array( @@ -328,6 +327,10 @@ if (count($categories) > 0) 'subcatify_category_description')), 'NAME' => $name, ); + if ($conf['index_new_icon']) + { + $row['icon_ts'] = get_icon($category['max_date_last'], $category['is_child_date_last']); + } if ($conf['display_fromto']) { -- cgit v1.2.3