From 206e099c2086ac20824e4b4e29024efc2a50b9e4 Mon Sep 17 00:00:00 2001 From: raulmateos Date: Mon, 21 May 2007 10:50:03 +0000 Subject: [PATCH] 2007-05-21 Raul Mateos * include/styles/pandora.css: Updated footer style. * operation/estado_generalagente.php: Closed div for footer if agent not found. * godmode/configurar_agente.php: Closed div for footer if agent not found. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 9 +++++++ .../godmode/agentes/configurar_agente.php | 4 +++- pandora_console/include/styles/pandora.css | 24 ++++++++----------- .../agentes/estado_generalagente.php | 16 +++++++------ 4 files changed, 31 insertions(+), 22 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index fabaeaae4c..db77ed9109 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,12 @@ +2007-05-21 Raul Mateos + + * include/styles/pandora.css: Updated footer style. + + * operation/estado_generalagente.php: Closed div for footer if agent not + found. + + * godmode/configurar_agente.php: Closed div for footer if agent not found. + 2007-05-20 Sancho Lerena * pandoradb_data.sql: Uptated network component data. diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index 95a73e2fa9..289b716552 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -362,8 +362,10 @@ if (isset($_GET["id_agente"])){ $disabled=$row["disabled"]; } else { echo "

".$lang_label["agent_error"]."

"; - echo ""; + echo ""; + echo ""; exit; } } else { diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 1272a774fb..92e6977ccc 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -93,10 +93,9 @@ a.white_bold { font-weight: bold; } a.white { - color: #eeeeee; - text-decoration: none; + color: #eeeeee; + text-decoration: none; } - p.center { text-align: center; } @@ -128,13 +127,6 @@ div#login_f { width: 48em; margin-top: 5em; } -div#db_f { - text-align: justify; - margin: auto; - padding: 0.5em; - width: 55em; - margin-top: 3em; -} div#login_box { float: right; padding-right: 10px; @@ -158,6 +150,13 @@ div#noa { padding-right: 50px; margin-top: 25px; } +div#db_f { + text-align: justify; + margin: auto; + padding: 0.5em; + width: 55em; + margin-top: 3em; +} div#db_ftxt { float: right; padding-top: 10px; @@ -196,6 +195,7 @@ div#head { div#foot { margin-top: solid 2px #000; padding-top: 5px; + padding-bottom: 5px; text-align: center; background: #000; width: 960px; @@ -548,7 +548,6 @@ span.master, span.snmp, span.binary, span.recon { } .databox_color { border-left: 4px solid #778855; - } #head_l { float: left; @@ -577,6 +576,3 @@ span#logo_text2 { letter-spacing: -2px; color: #aaa; } - - - diff --git a/pandora_console/operation/agentes/estado_generalagente.php b/pandora_console/operation/agentes/estado_generalagente.php index 4a90411b87..7706245815 100644 --- a/pandora_console/operation/agentes/estado_generalagente.php +++ b/pandora_console/operation/agentes/estado_generalagente.php @@ -45,13 +45,14 @@ if (comprueba_login() == 0) { $disabled= $row["disabled"]; $agent_type= $row["agent_type"]; $server = $row["id_server"]; - } else - { + } else { echo "

".$lang_label["agent_error"]."

"; echo ""; + echo ""; + exit; + } } echo "

".$lang_label["ag_title"]." > ".$lang_label["view_agent_general_data"]." ".$lang_label["help"]."

"; @@ -81,12 +82,13 @@ if (comprueba_login() == 0) { echo ""; + } } echo "";