opensmtpdadmin/templates/add-mailbox.tpl

46 lines
1.5 KiB
Smarty
Raw Normal View History

2022-09-02 23:08:29 +02:00
<div id="edit_form">
<form name="create_mailbox" method="post">
<table>
<tr>
2022-09-03 11:30:40 +02:00
<td colspan="3"><h3><?php print $LANG['Create_mailbox_welcome']; ?></h3></td>
2022-09-02 23:08:29 +02:00
</tr>
<tr>
2022-09-03 11:30:40 +02:00
<td><?php print $LANG['Create_mailbox_username'] . ":"; ?></td>
2022-09-02 23:08:29 +02:00
<td><input class="flat" type="text" name="username" value="<?php print $username ?? ''; ?>" /></td>
<td>
<select name="domain">
<?php
foreach ($list_domains as $row) {
echo '<option value="' . $row['domain'] . '"';
if (isset($domain) && $domain == $row['domain']) echo ' selected';
echo ">" . $row['domain'] . "</option>\n";
}
?>
</select>
</td>
</tr>
<tr>
2022-09-03 11:30:40 +02:00
<td><?php print $LANG['Create_mailbox_password'] . ":"; ?></td>
2022-09-02 23:08:29 +02:00
<td><input class="flat" type="password" name="password1" /></td>
2022-09-03 11:30:40 +02:00
<td><?php print $LANG['Create_mailbox_password_text']; ?></td>
2022-09-02 23:08:29 +02:00
</tr>
<tr>
2022-09-03 11:30:40 +02:00
<td><?php print $LANG['Create_mailbox_password2'] . ":"; ?></td>
2022-09-02 23:08:29 +02:00
<td><input class="flat" type="password" name="password2" /></td>
<td>&nbsp;</td>
</tr>
<tr>
2022-09-03 11:30:40 +02:00
<td><?php print $LANG['Create_mailbox_name'] . ":"; ?></td>
2022-09-02 23:08:29 +02:00
<td><input class="flat" type="text" name="name" value="<?php print $name ?? ''; ?>" /></td>
2022-09-03 11:30:40 +02:00
<td><?php print $LANG['Create_mailbox_name_text']; ?></td>
2022-09-02 23:08:29 +02:00
</tr>
<tr>
2022-09-03 11:30:40 +02:00
<td colspan="3" class="hlp_center"><input class="button" type="submit" name="submit" value="<?php print $LANG['Create_mailbox_button']; ?>" /></td>
2022-09-02 23:08:29 +02:00
</tr>
<tr>
<td colspan="3" class="standout"><?php print $message ?? '&nbsp'; ?></td>
</tr>
</table>
</form>
</div>