From d310e69b0c8ad55765b8df3c15246eb5887fed7c Mon Sep 17 00:00:00 2001 From: raulmateos Date: Tue, 25 Apr 2006 09:41:25 +0000 Subject: [PATCH] - Update Godmode menu git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@20 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/godmode/menu.php | 81 +++++++++++++++++++++++++------- 1 file changed, 65 insertions(+), 16 deletions(-) diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php index 533590246f..5d68ec61f5 100644 --- a/pandora_console/godmode/menu.php +++ b/pandora_console/godmode/menu.php @@ -22,35 +22,84 @@ if (comprueba_login() == 0){ '; + if (isset($_GET["sec2"]) && ereg("modificar_agente",$_GET["sec2"])){ + echo '
'; + } + else echo '
'; if (isset($_GET["sec"]) && $_GET["sec"] == "gagente"){ - echo "
"; + if (isset($_GET["sec2"]) && ereg("manage_config",$_GET["sec2"])){ + echo "
"; + } + else echo "
"; + if (isset($_GET["sec2"]) && ereg("lista_grupos",$_GET["sec2"])){ + echo "
"; + } + else echo "
"; } } if ((give_acl($id_user, 0, "LM")==1)){ - echo '
'; + if (isset($_GET["sec2"]) && ereg("modificar_alerta",$_GET["sec2"])){ + echo '
'; + } + else echo '
'; } if ((give_acl($id_user, 0, "UM")==1)){ - echo '
'; + if (isset($_GET["sec2"]) && ereg("lista_usuarios",$_GET["sec2"])){ + echo '
'; + } + else echo '
'; } if ( (give_acl($id_user, 0, "PM")==1)){ - echo '
'; - echo '
'; - echo '
'; - echo '
'; + if (isset($_GET["sec2"]) && ereg("lista_perfiles",$_GET["sec2"])){ + echo '
'; + } + else echo '
'; + if (isset($_GET["sec2"]) && ereg("modificar_server",$_GET["sec2"])){ + echo '
'; + } + else echo '
'; + if (isset($_GET["sec2"]) && ereg("admin_access_logs",$_GET["sec2"])){ + echo '
'; + } + else echo '
'; + if (isset($_GET["sec2"]) && ereg("setup$",$_GET["sec2"])){ + echo '
'; + } + else echo '
'; + if (isset($_GET["sec"]) && $_GET["sec"] == "gsetup"){ - echo "
"; + if (isset($_GET["sec2"]) && ereg("links$",$_GET["sec2"])){ + echo "
"; + } + else echo "
"; } } if ((give_acl($id_user, 0, "DM")==1)){ - echo '
'; + if (isset($_GET["sec2"]) && ereg("db_main",$_GET["sec2"])){ + echo '
'; + } + else echo '
'; if (isset($_GET["sec"]) && $_GET["sec"] == "gdbman"){ - echo "
"; + if (isset($_GET["sec2"]) && ereg("db_info",$_GET["sec2"])){ + echo "
"; + } + else echo "
"; + if (isset($_GET["sec2"]) && ereg("db_purge",$_GET["sec2"])){ + echo "
"; + } + else echo "
"; + if (isset($_GET["sec2"]) && ereg("db_refine",$_GET["sec2"])){ + echo "
"; + } + else echo "
"; + if (isset($_GET["sec2"]) && ereg("db_audit",$_GET["sec2"])){ + echo "
"; + } + else echo "
"; + if (isset($_GET["sec2"]) && ereg("db_event",$_GET["sec2"])){ + echo "
"; + } + else echo "
"; } } ?>