aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/user_list.tpl
diff options
context:
space:
mode:
authorEric <eric@piwigo.org>2009-09-28 19:22:59 +0000
committerEric <eric@piwigo.org>2009-09-28 19:22:59 +0000
commitd67b2765190159eb2ff59a0b891d4704ca8b23e6 (patch)
tree025c33bcec34654fb3149a00e0276eda617b46aa /admin/template/goto/user_list.tpl
parenteba92234e863eb551c0001c83bc0e92819099656 (diff)
[Bug 1041] Switchable double/single password input with text or password type in admin using new $conf
git-svn-id: http://piwigo.org/svn/trunk@3935 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/template/goto/user_list.tpl')
-rw-r--r--admin/template/goto/user_list.tpl10
1 files changed, 7 insertions, 3 deletions
diff --git a/admin/template/goto/user_list.tpl b/admin/template/goto/user_list.tpl
index 4d4fc2cc7..e1ed3c2bc 100644
--- a/admin/template/goto/user_list.tpl
+++ b/admin/template/goto/user_list.tpl
@@ -7,9 +7,13 @@
<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="password" name="password"></label>
- <label>{'Confirm Password'|@translate} <input type="password" name="password_conf" id="password_conf"></label>
- <label>{'Email address'|@translate} <input type="text" name="email"></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>&nbsp; <input class="submit" type="submit" name="submit_add" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}></label>
</fieldset>
</form>