Merge branch 'ent-7197-estilos-log-viewer' into 'develop'

Fix some documentary issues

Closes pandora_enterprise#7197

See merge request artica/pandorafms!3948
This commit is contained in:
Daniel Rodriguez 2021-03-25 09:53:41 +00:00
commit f99e4763e2

View File

@ -2208,24 +2208,26 @@ function html_print_input_text_extended(
/** /**
* Render an input password element. * Render a section <div> html element.
* *
* The element will have an id like: "password-$name" * @param array $options Parameters:
*
* @param mixed parameters:
* - id: string * - id: string
* - style: string * - style: string
* - class: string
* - title: string
* - hidden: boolean * - hidden: boolean
* - content: string * - content: string.
* @param bool return or echo flag * @param boolean $return Return or echo flag.
* *
* @return string HTML code if return parameter is true. * @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 = '<div'; $output = '<div';
// Valid attributes (invalid attributes get skipped) // Valid attributes (invalid attributes get skipped).
$attrs = [ $attrs = [
'id', 'id',
'style', 'style',
@ -2262,13 +2264,14 @@ function html_print_div($options, $return=false)
/** /**
* Render an anchor html element. * Render an anchor <a> html element.
* *
* @param array $options Parameters * @param array $options Parameters
* - id: string * - id: string.
* - style: string * - style: string.
* - title: string * - title: string.
* - href: string. * - href: string.
* - content: string.
* @param boolean $return Return or echo flag. * @param boolean $return Return or echo flag.
* *
* @return string HTML code if return parameter is true. * @return string HTML code if return parameter is true.