Issue #0001547:
This commit is contained in:
parent
69b603b3ce
commit
95ba6b7d80
@ -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();
|
||||
|
@ -79,6 +79,21 @@ if ($this->action=='new') {
|
||||
<input type="hidden" name="frmOptions[changepwd]" value="<?=$changePassword?>"/>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="infoTitle StyleInfoLib">Langue de l'interface par défaut</div>
|
||||
<div class="infoData">
|
||||
<select name="frmOptions[lang]">
|
||||
<?php
|
||||
$lngOpts = array('fr' => 'Français', 'en' => 'English');
|
||||
foreach($lngOpts as $lngKey => $lngVal)
|
||||
{
|
||||
$selected = '';
|
||||
if($lngKey == $this->lang) $selected = 'selected';
|
||||
?><option value="<?=$lngKey?>" <?=$selected?>><?=$lngVal?></option><?php
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2>Paramètres spécifiques</h2>
|
||||
|
Loading…
Reference in New Issue
Block a user