mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02:00
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
This commit is contained in:
@@ -5,24 +5,22 @@
|
||||
<input type="hidden" name="redirect" value="{$REDIRECT}">
|
||||
<ul>
|
||||
<li>
|
||||
<span class="property">{'Username'|@translate}</span>
|
||||
<span class="property">
|
||||
<label for="username">{'Username'|@translate}</label>
|
||||
</span>
|
||||
{if not $SPECIAL_USER}
|
||||
<input type="text" name="username" id="username" value="{$USERNAME}">
|
||||
{else}
|
||||
{$USERNAME}
|
||||
{/if}
|
||||
</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,7 +33,7 @@
|
||||
</span>
|
||||
<input type="password" name="passwordConf" id="passwordConf" value="">
|
||||
</li>
|
||||
{/if}
|
||||
{/if}
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user