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.
71 lines
2.7 KiB
Smarty
71 lines
2.7 KiB
Smarty
{#tr_header#}
|
|
{if $CONF.show_status===YES}<td></td>{/if}
|
|
<td>{$PALANG.pOverview_mailbox_username}</td>
|
|
{if $display_mailbox_aliases==true}
|
|
<td>{$PALANG.pOverview_alias_goto}</td>
|
|
{/if}
|
|
<td>{$PALANG.pOverview_mailbox_name}</td>
|
|
{if $CONF.quota===YES}<td>{$PALANG.pOverview_mailbox_quota}</td>{/if}
|
|
<td>{$PALANG.pOverview_mailbox_modified}</td>
|
|
<td>{$PALANG.pOverview_mailbox_active}</td>
|
|
{assign var="colspan" value="`$colspan-6`"}
|
|
<td colspan="{$colspan}"> </td>
|
|
</tr>
|
|
{foreach from=$tMailbox item=item key=i}
|
|
{#tr_hilightoff#}
|
|
{if $CONF.show_status===YES}
|
|
<td>{$gen_show_status_mailbox[$i]}</td>
|
|
{/if}
|
|
<td>{$item.username}</td>
|
|
{if $display_mailbox_aliases==true}
|
|
<td>
|
|
{foreach from=$item.goto_other item=item2 key=j}
|
|
{if $item.goto_mailbox == 1}
|
|
Mailbox<br/>
|
|
{else}
|
|
Forward only<br/>
|
|
{/if}
|
|
{$item2}<br/>
|
|
{/foreach}
|
|
</td>
|
|
{/if}
|
|
<td>{$item.name}</td>
|
|
{if $CONF.quota===YES}
|
|
<td>
|
|
{if $item.quota==0}
|
|
{$PALANG.pOverview_unlimited}
|
|
{elseif $item.quota<0}
|
|
{$PALANG.pOverview_disabled}
|
|
{else}
|
|
{if $boolconf_used_quotas}
|
|
{$divide_quota.current[$i]} / {$divide_quota.quota[$i]}
|
|
{/if}
|
|
{/if}
|
|
</td>
|
|
{/if}
|
|
<td>{$item.modified}</td>
|
|
<td><a href="edit-active.php?username={$item.username|escape:"url"}&domain={$fDomain|escape:"url"}">{if $item.active==1}{$PALANG.YES}{else}{$PALANG.NO}{/if}</a></td>
|
|
{if $CONF.vacation_control_admin===YES && $CONF.vacation===YES}
|
|
{if $item.v_active!==-1}
|
|
{if $item.v_active==1}
|
|
{assign var="v_active" value=$PALANG.pOverview_vacation_edit"}
|
|
{else}
|
|
{assign var="v_active" value=$PALANG.pOverview_vacation_option"}
|
|
{/if}
|
|
<td><a href="edit-vacation.php?username={$item.username|escape:"url"}&domain={$fDomain|escape:"url"}">{$v_active}</a></td>
|
|
{/if}
|
|
{else}
|
|
<td> </td>
|
|
{/if}
|
|
{assign var="edit_aliases" value=0}
|
|
{if $authentication_has_role.global_admin!==true && $CONF.alias_control_admin===YES}{assign var="edit_aliases" value=1}{/if}
|
|
{if $authentication_has_role.global_admin==true && $CONF.alias_control===YES}{assign var="edit_aliases" value=1}{/if}
|
|
{if $edit_aliases==1}
|
|
<td><a href="edit-alias.php?address={$item.username|escape:"url"}&domain={$fDomain|escape:"url"}">{$PALANG.pOverview_alias_edit}</a></td>
|
|
{/if}
|
|
<td><a href="edit-mailbox.php?username={$item.username|escape:"url"}&domain={$fDomain|escape:"url"}">{$PALANG.edit}</a></td>
|
|
<td><a href="delete.php?table=mailbox&delete={$item.username|escape:"url"}&domain={$fDomain|escape:"url"}" onclick="return confirm ('{$PALANG.confirm}{$PALANG.pOverview_get_mailboxes}: {$item.username}');">{$PALANG.del}</a></td>
|
|
</tr>
|
|
{/foreach}
|
|
</table>
|