";
}
}
if($need_alert_display == true) {
echo "{$name} \n";
}
?>
";
echo "";
echo "
";
echo "
";
}
$auth_user = $HTTP_SERVER_VARS['AUTH_USER'];
$groupindex = index_groups();
$userindex = index_users();
$allowed = array();
$allowed[] = '';
if (!isSystemAdmin($HTTP_SERVER_VARS['AUTH_USER']))
if (isset($config['system']['group'][$groupindex[$config['system']['user'][$userindex[$auth_user]]['groupname']]]['pages']))
$allowed = &$config['system']['group'][$groupindex[$config['system']['user'][$userindex[$auth_user]]['groupname']]]['pages'];
function output_menu_item($url, $name) {
global $auth_user, $groupindex, $userindex, $allowed, $HTTP_SERVER_VARS, $allowed;
if(!$allowed)
$allowed = $_SESSION['privs'];
if (!isSystemAdmin($HTTP_SERVER_VARS['AUTH_USER']))
if (!in_array(basename($url), $allowed))
return;
echo ""; echo " "; echo $display_text; echo " | "; echo "
=genhtmltitle($pgtitle);?>