diff --git a/application/controllers/DashboardController.php b/application/controllers/DashboardController.php index 2c19e514c..e84de8a10 100644 --- a/application/controllers/DashboardController.php +++ b/application/controllers/DashboardController.php @@ -753,6 +753,10 @@ class DashboardController extends Zend_Controller_Action require_once 'Scores/WsScores.php'; $ws = new WsScores(); + + //récupération la valeur de la langue de la bdd + $reponse = $ws->getInfosLogin($login, $_SERVER['REMOTE_ADDR']); + $this->view->assign('lang', $reponse->result->lang); //Liste des catégories d'accès $reponse = $ws->getCategory(); diff --git a/application/views/default/scripts/dashboard/user.phtml b/application/views/default/scripts/dashboard/user.phtml index 89b3609b2..6c782d6c7 100644 --- a/application/views/default/scripts/dashboard/user.phtml +++ b/application/views/default/scripts/dashboard/user.phtml @@ -79,6 +79,21 @@ if ($this->action=='new') { + +
Langue de l'interface par défaut
+
+ +

Paramètres spécifiques