Merge admin_edit-admin.tpl and admin_create-admin.tpl
create-admin.php - switch to edit-admin template - rename a smarty variable - add smarty mode = create variable edit-admin.php: - rename a smarty variable - add smarty mode = edit variable admin_edit-admin.tpl: - merge with admin_create-admin.tpl - add some {if $mode == '...'} switches - change <form> name to "admin" - rename a smarty variable admin_create-admin.tpl: - deleted *.lang: - mark some $PALANG texts as obsolete: - $PALANG['pAdminCreate_admin_username'] - $PALANG['pAdminCreate_admin_password' - $PALANG['pAdminCreate_admin_password2'] git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1151 a1433add-5e2c-0410-b055-b7f2511e0802pull/2/head
parent
b26012ca18
commit
0fe45bca8a
@ -1,38 +0,0 @@
|
||||
<div id="edit_form">
|
||||
<form name="create_admin" method="post" action="">
|
||||
<table>
|
||||
<tr>
|
||||
<th colspan="4">{$PALANG.pAdminCreate_admin_welcome}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label"><label>{$PALANG.pAdminCreate_admin_username}:</label></td>
|
||||
<td><input class="flat" type="text" name="fUsername" value="{$tUsername}" /></td>
|
||||
<td>{$pAdminCreate_admin_username_text}</td>
|
||||
<td><span class="error_msg">{$pAdminCreate_admin_username_text_error}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label"><label>{$PALANG.pAdminCreate_admin_password}:</label></td>
|
||||
<td><input class="flat" type="password" name="fPassword" /></td>
|
||||
<td> </td>
|
||||
<td><span class="error_msg">{$pAdminCreate_admin_password_text_error}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label"><label>{$PALANG.pAdminCreate_admin_password2}:</label></td>
|
||||
<td><input class="flat" type="password" name="fPassword2" /></td>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label"><label>{$PALANG.pAdminCreate_admin_address}:</label></td>
|
||||
<td>
|
||||
<select name="fDomains[]" size="10" multiple="multiple">{$select_options}</select>
|
||||
</td>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td><input class="button" type="submit" name="submit" value="{$PALANG.pAdminCreate_admin_button}" /></td>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
Loading…
Reference in New Issue