Customisation

This commit is contained in:
Michael RICOIS 2012-01-16 20:33:06 +00:00
parent 4f09096385
commit dbf77a9e33

View File

@ -10,7 +10,14 @@ class CriteresController extends Zend_Controller_Action
$this->view->headScript()->appendFile('/themes/default/scripts/jquery.jstree.js', 'text/javascript'); $this->view->headScript()->appendFile('/themes/default/scripts/jquery.jstree.js', 'text/javascript');
} }
public function indexAction(){} public function indexAction()
{
$auth = Zend_Auth::getInstance();
$user = $auth->getIdentity();
if ($user->customisation) {
$this->view->assign('preferences', $user->customisation);
}
}
public function entrepriseAction(){} public function entrepriseAction(){}