mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
#10253 Enforcement options in setup visuals and general setup
This commit is contained in:
parent
af6f5efdd8
commit
31acafc00f
@ -512,13 +512,17 @@ $table->data[$i++][1] = html_print_checkbox_switch(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$table->data[$i][0] = __('Limit for bulk operations');
|
$table->data[$i][0] = __('Limit for bulk operations');
|
||||||
$table->data[$i++][1] = html_print_input_text(
|
$table->data[$i++][1] = html_print_input(
|
||||||
'limit_parameters_massive',
|
[
|
||||||
$config['limit_parameters_massive'],
|
'type' => 'number',
|
||||||
'',
|
'size' => 5,
|
||||||
10,
|
'max' => 2000,
|
||||||
10,
|
'name' => 'limit_parameters_massive',
|
||||||
true
|
'value' => $config['limit_parameters_massive'],
|
||||||
|
'return' => true,
|
||||||
|
'min' => 100,
|
||||||
|
'style' => 'width:50px',
|
||||||
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
$table->data[$i][0] = __('Include agents manually disabled');
|
$table->data[$i][0] = __('Include agents manually disabled');
|
||||||
|
@ -64,7 +64,18 @@ $table_behaviour->size[0] = '50%';
|
|||||||
$table_behaviour->data = [];
|
$table_behaviour->data = [];
|
||||||
|
|
||||||
$table_behaviour->data[$row][0] = __('Block size for pagination');
|
$table_behaviour->data[$row][0] = __('Block size for pagination');
|
||||||
$table_behaviour->data[$row][1] = html_print_input_text('block_size', $config['global_block_size'], '', 5, 5, true);
|
$table_behaviour->data[$row][1] = html_print_input(
|
||||||
|
[
|
||||||
|
'type' => 'number',
|
||||||
|
'size' => 5,
|
||||||
|
'max' => 200,
|
||||||
|
'name' => 'block_size',
|
||||||
|
'value' => $config['global_block_size'],
|
||||||
|
'return' => true,
|
||||||
|
'min' => 10,
|
||||||
|
'style' => 'width:50px',
|
||||||
|
]
|
||||||
|
);
|
||||||
$row++;
|
$row++;
|
||||||
|
|
||||||
$values = [];
|
$values = [];
|
||||||
@ -823,16 +834,19 @@ if (enterprise_installed() === false) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$table_chars->data[$row][0] = __('Data precision');
|
$table_chars->data[$row][0] = __('Data precision');
|
||||||
$table_chars->data[$row][1] = html_print_input_text(
|
$table_chars->data[$row][1] = html_print_input(
|
||||||
'graph_precision',
|
[
|
||||||
$config['graph_precision'],
|
'type' => 'number',
|
||||||
'',
|
'size' => 5,
|
||||||
5,
|
'max' => 5,
|
||||||
5,
|
'name' => 'graph_precision',
|
||||||
true,
|
'value' => $config['graph_precision'],
|
||||||
$disabled_graph_precision,
|
'return' => true,
|
||||||
false,
|
'min' => 1,
|
||||||
'onChange="change_precision()"'
|
'style' => 'width:50px',
|
||||||
|
($disabled_graph_precision) ? 'readonly' : '' => 'readonly',
|
||||||
|
'onchange' => 'change_precision()',
|
||||||
|
]
|
||||||
);
|
);
|
||||||
$row++;
|
$row++;
|
||||||
|
|
||||||
@ -841,17 +855,21 @@ if (isset($config['short_module_graph_data']) === false) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$table_chars->data[$row][0] = __('Data precision in graphs');
|
$table_chars->data[$row][0] = __('Data precision in graphs');
|
||||||
$table_chars->data[$row][1] = html_print_input_text(
|
$table_chars->data[$row][1] = html_print_input(
|
||||||
'short_module_graph_data',
|
[
|
||||||
$config['short_module_graph_data'],
|
'type' => 'number',
|
||||||
'',
|
'size' => 5,
|
||||||
5,
|
'max' => 20,
|
||||||
5,
|
'name' => 'short_module_graph_data',
|
||||||
true,
|
'value' => $config['short_module_graph_data'],
|
||||||
$disabled_graph_precision,
|
'return' => true,
|
||||||
false,
|
'min' => 1,
|
||||||
'onChange="change_precision()"'
|
'style' => 'width:50px',
|
||||||
|
($disabled_graph_precision) ? 'readonly' : '' => 'readonly',
|
||||||
|
'onchange' => 'change_precision()',
|
||||||
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
$row++;
|
$row++;
|
||||||
|
|
||||||
$table_chars->data[$row][0] = __(
|
$table_chars->data[$row][0] = __(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user