Ignore:
Timestamp:
Jan 14, 2012, 11:50:47 AM (12 years ago)
Author:
mistic100
Message:

feature:2517 ability to change username. admins can change usernames, users are notified by mail

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/profile_content.tpl

    r12877 r12882  
    66    <ul>
    77      <li>
    8         <span class="property">{'Username'|@translate}</span>
     8        <span class="property">
     9          <label for="username">{'Username'|@translate}</label>
     10        </span>
     11      {if not $SPECIAL_USER}
     12        <input type="text" name="username" id="username" value="{$USERNAME}">
     13      {else}
    914        {$USERNAME}
     15      {/if}
    1016      </li>
    11 {if not $SPECIAL_USER} {* can modify password + email*}
     17    {if not $SPECIAL_USER} {* can modify password + email*}
    1218      <li>
    1319        <span class="property">
     
    1622        <input type="text" name="mail_address" id="mail_address" value="{$EMAIL}">
    1723      </li>
    18 {if not $IN_ADMIN} {* admins do not need old password*}
    19       <li>
    20         <span class="property">
    21           <label for="password">{'Password'|@translate}</label>
    22         </span>
    23         <input type="password" name="password" id="password" value="">
    24       </li>
    25 {/if}
    2624      <li>
    2725        <span class="property">
     
    3634        <input type="password" name="passwordConf" id="passwordConf" value="">
    3735      </li>
    38 {/if}
     36    {/if}
    3937    </ul>
    4038  </fieldset>
Note: See TracChangeset for help on using the changeset viewer.