Ignore:
Timestamp:
Sep 28, 2009, 9:22:59 PM (15 years ago)
Author:
Eric
Message:

[Bug 1041] Switchable double/single password input with text or password type in admin using new $conf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/template/goto/user_list.tpl

    r3752 r3935  
    88    <legend>{'Add a user'|@translate}</legend>
    99    <label>{'Username'|@translate} <input type="text" name="login" maxlength="50" size="20"></label>
    10     <label>{'Password'|@translate} <input type="password" name="password"></label>
    11     <label>{'Confirm Password'|@translate} <input type="password" name="password_conf" id="password_conf"></label>
    12     <label>{'Email address'|@translate} <input type="text" name="email"></label>
     10    {if $Double_Password}
     11                <label>{'Password'|@translate} <input type="password" name="password"></label>
     12                <label>{'Confirm Password'|@translate} <input type="password" name="password_conf" id="password_conf"></label>
     13                {else}
     14                <label>{'Password'|@translate} <input type="text" name="password"></label>
     15                {/if}
     16                <label>{'Email address'|@translate} <input type="text" name="email"></label>
    1317    <label>&nbsp; <input class="submit" type="submit" name="submit_add" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}></label>
    1418  </fieldset>
Note: See TracChangeset for help on using the changeset viewer.