diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index a97e52e892..69d91ee727 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-04-28 Sergio Martin + + * include/functions_html.php: Added at print_checkbox + function the 'script' parameter + 2010-04-27 Miguel de Dios * include/functions_reporting.php: in function diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index 1136f3b89a..3e1e20bd60 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -956,8 +956,8 @@ function print_checkbox_extended ($name, $value, $checked, $disabled, $script, $ * * @return string HTML code if return parameter is true. */ -function print_checkbox ($name, $value, $checked = false, $return = false, $disabled = false) { - $output = print_checkbox_extended ($name, $value, (bool) $checked, $disabled, '', '', true); +function print_checkbox ($name, $value, $checked = false, $return = false, $disabled = false, $script = '') { + $output = print_checkbox_extended ($name, $value, (bool) $checked, $disabled, $script, '', true); if ($return === false) echo $output;