From d6f7244a89b896f8743fb10797c2097f989ac491 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Wed, 28 Apr 2010 07:25:46 +0000 Subject: [PATCH] 2010-04-28 Sergio Martin * include/functions_html.php: Added at print_checkbox function the 'script' parameter git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2620 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/functions_html.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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;