From ba52bcabbb612d8f510fa8fb1bd7d98f556fece9 Mon Sep 17 00:00:00 2001 From: raulmateos Date: Mon, 1 Sep 2008 08:16:39 +0000 Subject: [PATCH] 2008-09-01 Raul Mateos * operation/snmp/smp_console/snmp_view.php: Show substring in custom value, when the mouse is over data, it shows all the custom value. Cosmetic change. * operation/events/events.php: Closed several html tags. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 9 ++++++++- pandora_console/operation/events/events.php | 14 +++++++++----- .../operation/snmpconsole/snmp_view.php | 5 ++++- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 8f5ac4d79b..dcb31dbbee 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2008-09-01 Raul Mateos + + * operation/snmp/smp_console/snmp_view.php: Show substring in custom value, when the mouse is + over data, it shows all the custom value. Cosmetic change. + + * operation/events/events.php: Closed several html tags. + 2008-09-01 Esteban Sanchez * reporting/pandora_graph.php: Added to repository. New abstract class @@ -14,7 +21,7 @@ * include/languages/es.po, include/languages/es.mo: updated Spanish translation. -2008-09-01 Sancho lerena +2008-09-01 Sancho Lerena * include/, fgraph.php: Moved licence of libraries to LGPL. diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php index 99f7ac2b67..043224c62a 100644 --- a/pandora_console/operation/events/events.php +++ b/pandora_console/operation/events/events.php @@ -414,21 +414,25 @@ if ($total_events > 0){ // Timestamp echo ""; echo human_time_comparation ($row2["timestamp"]); - + echo ""; // Several options grouped here echo ""; // Validate event if (($row2["estado"] == 0) and (give_acl ($config["id_user"], $id_group,"IW") ==1)) - echo " "; + echo " + "; // Delete event if (give_acl ($config["id_user"], $id_group,"IM") ==1) - echo " "; + echo " + "; // Create incident from this event if (give_acl ($config["id_user"], $id_group,"IW") == 1) echo ""; - // Checbox + echo ""; + // Checbox echo ""; - echo ""; + echo ""; echo ""; } $offset_counter++; diff --git a/pandora_console/operation/snmpconsole/snmp_view.php b/pandora_console/operation/snmpconsole/snmp_view.php index 02999c9944..7a717a1fec 100644 --- a/pandora_console/operation/snmpconsole/snmp_view.php +++ b/pandora_console/operation/snmpconsole/snmp_view.php @@ -239,21 +239,24 @@ for ($a=$offset_limit;$a < ($config["block_size"] + $offset + 1);$a++){ else { echo "".$row["source"].""; } - echo "".$row["value_custom"].""; + echo "".substr($row["value_custom"],0,20).""; echo ""; if ($row["status"] <> 0) echo " ".dame_nombre_real($row["id_usuario"])."".substr($row["id_usuario"],0,8).""; + echo ""; echo "".$row["timestamp"].""; echo ""; if ($row["alerted"] != 0 ) echo ""; + echo ""; echo ""; if ($row["status"] == 0 && give_acl ($config['id_user'],"0","IW")) echo ""; if (give_acl ($config['id_user'], "0", "IM")) echo ""; + echo ""; echo ""; echo ""; echo "";