Merge edit-alias.tpl and create-alias.tpl
edit-alias.tpl: - merge with create-alias.tpl - added various {if $mode = ...} - for edit mode: used "multiple targets" help text right of textarea (instead of having it under the headline) - use $fGoto instead of array in textarea create-alias.tpl - deleted edit-alias.php: - fixed $tGoto to contain unmodified $_POST value on error - dropped $array smarty variable that was used instead of $tGoto - added mode = edit smarty variable - add empty pCreate_alias_address_text_error smarty variable to avoid "undefined" warning create-alias.php: - added mode = create smarty variable - switched to edit-alias template *.lang - marked $PALANG['pCreate_alias_address'] as obsolete git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1153 a1433add-5e2c-0410-b055-b7f2511e0802pull/2/head
parent
6c35590eb7
commit
e5c68e2450
@ -1,36 +0,0 @@
|
||||
{* checkbox *}
|
||||
<div id="edit_form">
|
||||
<form name="alias" method="post" action="">
|
||||
<table>
|
||||
<tr>
|
||||
<th colspan="4">{$PALANG.pCreate_alias_welcome}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label"><label>{$PALANG.pCreate_alias_address}:</label></td>
|
||||
<td>
|
||||
<input class="flat" type="text" name="fAddress" value="{$tAddress}" />
|
||||
@
|
||||
<select class="flat" name="fDomain">{$select_options}</select>
|
||||
</td>
|
||||
<td>{$PALANG.pCreate_alias_catchall_text}</td>
|
||||
<td><span class="error_msg">{$pCreate_alias_address_text_error}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label"><label>{$PALANG.pCreate_alias_goto}:</label></td>
|
||||
<td><textarea class="flat" rows="10" cols="35" name="fGoto">{$tGoto}</textarea></td>
|
||||
<td>{$PALANG.pCreate_alias_goto_text}<br /><br />{$PALANG.pEdit_alias_help}</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label"><label>{$PALANG.pCreate_alias_active}:</label></td>
|
||||
<td><input class="flat" type="checkbox" name="fActive" checked="checked"/></td>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td><input class="button" type="submit" name="submit" value="{$PALANG.pCreate_alias_button}" /></td>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
Loading…
Reference in New Issue