mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
2013-02-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/functions_ui.php, operation/reporting/reporting_viewer.php, operation/agentes/snapshot_view.php: improved the code style. * include/functions_html.php: added other parameter in print checkbox for to avoid to put a hidden input. Fixes: #3602766 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
4006fbe500
commit
5767594f30
@ -1,3 +1,14 @@
|
||||
2013-02-06 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_graph.php, include/functions_ui.php,
|
||||
operation/reporting/reporting_viewer.php,
|
||||
operation/agentes/snapshot_view.php: improved the code style.
|
||||
|
||||
* include/functions_html.php: added other parameter in print
|
||||
checkbox for to avoid to put a hidden input.
|
||||
|
||||
Fixes: #3602766
|
||||
|
||||
2013-02-06 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_config.php: uploaded the lost character key.
|
||||
|
@ -268,7 +268,8 @@ function grafico_modulo_sparse_data_chart (&$chart, &$chart_data_extra, &$long_i
|
||||
|
||||
if ($data[$data_i]['datos'] > $interval_max) {
|
||||
$interval_max = $data[$data_i]['datos'];
|
||||
} else if ($data[$data_i]['datos'] < $interval_min) {
|
||||
}
|
||||
else if ($data[$data_i]['datos'] < $interval_min) {
|
||||
$interval_min = $data[$data_i]['datos'];
|
||||
}
|
||||
$total += $data[$data_i]['datos'];
|
||||
|
@ -1318,9 +1318,11 @@ function html_print_checkbox_extended ($name, $value, $checked, $disabled, $scri
|
||||
*
|
||||
* @return string HTML code if return parameter is true.
|
||||
*/
|
||||
function html_print_checkbox ($name, $value, $checked = false, $return = false, $disabled = false, $script = '') {
|
||||
function html_print_checkbox ($name, $value, $checked = false, $return = false, $disabled = false, $script = '', $disabled_hidden = false) {
|
||||
$output = html_print_checkbox_extended ($name, $value, (bool) $checked, $disabled, $script, '', true);
|
||||
if (!$disabled_hidden) {
|
||||
$output .= html_print_input_hidden($name . '_sent', 1, true);
|
||||
}
|
||||
|
||||
if ($return === false)
|
||||
echo $output;
|
||||
|
@ -158,8 +158,10 @@ echo html_print_image("images/wait.gif", true, array("border" => '0'));
|
||||
echo '<strong>'.__('Loading').'...</strong>';
|
||||
echo '</div>';
|
||||
|
||||
/* We must add javascript here. Otherwise, the date picker won't
|
||||
work if the date is not correct because php is returning. */
|
||||
/*
|
||||
* We must add javascript here. Otherwise, the date picker won't
|
||||
* work if the date is not correct because php is returning.
|
||||
*/
|
||||
|
||||
ui_require_jquery_file ("ui-timepicker-addon");
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user