2007-05-21 Raul Mateos <raulofpandora@gmail.com>

* 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
This commit is contained in:
raulmateos 2007-05-21 10:50:03 +00:00
parent 62fddb2cf8
commit 206e099c20
4 changed files with 31 additions and 22 deletions

View File

@ -1,3 +1,12 @@
2007-05-21 Raul Mateos <raulofpandora@gmail.com>
* 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 <slerena@artica.es>
* pandoradb_data.sql: Uptated network component data.

View File

@ -362,8 +362,10 @@ if (isset($_GET["id_agente"])){
$disabled=$row["disabled"];
} else {
echo "<h3 class='error'>".$lang_label["agent_error"]."</h3>";
echo "</table>";
echo "</table>";
echo "</div><div id='foot'>";
include ("general/footer.php");
echo "</div>";
exit;
}
} else {

View File

@ -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;
}

View File

@ -45,13 +45,14 @@ if (comprueba_login() == 0) {
$disabled= $row["disabled"];
$agent_type= $row["agent_type"];
$server = $row["id_server"];
} else
{
} else {
echo "<h3 class='error'>".$lang_label["agent_error"]."</h3>";
echo "</table>";
echo "</div><div id='foot'>";
include ("general/footer.php");
exit;
}
echo "</div>";
exit;
}
}
echo "<h2>".$lang_label["ag_title"]." &gt; ".$lang_label["view_agent_general_data"]."<a href='help/".$help_code."/chap3.php#3321' target='_help' class='help'>&nbsp;<span>".$lang_label["help"]."</span></a></h2>";
@ -81,12 +82,13 @@ if (comprueba_login() == 0) {
echo "<option>".salida_limpia($direccion_agente);
$sql_2='SELECT id_a FROM taddress_agent WHERE id_agent = '.$id_agente;
$result_t=mysql_query($sql_2);
while ($row=mysql_fetch_array($result_t)){
while ($row=mysql_fetch_array($result_t)){
$sql_3='SELECT ip FROM taddress WHERE id_a = '.$row[0];
$result_3=mysql_query($sql_3);
$row3=mysql_fetch_array($result_3);
if ($direccion_agente != $row3[0])
echo "<option value='".salida_limpia($row3[0])."'>".salida_limpia($row3[0])."&nbsp;&nbsp;";
if ($direccion_agente != $row3[0]) {
echo "<option value='".salida_limpia($row3[0])."'>".salida_limpia($row3[0])."</option>";
}
}
echo "</select>";