diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 0b3a98bd05..8a5fc3539e 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,20 @@ +2007-05-28 Raul Mateos + + * include/styles/pandora.css, pandora_red.css: New style with icon + for search. + + * include/languages/*.php: New string for alert updating. + + * godmode/agentes/*.php: Updated h2 headers. + + * operation/agentes/estado_alertas.php, estado_monitores.php, + estado_ultimopaquete.php: Updated h2 headers. Added code for not showing + table headers if no alert defined. Add some icon to input buttons. + + * operation/incidents/incident_detail.php, incident_search.php, + operation/messages/message.php, operation/snmpconsole/snmp_alert.php: + Add some icon to input buttons. + 2007-05-27 Raul Mateos * include/styles/help.css: New file only used in help pages. diff --git a/pandora_console/godmode/agentes/agent_manager.php b/pandora_console/godmode/agentes/agent_manager.php index b65358c098..77afa76d8f 100644 --- a/pandora_console/godmode/agentes/agent_manager.php +++ b/pandora_console/godmode/agentes/agent_manager.php @@ -93,14 +93,14 @@ echo ''.$lang_label["group"].''; echo ' ".dame_so_name($id_os); + echo ""; } $sql1='SELECT id_os, name FROM tconfig_os ORDER BY name'; $result=mysql_query($sql1); while ($row=mysql_fetch_array($result)){ - echo ""; } ?> @@ -129,10 +129,11 @@ while ($row=mysql_fetch_array($result)){ '; -else +} else { echo ''.$lang_label["incident"].''; + } echo ''.$lang_label["in_openedwhen"].''; echo "".$inicio.""; echo ''.$lang_label["updated_at"].''; @@ -218,7 +219,7 @@ if ((give_acl($id_user, $id_grupo, "IM")==1) OR ($usuario == $id_user)) { $sql1='SELECT * FROM tusuario ORDER BY id_usuario'; $result=mysql_query($sql1); while ($row2=mysql_fetch_array($result)){ - echo ""; } echo ""; } @@ -288,7 +289,7 @@ $sql1='SELECT * FROM tgrupo ORDER BY nombre'; $result=mysql_query($sql1); while ($row=mysql_fetch_array($result)){ if (give_acl($iduser_temp, $row["id_grupo"], "IR")==1) - echo ""; } echo ''; @@ -341,11 +342,11 @@ $iduser_temp=$_SESSION['id_usuario']; if ($creacion_incidente == 0){ if ((give_acl($iduser_temp, $id_grupo, "IM")==1) OR ($usuario == $iduser_temp)){ - echo ''; + echo ''; } } else { if (give_acl($iduser_temp, $id_grupo, "IW")) { - echo ''; + echo ''; } } echo ""; @@ -355,7 +356,7 @@ if ($creacion_incidente == 0){ echo '
- +
'; } echo "
"; @@ -364,8 +365,8 @@ if ($creacion_incidente == 0){ // Upload control if (give_acl($iduser_temp, $id_grupo, "IW")==1){ echo ' +

'.$lang_label["attachfile"].'

-
'.$lang_label["attachfile"].'
'.$lang_label["filename"].'
diff --git a/pandora_console/operation/incidents/incident_search.php b/pandora_console/operation/incidents/incident_search.php index f406681f13..05e0627dc8 100644 --- a/pandora_console/operation/incidents/incident_search.php +++ b/pandora_console/operation/incidents/incident_search.php @@ -50,7 +50,7 @@ echo "
-"; ?> +"; ?>
diff --git a/pandora_console/operation/messages/message.php b/pandora_console/operation/messages/message.php index fef7563cbe..981a4d49a7 100644 --- a/pandora_console/operation/messages/message.php +++ b/pandora_console/operation/messages/message.php @@ -121,7 +121,7 @@ if (isset($_GET["nuevo"]) || isset($_GET["nuevo_g"])){ echo '
- '; + '; } if (isset($_GET["nuevo_g"])){ @@ -144,7 +144,7 @@ if (isset($_GET["nuevo"]) || isset($_GET["nuevo_g"])){ '.$lang_label["message"].': - '; + '; } } else { diff --git a/pandora_console/operation/snmpconsole/snmp_alert.php b/pandora_console/operation/snmpconsole/snmp_alert.php index 8e18f2191d..f7fc750b4d 100644 --- a/pandora_console/operation/snmpconsole/snmp_alert.php +++ b/pandora_console/operation/snmpconsole/snmp_alert.php @@ -122,9 +122,13 @@ if (give_acl($id_user, 0, "LW")==1) { // Add alert form if (($alert_update != 0) || ($alert_add == 1)) { + if ($alert_update != 0) { + echo $lang_label["update_alert"]." ".$lang_label["help"].""; + } else { + echo $lang_label["create_alert"]." ".$lang_label["help"].""; + } echo '
'; - echo ''; // if known, if add will be undetermined (0). - echo $lang_label["create_alert"]." ".$lang_label["help"].""; + echo ''; // if known, if add will be undetermined (0). echo ''; echo ''; // Update or Add button if ($alert_update != 0) { - echo '
'; // Alert @@ -185,11 +189,11 @@ if (give_acl($id_user, 0, "LW")==1) { echo '
'; + echo '
'; echo ""; echo ""; } else { - echo '
'; + echo '
'; echo ""; echo ""; }