opensmtpdadmin/templates/create-alias.tpl
2022-08-18 14:01:52 +02:00

41 lines
1.3 KiB
Smarty

<div id="edit_form">
<form name="create_alias" method="post">
<table>
<tr>
<td colspan="3"><h3><?php print $PALANG['pCreate_alias_welcome']; ?></h3></td>
</tr>
<tr>
<td><?php print $PALANG['pCreate_alias_address']; ?></td>
<td><input class="flat" type="text" name="fAddress" value="<?php print $tAddress; ?>" /></td>
<td>
<select class="flat" name="fDomain">
<?php
for ($i = 0; $i < count($list_domains); $i++) {
if ($tDomain == $list_domains[$i]) {
print "<option value=\"$list_domains[$i]\" selected>$list_domains[$i]</option>\n";
} else {
print "<option value=\"$list_domains[$i]\">$list_domains[$i]</option>\n";
}
}
?>
</select>
<?php print $pCreate_alias_address_text; ?>
</td>
</tr>
<tr>
<td><?php print $PALANG['pCreate_alias_goto'] . ":"; ?></td>
<td><input class="flat" type="text" name="fGoto" value="<?php print $tGoto; ?>" /></td>
<td><?php print $pCreate_alias_goto_text; ?></td>
</tr>
<tr>
<td colspan="3" class="hlp_center"><input class="button" type="submit" name="submit" value="<?php print $PALANG['pCreate_alias_button']; ?>" /></td>
</tr>
<tr>
<td colspan="3" class="standout"><?php print $tMessage; ?></td>
</tr>
<tr>
<td colspan="3" class="help_text"><?php print $PALANG['pCreate_alias_catchall_text']; ?></td>
</tr>
</table>
</div>