Merge edit-mailbox.tpl and edit-mailbox.tpl:
edit-mailbox.tpl:
- merged with create-mailbox.tpl
- added various {if $mode = ...}
- use $PALANG.pCreate_mailbox_password (text: "Password") instead of
$PALANG.pEdit_mailbox_password text (text: "New password") for edit mode
create-mailbox.tpl:
- deleted
edit-mailbox.php:
- add smarty mode = edit variable
create-mailbox.php
- add smarty mode = create variable
*.lang:
- marked pEdit_mailbox_password and pEdit_mailbox_password2 as obsolete
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1154 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
parent
e5c68e2450
commit
57d25d3d41
@ -1,57 +0,0 @@
|
||||
{* 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>
|
||||
Loading…
Reference in New Issue