From e43feb458520f986f27e4d711c96d1171a02c4b3 Mon Sep 17 00:00:00 2001 From: raulmateos Date: Mon, 26 Jun 2006 16:09:20 +0000 Subject: [PATCH] - Update CSS and the affected php files (Pandora Console) git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@50 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- .../godmode/agentes/configurar_agente.php | 12 ++--- .../godmode/alertas/configurar_alerta.php | 2 +- .../godmode/grupos/configurar_grupo.php | 2 +- pandora_console/godmode/menu.php | 32 ++++++------- .../godmode/perfiles/lista_perfiles.php | 4 +- pandora_console/godmode/setup/links.php | 3 +- pandora_console/godmode/setup/setup.php | 2 +- .../godmode/usuarios/configurar_usuarios.php | 6 +-- pandora_console/include/styles/god.css | 8 ++-- pandora_console/include/styles/op.css | 8 ++-- pandora_console/include/styles/pandora.css | 20 ++++---- .../operation/agentes/estado_grupo.php | 30 ++++++------ .../operation/incidents/incident_detail.php | 14 +++--- .../operation/incidents/incident_search.php | 2 +- pandora_console/operation/menu.php | 48 +++++++++---------- pandora_console/operation/users/user_edit.php | 14 +++--- 16 files changed, 104 insertions(+), 103 deletions(-) diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index 0155bc86fa..5e1b74164c 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -573,7 +573,7 @@ if (give_acl($id_user, 0, "AW")==1) { if (isset($_GET["creacion"])){echo "

".$lang_label["create_agent"]."

";} else {echo "

".$lang_label["update_agent"]."

";} ?> -
+ "; @@ -583,8 +583,8 @@ else {echo "

".$lang_label["update_agent"]."

";} } ?> -
-
+
+ ";} @@ -802,9 +802,8 @@ else

-
+
-
- + diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php index 3af892cad3..df2b4eb549 100644 --- a/pandora_console/godmode/menu.php +++ b/pandora_console/godmode/menu.php @@ -28,13 +28,13 @@ if (comprueba_login() == 0){ else echo ''; if (isset($_GET["sec"]) && $_GET["sec"] == "gagente"){ if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/agentes/manage_config"){ - echo ""; + echo ""; } - else echo ""; + else echo ""; if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/grupos/lista_grupos"){ - echo ""; + echo ""; } - else echo ""; + else echo ""; } } if ((give_acl($id_user, 0, "LM")==1)){ @@ -69,9 +69,9 @@ if (comprueba_login() == 0){ if (isset($_GET["sec"]) && $_GET["sec"] == "gsetup"){ if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/setup/links"){ - echo ""; + echo ""; } - else echo ""; + else echo ""; } } if ((give_acl($id_user, 0, "DM")==1)){ @@ -81,25 +81,25 @@ if (comprueba_login() == 0){ else echo ''; if (isset($_GET["sec"]) && $_GET["sec"] == "gdbman"){ if (isset($_GET["sec2"]) && ($_GET["sec2"] == "godmode/db/db_info" || $_GET["sec2"] == "godmode/db/db_info_data")){ - echo ""; + echo ""; } - else echo ""; + else echo ""; if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/db/db_purge"){ - echo ""; + echo ""; } - else echo ""; + else echo ""; if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/db/db_refine"){ - echo ""; + echo ""; } - else echo ""; + else echo ""; if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/db/db_audit"){ - echo ""; + echo ""; } - else echo ""; + else echo ""; if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/db/db_event"){ - echo ""; + echo ""; } - else echo ""; + else echo ""; } } ?> diff --git a/pandora_console/godmode/perfiles/lista_perfiles.php b/pandora_console/godmode/perfiles/lista_perfiles.php index 7b43495ada..53580a93a8 100644 --- a/pandora_console/godmode/perfiles/lista_perfiles.php +++ b/pandora_console/godmode/perfiles/lista_perfiles.php @@ -132,10 +132,10 @@ if (comprueba_login() == 0) // Form to manage date if (isset ($id_perfil)){ // There are values defined, let's show form with data for INSERT or UPDATE echo "
-
"; } ?> -
+
diff --git a/pandora_console/godmode/grupos/configurar_grupo.php b/pandora_console/godmode/grupos/configurar_grupo.php index 1b40d950fd..357debb1ae 100644 --- a/pandora_console/godmode/grupos/configurar_grupo.php +++ b/pandora_console/godmode/grupos/configurar_grupo.php @@ -54,7 +54,7 @@ if (comprueba_login() == 0) echo ""; } ?> -
+
"; - echo "'; echo "
"; + echo "
"; echo ""; echo ""; - echo "
".$lang_label["profile_name"].""; + echo "".$lang_label["profile_name"].""; echo "
".$lang_label["incident_view"].""; diff --git a/pandora_console/godmode/setup/links.php b/pandora_console/godmode/setup/links.php index 8d4ea837b4..17f8be41e9 100644 --- a/pandora_console/godmode/setup/links.php +++ b/pandora_console/godmode/setup/links.php @@ -77,8 +77,7 @@ if (comprueba_login() == 0) "; - echo ""; - echo '
'.$lang_label["link_name"].''; + echo '
'.$lang_label["link_name"].''; echo '
'.$lang_label["link"].''; echo '
"; diff --git a/pandora_console/godmode/setup/setup.php b/pandora_console/godmode/setup/setup.php index 200cf469b6..79a8f67393 100644 --- a/pandora_console/godmode/setup/setup.php +++ b/pandora_console/godmode/setup/setup.php @@ -34,7 +34,7 @@ if (comprueba_login() == 0) echo "

".$lang_label["general_config"]."

"; echo ""; echo ''; - echo '
'.$lang_label["language_code"]; + echo '
'.$lang_label["language_code"]; echo '
'; + echo '
'; else - echo '
'; + echo '
'; ?> -
+
diff --git a/pandora_console/include/styles/god.css b/pandora_console/include/styles/god.css index 5e779792d4..712627bc55 100644 --- a/pandora_console/include/styles/god.css +++ b/pandora_console/include/styles/god.css @@ -19,8 +19,8 @@ div#god1>ul, div#god2>ul, div#god3>ul, div#god4>ul, div#god5>ul, div#god6>ul, di #god6 li:hover, #god6s li {background: #efefbd url(../../images/god6.gif) no-repeat; background-position: 4px 3px;} #god7 li:hover, #god7s li {background: #efefbd url(../../images/god7.gif) no-repeat; background-position: 4px 3px;} #god8 li:hover, #god8s li {background: #efefbd url(../../images/god8.gif) no-repeat; background-position: 5px 3px;} -#arrowg ul {padding: 0px 0px 0px 0px; list-style: none;} -#arrowg li, #arrowgs li {padding: 0px 0px 0px 15px; background: #f5f5dc url(../../images/arrow.gif) no-repeat; background-position: 2px 4px; position:relative; left: 30px; width:80%;} -div#arrowg>ul, div#arrowgs>ul {width: 88%;} -#arrowg li:hover, #arrowgs li {background: #efefbd url(../../images/arrow.gif) no-repeat; background-position: 2px 4px;} +#arrowg1 ul, #arrowg2 ul, #arrowg3 ul, #arrowg4 ul, #arrowg5 ul {padding: 0px 0px 0px 0px; list-style: none;} +#arrowg1 li, #arrowg2 li, #arrowg3 li, #arrowg4 li, #arrowg5 li, #arrowgs1 li, #arrowgs2 li, #arrowgs3 li, #arrowgs4 li, #arrowgs5 li {padding: 0px 0px 0px 15px; background: #f5f5dc url(../../images/arrow.gif) no-repeat; background-position: 2px 4px; position:relative; left: 30px; width:80%;} +div#arrowg1>ul, div#arrowg2>ul, div#arrowg3>ul, div#arrowg4>ul, div#arrowg5>ul, div#arrowgs1>ul, div#arrowgs2>ul, div#arrowgs3>ul,div#arrowgs4>ul, div#arrowgs5>ul {width: 88%;} +#arrowg1 li:hover, #arrowg2 li:hover, #arrowg3 li:hover, #arrowg4 li:hover, #arrowg5 li:hover, #arrowgs1 li, #arrowgs2 li, #arrowgs3 li, #arrowgs4 li, #arrowgs5 li {background: #efefbd url(../../images/arrow.gif) no-repeat; background-position: 2px 4px;} div#menug {background-color:#f5f5dc; border-width:1px; border-style:solid; border-color:#4a6629; width: 155px; margin-bottom: 15px;} \ No newline at end of file diff --git a/pandora_console/include/styles/op.css b/pandora_console/include/styles/op.css index 94f20a3936..0b63ca9583 100644 --- a/pandora_console/include/styles/op.css +++ b/pandora_console/include/styles/op.css @@ -19,8 +19,8 @@ div#op1>ul, div#op2>ul, div#op3>ul, div#op4>ul, div#op5>ul, div#op6>ul, div#op7> #op6 li:hover, #op6s li {background: #d4ddc6 url(../../images/op6.gif) no-repeat; background-position: 4px 5px;} #op7 li:hover, #op7s li {background: #d4ddc6 url(../../images/op7.gif) no-repeat; background-position: 1px 0px;} -#arrow ul {padding: 0px 0px 0px 0px; list-style: none;} -#arrow li, #arrows li {padding: 0px 0px 0px 15px; background: #e6e9cd url(../../images/arrow.gif) no-repeat; background-position: 2px 4px; position: relative; left: 26px; width: 82%;} -div#arrow>ul, div#arrows>ul {width: 89%;} -#arrow li:hover, #arrows li {background: #d4ddc6 url(../../images/arrow.gif) no-repeat; background-position: 2px 4px;} +#arrow1 ul, #arrow2 ul, #arrow3 ul, #arrow4 ul, #arrow5 ul {padding: 0px 0px 0px 0px; list-style: none;} +#arrow1 li, #arrows1 li, #arrow2 li, #arrows2 li, #arrow3 li, #arrows3 li, #arrow4 li, #arrows4 li, #arrow5 li, #arrows5 li {padding: 0px 0px 0px 15px; background: #e6e9cd url(../../images/arrow.gif) no-repeat; background-position: 2px 4px; position: relative; left: 26px; width: 82%;} +div#arrow1>ul, div#arrows1>ul, div#arrow2>ul, div#arrows2>ul, div#arrow3>ul, div#arrows3>ul, div#arrow4>ul, div#arrows4>ul, div#arrow5>ul, div#arrows5>ul {width: 89%;} +#arrow1 li:hover, #arrows1 li, #arrow2 li:hover, #arrows2 li, #arrow3 li:hover, #arrows3 li, #arrow4 li:hover, #arrows4 li, #arrow5 li:hover, #arrows5 li {background: #d4ddc6 url(../../images/arrow.gif) no-repeat; background-position: 2px 4px;} div#menuop {background-color: #e6e9cd; border-width:1px; border-style:solid; border-color:#4a6629; width: 155px; margin-bottom: 15px;} \ No newline at end of file diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index ae9d7aa514..c85b8b391a 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -36,11 +36,11 @@ div#activity{padding-top: 18px; padding-bottom: 18px;} div#noa {float:right; padding-right: 50px; margin-top: 25px;} div#db_ftxt {float:right; padding-top: 10px;} #page {width:960px;} +#head {border-bottom: 1px solid #708090; text-align: right; padding-bottom: 10px; font-size: 10px; width: 100%; margin-bottom: 27px;} #main {width:780px; float:right;} #menu {width:155px; float:left;} -div#page>div#menu {width:157px;} -#head {border-bottom: 1px solid #708090; text-align: right; padding-bottom: 10px; font-size: 10px; width: 100%; margin-bottom: 27px;} #foot {padding-top: 25px; text-align: center; clear: both;} +div#page>div#menu {width:157px;} #ver {margin-bottom: 25px;} #ip {margin-top: 10px; clear: both;} label {display: block; float:left; padding-top: 4px;} @@ -51,7 +51,8 @@ input.datos {background-color: #f5f5f5;} input.datos_readonly {background-color: #050505;} input.login {border-color: #778866; background-color: #f5f5f5; margin: 2px 0 8px; width: 90px;} input.sub {font-weight: bold; border-bottom-color: #708090; border-right-color: #708090; -moz-border-radius: 5%; font-size: 11px;} -th {color: #ffffff; background-color: #778866;} +th, td.lb {color: #ffffff; background-color: #778866;} +td.lb {height: 16px; padding-left: 3px; font-weight: bold;} td.datos, td.datost, td.datosb, td.datos_id, td.datosf9, td.datosf9i, td.datos_jus, td.w30d, td.w40d, td.w90d, td.w135d, td.w180d, td.w230d {background-color: #f5f5f5;} td.datos2 {background-color: #c5c5d5;} td.datos_id {color: #1a313a;} @@ -59,19 +60,21 @@ td.datos_jus {text-align: justify;} .bg , .bgt {background-color: #4a6629;} .bg {position:relative; height: 20px; width: 100%;} .f10, .w155f10, #ip {font-size: 10px; text-align: center;} -.f9, .f9i, .f9b, td.f9, td.f9i, td.datosf9, td.datosf9i, .f9l20, .f9l30 {font-size: 9px;} +.f9, .f9i, .f9b, td.f9, td.f9i, td.datosf9, td.datosf9i, .f9l20, .f9l30 {font-size: 9px;} .f9i {font-style: italic;} -td.datos_id, .f9b {font-weight: bold;} .f9l20 {padding-left: 20px;} .f9l30, .f9130t {padding-left: 30px;} .jus {text-align: justify;} .tit {padding-top: 3px;} .tit, .titb {font-weight: bold; color: white; text-align: center;} .error {color: #ff0000; background:url(../../images/error.gif) no-repeat; padding: 4px 1px 6px 30px;} -.red {color: #ff0000;} +.red , .redb {color: #ff0000;} .sep {margin-left: 30px; border-bottom: 1px solid #708090; width: 100%;} .suc {color: #5a8629; background: url(../../images/suc.gif) no-repeat 1px; padding: 4px 1px 6px 30px;} -.green {color: #5a8629;} +.green {color: #5a8629;} +.greenb {color: #00aa00;} +.grey {color: #808080; font-weight: bold;} +.redb, .greenb, td.datos_id, .f9b {font-weight: bold;} .raya {border-top: 1px solid #778866; width: 100%;} .raya, .noraya {margin-bottom: -10px;} .p10 {padding-top: 1px; padding-bottom: 0px;} @@ -99,7 +102,8 @@ td.datos_id, .f9b {font-weight: bold;} .msg {margin-top: 15px; text-align: justify;} img.help {padding-left: 9px; vertical-align: top;} ul.mn {list-style: none; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; line-height: 24px;} -a.mn {font-family: Arial, Verdana, Helvetica;} +.gr {font-size: 10pt; font-weight: bold;} +a.mn, .gr {font-family: Arial, Verdana, Helvetica;} .imgl {position:absolute; top:0; left:0;} .imgr {position:absolute; top:0; right:-1;} div.imgr>img {position:absolute; top:0; right:1;} \ No newline at end of file diff --git a/pandora_console/operation/agentes/estado_grupo.php b/pandora_console/operation/agentes/estado_grupo.php index ab1cfb75b3..a600990207 100644 --- a/pandora_console/operation/agentes/estado_grupo.php +++ b/pandora_console/operation/agentes/estado_grupo.php @@ -56,9 +56,9 @@ if (comprueba_login() == 0) $seconds = strtotime($ahora) - strtotime($ultimo_contacto); else $seconds = -100000; - # Defines if Agent is down (interval x 2 > time last contact + # Defines if Agent is down (interval x 2 > time last contact) $down=0; - if ($seconds >= ($intervalo*2)){ // Si hace Intervalo x 2 segundos que no recibimos nada, sacamos alerta + if ($seconds >= ($intervalo*2)){ // if Agent is down an alert is shown $grupo[$array_index]["down"]++; // Estado grupo, agent down $estado_grupo_down++; $down=1; @@ -68,7 +68,7 @@ if (comprueba_login() == 0) $grupo[$array_index]["group"]=dame_nombre_grupo($migrupo); $contador_agente++; // Estado grupo, agent if ($down ==0){ - $sql2="SELECT * FROM tagente_modulo WHERE ( id_tipo_modulo = 2 OR id_tipo_modulo = 6 OR id_tipo_modulo = 10 ) and id_agente =".$row1["id_agente"]; + $sql2="SELECT * FROM tagente_modulo WHERE (id_tipo_modulo = 2 OR id_tipo_modulo = 6 OR id_tipo_modulo = 10) AND id_agente =".$row1["id_agente"]; $result2=mysql_query($sql2); while ($row2 = mysql_fetch_array($result2)){ $sql3="SELECT * FROM tagente_estado WHERE id_agente_modulo = ".$row2["id_agente_modulo"]; @@ -108,7 +108,7 @@ echo "
"; //echo "DEBUG ANCHO: $ancho
"; $real_count =0; // Puedo tener una tabla con mas items en ella que los que realmente debo mostrar, real count cuenta los que voy poniendo hasta llegar a array_index que son los que hay en el array $grupo. echo ""; - for ($table=0;$table < $ancho;$table++){ + for ($table=0;$table < $ancho-1;$table++){ echo ""; for ($table_row=0;$table_row < $ancho;$table_row++){ if ($real_count < $array_index){ @@ -117,16 +117,16 @@ echo "
"; $icono_grupo = $grupo[$real_count]["icon"]; $icono_type=""; if ($grupo[$real_count]["down"]>0) { - $icono_type=""; + $icono_type=""; } if ($grupo[$real_count]["bad"]>0) { - $icono_type=$icono_type.""; + $icono_type=$icono_type.""; } if ($grupo[$real_count]["ok"]>0) { - $icono_type=$icono_type.""; + $icono_type=$icono_type.""; } - $celda = ""; + $celda = ""; /* Not used anymore if ($grupo[$real_count]["agent"] == 1 ){ $celda = ""; @@ -138,15 +138,15 @@ echo "
"; $celda = ""; } */ - $celda = ""; diff --git a/pandora_console/operation/incidents/incident_detail.php b/pandora_console/operation/incidents/incident_detail.php index 7fe9edcf08..31be97d792 100644 --- a/pandora_console/operation/incidents/incident_detail.php +++ b/pandora_console/operation/incidents/incident_detail.php @@ -10,7 +10,7 @@ require("include/config.php"); //require("include/functions.php"); //require("include/functions_db.php"); if (comprueba_login() == 0) { -$id_grupo = ""; +$id_grupo = ""; $creacion_incidente = ""; if (isset($_GET["id"])){ $creacion_incidente = 0; @@ -223,7 +223,7 @@ $creacion_incidente = ""; else {echo "

".$lang_label["create_incident"]."

";} echo '
".$celda."

".$icono_type."

".$group_name."
"; + $celda = "
".$celda."

".$icono_type."

".$group_name."
"; $celda = $celda.""; - $celda = $celda.""; - $celda = $celda.""; - $celda = $celda.""; + $celda = $celda.""; + $celda = $celda.""; + $celda = $celda.""; + $celda = $celda.""; $celda = $celda.""; $celda = $celda."
".$lang_label["agents"].":
".$grupo[$real_count]["agent"].""; - $celda = $celda."
".ucfirst($lang_label["monitors"]).":
".$lang_label["ok"].": ".$grupo[$real_count]["ok"].""; - $celda = $celda."
".$lang_label["down"].": ".$grupo[$real_count]["down"].""; - $celda = $celda."
".$lang_label["fail"].": ".$grupo[$real_count]["bad"].""; + $celda = $celda."
".$lang_label["agents"].":
".$grupo[$real_count]["agent"].""; + $celda = $celda."
".ucfirst($lang_label["monitors"]).":
".$lang_label["ok"].": ".$grupo[$real_count]["ok"]."
".$lang_label["down"].": ".$grupo[$real_count]["down"]."
".$lang_label["fail"].": ".$grupo[$real_count]["bad"]."
"; $celda = $celda."
'; if ((give_acl($iduser_temp, $id_grupo, "IM")==1) OR ($usuario == $iduser_temp)) - echo '
'.$lang_label["incident"].''; + echo '
'.$lang_label["incident"].''; else echo '
'.$lang_label["incident"].''; echo '
'.$lang_label["in_openedwhen"].''; @@ -332,7 +332,7 @@ $creacion_incidente = ""; if (isset($texto)) {echo $texto;} echo ""; - echo "
"; + echo "
"; // Only if user is the used who opened incident or (s)he is admin $iduser_temp=$_SESSION['id_usuario']; @@ -351,7 +351,7 @@ $creacion_incidente = ""; echo ""; if ($creacion_incidente == 0){ - echo ""; + echo ""; echo ''; } echo "

"; @@ -360,12 +360,12 @@ $creacion_incidente = ""; // Upload control if (give_acl($iduser_temp, $id_grupo, "IW")==1){ echo ""; - echo "
".$lang_label["attachfile"].""; - echo "
"; + echo "
".$lang_label["attachfile"].""; + echo "
"; echo $lang_label["filename"].'
'; echo ''; echo '
'.$lang_label["description"].''; - echo '
'; + echo '
'; echo '

'; } // ************************************************************ diff --git a/pandora_console/operation/incidents/incident_search.php b/pandora_console/operation/incidents/incident_search.php index 179f0615b7..bf807df387 100644 --- a/pandora_console/operation/incidents/incident_search.php +++ b/pandora_console/operation/incidents/incident_search.php @@ -17,7 +17,7 @@ echo "

".$lang_label["find_crit"]."

diff --git a/pandora_console/operation/menu.php b/pandora_console/operation/menu.php index bdd9ba717b..7d4d40303a 100644 --- a/pandora_console/operation/menu.php +++ b/pandora_console/operation/menu.php @@ -25,25 +25,25 @@ if (isset($_SESSION["id_usuario"])) { else echo ''; if (isset($_GET["sec"]) && $_GET["sec"] == "estado"){ if(isset($_GET["sec2"]) && ($_GET["sec2"] == "operation/agentes/estado_agente" || $_GET["sec2"] == "operation/agentes/ver_agente")) { - echo ""; + echo ""; } - else echo ""; + else echo ""; if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/agentes/estado_alertas") { - echo ""; + echo ""; } - else echo ""; + else echo ""; if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/agentes/status_monitor") { - echo ""; + echo ""; } - else echo ""; + else echo ""; if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/agentes/exportdata") { - echo ""; + echo ""; } - else echo ""; + else echo ""; if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/agentes/estadisticas") { - echo ""; + echo ""; } - else echo ""; + else echo ""; } } if (give_acl($_SESSION["id_usuario"], 0, "AR")==1) { @@ -59,13 +59,13 @@ if (isset($_SESSION["id_usuario"])) { else echo ''; if (isset($_GET["sec"]) && $_GET["sec"] == "incidencias"){ if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/incidents/incident_search") { - echo ""; + echo ""; } - else echo ""; + else echo ""; if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/incidents/incident_statistics") { - echo ""; + echo ""; } - else echo ""; + else echo ""; } } if (give_acl($_SESSION["id_usuario"], 0, "AR")==1) { @@ -75,9 +75,9 @@ if (isset($_SESSION["id_usuario"])) { else echo ''; if (isset($_GET["sec"]) && $_GET["sec"] == "eventos"){ if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/events/event_statistics") { - echo ""; + echo ""; } - else echo ""; + else echo ""; } } if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/users/user") { @@ -87,13 +87,13 @@ if (isset($_SESSION["id_usuario"])) { if (isset($_GET["sec"]) && $_GET["sec"] == "usuarios"){ if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/users/user_edit"){ - echo ""; + echo ""; } - else echo ""; + else echo ""; if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/users/user_statistics") { - echo ""; + echo ""; } - else echo ""; + else echo ""; } if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/snmpconsole/snmp_view") { @@ -103,9 +103,9 @@ if (isset($_SESSION["id_usuario"])) { if (isset($_GET["sec"]) && $_GET["sec"] == "snmpconsole"){ if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/snmpconsole/snmp_alert") { - echo ""; + echo ""; } - else echo ""; + else echo ""; } if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/messages/message" && !isset($_GET["nuevo_g"])) { echo ''; @@ -113,9 +113,9 @@ if (isset($_SESSION["id_usuario"])) { else echo ''; if (isset($_GET["sec"]) && $_GET["sec"] == "messages"){ if(isset($_GET["sec2"]) && isset($_GET["nuevo_g"])) { - echo ""; + echo ""; } - else echo ""; + else echo ""; } ?> diff --git a/pandora_console/operation/users/user_edit.php b/pandora_console/operation/users/user_edit.php index 4161372e1e..57146de32a 100644 --- a/pandora_console/operation/users/user_edit.php +++ b/pandora_console/operation/users/user_edit.php @@ -82,7 +82,7 @@ if (comprueba_login() == 0) { if ($view_mode == 0) $password=$rowdup["password"]; else - $password="This is not good idea :-)"; + $password="This is not a good idea :-)"; $comentarios=$rowdup["comentarios"]; $direccion=$rowdup["direccion"]; @@ -90,14 +90,14 @@ if (comprueba_login() == 0) { $nombre_real=$rowdup["nombre_real"]; ?> - +
'; else echo ''; ?> - '; @@ -123,9 +123,9 @@ if (comprueba_login() == 0) { $sql1='SELECT * FROM tusuario_perfil WHERE id_usuario = "'.$nombre.'"'; $result=mysql_query($sql1); if (mysql_num_rows($result)){ - echo ''; + echo ''; while ($row=mysql_fetch_array($result)){ - echo '
+
@@ -110,12 +110,12 @@ if (comprueba_login() == 0) {
-
+
'; + echo '
'; echo ""; } echo '

'.$lang_label["listGroupUser"].'

'.$lang_label["listGroupUser"].'

'; + echo '
'; echo "   "; echo "".dame_perfil($row["id_perfil"])." / "; echo "".dame_grupo($row["id_grupo"])."";