mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 02:33:02 +02:00
Issue 0000614: Display hits under thumbnails like comments counter
git-svn-id: http://piwigo.org/svn/trunk@1763 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -104,6 +104,14 @@ foreach ($pictures as $row)
|
||||
'CLASS' => 'thumbElmt',
|
||||
)
|
||||
);
|
||||
if ($user['show_nb_hits']
|
||||
and isset($page['category'])
|
||||
and $conf['show_nb_hits'])
|
||||
{
|
||||
$template->assign_block_vars(
|
||||
'thumbnails.line.thumbnail.nb_hits',
|
||||
array('HITS'=> l10n_dec('%d hit', '%d hits', $row['hit'])));
|
||||
}
|
||||
|
||||
if ($conf['show_thumbnail_caption'])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user