From 4c76e4589be1ba8f28872d6c7a49ba4d52f58bae Mon Sep 17 00:00:00 2001 From: slerena Date: Mon, 20 Sep 2010 14:14:55 +0000 Subject: [PATCH] 2010-09-20 Sancho Lerena * include/config.inc.php: config_process.php is obtained from defined path in homedir variable. * godmode/agentes/module_manager_editor_network.php: Limit for OID lenght was too short, DB gets 255 chars, now input also gets 255 chars. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 8 ++ .../agentes/module_manager_editor_network.php | 2 +- pandora_console/include/config.inc.php | 75 ------------------- 3 files changed, 9 insertions(+), 76 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index a4cda1bdba..a90276a7d5 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2010-09-20 Sancho Lerena + + * include/config.inc.php: config_process.php is obtained from defined + path in homedir variable. + + * godmode/agentes/module_manager_editor_network.php: Limit for OID lenght + was too short, DB gets 255 chars, now input also gets 255 chars. + 2010-09-17 Miguel de Dios * operation/events/events.php: cleaned source code style. diff --git a/pandora_console/godmode/agentes/module_manager_editor_network.php b/pandora_console/godmode/agentes/module_manager_editor_network.php index 26cb4d3f64..37d92cd4e0 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_network.php +++ b/pandora_console/godmode/agentes/module_manager_editor_network.php @@ -70,7 +70,7 @@ push_table_simple ($data, 'snmp_1'); $data = array (); $data[0] = __('SNMP OID'); $data[1] = ''; -$data[1] .= print_input_text ('snmp_oid', $snmp_oid, '', 30, 120, true, $disabledBecauseInPolicy); +$data[1] .= print_input_text ('snmp_oid', $snmp_oid, '', 30, 255, true, $disabledBecauseInPolicy); $data[1] .= '