0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
postfixadmin/templates/edit-mailbox.php
Christian Boltz 2a555bcd75 edit-mailbox.php, templates/edit-mailbox.php:
- revert r482 (show password when editing mailboxes) because it does more
  harm than good (see mailinglist for details).
  Also opened a feature request to bring this back in a way that works for
  everybody:
  https://sourceforge.net/tracker/index.php?func=detail&aid=2332595&group_id=191583&atid=937967


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@485 a1433add-5e2c-0410-b055-b7f2511e0802
2008-11-23 12:18:20 +00:00

52 lines
2.0 KiB
PHP

<?php if( !defined('POSTFIXADMIN') ) die( "This file cannot be used standalone." ); ?>
<div id="edit_form">
<form name="mailbox" method="post">
<table>
<tr>
<td colspan="3"><h3><?php print $PALANG['pEdit_mailbox_welcome']; ?></h3></td>
</tr>
<tr>
<td><?php print $PALANG['pEdit_mailbox_username']; ?></td>
<td><?php print $fUsername; ?></td>
<td><?php print $pEdit_mailbox_username_text; ?></td>
</tr>
<tr>
<td><?php print $PALANG['pEdit_mailbox_password'] . ":"; ?></td>
<td><input class="flat" type="password" name="fPassword" /></td>
<td><?php print $pEdit_mailbox_password_text; ?></td>
</tr>
<tr>
<td><?php print $PALANG['pEdit_mailbox_password2'] . ":"; ?></td>
<td><input class="flat" type="password" name="fPassword2" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td><?php print $PALANG['pEdit_mailbox_name'] . ":"; ?></td>
<td><input class="flat" type="text" name="fName" value="<?php print htmlspecialchars ($tName,ENT_QUOTES); ?>" /></td>
<td><?php print $pEdit_mailbox_name_text; ?></td>
</tr>
<?php if ($CONF['quota'] == 'YES') { ?>
<tr>
<td><?php print $PALANG['pEdit_mailbox_quota'] . " (max: " . $tMaxquota . "):"; ?></td>
<td><input class="flat" type="text" name="fQuota" value="<?php print $tQuota; ?>" /></td>
<td><?php print $pEdit_mailbox_quota_text; ?></td>
</tr>
<?php } ?>
<tr>
<td><?php print $PALANG['pCreate_mailbox_active'] . ":"; ?></td>
<td><input class="flat" type="checkbox" name="fActive" <?php print (!empty ($tActive)) ? 'checked' : '' ?> /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="3" class="hlp_center">
<input class="button" type="submit" name="submit" value="<?php print $PALANG['pEdit_mailbox_button']; ?>" />
<input class="button" type="submit" name="cancel" value="<?php print $PALANG['exit']; ?>" action="main.php" />
</td>
</tr>
<tr>
<td colspan="3" class="standout"><?php print $tMessage; ?></td>
</tr>
</table>
</form>
</div>