search:
\n"; 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 ($tAlias) > 0) { print "\n"; print " \n"; print " "; print " "; 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"; print " \n"; if ($CONF['alias_goto_limit'] > 0) { print " \n"; } else { print " \n"; } print " \n"; if ($CONF['special_alias_control'] == 'YES') { $active = ($tAlias[$i]['active'] == 1) ? $PALANG['YES'] : $PALANG['NO']; print " \n"; print " \n"; print " \n"; } else { if ( check_alias_owner ($SESSID_USERNAME, $tAlias[$i]['address'])) { $active = ($tAlias[$i]['active'] == 1) ? $PALANG['YES'] : $PALANG['NO']; print " \n"; print " \n"; print " \n"; } else { //this is a special alias, show status only, don't allow changes $active = ($tAlias[$i]['active'] == 1) ? $PALANG['YES'] : $PALANG['NO']; print " \n"; print " \n"; print " \n"; } } print " \n"; } } print "

".$PALANG['pOverview_alias_title']."

" . $PALANG['pOverview_alias_address'] . "" . $PALANG['pOverview_alias_goto'] . "" . $PALANG['pOverview_alias_modified'] . "" . $PALANG['pOverview_alias_active'] . " 
" . $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'] . "" . $active . "" . $PALANG['edit'] . "" . $PALANG['del'] . "" . $active . "  
\n"; } print "

" . $PALANG['pMenu_create_alias'] . "\n"; if (sizeof ($tMailbox) > 0) { print "\n"; print " \n"; print " "; print " "; print " \n"; print " \n"; print " \n"; if ($CONF['quota'] == 'YES') print " \n"; print " \n"; print " \n"; $colspan=2; if ($CONF['vacation_control_admin'] == 'YES') $colspan=$colspan+1; if ($CONF['alias_control_admin'] == 'YES') $colspan=$colspan+1; print " \n"; print " \n"; for ($i = 0; $i < sizeof ($tMailbox); $i++) { if ((is_array ($tMailbox) and sizeof ($tMailbox) > 0)) { 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_admin'] == 'YES') { print " \n"; } print " \n"; print " \n"; print " \n"; } } print "

".$PALANG['pOverview_mailbox_title']."

" . $PALANG['pOverview_mailbox_username'] . "" . $PALANG['pOverview_mailbox_name'] . "" . $PALANG['pOverview_mailbox_quota'] . "" . $PALANG['pOverview_mailbox_modified'] . "" . $PALANG['pOverview_mailbox_active'] . " 
" . $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 "

" . $PALANG['pMenu_create_mailbox'] . "\n"; /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ ?>