list-virtual.tpl:

- replace & with & in links
- replaced <h3> with <th>
- style "create new" links as button

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@1114 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Christian Boltz 14 years ago
parent 767faf95b2
commit 043fd5520d

@ -14,14 +14,14 @@
</div> </div>
<div class='subnav'><p>{$PALANG.show} <div class='subnav'><p>{$PALANG.show}
{if $tab=='all'}<span class='active'>{$PALANG.all}</span> {if $tab=='all'}<span class='active'>{$PALANG.all}</span>
{else}<a href="?domain={$smarty.get.domain}&tab=all{if $search != ""}&search={$search}{/if}">{$PALANG.all}</a>{/if} {else}<a href="?domain={$smarty.get.domain}&amp;tab=all{if $search != ""}&search={$search}{/if}">{$PALANG.all}</a>{/if}
{if $tab=='mailbox'}<span class='active'>{$PALANG.pOverview_mailbox_title}</span> {if $tab=='mailbox'}<span class='active'>{$PALANG.pOverview_mailbox_title}</span>
{else}<a href="?domain={$smarty.get.domain}&tab=mailbox{if $search != ""}&search={$search}{/if}">{$PALANG.pOverview_mailbox_title}</a>{/if} {else}<a href="?domain={$smarty.get.domain}&amp;tab=mailbox{if $search != ""}&search={$search}{/if}">{$PALANG.pOverview_mailbox_title}</a>{/if}
{if $tab=='alias'}<span class='active'>{$PALANG.pOverview_alias_title}</span> {if $tab=='alias'}<span class='active'>{$PALANG.pOverview_alias_title}</span>
{else}<a href="?domain={$smarty.get.domain}&tab=alias{if $search != ""}&search={$search}{/if}">{$PALANG.pOverview_alias_title}</a>{/if} {else}<a href="?domain={$smarty.get.domain}&amp;tab=alias{if $search != ""}&search={$search}{/if}">{$PALANG.pOverview_alias_title}</a>{/if}
{if $boolconf_alias_domain} {if $boolconf_alias_domain}
{if $tab=='alias_domain'}<span class='active'>{$PALANG.pOverview_alias_domain_title}</span> {if $tab=='alias_domain'}<span class='active'>{$PALANG.pOverview_alias_domain_title}</span>
{else}<a href="?domain={$smarty.get.domain}&tab=alias_domain{if $search != ""}&search={$search}{/if}">{$PALANG.pOverview_alias_domain_title}</a>{/if} {else}<a href="?domain={$smarty.get.domain}&amp;tab=alias_domain{if $search != ""}&search={$search}{/if}">{$PALANG.pOverview_alias_domain_title}</a>{/if}
{/if} {/if}
</p></div> </p></div>
<br clear="all"/><br/> <br clear="all"/><br/>
@ -37,7 +37,7 @@
{$nav_bar_alias.top} {$nav_bar_alias.top}
<table id="alias_table"> <table id="alias_table">
<tr> <tr>
<td colspan="7"><h3>{$PALANG.pOverview_alias_title}</h3></td> <th colspan="7">{$PALANG.pOverview_alias_title}</th>
</tr> </tr>
{if $tAlias} {if $tAlias}
{include file="list-virtual_alias.tpl"} {include file="list-virtual_alias.tpl"}
@ -45,8 +45,7 @@
</table> </table>
{$nav_bar_alias.bottom} {$nav_bar_alias.bottom}
{if $tCanAddAlias} {if $tCanAddAlias}
<br/> <br /><a href="create-alias.php?domain={$fDomain|escape:"url"}" class="button">{$PALANG.pMenu_create_alias}</a><br />
<p id="mailbox_table"><a href="create-alias.php?domain={$fDomain|escape:"url"}">{$PALANG.pMenu_create_alias}</a></p>
{/if} {/if}
{/if} {/if}
{if $tab=='all'}<br />{/if} {if $tab=='all'}<br />{/if}
@ -65,8 +64,7 @@
{/if} {/if}
{$nav_bar_mailbox.bottom} {$nav_bar_mailbox.bottom}
{if $tCanAddMailbox} {if $tCanAddMailbox}
<br/> <br /><a href="create-mailbox.php?domain={$fDomain|escape:"url"}" class="button">{$PALANG.pMenu_create_mailbox}</a><br />
<p id="mailbox_table"><a href="create-mailbox.php?domain={$fDomain|escape:"url"}">{$PALANG.pMenu_create_mailbox}</a></p>
{/if} {/if}
{/if} {/if}
{if $CONF.show_status===YES && $CONF.show_status_key===YES} {if $CONF.show_status===YES && $CONF.show_status_key===YES}

Loading…
Cancel
Save