';
$table->data['edit1'][1] .= '';
- $table->data['edit1'][1] .= ''.__('Inverse interval').'';
+ $table->data['edit1'][1] .= '' .
+ __('Inverse interval') . '';
$table->data['edit1'][1] .= ' | ';
$table->data['edit1'][1] .= '';
$table->data['edit1'][1] .=
html_print_select(
- array('' => __('No change'),
+ array(
+ '' => __('No change'),
'1' => __('Yes'),
'0' => __('No')),
'warning_inverse','','','', '', true);
@@ -369,8 +384,8 @@ $table->data['edit1'][3] = '';
$table->data['edit1'][3] .= '' . __('Min.') . '';
$table->data['edit1'][3] .= '';
$table->data['edit1'][3] .= '';
- $table->data['edit1'][3] .= html_print_input_text('min_critical',
- '', '', 5, 15, true);
+ $table->data['edit1'][3] .= html_print_input_text(
+ 'min_critical', '', '', 5, 15, true);
$table->data['edit1'][3] .= ' | ';
$table->data['edit1'][3] .= '';
$table->data['edit1'][3] .= '';
@@ -378,7 +393,8 @@ $table->data['edit1'][3] = '';
$table->data['edit1'][3] .= '' . __('Max.') . '';
$table->data['edit1'][3] .= '';
$table->data['edit1'][3] .= '';
- $table->data['edit1'][3] .= html_print_input_text ('max_critical', '', '', 5, 15, true);
+ $table->data['edit1'][3] .= html_print_input_text(
+ 'max_critical', '', '', 5, 15, true);
$table->data['edit1'][3] .= ' | ';
$table->data['edit1'][3] .= '';
$table->data['edit1'][3] .= '';
@@ -386,12 +402,14 @@ $table->data['edit1'][3] = '';
$table->data['edit1'][3] .= ''.__('Str.').'';
$table->data['edit1'][3] .= '';
$table->data['edit1'][3] .= '';
- $table->data['edit1'][3] .= html_print_input_text ('str_critical', '', '', 5, 15, true);
+ $table->data['edit1'][3] .= html_print_input_text(
+ 'str_critical', '', '', 5, 15, true);
$table->data['edit1'][3] .= ' | ';
$table->data['edit1'][3] .= '';
$table->data['edit1'][3] .= '';
$table->data['edit1'][3] .= '';
- $table->data['edit1'][3] .= ''.__('Inverse interval').'';
+ $table->data['edit1'][3] .= '' .
+ __('Inverse interval') . '';
$table->data['edit1'][3] .= ' | ';
$table->data['edit1'][3] .= '';
$table->data['edit1'][3] .=
@@ -405,27 +423,40 @@ $table->data['edit1'][3] = '';
$table->data['edit1'][3] .= ' ';
$table->data['edit1_1'][0] = ''.__('Description'). '';
-$table->data['edit1_1'][1] = html_print_textarea ('descripcion', 2, 50, '', '', true);
+$table->data['edit1_1'][1] = html_print_textarea ('descripcion', 2, 50,
+ '', '', true);
$table->colspan['edit1_1'][1] = 3;
$table->data['edit2'][0] = __('Interval');
-$table->data['edit2'][1] = html_print_extended_select_for_time ('module_interval', 0, '', __('No change'), '0', 10, true, 'width: 150px');
+$table->data['edit2'][1] = html_print_extended_select_for_time(
+ 'module_interval', 0, '', __('No change'), '0', 10, true, 'width: 150px');
$table->data['edit2'][2] = __('Disabled');
-$table->data['edit2'][3] = html_print_select(array('' => __('No change'), '1' => __('Yes'), '0' => __('No')),'disabled','','','', '', true);
+$table->data['edit2'][3] = html_print_select(
+ array(
+ '' => __('No change'),
+ '1' => __('Yes'),
+ '0' => __('No')),
+ 'disabled', '', '', '', '', true);
$table->data['edit3'][0] = __('Post process') .
ui_print_help_icon ('postprocess', true);
-$table->data['edit3'][1] = html_print_input_text ('post_process', '', '', 10, 15, true);
+$table->data['edit3'][1] = html_print_input_text ('post_process', '',
+ '', 10, 15, true);
$table->data['edit3'][2] = __('SMNP community');
-$table->data['edit3'][3] = html_print_input_text ('snmp_community', '', '', 10, 15, true);
+$table->data['edit3'][3] = html_print_input_text ('snmp_community', '',
+ '', 10, 15, true);
$table->data['edit35'][0] = __('Target IP');
-$table->data['edit35'][1] = html_print_input_text ('ip_target', '', '', 15, 60, true);
+$table->data['edit35'][1] = html_print_input_text ('ip_target', '', '',
+ 15, 60, true);
$table->data['edit35'][2] = __('SNMP version');
-$table->data['edit35'][3] = html_print_select ($snmp_versions, 'tcp_send', '', '', __('No change'), '', true, false, false, '');
+$table->data['edit35'][3] = html_print_select ($snmp_versions,
+ 'tcp_send', '', '', __('No change'), '', true, false, false, '');
$table->data['edit36'][0] = __('Auth user');
-$table->data['edit36'][1] = html_print_input_text ('plugin_user_snmp', '', '', 15, 60, true);
-$table->data['edit36'][2] = __('Auth password') . ui_print_help_tip(__("The pass length must be eight character minimum."), true);
+$table->data['edit36'][1] = html_print_input_text ('plugin_user_snmp',
+ '', '', 15, 60, true);
+$table->data['edit36'][2] = __('Auth password') .
+ ui_print_help_tip(__("The pass length must be eight character minimum."), true);
$table->data['edit36'][3] = html_print_input_text ('plugin_pass_snmp', '', '', 15, 60, true);
$table->data['edit37'][0] = __('Privacy method');
$table->data['edit37'][1] = html_print_select(array('DES' => __('DES'), 'AES' => __('AES')), 'custom_string_1', '', '', __('No change'), '', true);
@@ -922,6 +953,7 @@ $(document).ready (function () {
$agents_select,
- 'nombre' => io_safe_input($module_name)),
+ 'nombre' => $module_name),
array ('id_agente_modulo'));
}
}
diff --git a/pandora_console/godmode/massive/massive_operations.php b/pandora_console/godmode/massive/massive_operations.php
index 38c986022e..923b2fa9cd 100755
--- a/pandora_console/godmode/massive/massive_operations.php
+++ b/pandora_console/godmode/massive/massive_operations.php
@@ -140,25 +140,33 @@ if ($option == '') {
$option = array_shift(array_keys($options));
}
-$alertstab = array('text' => ''
- . html_print_image ('images/op_alerts.png', true,
- array ('title' => __('Alerts operations')))
- . '', 'active' => $tab == 'massive_alerts');
+$alertstab = array(
+ 'text' => ''
+ . html_print_image ('images/op_alerts.png', true,
+ array ('title' => __('Alerts operations')))
+ . '',
+ 'active' => $tab == 'massive_alerts');
-$userstab = array('text' => ''
- . html_print_image ('images/op_workspace.png', true,
- array ('title' => __('Users operations')))
- . '', 'active' => $tab == 'massive_users');
+$userstab = array(
+ 'text' => ''
+ . html_print_image ('images/op_workspace.png', true,
+ array ('title' => __('Users operations')))
+ . '',
+ 'active' => $tab == 'massive_users');
-$agentstab = array('text' => ''
- . html_print_image ('images/bricks.png', true,
- array ('title' => __('Agents operations')))
- . '', 'active' => $tab == 'massive_agents');
+$agentstab = array(
+ 'text' => ''
+ . html_print_image ('images/bricks.png', true,
+ array ('title' => __('Agents operations')))
+ . '',
+ 'active' => $tab == 'massive_agents');
-$modulestab = array('text' => ''
- . html_print_image ('images/brick.png', true,
- array ('title' => __('Modules operations')))
- . '', 'active' => $tab == 'massive_modules');
+$modulestab = array(
+ 'text' => ''
+ . html_print_image ('images/brick.png', true,
+ array ('title' => __('Modules operations')))
+ . '',
+ 'active' => $tab == 'massive_modules');
@@ -213,7 +221,8 @@ $submit_template_standby = get_parameter('id_alert_template_standby');
$submit_add = get_parameter('crtbutton');
echo '';
-echo html_print_image("images/wait.gif", true, array("border" => '0')) . ' ';
+echo html_print_image("images/wait.gif", true, array("border" => '0')) .
+ ' ';
echo '' . __('Please wait...') . '';
echo ' ';
?>
@@ -245,14 +254,19 @@ echo '';
";
echo '';
echo " ";
| |