mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
2008-09-01 Raul Mateos <raulofpandora@gmail.com>
* 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
This commit is contained in:
parent
4798035c7d
commit
ba52bcabbb
@ -1,3 +1,10 @@
|
|||||||
|
2008-09-01 Raul Mateos <raulofpandora@gmail.com>
|
||||||
|
|
||||||
|
* 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 <estebans@artica.es>
|
2008-09-01 Esteban Sanchez <estebans@artica.es>
|
||||||
|
|
||||||
* reporting/pandora_graph.php: Added to repository. New abstract class
|
* reporting/pandora_graph.php: Added to repository. New abstract class
|
||||||
@ -14,7 +21,7 @@
|
|||||||
* include/languages/es.po, include/languages/es.mo: updated
|
* include/languages/es.po, include/languages/es.mo: updated
|
||||||
Spanish translation.
|
Spanish translation.
|
||||||
|
|
||||||
2008-09-01 Sancho lerena <slerena@artica.es>
|
2008-09-01 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
* include/, fgraph.php: Moved licence of libraries to LGPL.
|
* include/, fgraph.php: Moved licence of libraries to LGPL.
|
||||||
|
|
||||||
|
@ -414,21 +414,25 @@ if ($total_events > 0){
|
|||||||
// Timestamp
|
// Timestamp
|
||||||
echo "<td class='".$tdclass."f9' title='".$row2["timestamp"]."'>";
|
echo "<td class='".$tdclass."f9' title='".$row2["timestamp"]."'>";
|
||||||
echo human_time_comparation ($row2["timestamp"]);
|
echo human_time_comparation ($row2["timestamp"]);
|
||||||
|
echo "</td>";
|
||||||
// Several options grouped here
|
// Several options grouped here
|
||||||
echo "<td class='$tdclass' align='right'>";
|
echo "<td class='$tdclass' align='right'>";
|
||||||
// Validate event
|
// Validate event
|
||||||
if (($row2["estado"] == 0) and (give_acl ($config["id_user"], $id_group,"IW") ==1))
|
if (($row2["estado"] == 0) and (give_acl ($config["id_user"], $id_group,"IW") ==1))
|
||||||
echo "<a href='$url&check=".$row2["id_evento"]."&pure=".$config["pure"]."'><img src='images/ok.png' border='0'></a> ";
|
echo "<a href='$url&check=".$row2["id_evento"]."&pure=".$config["pure"]."'>
|
||||||
|
<img src='images/ok.png' border='0'></a> ";
|
||||||
// Delete event
|
// Delete event
|
||||||
if (give_acl ($config["id_user"], $id_group,"IM") ==1)
|
if (give_acl ($config["id_user"], $id_group,"IM") ==1)
|
||||||
echo "<a href='$url&delete=".$row2["id_evento"]."&pure=".$config["pure"]."'><img src='images/cross.png' border=0></a> ";
|
echo "<a href='$url&delete=".$row2["id_evento"]."&pure=".$config["pure"]."'>
|
||||||
|
<img src='images/cross.png' border=0></a> ";
|
||||||
// Create incident from this event
|
// Create incident from this event
|
||||||
if (give_acl ($config["id_user"], $id_group,"IW") == 1)
|
if (give_acl ($config["id_user"], $id_group,"IW") == 1)
|
||||||
echo "<a href='index.php?sec=incidencias&sec2=operation/incidents/incident_detail&insert_form&from_event=".$row2["id_evento"]."'><img src='images/page_lightning.png' border=0></a>";
|
echo "<a href='index.php?sec=incidencias&sec2=operation/incidents/incident_detail&insert_form&from_event=".$row2["id_evento"]."'><img src='images/page_lightning.png' border=0></a>";
|
||||||
|
echo "</td>";
|
||||||
// Checbox
|
// Checbox
|
||||||
echo "<td class='$tdclass' align='center'>";
|
echo "<td class='$tdclass' align='center'>";
|
||||||
echo "<input type='checkbox' class='chk' name='eventid".$offset_counter."' value='".$row2["id_evento"]."'>";
|
echo "<input type='checkbox' class='chk' name='eventid".$offset_counter."'
|
||||||
|
value='".$row2["id_evento"]."'>";
|
||||||
echo "</td></tr>";
|
echo "</td></tr>";
|
||||||
}
|
}
|
||||||
$offset_counter++;
|
$offset_counter++;
|
||||||
|
@ -239,21 +239,24 @@ for ($a=$offset_limit;$a < ($config["block_size"] + $offset + 1);$a++){
|
|||||||
else {
|
else {
|
||||||
echo "<td class='datos'>".$row["source"]."</td>";
|
echo "<td class='datos'>".$row["source"]."</td>";
|
||||||
}
|
}
|
||||||
echo "<td class='datos'>".$row["value_custom"]."</td>";
|
echo "<td class='datos' title='".$row["value_custom"]."''>".substr($row["value_custom"],0,20)."</td>";
|
||||||
|
|
||||||
echo "<td class='datos'>";
|
echo "<td class='datos'>";
|
||||||
if ($row["status"] <> 0)
|
if ($row["status"] <> 0)
|
||||||
echo "<a href='index.php?sec=usuario&sec2=operation/users/user_edit&ver=".$row["id_usuario"]."'><a href='#' class='tip'> <span>".dame_nombre_real($row["id_usuario"])."</span></a>".substr($row["id_usuario"],0,8)."</a>";
|
echo "<a href='index.php?sec=usuario&sec2=operation/users/user_edit&ver=".$row["id_usuario"]."'><a href='#' class='tip'> <span>".dame_nombre_real($row["id_usuario"])."</span></a>".substr($row["id_usuario"],0,8)."</a>";
|
||||||
|
echo "</td>";
|
||||||
echo "<td class='datos'>".$row["timestamp"]."</td>";
|
echo "<td class='datos'>".$row["timestamp"]."</td>";
|
||||||
echo "<td class='datos' align='center'>";
|
echo "<td class='datos' align='center'>";
|
||||||
if ($row["alerted"] != 0 )
|
if ($row["alerted"] != 0 )
|
||||||
echo "<img src='images/dot_yellow.png' border=0>";
|
echo "<img src='images/dot_yellow.png' border=0>";
|
||||||
|
echo "</td>";
|
||||||
echo "<td class='datos' align='center'>";
|
echo "<td class='datos' align='center'>";
|
||||||
|
|
||||||
if ($row["status"] == 0 && give_acl ($config['id_user'],"0","IW"))
|
if ($row["status"] == 0 && give_acl ($config['id_user'],"0","IW"))
|
||||||
echo "<a href='index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_view&check=".$row["id_trap"]."'><img src='images/ok.png' border='0'></a>";
|
echo "<a href='index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_view&check=".$row["id_trap"]."'><img src='images/ok.png' border='0'></a>";
|
||||||
if (give_acl ($config['id_user'], "0", "IM"))
|
if (give_acl ($config['id_user'], "0", "IM"))
|
||||||
echo "<a href='index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_view&delete=".$row["id_trap"]."&refr=60&offset=".$offset."'><img src='images/cross.png' border=0></a>";
|
echo "<a href='index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_view&delete=".$row["id_trap"]."&refr=60&offset=".$offset."'><img src='images/cross.png' border=0></a>";
|
||||||
|
echo "</td>";
|
||||||
echo "<td class='datos' align='center'>";
|
echo "<td class='datos' align='center'>";
|
||||||
echo "<input type='checkbox' class='chk' name='snmptrapid".$offset_counter."' value='".$row["id_trap"]."'>";
|
echo "<input type='checkbox' class='chk' name='snmptrapid".$offset_counter."' value='".$row["id_trap"]."'>";
|
||||||
echo "</td></tr>";
|
echo "</td></tr>";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user