diff options
author | Eric <eric@piwigo.org> | 2009-09-29 10:59:12 +0000 |
---|---|---|
committer | Eric <eric@piwigo.org> | 2009-09-29 10:59:12 +0000 |
commit | 6d85089c9aaa43b67c0379e85ff7b6815a90a438 (patch) | |
tree | 8d6d4d9a448e84cbbf3a646a9e441f7cf0a64110 /admin/template/goto/user_list.tpl | |
parent | e4146c27da6a63f1c19950e3694eebf3fdf80ddc (diff) |
[Bug 1041] Merged form trunk to branch : Switchable double/single password input with text or password type in admin using new $conf
git-svn-id: http://piwigo.org/svn/branches/2.0@3945 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/template/goto/user_list.tpl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/admin/template/goto/user_list.tpl b/admin/template/goto/user_list.tpl index aa4e369dc..76bbdbf3c 100644 --- a/admin/template/goto/user_list.tpl +++ b/admin/template/goto/user_list.tpl @@ -6,8 +6,13 @@ <form class="filter" method="post" name="add_user" action="{$F_ADD_ACTION}"> <fieldset> <legend>{'Add a user'|@translate}</legend> - <label>{'Username'|@translate} <input type="text" name="login" maxlength="50" size="20" /></label> - <label>{'Password'|@translate} <input type="text" name="password" /></label> + <label>{'Username'|@translate} <input type="text" name="login" maxlength="50" size="20"></label> + {if $Double_Password} + <label>{'Password'|@translate} <input type="password" name="password"></label> + <label>{'Confirm Password'|@translate} <input type="password" name="password_conf" id="password_conf"></label> + {else} + <label>{'Password'|@translate} <input type="text" name="password"></label> + {/if} <label>{'Email address'|@translate} <input type="text" name="email" /></label> <label> <input class="submit" type="submit" name="submit_add" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED} /></label> </fieldset> |