0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
postfixadmin/templates/create-alias-domain.tpl
Christian Boltz b648510548 admin_edit-domain.tpl create-alias-domain.tpl, edit-vacation.tpl,
list-virtual_alias_domain.tpl, password.tpl:
- replaced <h3> with <th>
- marked labels with <label>
- marked non-editable fields with <em>
- align buttons with input fields
- note: removal of tMessage intentionally postponed

password.tpl:
- move error message formatting to template (language changes will follow
  in a later commit)
  - difference to Dale's patch: use <td class="error_msg"> instead of 
    <td><span class="error_msg">

edit-vacation.tpl:
- added language="JavaScript to <script> tags
- removed reference to calendar.css (now @import'ed in default.css)
- added class="flat" to activefrom and activeuntil input fields

This commit is part of the huge cleanup patch by Dale Blount (lnxus@SF),
https://sourceforge.net/tracker/?func=detail&atid=937966&aid=3370510&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1095 a1433add-5e2c-0410-b055-b7f2511e0802
2011-07-19 22:08:07 +00:00

36 lines
1017 B
Smarty

<div id="edit_form">
<form name="alias_domain" method="post" action="">
<table>
<tr>
<th colspan="3">{$PALANG.pCreate_alias_domain_welcome}</th>
</tr>
{if $alias_domains}
<tr>
<td>{$PALANG.pCreate_alias_domain_alias}:</td>
<td><select class="flat" name="alias_domain">{$select_options_alias}</select></td>
<td>{$PALANG.pCreate_alias_domain_alias_text}</td>
</tr>
<tr>
<td>{$PALANG.pCreate_alias_domain_target}:</td>
<td><select class="flat" name="target_domain">{$select_options_target}</select></td>
<td>{$PALANG.pCreate_alias_domain_target_text}</td>
</tr>
<tr>
<td>{$PALANG.pCreate_alias_domain_active}:</td>
<td><input class="flat" type="checkbox" name="active" value="1"{$fActive}/></td>
<td>&nbsp;</td>
</tr>
{/if}
<tr>
<td colspan="3" class="standout">{$tMessage}</td>
</tr>
{if $alias_domains}
<tr>
<td>&nbsp;</td>
<td colspan="2"><input class="button" type="submit" name="submit" value="{$PALANG.pCreate_alias_domain_button}" /></td>
</tr>
{/if}
</table>
</form>
</div>