opensmtpdadmin/templates/create-alias.tpl

36 lines
1.2 KiB
Smarty
Raw Normal View History

2022-08-18 14:01:52 +02:00
<div id="edit_form">
<form name="create_alias" method="post">
<table>
<tr>
2022-09-02 23:06:08 +02:00
<td colspan="3"><h3><?php echo $PALANG['pCreate_alias_welcome']; ?></h3></td>
2022-08-18 14:01:52 +02:00
</tr>
<tr>
2022-09-02 23:06:08 +02:00
<td><?php echo $PALANG['pCreate_alias_address']; ?></td>
<td><input class="flat" type="text" name="address" value="<?php echo $address ?? ''; ?>" /></td>
2022-08-18 14:01:52 +02:00
<td>
2022-09-02 23:06:08 +02:00
<select class="flat" name="domain">
2022-08-18 14:01:52 +02:00
<?php
2022-09-02 23:06:08 +02:00
foreach ($list_domains as $row) {
echo '<option value="' . $row['domain'] . '"';
if (isset($domain) && $domain == $row['domain']) echo ' selected';
echo ">" . $row['domain'] . "</option>\n";
}
2022-08-18 14:01:52 +02:00
?>
</select>
</td>
</tr>
<tr>
2022-09-02 23:06:08 +02:00
<td><?php echo $PALANG['pCreate_alias_goto'] . ":"; ?></td>
<td><input class="flat" type="text" name="goto" value="<?php echo $goto ?? ''; ?>" /></td>
<td><?php echo $PALANG['pCreate_alias_goto_text']; ?></td>
2022-08-18 14:01:52 +02:00
</tr>
<tr>
2022-09-02 23:06:08 +02:00
<td colspan="3" class="hlp_center"><input class="button" type="submit" name="submit" value="<?php echo $PALANG['pCreate_alias_button']; ?>" /></td>
2022-08-18 14:01:52 +02:00
</tr>
<tr>
2022-09-02 23:06:08 +02:00
<td colspan="3" class="standout"><?php echo $message ?? '&nbsp;'; ?></td>
2022-08-18 14:01:52 +02:00
</tr>
</table>
</div>