aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-07-01 21:14:04 +0000
committermistic100 <mistic@piwigo.org>2011-07-01 21:14:04 +0000
commitc16eeb1f2e0dbe4b2a5127c0b1d6942bab4b08b0 (patch)
treefa4921ddbd72dd35da58395394a7db4a66167865
parenta8954c34a1ea60dc52cb5a995e35c575b03a802e (diff)
feature:2330 ability to hide the "new" icon for recent photos
correct a big mistake in var name git-svn-id: http://piwigo.org/svn/trunk@11591 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/category_cats.inc.php2
-rw-r--r--include/category_default.inc.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/category_cats.inc.php b/include/category_cats.inc.php
index 47ae8fda8..f445afa38 100644
--- a/include/category_cats.inc.php
+++ b/include/category_cats.inc.php
@@ -329,7 +329,7 @@ if (count($categories) > 0)
);
if ($conf['index_new_icon'])
{
- $row['icon_ts'] = get_icon($category['max_date_last'], $category['is_child_date_last']);
+ $tpl_var['icon_ts'] = get_icon($category['max_date_last'], $category['is_child_date_last']);
}
if ($conf['display_fromto'])
diff --git a/include/category_default.inc.php b/include/category_default.inc.php
index 66c89f889..bbc63fe21 100644
--- a/include/category_default.inc.php
+++ b/include/category_default.inc.php
@@ -128,7 +128,7 @@ foreach ($pictures as $row)
);
if ($conf['index_new_icon'])
{
- $row['icon_ts'] = get_icon($row['date_available']);
+ $tpl_var['icon_ts'] = get_icon($row['date_available']);
}
if ($user['show_nb_hits'])