Gestion des droits pour la surveillance
This commit is contained in:
parent
fa0c043ca7
commit
197074fd14
@ -75,6 +75,8 @@ class JuridiqueController extends Zend_Controller_Action
|
||||
$this->view->assign('AutrePage', $request->getParam('apage'));
|
||||
$this->view->assign('exportObjet', $infos);
|
||||
|
||||
$this->view->assign('surveillance', $user->checkPerm('survannonce'));
|
||||
|
||||
//Affichage pour une annonce
|
||||
if (!empty($idAnn) && in_array($vue, array('bodacc', 'abod', 'balo', 'asso', 'bomp')) ) {
|
||||
|
||||
|
@ -26,7 +26,8 @@
|
||||
<?php endif ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<?php if (!empty($this->surveillance)):?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" width="550" class="StyleInfoData">
|
||||
<?=$this->action('infos','surveillance', null, array(
|
||||
@ -35,6 +36,7 @@
|
||||
))?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif;?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user