2009-07-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components_form.php: add comments for clarify mecanics of code, and add default group when choose make new WMI. * godmode/modules/manage_network_components_form_wmi.php: fix the bug, change files to add the html table, it was a probably typing mistake. Fixes: 2808211 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1818 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
641e7945ab
commit
dd296d490b
|
@ -1,3 +1,12 @@
|
|||
2009-07-23 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/modules/manage_network_components_form.php: add comments for
|
||||
clarify mecanics of code, and add default group when choose make new
|
||||
WMI.
|
||||
* godmode/modules/manage_network_components_form_wmi.php: fix the bug,
|
||||
change files to add the html table, it was a probably typing mistake.
|
||||
Fixes: 2808211
|
||||
|
||||
2009-07-22 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* operation/agentes/tactical.php: fix bug, and now show another column
|
||||
|
|
|
@ -68,7 +68,8 @@ if (isset ($id)) {
|
|||
$tcp_send = "";
|
||||
$snmp_community = "";
|
||||
$id_module_group = "";
|
||||
$id_group = "";
|
||||
if ($id_component_type == 6) $id_group = 14;
|
||||
else $id_group = "";
|
||||
$type = 0;
|
||||
$min_warning = 0;
|
||||
$max_warning = 0;
|
||||
|
@ -79,6 +80,16 @@ if (isset ($id)) {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* $id_component_type has these values:
|
||||
* 6 - Module WMI
|
||||
* 4 - Plugin component
|
||||
* 2 - network component
|
||||
*
|
||||
* You can see this values in file godmode/modules/manage_network_components.php
|
||||
* in the last lines (in the call function "print_select").
|
||||
*/
|
||||
|
||||
if ($id_component_type == 6) {
|
||||
$categories = array (0, 1, 2);
|
||||
require ("godmode/modules/manage_network_components_form_common.php");
|
||||
|
|
|
@ -51,7 +51,7 @@ $data[1] = print_input_text ('plugin_user', $plugin_user, '', 15, 255, true);
|
|||
$data[2] = __('Password');
|
||||
$data[3] = print_input_password ('plugin_pass', $plugin_pass, '', 25, 255, true);
|
||||
|
||||
push_table_row ($data, 'wmi_2');
|
||||
push_table_row ($data, 'wmi_3');
|
||||
|
||||
return;
|
||||
// Update an existing component
|
||||
|
|
Loading…
Reference in New Issue