opensmtpdadmin/templates/edit-mailbox.tpl

38 lines
1.1 KiB
Smarty

<?php if (count($list_domains) > 0) { ?>
<div id="edit_form">
<form name="edit_mailbox" method="post">
<table>
<tr>
<td colspan="3"><h3><?php echo $LANG['Edit_mailbox_welcome']; ?></h3></td>
</tr>
<tr>
<td><?php echo $LANG['Edit_mailbox_username']; ?></td>
<td><?php echo $username; ?></td>
<td>&nbsp;</td>
</tr>
<tr>
<td><?php echo $LANG['Edit_mailbox_password'] . ":"; ?></td>
<td><input class="flat" type="password" name="password1" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td><?php echo $LANG['Edit_mailbox_password2'] . ":"; ?></td>
<td><input class="flat" type="password" name="password2" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td><?php echo $LANG['Edit_mailbox_name'] . ":"; ?></td>
<td><input class="flat" type="text" name="name" value="<?php echo $name ?? ''; ?>" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="3" class="help_center"><input class="flat" type="submit" name="submit" value="<?php echo $LANG['Edit_mailbox_button']; ?>" ></td>
</tr>
<tr>
<td colspan="3" class="standout"><?php echo $message ?? '&nbsp;'; ?></td>
</tr>
</table>
</form>
</div>
<?php } ?>