diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php index 9291a12336..6b4938d4a5 100644 --- a/pandora_console/godmode/menu.php +++ b/pandora_console/godmode/menu.php @@ -147,10 +147,10 @@ if (check_acl($config['id_user'], 0, 'PM')) { $sub2 = []; $sub2['godmode/modules/private_enterprise_numbers']['text'] = __('Private Enterprise Numbers'); $sub2['godmode/modules/private_enterprise_numbers']['id'] = 'Private Enterprise Numbers'; - $sub2['godmode/modules/SNMP_modules']['text'] = __('SNMP Modules'); - $sub2['godmode/modules/SNMP_modules']['id'] = 'SNMP Modules'; - $sub2['godmode/modules/WMI_modules']['text'] = __('WMI Modules'); - $sub2['godmode/modules/WMI_modules']['id'] = 'WMI Modules'; + $sub2['godmode/modules/manage_snmp_modules']['text'] = __('SNMP Modules'); + $sub2['godmode/modules/manage_snmp_modules']['id'] = 'SNMP Modules'; + $sub2['godmode/modules/manage_wmi_modules']['text'] = __('WMI Modules'); + $sub2['godmode/modules/manage_wmi_modules']['id'] = 'WMI Modules'; $sub['configuration_wizard_setup']['sub2'] = $sub2; $sub['godmode/modules/manage_block_templates']['text'] = __('Module blocks'); $sub['godmode/modules/manage_block_templates']['id'] = 'Module blocks'; diff --git a/pandora_console/include/class/HTML.class.php b/pandora_console/include/class/HTML.class.php index 41231c6c17..9ebf241377 100644 --- a/pandora_console/include/class/HTML.class.php +++ b/pandora_console/include/class/HTML.class.php @@ -746,6 +746,7 @@ class HTML ) { $form = $data['form']; $inputs = $data['inputs']; + $rawInputs = $data['rawInputs']; $js = $data['js']; $rawjs = $data['js_block']; $cb_function = $data['cb_function']; @@ -788,6 +789,11 @@ class HTML $output .= ''; + // There is possible add raw inputs for this form. + if (empty($rawInputs) === false) { + $output .= $rawInputs; + } + if ($print_white_box === true) { $output .= ''; } @@ -821,7 +827,7 @@ class HTML $form = $data['form']; $rows = $data['rows']; - + $rawInputs = $data['rawInputs']; $js = $data['js']; $rawjs = $data['js_block']; $cb_function = $data['cb_function']; @@ -896,6 +902,11 @@ class HTML } } + // There is possible add raw inputs for this form. + if (empty($rawInputs) === false) { + $output .= $rawInputs; + } + $output .= ''; $output .= '