2010-04-30 Sergio Martin <sergio.martin@artica.es>
* operation/snmpconsole/snmp_view.php: Fixed the custom value column tooltip. Now, the tooltip shows the full value instead of the custom OID. Bug: 2940432 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2644 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
df0bc48f85
commit
cdd744de79
|
@ -1,3 +1,9 @@
|
|||
2010-04-30 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* operation/snmpconsole/snmp_view.php: Fixed the custom
|
||||
value column tooltip. Now, the tooltip shows the full
|
||||
value instead of the custom OID. Bug: 2940432
|
||||
|
||||
2010-04-30 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_io.php: added in the function "safe_output" the flag
|
||||
|
|
|
@ -366,8 +366,9 @@ if ($traps !== false) {
|
|||
}
|
||||
|
||||
//Custom
|
||||
$data[4] = '<span title="' . $trap["oid_custom"] . '">' . $trap["value_custom"] . '</span>';
|
||||
|
||||
//$data[4] = '<span title="' . $trap["oid_custom"] . '">' . $trap["value_custom"] . '</span>';
|
||||
$data[4] = substr ($trap["value_custom"], 0, 15);
|
||||
|
||||
if (empty ($data[4])) {
|
||||
$data[4] = __('N/A');
|
||||
} elseif (strlen ($trap["value_custom"]) > 15) {
|
||||
|
|
Loading…
Reference in New Issue