From eb3a6b5ab9eb6dd58ecae36e310ae48ea6e393dd Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 16 Jan 2026 07:52:44 +0000 Subject: [PATCH 01/28] valide --- Controleur/ControleurAjaxhabilitation.php | 8 ++++++++ Modele/Utilisateur.php | 15 +++++++++++++++ Vue/gabarit.php | 2 +- 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/Controleur/ControleurAjaxhabilitation.php b/Controleur/ControleurAjaxhabilitation.php index 4c798fe..0ce0c99 100755 --- a/Controleur/ControleurAjaxhabilitation.php +++ b/Controleur/ControleurAjaxhabilitation.php @@ -69,6 +69,14 @@ class ControleurAjaxhabilitation extends Controleur $this->genererVueAjax(array('menus_accessibles' => $menus_accessibles, 'menus_non_accessibles' => $menus_non_accessibles, 'codeModule' => $codeModule)); } + + public function listervuemodule() + { + $codeModule = $this->requete->getParametreFormulaire("codeModule"); + $listevue = $this->utilisateur->getListeVueModule($codeModule); + + $this->genererVueAjax(array('listevue' => $listevue)); + } public function ajoutertoussousmenusass() { diff --git a/Modele/Utilisateur.php b/Modele/Utilisateur.php index a69491e..cdc3d34 100755 --- a/Modele/Utilisateur.php +++ b/Modele/Utilisateur.php @@ -204,4 +204,19 @@ class Utilisateur extends Modele { $this->executerRequete($sql, array($codeSociete, $codeProfil, $codeMenu, $user)); } + + public function getListeVueModule($codeModule) + { + if (est_anglophone()) + { + $sql = 'call sp_c_get_vues_module_rh_eng(?);'; + } + else + { + $sql = 'call sp_c_get_vues_module_rh(?);'; + } + + $liste = $this->executerRequete($sql, array($codeModule)); + return $liste->fetchAll(PDO::FETCH_ASSOC); + } } \ No newline at end of file diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 05a3e75..bdefe83 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -249,7 +249,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte']; -
Date: Fri, 16 Jan 2026 07:58:04 +0000 Subject: [PATCH 02/28] f --- Vue/gabarit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/gabarit.php b/Vue/gabarit.php index bdefe83..7623826 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -662,7 +662,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte']; - + - + - + - + - + - + - + - + - + - + - + - + - +