Files
postfixadmin/templates/admin_create-admin.tpl
T
Christian Boltz 310d22bb6e create-admin.php
- renamed $pAdminCreate_admin_username_text to $pAdminCreate_admin_username_text_error
- renamed $pAdminCreate_admin_password_text to $pAdminCreate_admin_password_text_error
- replaced $tMessage with $infoMessage (displayed via flash_info)
- additional change compared to Dale's patch: removed unused variable 
  $pAdminCreate_admin_username_text

variables.inc.php:
- removed now unused variables $pAdminCreate_admin_password_text and
  $pAdminCreate_admin_username_text

templates/admin_create-admin.tpl:
- added 4th column for error messages
- replaced <h3> with <th>
- marked labels with <label>
- align button with input fields
- remove tMessage

This commit is part of the huge cleanup patch by Dale Blount (lnxus@SF),
https://sourceforge.net/tracker/?func=detail&atid=937966&aid=3370510&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1099 a1433add-5e2c-0410-b055-b7f2511e0802
2011-07-20 23:19:17 +00:00

39 lines
1.3 KiB
Smarty

<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>&nbsp;</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">&nbsp;</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">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input class="button" type="submit" name="submit" value="{$PALANG.pAdminCreate_admin_button}" /></td>
<td colspan="2">&nbsp;</td>
</tr>
</table>
</form>
</div>