diff options
author | vdigital <vdigital@piwigo.org> | 2007-01-28 20:56:10 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2007-01-28 20:56:10 +0000 |
commit | 7ee3f5579aab21257d236e6f8aa853cd639ff460 (patch) | |
tree | e13479319990abbe9f96366bef547708f8766c38 /include/functions_user.inc.php | |
parent | 7709c4189cadfcfc56c97fd5cd47df06033b6429 (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-- | include/functions_user.inc.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php index 74c1c81f1..bf514ed31 100644 --- a/include/functions_user.inc.php +++ b/include/functions_user.inc.php @@ -160,6 +160,7 @@ function build_user( $user_id, $use_cache ) $user['recent_period'] = $conf['recent_period']; $user['expand'] = $conf['auto_expand']; $user['show_nb_comments'] = $conf['show_nb_comments']; + $user['show_nb_hits'] = $conf['show_nb_hits']; $user['enabled_high'] = $conf['newuser_default_enabled_high']; } else @@ -775,6 +776,7 @@ function create_user_infos($user_id) 'recent_period' => $conf['recent_period'], 'expand' => boolean_to_string($conf['auto_expand']), 'show_nb_comments' => boolean_to_string($conf['show_nb_comments']), + 'show_nb_hits' => boolean_to_string($conf['show_nb_hits']), 'maxwidth' => $conf['default_maxwidth'], 'maxheight' => $conf['default_maxheight'], 'registration_date' => $dbnow, |