From 28cdbf140964f0416d73a9e7ea94f93d979594ca Mon Sep 17 00:00:00 2001 From: Jose Gonzalez Date: Mon, 23 Mar 2020 15:15:44 +0100 Subject: [PATCH] Added rawInputs for forms construtor --- pandora_console/include/class/HTML.class.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pandora_console/include/class/HTML.class.php b/pandora_console/include/class/HTML.class.php index 55c87199c0..41231c6c17 100644 --- a/pandora_console/include/class/HTML.class.php +++ b/pandora_console/include/class/HTML.class.php @@ -926,6 +926,7 @@ class HTML { $form = $data['form']; $inputs = $data['inputs']; + $rawInputs = $data['rawInputs']; $js = $data['js']; $rawjs = $data['js_block']; $cb_function = $data['cb_function']; @@ -962,6 +963,11 @@ class HTML $output .= ''; $output .= ''; + // There is possible add raw inputs for this form. + if (empty($rawInputs) === false) { + $output .= $rawInputs; + } + $output .= ''; $output .= ''; $output .= '';