aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/profile_content.tpl
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-01-14 22:29:10 +0000
committermistic100 <mistic@piwigo.org>2012-01-14 22:29:10 +0000
commitc501688dbc98428635bdf569dc9c136e24fbd9a9 (patch)
treee60e9507668a8f508ddadf2b5b7fed333598d95d /admin/themes/default/template/profile_content.tpl
parenta412558492bf24ee9c39502ac37730ff4bc40177 (diff)
feature:2549 Allow to disable comments for everybody
git-svn-id: http://piwigo.org/svn/trunk@12887 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template/profile_content.tpl')
-rw-r--r--admin/themes/default/template/profile_content.tpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/admin/themes/default/template/profile_content.tpl b/admin/themes/default/template/profile_content.tpl
index 24cf53abe..33727f7aa 100644
--- a/admin/themes/default/template/profile_content.tpl
+++ b/admin/themes/default/template/profile_content.tpl
@@ -47,7 +47,7 @@
</span>
<input type="text" size="4" maxlength="3" name="nb_image_page" id="nb_image_page" value="{$NB_IMAGE_PAGE}">
</li>
-{if not $SPECIAL_USER}
+ {if not $SPECIAL_USER}
<li>
<span class="property">
<label for="template">{'Interface theme'|@translate}</label>
@@ -60,7 +60,7 @@
</span>
{html_options id=language name=language options=$language_options selected=$language_selection}
</li>
-{/if}
+ {/if}
<li>
<span class="property">
<label for="recent_period">{'Recent period'|@translate}</label>
@@ -71,10 +71,12 @@
<span class="property">{'Expand all albums'|@translate}</span>
{html_radios name='expand' options=$radio_options selected=$EXPAND}
</li>
+ {if $ACTIVATE_COMMENTS}
<li>
<span class="property">{'Show number of comments'|@translate}</span>
{html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS}
</li>
+ {/if}
<li>
<span class="property">{'Show number of hits'|@translate}</span>
{html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS}