2010-04-28 Sergio Martin <sergio.martin@artica.es>
* 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
This commit is contained in:
parent
2a6bf96073
commit
d6f7244a89
|
@ -1,3 +1,8 @@
|
|||
2010-04-28 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_html.php: Added at print_checkbox
|
||||
function the 'script' parameter
|
||||
|
||||
2010-04-27 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_reporting.php: in function
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue