0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
postfixadmin/templates/create-alias.tpl
Christian Boltz a0fbff5377 create-alias: support multiple alias targets
- support multiple alias targets, patch by anexius@SF,
  http://sourceforge.net/projects/postfixadmin/forums/forum/676076/topic/4004442
  The patch fixes
  https://sourceforge.net/tracker/?func=detail&aid=2706290&group_id=191583&atid=937964

additional small fixes:
- replace spaces only at the start and end of a line, not in the
  middle of an (BTW: invalid) mail address
- allow multiple error messages (separated by <br />)
- prevent input data loss on validation errors




git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@900 a1433add-5e2c-0410-b055-b7f2511e0802
2010-12-25 14:26:00 +00:00

37 lines
1.0 KiB
Smarty

{* checkbox *}
<div id="edit_form">
<form name="alias" method="post" action="">
<table>
<tr>
<td colspan="3"><h3>{$PALANG.pCreate_alias_welcome}</h3></td>
</tr>
<tr>
<td>{$PALANG.pCreate_alias_address}</td>
<td><input class="flat" type="text" name="fAddress" value="{$tAddress}" /></td>
<td>@
<select class="flat" name="fDomain">{$select_options}</select>
{$pCreate_alias_address_text}
</td>
</tr>
<tr>
<td>{$PALANG.pCreate_alias_goto}:</td>
<td colspan="2"><textarea class="flat" rows="10" cols="60" name="fGoto">{$tGoto}</textarea></td>
</tr>
<tr>
<td>{$PALANG.pCreate_alias_active}:</td>
<td><input class="flat" type="checkbox" name="fActive" checked="checked"/></td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="3" class="hlp_center"><input class="button" type="submit" name="submit" value="{$PALANG.pCreate_alias_button}" /></td>
</tr>
<tr>
<td colspan="3" class="standout">{$tMessage}</td>
</tr>
<tr>
<td colspan="3" class="help_text">{$PALANG.pCreate_alias_catchall_text}</td>
</tr>
</table>
</form>
</div>