aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/profile_content.tpl
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-01-14 10:50:47 +0000
committermistic100 <mistic@piwigo.org>2012-01-14 10:50:47 +0000
commit25481da931ae564320d2d2cc0f4735c8b058a161 (patch)
tree6dc301eba6fc7e93ac2f32890aa5483c43062869 /themes/default/template/profile_content.tpl
parent56452f8711d231d43f930e3a2cecbde6e900198f (diff)
feature:2517 ability to change username. admins can change usernames, users are notified by mail
git-svn-id: http://piwigo.org/svn/trunk@12882 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/profile_content.tpl')
-rw-r--r--themes/default/template/profile_content.tpl6
1 files changed, 2 insertions, 4 deletions
diff --git a/themes/default/template/profile_content.tpl b/themes/default/template/profile_content.tpl
index 9736e101a..161203362 100644
--- a/themes/default/template/profile_content.tpl
+++ b/themes/default/template/profile_content.tpl
@@ -8,21 +8,19 @@
<span class="property">{'Username'|@translate}</span>
{$USERNAME}
</li>
-{if not $SPECIAL_USER} {* can modify password + email*}
+ {if not $SPECIAL_USER} {* can modify password + email*}
<li>
<span class="property">
<label for="mail_address">{'Email address'|@translate}</label>
</span>
<input type="text" name="mail_address" id="mail_address" value="{$EMAIL}">
</li>
-{if not $IN_ADMIN} {* admins do not need old password*}
<li>
<span class="property">
<label for="password">{'Password'|@translate}</label>
</span>
<input type="password" name="password" id="password" value="">
</li>
-{/if}
<li>
<span class="property">
<label for="use_new_pwd">{'New password'|@translate}</label>
@@ -35,8 +33,8 @@
</span>
<input type="password" name="passwordConf" id="passwordConf" value="">
</li>
+ {/if}
</ul>
-{/if}
</fieldset>
{if $ALLOW_USER_CUSTOMIZATION}