:
\n"; if (sizeof ($tAlias) > 0) { print "\n"; print " \n"; print " "; print " "; print " \n"; if ($CONF['show_status'] == 'YES') { print "\n"; } print " \n"; print " \n"; print " \n"; print " \n"; print " \n"; print " \n"; for ($i = 0; $i < sizeof ($tAlias); $i++) { if ((is_array ($tAlias) and sizeof ($tAlias) > 0)) { print " \n"; if ($CONF['show_status'] == 'YES') { print " \n"; } print " \n"; if ($CONF['alias_goto_limit'] > 0) { print " \n"; } else { print " \n"; } print " \n"; $active = ($tAlias[$i]['active'] == 1) ? $PALANG['YES'] : $PALANG['NO']; print " \n"; print " \n"; print " \n"; print " \n"; } } print "

" . $PALANG['pOverview_alias_title'] . "

" . $PALANG['pAdminList_virtual_alias_address'] . "" . $PALANG['pAdminList_virtual_alias_goto'] . "" . $PALANG['pAdminList_virtual_alias_modified'] . "" . $PALANG['pAdminList_virtual_alias_active'] . " 
" . gen_show_status($tAlias[$i]['address']) . "" . $tAlias[$i]['address'] . "" . ereg_replace (",", "
", preg_replace('/^(([^,]+,){'.$CONF['alias_goto_limit'].'})[^,]+,.*/','$1[and '. (substr_count ($tAlias[$i]['goto'], ',') - $CONF['alias_goto_limit'] + 1) .' more...]',$tAlias[$i]['goto'])) . "
" . ereg_replace (",", "
", $tAlias[$i]['goto']) . "
" . $tAlias[$i]['modified'] . "" . $active . "" . $PALANG['edit'] . "" . $PALANG['del'] . "
\n"; } print "

" . $PALANG['pMenu_create_alias'] . "\n"; print "

\n
"; if ( $limit['mbox_pgindex_count'] ) print "".$PALANG['pOverview_mailbox_title']."  "; ($tDisplay_back_show == 1) ? $highlight_at = $tDisplay_back / $CONF['page_size'] + 1 : $highlight_at = 0; for ($i = 0; $i < $limit['mbox_pgindex_count']; $i++) { if ( $i == $highlight_at ) { print "" . $limit['mbox_pgindex'][$i] . "\n"; } else { print "" . $limit['mbox_pgindex'][$i] . "\n"; } } print ""; if ($tDisplay_back_show == 1) { print "\""\n"; } if ($tDisplay_up_show == 1) { print "\""\n"; } if ($tDisplay_next_show == 1) { print "\""\n"; } print "
\n"; if (sizeof ($tMailbox) > 0) { print "\n"; print " \n"; print " "; print " "; print " \n"; if ($CONF['show_status'] == 'YES') { print "\n"; } print " \n"; print " \n"; if ($CONF['quota'] == 'YES') print " \n"; print " \n"; print " \n"; if ($CONF['alias_control'] == 'YES') { print " \n"; } else { print " \n"; } print " \n"; for ($i = 0; $i < sizeof ($tMailbox); $i++) { if ((is_array ($tMailbox) and sizeof ($tMailbox) > 0)) { print " \n"; if ($CONF['show_status'] == 'YES') { print " \n"; } print " \n"; print " \n"; if ($CONF['quota'] == 'YES') { print " \n"; } print " \n"; $active = ($tMailbox[$i]['active'] == 1) ? $PALANG['YES'] : $PALANG['NO']; print " \n"; if ($CONF['vacation_control_admin'] == 'YES') { $v_active = ($tMailbox[$i]['v_active'] == 1) ? $PALANG['pOverview_vacation_edit'] : $PALANG['pOverview_vacation_option']; print " \n"; } if ($CONF['alias_control'] == 'YES') { print " \n"; } print " \n"; print " \n"; print " \n"; } } print "

" . $PALANG['pOverview_mailbox_title'] . "

" . $PALANG['pAdminList_virtual_mailbox_username'] . "" . $PALANG['pAdminList_virtual_mailbox_name'] . "" . $PALANG['pAdminList_virtual_mailbox_quota'] . "" . $PALANG['pAdminList_virtual_mailbox_modified'] . "" . $PALANG['pAdminList_virtual_mailbox_active'] . "  
" . gen_show_status($tMailbox[$i]['username']) . "" . $tMailbox[$i]['username'] . "" . $tMailbox[$i]['name'] . ""; if ($tMailbox[$i]['quota'] == 0) { print $PALANG['pOverview_unlimited']; } elseif ($tMailbox[$i]['quota'] < 0) { print $PALANG['pOverview_disabled']; } else { print divide_quota ($tMailbox[$i]['quota']); } print "" . $tMailbox[$i]['modified'] . "" . $active . "" .$v_active . "" . $PALANG['pOverview_alias_edit'] . "" . $PALANG['edit'] . "" . $PALANG['del'] . "
\n"; print "
\n"; if ($tDisplay_back_show == 1) { print "\""\n"; } if ($tDisplay_up_show == 1) { print "\""\n"; } if ($tDisplay_next_show == 1) { print "\""\n"; } print "
\n"; print "

" . $PALANG['pMenu_create_mailbox'] . "\n"; } if ($CONF['show_status'] == 'YES' && $CONF['show_status_key'] == 'YES') { print "

"; if ($CONF['show_undeliverable'] == 'YES') { print " " . $CONF['show_status_text'] . "=" . $PALANG['pStatus_undeliverable'] . "\n"; } if ($CONF['show_popimap'] == 'YES') { print " " . $CONF['show_status_text'] . "=" . $PALANG['pStatus_popimap'] . "\n"; } if ( $CONF['show_custom_count'] > 0 ) { for ($i = 0; $i < sizeof ($CONF['show_custom_domains']); $i++) { print " " . $CONF['show_status_text'] . "=" . $PALANG['pStatus_custom'] . $CONF['show_custom_domains'][$i] . "\n"; } } } /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ ?>