You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
postfixadmin/templates/list-virtual_alias.tpl

53 lines
1.6 KiB
Smarty

{#tr_header#}
{if $CONF.show_status===YES}
<td></td>
{/if}
<td>{$PALANG.pOverview_alias_address}</td>
<td>{$PALANG.pOverview_alias_goto}</td>
<td>{$PALANG.last_modified}</td>
<td>{$PALANG.active}</td>
<td colspan="2">&nbsp;</td>
</tr>
{foreach from=$tAlias item=item key=i}
{#tr_hilightoff#}
{if $CONF.show_status===YES}
<td>{$gen_show_status[$i]}</td>
{/if}
<td>
{if $search eq ""}
{$item.address}
{else}
{$item.address|replace:$search:"<span class='searchresult'>$search</span>"}
{/if}
</td>
{if $CONF.alias_goto_limit>0}
<td><i>sorry, alias_goto_limit > 0 not handled</i></td>
{else}
<td>
{foreach key=key2 item=singlegoto from=$item.goto}
{if $search eq ""}
{$singlegoto}<br />
{else}
{$singlegoto|replace:$search:"<span class='searchresult'>$search</span>"}<br />
{/if}
{/foreach}
</td>
{/if}
<td>{$item.modified}</td>
{if $check_alias_owner[$i]==true}
<td><a href="{#url_create_alias#}&amp;edit={$item.address|escape:"url"}&amp;active={if ($item.active==0)}1{else}0{/if}"
>{if $item.active==1}{$PALANG.YES}{else}{$PALANG.NO}{/if}</a></td>
<td><a href="{#url_create_alias#}&amp;edit={$item.address|escape:"url"}">{$PALANG.edit}</a></td>
<td><a href="delete.php?table=alias&amp;delete={$item.address|escape:"url"}&amp;domain={$fDomain|escape:"url"}"
onclick="return confirm ('{$PALANG.confirm}{$PALANG.pOverview_get_aliases}: {$item.address}');">{$PALANG.del}</a></td>
{else}
<td>{if $item.active==1}{$PALANG.YES}{else}{$PALANG.NO}{/if}</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
{/if}
</tr>
{/foreach}