46 lines
1.5 KiB
Smarty
46 lines
1.5 KiB
Smarty
<div id="edit_form">
|
|
<form name="create_mailbox" method="post">
|
|
<table>
|
|
<tr>
|
|
<td colspan="3"><h3><?php echo $LANG['Add_mailbox_welcome']; ?></h3></td>
|
|
</tr>
|
|
<tr>
|
|
<td><?php echo $LANG['Add_mailbox_username'] . ":"; ?></td>
|
|
<td><input class="flat" type="text" name="username" value="<?php echo $username ?? ''; ?>" /></td>
|
|
<td>
|
|
<select name="domain">
|
|
<?php
|
|
foreach ($list_domains as $row) {
|
|
echo '<option value="' . $row['domain'] . '"';
|
|
if ($list_domains[$domain_key]['domain'] == $row['domain']) echo ' selected';
|
|
echo ">" . $row['domain'] . "</option>\n";
|
|
}
|
|
?>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><?php echo $LANG['Add_mailbox_password'] . ":"; ?></td>
|
|
<td><input class="flat" type="password" name="password1" /></td>
|
|
<td><?php echo $LANG['Add_mailbox_password_text']; ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td><?php echo $LANG['Add_mailbox_password2'] . ":"; ?></td>
|
|
<td><input class="flat" type="password" name="password2" /></td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td><?php echo $LANG['Add_mailbox_name'] . ":"; ?></td>
|
|
<td><input class="flat" type="text" name="name" value="<?php echo $name ?? ''; ?>" /></td>
|
|
<td><?php echo $LANG['Add_mailbox_name_text']; ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" class="hlp_center"><input class="button" type="submit" name="submit" value="<?php echo $LANG['Add_mailbox_button']; ?>" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" class="standout"><?php echo $message ?? ' '; ?></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|