Merge branch 'ent-12218-bug-del-boton-show-hide-password-de-usuarios' into 'develop'

Ent 12218 bug del boton show hide password de usuarios

See merge request artica/pandorafms!6553
This commit is contained in:
Rafael Ameijeiras 2023-11-27 12:00:28 +00:00
commit 8865f0394e
2 changed files with 10 additions and 10 deletions

View File

@ -327,7 +327,7 @@ $passwordManageTable->data = [];
$passwordManageTable->data['captions_newpassword'][0] = __('New password'); $passwordManageTable->data['captions_newpassword'][0] = __('New password');
$passwordManageTable->rowclass['fields_newpassword'] = 'w540px'; $passwordManageTable->rowclass['fields_newpassword'] = 'w540px';
$passwordManageTable->data['fields_newpassword'][0] = html_print_input_text_extended( $passwordManageTable->data['fields_newpassword'][0] = '<div class="relative container-div-input-password ">'.html_print_input_text_extended(
'password_new', 'password_new',
'', '',
'password_new', 'password_new',
@ -337,16 +337,17 @@ $passwordManageTable->data['fields_newpassword'][0] = html_print_input_text_exte
$view_mode, $view_mode,
'', '',
[ [
'class' => 'input w100p', 'class' => 'input',
'placeholder' => __('Password'), 'placeholder' => __('Password'),
'style' => 'width: 540px',
], ],
true, true,
true true
); ).'</div>';
$passwordManageTable->data['captions_repeatpassword'][0] = __('Repeat new password'); $passwordManageTable->data['captions_repeatpassword'][0] = __('Repeat new password');
$passwordManageTable->rowclass['fields_repeatpassword'] = 'w540px'; $passwordManageTable->rowclass['fields_repeatpassword'] = 'w540px';
$passwordManageTable->data['fields_repeatpassword'][0] = html_print_input_text_extended( $passwordManageTable->data['fields_repeatpassword'][0] = '<div class="relative container-div-input-password ">'.html_print_input_text_extended(
'password_confirm', 'password_confirm',
'', '',
'password_conf', 'password_conf',
@ -358,10 +359,11 @@ $passwordManageTable->data['fields_repeatpassword'][0] = html_print_input_text_e
[ [
'class' => 'input w100p', 'class' => 'input w100p',
'placeholder' => __('Password confirmation'), 'placeholder' => __('Password confirmation'),
'style' => 'width: 540px',
], ],
true, true,
true true
); ).'</div>';
if ($new_user === false && users_is_admin() === false) { if ($new_user === false && users_is_admin() === false) {
$passwordManageTable->data['captions_currentpassword'][0] = __('Current password'); $passwordManageTable->data['captions_currentpassword'][0] = __('Current password');

View File

@ -11781,16 +11781,14 @@ p.trademark-copyright {
} }
.show-hide-pass { .show-hide-pass {
position: absolute; position: fixed;
right: 9px;
top: 4px;
border: 0; border: 0;
outline: none; outline: none;
margin: 0; margin-left: -50px;
height: 30px; height: 30px;
width: 40px; width: 40px;
cursor: pointer; cursor: pointer;
display: inline-block; display: initial;
} }
.show-hide-pass-background { .show-hide-pass-background {