diff --git a/Modele/Societeuser.php b/Modele/Societeuser.php index 75a7fdc..dcfd159 100755 --- a/Modele/Societeuser.php +++ b/Modele/Societeuser.php @@ -40,5 +40,14 @@ class Societeuser extends Modele { return $nbTentativeConnexionMax; } + + public function getLangues() + { + $sql = 'SELECT codeLangue AS `code`, CONCAT(libelle, " <=> ", libelleEng) AS libelle FROM langue ORDER BY parDefaut DESC, 2;'; + + $resultat = $this->executerRequete($sql); + + return $resultat->fetchAll(PDO::FETCH_ASSOC); + } } \ No newline at end of file diff --git a/Vue/Ajaxconnexioncookie/english.php b/Vue/Ajaxconnexioncookie/english.php index ab270bc..63e1830 100755 --- a/Vue/Ajaxconnexioncookie/english.php +++ b/Vue/Ajaxconnexioncookie/english.php @@ -7,10 +7,9 @@