mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
94dbfa2bb4
edit-mailbox.php - report password errors next to the password field instead of flash_error() - small changes to smarty variables create-mailbox.php: - small changes to smarty variables edit-mailbox.tpl, create-mailbox.tpl: - merge as good as possible (everything that is still left will probably need an {if} - renamed some smarty variables - use colspan=3 for buttons *.lang: - mark pCreate_mailbox_username, pCreate_mailbox_name, pCreate_mailbox_quota, pCreate_mailbox_quota_text and pEdit_mailbox_name_text as obsolete - added some "please check" notes for translators git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1146 a1433add-5e2c-0410-b055-b7f2511e0802
58 lines
2.0 KiB
Smarty
58 lines
2.0 KiB
Smarty
{* checkboxes *}
|
|
<div id="edit_form">
|
|
<form name="mailbox" method="post" action="">
|
|
<table>
|
|
<tr>
|
|
<th colspan="4">{$PALANG.pCreate_mailbox_welcome}</th>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pEdit_mailbox_username}:</label></td>
|
|
<td><input class="flat" type="text" name="fUsername" value="{$tUsername}"/></td>
|
|
<td>@
|
|
<select name="fDomain">{$select_options}</select>
|
|
</td>
|
|
<td class="error_msg">{$pCreate_mailbox_username_text_error}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pCreate_mailbox_password}:</label></td>
|
|
<td><input class="flat" type="password" name="fPassword" /></td>
|
|
<td>{$PALANG.pCreate_mailbox_password_text}</td>
|
|
<td class="error_msg">{$mailbox_password_text_error}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pCreate_mailbox_password2}:</label></td>
|
|
<td><input class="flat" type="password" name="fPassword2" /></td>
|
|
<td colspan="2"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pEdit_mailbox_name}:</label></td>
|
|
<td><input class="flat" type="text" name="fName" value="{$tName}" /></td>
|
|
<td>{$PALANG.pCreate_mailbox_name_text}</td>
|
|
<td> </td>
|
|
</tr>
|
|
{if $CONF.quota===YES}
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pEdit_mailbox_quota}:</label></td>
|
|
<td><input class="flat" type="text" name="fQuota" value="{$tQuota}" /></td>
|
|
<td>{$PALANG.pEdit_mailbox_quota_text}</td>
|
|
<td class="error_msg">{$mailbox_quota_text_error}</td>
|
|
</tr>
|
|
{/if}
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pCreate_mailbox_active}:</label></td>
|
|
<td><input class="flat" type="checkbox" name="fActive"{$tActive}/></td>
|
|
<td colspan="2"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pCreate_mailbox_mail}:</label></td>
|
|
<td><input class="flat" type="checkbox" name="fMail" checked="checked" /></td>
|
|
<td colspan="2"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td colspan="3"><input class="button" type="submit" name="submit" value="{$PALANG.pCreate_mailbox_button}" /></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|