mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 17:32:25 +02:00
Missing one change flat_hint to mode_flat_hint
Review a little l10n_dec git-svn-id: http://piwigo.org/svn/trunk@1864 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -103,8 +103,7 @@ foreach ($pictures as $row)
|
||||
'CLASS' => 'thumbElmt',
|
||||
)
|
||||
);
|
||||
if ($user['show_nb_hits']
|
||||
and isset($page['category']))
|
||||
if ($user['show_nb_hits'])
|
||||
{
|
||||
$template->assign_block_vars(
|
||||
'thumbnails.line.thumbnail.nb_hits',
|
||||
@@ -155,9 +154,7 @@ foreach ($pictures as $row)
|
||||
);
|
||||
}
|
||||
|
||||
if ($user['show_nb_comments']
|
||||
and isset($page['category'])
|
||||
and $page['category']['commentable'])
|
||||
if ($user['show_nb_comments'])
|
||||
{
|
||||
$query = '
|
||||
SELECT COUNT(*) AS nb_comments
|
||||
|
||||
Reference in New Issue
Block a user