From af98637680afea175eb9e046c4e69187fc3f22c1 Mon Sep 17 00:00:00 2001 From: Jose Gonzalez Date: Wed, 24 Mar 2021 12:45:25 +0100 Subject: [PATCH] Fix some documentary issues --- pandora_console/include/functions_html.php | 29 ++++++++++++---------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index 3b1b1bf126..dafdab30c2 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -2208,24 +2208,26 @@ function html_print_input_text_extended( /** - * Render an input password element. + * Render a section
html element. * - * The element will have an id like: "password-$name" - * - * @param mixed parameters: + * @param array $options Parameters: * - id: string * - style: string + * - class: string + * - title: string * - hidden: boolean - * - content: string - * @param bool return or echo flag + * - content: string. + * @param boolean $return Return or echo flag. * * @return string HTML code if return parameter is true. */ -function html_print_div($options, $return=false) -{ +function html_print_div( + array $options, + bool $return=false +) { $output = ' html element. * * @param array $options Parameters - * - id: string - * - style: string - * - title: string + * - id: string. + * - style: string. + * - title: string. * - href: string. + * - content: string. * @param boolean $return Return or echo flag. * * @return string HTML code if return parameter is true.