From 0efe0041227b49766b1ba4da0d47397d8110b303 Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Wed, 17 Jan 2024 13:29:21 +0100 Subject: [PATCH 1/3] #12767 Fixed password --- pandora_console/include/styles/pandora.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 94d337bdbe..7c188058f3 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -12076,6 +12076,10 @@ div.relative > div > div#ui-datepicker-div { width: 400px; } +.container-div-input-password { + display: inline !important; +} + #message_dialog_connection { height: auto !important; } From a41d2214e6343e6d44081e35213b724356be689e Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Fri, 19 Jan 2024 09:33:53 +0100 Subject: [PATCH 2/3] #12767 Fixed password 2 --- pandora_console/include/styles/pandora.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 7c188058f3..526a6b73f8 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -11843,7 +11843,7 @@ p.trademark-copyright { } .show-hide-pass { - position: fixed; + position: absolute; border: 0; outline: none; margin-left: -50px; @@ -12077,7 +12077,7 @@ div.relative > div > div#ui-datepicker-div { } .container-div-input-password { - display: inline !important; + display: block !important; } #message_dialog_connection { From 6948306d820c48a090dabb4ea47ad75a4f920692 Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Mon, 22 Jan 2024 17:29:51 +0100 Subject: [PATCH 3/3] #12767 Fixed password 3 --- pandora_console/include/functions_html.php | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index 06ab07598d..7052450b5f 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -2728,8 +2728,8 @@ function html_print_input_text_extended( if ($hide_div_eye !== false) { echo ""; @@ -2746,9 +2746,11 @@ function html_print_input_text_extended( ]; foreach ($attrs as $attribute => $default) { - if (array_key_exists($attribute, $attributes)) { + if (array_key_exists($attribute, $attributes) + || ($password === true && $attribute === 'value') + ) { continue; - } //end if + } /* * Remember, this next code have a $$ that for example there is a var as @@ -2758,7 +2760,7 @@ function html_print_input_text_extended( * */ - // Exact operator because we want to show "0" on the value + // Exact operator because we want to show "0" on the value. if ($attribute !== '') { $output .= $attribute.'="'.$$attribute.'" '; } else if ($default != '') { @@ -2789,6 +2791,12 @@ function html_print_input_text_extended( ], true ); + + echo "'; } if (!$return) {