This commit is contained in:
Michael RICOIS 2016-12-02 15:35:08 +01:00
parent c3a98c7c4a
commit 3898d7ee9e
2 changed files with 6 additions and 5 deletions

View File

@ -91,7 +91,10 @@ class UserController extends Zend_Controller_Action
$options['profil'] = 'Utilisateur';
}
$ws = new WsScores();
Zend_Registry::get('firebug')->info('setInfosLogin');
Zend_Registry::get('firebug')->info($options);
$reponse = $ws->setInfosLogin($login, $action, $options);
Zend_Registry::get('firebug')->info($response);
$isProfilUpdated = true;
$message = 'Erreur lors de la mise à jour du compte !';

View File

@ -46,11 +46,9 @@
<?php }?>
</div>
<div style="float:left;">
<button id="user-emails" data-href="<?=$this->url(array(
'controller' => 'user', 'action' => 'email',
'q' => $this->options->email,
))?>">Editer e-mail du compte</button>
<button id="user-emailsecondary" data-href="<?=$this->url(array('controller' => 'user', 'action' => 'emailsecondary',
<button id="user-emails" data-href="<?=$this->url(array('controller'=>'user', 'action'=>'email',
'q'=>$this->options->email))?>">Editer e-mail du compte</button>
<button id="user-emailsecondary" data-href="<?=$this->url(array('controller'=>'user', 'action'=>'emailsecondary',
'idClient' => $this->options->idClient, 'login' => $this->loginVu,))?>">
Voir ou associer des e-mails secondaires</button>
<script>