From e12d4deba2caeb2f3310e8a01f8126ed9f481750 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 14 Apr 2025 19:05:45 +0200 Subject: [PATCH] CSS v22 --- htdocs/comm/card.php | 2 +- htdocs/core/tpl/login.tpl.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php index 58f80f68070..209f3ba322c 100644 --- a/htdocs/comm/card.php +++ b/htdocs/comm/card.php @@ -375,7 +375,7 @@ if ($object->id > 0) { print ''; // Nature Prospect/Customer/Supplier - print ''; diff --git a/htdocs/core/tpl/login.tpl.php b/htdocs/core/tpl/login.tpl.php index 8d437a2803a..c2ef622e722 100644 --- a/htdocs/core/tpl/login.tpl.php +++ b/htdocs/core/tpl/login.tpl.php @@ -318,8 +318,10 @@ if ($disablenofollow) { if ($passwordInput.is('[type=password]')) { $passwordInput.attr('type', 'text'); + jQuery('#togglepassword .fa-eye').attr('class', 'fa fa-eye-slash'); } else { $passwordInput.attr('type', 'password'); + jQuery('#togglepassword .fa-eye-slash').attr('class', 'fa fa-eye'); } return false; // This prevents the click from reloading the page
'.$langs->trans('NatureOfThirdParty').''; + print '
'.$langs->trans('NatureOfThirdParty').''; print $object->getTypeUrl(1); print '