aboutsummaryrefslogtreecommitdiffstats
path: root/admin/configuration.php
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2007-01-28 20:56:10 +0000
committervdigital <vdigital@piwigo.org>2007-01-28 20:56:10 +0000
commit7ee3f5579aab21257d236e6f8aa853cd639ff460 (patch)
treee13479319990abbe9f96366bef547708f8766c38 /admin/configuration.php
parent7709c4189cadfcfc56c97fd5cd47df06033b6429 (diff)
Issue 0000614: Display hits under thumbnails like comments counter
git-svn-id: http://piwigo.org/svn/trunk@1763 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/configuration.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/admin/configuration.php b/admin/configuration.php
index 1d295e7cd..12235cce6 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -232,6 +232,8 @@ switch ($page['section'])
{
$show_yes = ($conf['show_nb_comments']==true)?'checked="checked"':'';
$show_no = ($conf['show_nb_comments']==false)?'checked="checked"':'';
+ $hits_yes = ($conf['show_nb_hits']==true)?'checked="checked"':'';
+ $hits_no = ($conf['show_nb_hits']==false)?'checked="checked"':'';
$expand_yes = ($conf['auto_expand']==true)?'checked="checked"':'';
$expand_no = ($conf['auto_expand']==false)?'checked="checked"':'';
@@ -247,7 +249,9 @@ switch ($page['section'])
'EXPAND_YES'=>$expand_yes,
'EXPAND_NO'=>$expand_no,
'SHOW_COMMENTS_YES'=>$show_yes,
- 'SHOW_COMMENTS_NO'=>$show_no
+ 'SHOW_COMMENTS_NO'=>$show_no,
+ 'SHOW_HITS_YES'=>$hits_yes,
+ 'SHOW_HITS_NO'=>$hits_no,
));
$blockname = 'default.language_option';