From 373a9f9bbfabef4bddc943902e9947281a235921 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Thu, 9 Apr 2026 07:54:22 +0000 Subject: [PATCH] dert --- Js/fonctions.js | 24 +++++++++++++++++++++++- Vue/portail.php | 4 +--- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 8c12c544..6df7bbf3 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -87040,7 +87040,7 @@ function changer_langue_connexion() }, complete: function() { - $(".selectpicker").selectpicker(); + actualiserDescriptionPortail(codeLangue); } }); @@ -87089,6 +87089,28 @@ function updateCaption(index) { }, 200); } +/** + * Met à jour dynamiquement la description du portail selon la langue + * @param {string} p_langue - 'fr_FR' ou 'en_US' + */ +function actualiserDescriptionPortail(p_langue) { + const $description = $('#description'); + + // Définition des textes (Dictionnaire local) + const textes = { + 'fr_FR': 'Solution de Gestion Santé Intégrée', + 'en_US': 'Integrated Health Management Solution' + }; + + // Vérification de l'existence de la clé, sinon défaut en Français + const nouveauTexte = textes[p_langue] || textes['fr_FR']; + + // Animation fluide pour le changement de texte (SaaS UX) + $description.fadeOut(200, function() { + $(this).text(nouveauTexte).fadeIn(200); + }); +} + function ctrlkeypress_liste_clients(ev) { var keycode = (ev.keyCode ? ev.keyCode : ev.which); diff --git a/Vue/portail.php b/Vue/portail.php index eff5ff20..768eebf0 100755 --- a/Vue/portail.php +++ b/Vue/portail.php @@ -72,9 +72,7 @@ $isEn = ($_SESSION['lang'] === 'en_US');

INTER SANTE © — v2026

ERP SaaS — - + Solution de Gestion Santé Intégrée