From 0c52b0487fb0c5892b8938534743bc6d1934a043 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 23 Mar 2017 09:57:50 +0100 Subject: [PATCH] fixed visual error in recorn task --- .../godmode/servers/manage_recontask_form.php | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/pandora_console/godmode/servers/manage_recontask_form.php b/pandora_console/godmode/servers/manage_recontask_form.php index 252fc796ec..b4c4290c9d 100644 --- a/pandora_console/godmode/servers/manage_recontask_form.php +++ b/pandora_console/godmode/servers/manage_recontask_form.php @@ -206,7 +206,7 @@ $table->rowclass[5] = "network_sweep"; $table->rowclass[7] = "network_sweep"; $table->rowclass[8] = "network_sweep"; $table->rowclass[11] = "network_sweep"; -$table->rowclass[17] = "network_sweep"; +$table->rowclass[12] = "network_sweep"; $table->rowclass[18] = "network_sweep"; $table->rowclass[19] = "network_sweep"; $table->rowclass[20] = "network_sweep"; @@ -215,11 +215,11 @@ $table->rowclass[22] = "network_sweep"; $table->rowclass[23] = "network_sweep"; $table->rowclass[6] = "recon_script"; -$table->rowclass[12] = "recon_script"; $table->rowclass[13] = "recon_script"; $table->rowclass[14] = "recon_script"; $table->rowclass[15] = "recon_script"; $table->rowclass[16] = "recon_script"; +$table->rowclass[17] = "recon_script"; // Name $table->data[0][0] = "" . __('Task name') . ""; $table->data[0][1] = html_print_input_text ('name', $name, '', 25, 0, true); @@ -318,15 +318,19 @@ $table->data[10][0] = "".__('Incident'); $table->data[10][1] = html_print_select ($values, "create_incident", $create_incident, '','','',true) . ' ' . ui_print_help_tip (__('Choose if the discovery of a new system creates an incident or not.'), true); +//snmp_enabled +$table->data[11][0] = "".__('SNMP enabled'); +$table->data[11][1] = html_print_checkbox ('snmp_enabled', 1, $snmp_enabled, true); + // SNMP default community -$table->data[11][0] = "".__('SNMP Default community'); -$table->data[11][1] = html_print_input_text ('snmp_community', $snmp_community, '', 35, 0, true); +$table->data[12][0] = "".__('SNMP Default community'); +$table->data[12][1] = html_print_input_text ('snmp_community', $snmp_community, '', 35, 0, true); // Explanation $explanation = db_get_value('description', 'trecon_script', 'id_recon_script', $id_recon_script); -$table->data[12][0] = "" . __('Explanation') . ""; -$table->data[12][1] = "