Menu pour la saisie
This commit is contained in:
parent
96fceb4186
commit
2be0eeda34
@ -1,11 +1,11 @@
|
||||
<nav class="navbar navbar-default navbar-fixed-top">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand" href="<?=$this->url(array('module'=>'default', 'controller'=>'index', 'action'=>'index'),
|
||||
'default', true)?>">Scores & Décisions</a>
|
||||
'default', true)?>">Scores & Décisions</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav navbar-right navbar-top-links">
|
||||
<?php if ($this->MenuEdit !== null) {?>
|
||||
<?php if ($this->MenuInput !== null) {?>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle sd-edit" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Mode Edition <span class="caret"></span></a>
|
||||
@ -81,7 +81,7 @@
|
||||
<i class="fa fa-dashboard fa-fw"></i> <span class="hidden-xs hidden-sm">Tableau de bord</span> <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<?php if (in_array($this->UserProfil, array('Administrateur', 'SuperAdministrateur'))) {?>
|
||||
<li><a href="<?=$this->url(array('module'=>'default', 'controller'=>'user', 'action'=>'liste'),
|
||||
<li><a href="<?=$this->url(array('module'=>'admin', 'controller'=>'client', 'action'=>'index'),
|
||||
'default', true)?>">Administration</a></li>
|
||||
<?php }?>
|
||||
<li><a href="<?=$this->url(array('module'=>'help', 'controller'=>'news', 'action'=>'liste'),
|
||||
|
@ -33,6 +33,8 @@ class Application_Controller_Plugin_Input extends Zend_Controller_Plugin_Abstrac
|
||||
// --- Menu Edition
|
||||
if ($view->UserModeEdit) {
|
||||
$menu = array();
|
||||
|
||||
$view->MenuInput = $menu;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user