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 /template | |
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-- | template/yoga/admin/configuration.tpl | 6 | ||||
-rw-r--r-- | template/yoga/admin/user_list.tpl | 10 | ||||
-rw-r--r-- | template/yoga/profile_content.tpl | 5 | ||||
-rw-r--r-- | template/yoga/thumbnails.tpl | 3 |
4 files changed, 24 insertions, 0 deletions
diff --git a/template/yoga/admin/configuration.tpl b/template/yoga/admin/configuration.tpl index 6f4010a5f..f4c30bb78 100644 --- a/template/yoga/admin/configuration.tpl +++ b/template/yoga/admin/configuration.tpl @@ -194,6 +194,12 @@ </li> <li> + <span class="property">{lang:show_nb_hits}</span> + <label><input type="radio" class="radio" name="show_nb_hits" value="true" {default.SHOW_HITS_YES} />{lang:Yes}</label> + <label><input type="radio" class="radio" name="show_nb_hits" value="false" {default.SHOW_HITS_NO} />{lang:No}</label> + </li> + + <li> <span class="property"> <label for="default_maxwidth">{lang:Maximum width of the pictures}</label> </span> diff --git a/template/yoga/admin/user_list.tpl b/template/yoga/admin/user_list.tpl index 08b981882..0eaf67fc0 100644 --- a/template/yoga/admin/user_list.tpl +++ b/template/yoga/admin/user_list.tpl @@ -268,6 +268,16 @@ </tr> <tr> + <td>{lang:show_nb_hits}</td> + <td> + <label><input type="radio" name="show_nb_hits" value="leave" checked="checked" /> {lang:leave}</label> + / {lang:set to} + <label><input type="radio" name="show_nb_hits" value="true" {SHOW_NB_HITS_YES} />{lang:yes}</label> + <label><input type="radio" name="show_nb_hits" value="false" {SHOW_NB_HITS_NO} />{lang:no}</label> + </td> + </tr> + + <tr> <td>{lang:maxwidth}</td> <td> <label><input type="radio" name="maxwidth_action" value="leave" checked="checked" /> {lang:leave}</label> diff --git a/template/yoga/profile_content.tpl b/template/yoga/profile_content.tpl index e738e59c6..931b08c61 100644 --- a/template/yoga/profile_content.tpl +++ b/template/yoga/profile_content.tpl @@ -91,6 +91,11 @@ <label><input type="radio" name="show_nb_comments" value="false" {NB_COMMENTS_NO}> {lang:no}</label> </li> <li> + <span class="property">{lang:show_nb_hits}</span> + <label><input type="radio" name="show_nb_hits" value="true" {NB_HITS_YES}> {lang:yes}</label> + <label><input type="radio" name="show_nb_hits" value="false" {NB_HITS_NO}> {lang:no}</label> + </li> + <li> <span class="property"> <label for="maxwidth">{lang:maxwidth}</label> </span> diff --git a/template/yoga/thumbnails.tpl b/template/yoga/thumbnails.tpl index d1757489b..8bf9d8e01 100644 --- a/template/yoga/thumbnails.tpl +++ b/template/yoga/thumbnails.tpl @@ -23,6 +23,9 @@ <!-- BEGIN nb_comments --> <br />{thumbnails.line.thumbnail.nb_comments.NB_COMMENTS} {lang:comments} <!-- END nb_comments --> + <!-- BEGIN nb_hits --> + <br />{thumbnails.line.thumbnail.nb_hits.HITS} + <!-- END nb_comments --> </span> </span> </li> |