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.
53 lines
1.6 KiB
Smarty
53 lines
1.6 KiB
Smarty
{#tr_header#}
|
|
{if $CONF.show_status===YES}
|
|
<td></td>
|
|
{/if}
|
|
<td>{$PALANG.pOverview_alias_address}</td>
|
|
<td>{$PALANG.to}</td>
|
|
<td>{$PALANG.last_modified}</td>
|
|
<td>{$PALANG.active}</td>
|
|
<td colspan="2"> </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#}&edit={$item.address|escape:"url"}&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#}&edit={$item.address|escape:"url"}">{$PALANG.edit}</a></td>
|
|
<td><a href="delete.php?table=alias&delete={$item.address|escape:"url"}&domain={$fDomain|escape:"url"}"
|
|
onclick="return confirm ('{$PALANG.confirm}{$PALANG.aliases}: {$item.address}');">{$PALANG.del}</a></td>
|
|
{else}
|
|
<td>{if $item.active==1}{$PALANG.YES}{else}{$PALANG.NO}{/if}</td>
|
|
<td> </td>
|
|
<td> </td>
|
|
{/if}
|
|
</tr>
|
|
{/foreach}
|
|
|