[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
This commit is contained in:
Eric
2009-09-29 10:59:12 +00:00
parent e4146c27da
commit 6d85089c9a
3 changed files with 74 additions and 17 deletions
+7 -2
View File
@@ -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>&nbsp; <input class="submit" type="submit" name="submit_add" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED} /></label>
</fieldset>