diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 97e208163b..d6a82914bf 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2011-01-31 Miguel de Dios + + * godmode/modules/manage_network_components_form_wmi.php, + godmode/modules/manage_network_components_form_plugin.php: added the field + "Post process". + 2011-01-31 Miguel de Dios * include/javascript/pandora_modules.js, pandoradb.sql, diff --git a/pandora_console/godmode/modules/manage_network_components_form_plugin.php b/pandora_console/godmode/modules/manage_network_components_form_plugin.php index 07b3ced3f0..ebe5df3e07 100644 --- a/pandora_console/godmode/modules/manage_network_components_form_plugin.php +++ b/pandora_console/godmode/modules/manage_network_components_form_plugin.php @@ -40,7 +40,8 @@ $data = array (); $data[0] = __('Plugin parameters'); $data[0] .= print_help_icon ('plugin_parameters', true); $data[1] = print_input_text ('plugin_parameter', $plugin_parameter, '', 30, 255, true); -$table->colspan['plugin_3'][1] = 3; +$data[2] = __('Post process').' '.print_help_icon ('postprocess', true); +$data[3] = print_input_text ('post_process', $post_process, '', 12, 25, true); push_table_row ($data, 'plugin_3'); diff --git a/pandora_console/godmode/modules/manage_network_components_form_wmi.php b/pandora_console/godmode/modules/manage_network_components_form_wmi.php index 1ebc857c03..336b6ac881 100644 --- a/pandora_console/godmode/modules/manage_network_components_form_wmi.php +++ b/pandora_console/godmode/modules/manage_network_components_form_wmi.php @@ -52,6 +52,12 @@ $data[3] = print_input_password ('plugin_pass', $plugin_pass, '', 25, 255, true) push_table_row ($data, 'wmi_3'); +$data = array(); +$data[0] = __('Post process').' '.print_help_icon ('postprocess', true); +$data[1] = print_input_text ('post_process', $post_process, '', 12, 25, true); +$data[2] = $data[3] = ''; +push_table_row($data, 'field_process'); + return; // Update an existing component if (! $id) { @@ -194,7 +200,8 @@ if ($id) { print_input_hidden ('update_component', 1); print_input_hidden ('id', $id); print_submit_button (__('Update'), 'crt', false, 'class="sub upd"'); -} else { +} +else { print_input_hidden ('create_component', 1); print_submit_button (__('Create'), 'crt', false, 'class="sub next"'); }