From 68ed7e0d6c07e9f1db0a3c8099159b9e693c7adb Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Thu, 25 Jun 2026 18:56:39 +0000 Subject: [PATCH] a --- Js/fonctions.js | 12 ++++++------ Vue/Ajaxconnexioncookie/english.php | 3 +++ Vue/Ajaxconnexioncookie/french.php | 13 +++---------- Vue/gabarit.php | 2 +- 4 files changed, 13 insertions(+), 17 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index fcbfe21a..d5bfecc2 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -86356,9 +86356,6 @@ function changer_entite_portail() return; } - //alert(codeSociete); - //return; - donnees = 'codeSociete='+codeSociete; v_url = $("#racineWeb").val()+"Ajaxchangerentiteportail/"; @@ -86370,11 +86367,9 @@ function changer_entite_portail() type : 'post', data: donnees, error: function(errorData) { - // alert('success :' + errorData); $("#div_login_portail").html(errorData); }, success: function(data) { - // alert('success :' + data); $("#div_login_portail").html(data); societeExiste = $("#societeExiste").val(); entiteActive = $("#entiteActive").val(); @@ -86388,11 +86383,16 @@ function changer_entite_portail() { $("#btn_connexion").disable(); } + }, + complete: function() + { + src_logo="Societes/"+codeSociete+"/Logos/logo_societe.png"; + const wrapper = document.querySelector('.login-wrapper'); + wrapper.style.backgroundImage = `url('${src_logo}')`; } }); } - function filtreproduitbareme(){ diff --git a/Vue/Ajaxconnexioncookie/english.php b/Vue/Ajaxconnexioncookie/english.php index 380e7e6e..31d789c7 100755 --- a/Vue/Ajaxconnexioncookie/english.php +++ b/Vue/Ajaxconnexioncookie/english.php @@ -4,7 +4,10 @@ { $msgErreur = 'Site under maintenance, please log back in later!'; } + + $cheminLogo ="/Societes/$codeSociete/Logos/logo_societe.png"; ?> + Manager Portal diff --git a/Vue/Ajaxconnexioncookie/french.php b/Vue/Ajaxconnexioncookie/french.php index 0d02d2ef..a486b98d 100755 --- a/Vue/Ajaxconnexioncookie/french.php +++ b/Vue/Ajaxconnexioncookie/french.php @@ -4,15 +4,8 @@ { $msgErreur = 'Site en maintenance, veuillez vous reconnecter plus tard!'; } - /* - $cheminLogo = "/var/www/Config/$codeSociete/logo_societe.png"; - - var_dump( - array( - "cheminLogo" => $cheminLogo, - ) - ); - */ + + $cheminLogo ="/Societes/$codeSociete/Logos/logo_societe.png"; ?> @@ -23,7 +16,7 @@

- +

diff --git a/Vue/gabarit.php b/Vue/gabarit.php index fe29e0fd..5cbbdf43 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -984,7 +984,7 @@ - +