mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 09:03:38 +02:00
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
This commit is contained in:
@@ -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'])
|
||||
|
||||
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user