{assign var="file" value=$smarty.config.url_list_virtual}
{html_options name='domain' output=$domain_list values=$domain_list selected=$domain_selected onchange="this.form.submit();"}
{if isset($search._)}

{$PALANG.pSearch_welcome} {$search._}

{else}

{$PALANG.pOverview_welcome}{$fDomain}

{$PALANG.aliases}: {$limit.alias_count} / {$limit.aliases}

{$PALANG.mailboxes}: {$limit.mailbox_count} / {$limit.mailboxes}

{/if} {#form_search#}


{*** Domain Aliases ***} {if $boolconf_alias_domain} {if $tab=='alias_domain' || $tab=='all'} {include file="list-virtual_alias_domain.tpl"} {/if} {/if} {if $tab=='all'}
{/if} {*** Aliases ***} {if $tab=='alias' || $tab=='all'} {$nav_bar_alias.top} {include file="list-virtual_alias.tpl"} {$nav_bar_alias.bottom} {/if} {if $tab=='all'}
{/if} {if $tab=='mailbox' || $tab=='all'} {$nav_bar_mailbox.top} {assign var="colspan" value=9} {if $CONF.vacation_control_admin===YES}{assign var="colspan" value="`$colspan+1`"}{/if} {if $CONF.alias_control_admin===YES}{assign var="colspan" value="`$colspan+1`"}{/if} {if $tMailbox} {include file="list-virtual_mailbox.tpl"} {else}
{$PALANG.pOverview_mailbox_title}
{/if} {$nav_bar_mailbox.bottom} {if $tCanAddMailbox}
{$PALANG.add_mailbox}
{/if}

{$PALANG.download_csv} {/if} {if $CONF.show_status===YES && $CONF.show_status_key===YES}

{if $CONF.show_undeliverable===YES}  {$CONF.show_status_text}={$PALANG.pStatus_undeliverable} {/if} {if $CONF.show_vacation===YES}  {$CONF.show_status_text}={$PALANG.pStatus_vacation} {/if} {if $CONF.show_disabled===YES}  {$CONF.show_status_text}={$PALANG.pStatus_disabled} {/if} {if $CONF.show_expired===YES}  {$CONF.show_status_text}={$PALANG.pStatus_expired} {/if} {if $CONF.show_popimap===YES}  {$CONF.show_status_text}={$PALANG.pStatus_popimap} {/if} {if $CONF.show_custom_domains|@count>0} {foreach from=$CONF.show_custom_domains item=item key=i}  {$CONF.show_status_text}={$PALANG.pStatus_custom}{$item} {/foreach} {/if} {/if}