diff options
author | rub <rub@piwigo.org> | 2007-02-26 06:19:17 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-02-26 06:19:17 +0000 |
commit | eac687a6e67aec80481830e3899eaf19776a513d (patch) | |
tree | 085e3acbbbd77df1145aa9ce38b85a75054581e0 /include/category_default.inc.php | |
parent | c7f47c7d5d4c937933aef373008c037a6b603bc9 (diff) |
Remove $conf['show_nb_hits'] condition witch can hide $conf['user_nb_hits'] condition.
git-svn-id: http://piwigo.org/svn/trunk@1859 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/category_default.inc.php')
-rw-r--r-- | include/category_default.inc.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/category_default.inc.php b/include/category_default.inc.php index fed872691..bb6b5a089 100644 --- a/include/category_default.inc.php +++ b/include/category_default.inc.php @@ -2,10 +2,9 @@ // +-----------------------------------------------------------------------+ // | PhpWebGallery - a PHP based picture gallery | // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | -// | Copyright (C) 2003-2006 PhpWebGallery Team - http://phpwebgallery.net | +// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | // +-----------------------------------------------------------------------+ -// | branch : BSF (Best So Far) -// | file : $RCSfile$ +// | file : $Id$ // | last update : $Date$ // | last modifier : $Author$ // | revision : $Revision$ @@ -105,8 +104,7 @@ foreach ($pictures as $row) ) ); if ($user['show_nb_hits'] - and isset($page['category']) - and $conf['show_nb_hits']) + and isset($page['category'])) { $template->assign_block_vars( 'thumbnails.line.thumbnail.nb_hits', |