opensmtpdadmin/templates/edit-alias.tpl

34 lines
794 B
Smarty

<?php if (count($list_domains) > 0) { ?>
<div id="edit_form">
<form name="edit_alias" method="post">
<table>
<tr>
<td colspan="2"><h3><?php echo $LANG['Edit_alias_welcome']; ?></h3></td>
</tr>
<tr>
<td><?php echo $LANG['Edit_alias_address'] . ":"; ?></td>
<td><?php echo $address; ?></td>
</tr>
<tr>
<td><?php echo $LANG['Edit_alias_goto'] . ":"; ?></td>
<td>
<textarea class="flat" rows="10" cols="60" name="goto">
<?php
foreach ($goto as $row) {
echo "$row\n";
}
?>
</textarea>
</td>
</tr>
<tr>
<td colspan="2" class="help_center"><input class="button" type="submit" name="submit" value="<?php echo $LANG['Edit_alias_button']; ?>" /></td>
</tr>
<tr>
<td colspan="2" class="standout"><?php echo $message ?? '&nbsp;'; ?></td>
</tr>
</table>
</form>
</div>
<?php } ?>