minor fix
This commit is contained in:
parent
e8f7246e54
commit
40b8bcf0eb
|
@ -1124,15 +1124,14 @@ $table->data[6][1] = html_print_select(
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
||||||
if (is_metaconsole() === false) {
|
$table->data[7][0] = __('Safe operation mode').': '.ui_print_help_tip(
|
||||||
$table->data[7][0] = __('Safe operation mode').': '.ui_print_help_tip(
|
|
||||||
__(
|
__(
|
||||||
'This mode allow %s to disable all modules of this agent while the selected module is on CRITICAL status',
|
'This mode allow %s to disable all modules of this agent while the selected module is on CRITICAL status',
|
||||||
get_product_name()
|
get_product_name()
|
||||||
),
|
),
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
$table->data[7][1] .= html_print_select(
|
$table->data[7][1] .= html_print_select(
|
||||||
[
|
[
|
||||||
1 => __('Enabled'),
|
1 => __('Enabled'),
|
||||||
0 => __('Disabled'),
|
0 => __('Disabled'),
|
||||||
|
@ -1143,9 +1142,10 @@ if (is_metaconsole() === false) {
|
||||||
__('No change'),
|
__('No change'),
|
||||||
-1,
|
-1,
|
||||||
true
|
true
|
||||||
).' ';
|
).' ';
|
||||||
$table->data[7][1] .= __('Module').' ';
|
|
||||||
$table->data[7][1] .= html_print_select(
|
$table->data[7][1] .= __('Module').' ';
|
||||||
|
$table->data[7][1] .= html_print_select(
|
||||||
'',
|
'',
|
||||||
'safe_mode_module',
|
'safe_mode_module',
|
||||||
'',
|
'',
|
||||||
|
@ -1153,8 +1153,7 @@ if (is_metaconsole() === false) {
|
||||||
__('Any'),
|
__('Any'),
|
||||||
-1,
|
-1,
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
}
|
|
||||||
|
|
||||||
ui_toggle(html_print_table($table, true), __('Advanced options'));
|
ui_toggle(html_print_table($table, true), __('Advanced options'));
|
||||||
unset($table);
|
unset($table);
|
||||||
|
|
Loading…
Reference in New Issue