Rappel des critères
This commit is contained in:
parent
6b4547a0c8
commit
07b769bfc6
@ -3,7 +3,14 @@ class IndexController extends Zend_Controller_Action
|
||||
{
|
||||
public function init(){}
|
||||
|
||||
public function indexAction(){}
|
||||
public function indexAction()
|
||||
{
|
||||
$auth = Zend_Auth::getInstance();
|
||||
$user = $auth->getIdentity();
|
||||
if ($user->customisation) {
|
||||
$this->view->assign('preferences', $user->customisation);
|
||||
}
|
||||
}
|
||||
|
||||
public function selectionAction(){}
|
||||
|
||||
|
@ -68,5 +68,6 @@
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<h3>Vos critères</h3>
|
||||
|
||||
<?php }?>
|
@ -1,5 +1,5 @@
|
||||
<div id="accordion">
|
||||
<?php echo $this->action('criteres', 'index');?>
|
||||
<div <?php if ($this->preferences) { ?>id="accordion" <?php } else {?> id="rappel" <?php }?>>
|
||||
<?=$this->action('criteres', 'index');?>
|
||||
</div>
|
||||
<div id="tabs">
|
||||
<ul>
|
||||
|
@ -222,6 +222,15 @@ h3 {
|
||||
padding:2px;
|
||||
}
|
||||
|
||||
#rappel {
|
||||
background: #ffffff;
|
||||
color: #000000;
|
||||
float:right;
|
||||
width:280px;
|
||||
margin:2px;
|
||||
padding:2px;
|
||||
}
|
||||
|
||||
.ui-accordion .ui-accordion-content {
|
||||
padding:0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user