correction liens inter-entreprises (supprimer le document)

This commit is contained in:
Jean Vladimir TWAHIRWA 2016-10-05 17:24:13 +02:00
parent 390f7339c9
commit 987ccfba1c
3 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,17 @@
<?php
return array(
array(
'label' => "Retour à la fiche d'identite",
'uri' => "#",
'pages' => array(
array(
'label' => "Fiche",
'module' => 'legal',
'controller' => 'identite',
'action' => 'fiche',
),
),
),
);

View File

@ -0,0 +1 @@
<?=json_encode($this->identifiant);

View File

@ -8,7 +8,7 @@ $class = ($key<$limit)?'first':'all';?>
<a target="_blank" href="<?=$this->url(array('module'=>'file', 'controller'=>'lien', 'action'=>'groupe',
'q'=>$doc->url), 'default', true)?>" id="<?=$doc->date?>" class="lienDocDate"><?=$doc->label?></a>
<?php if ($this->UserModeEdit) {?>
<a class="dialog" title="Supprimer le document" href="<?=$this->url(array('module'=>'input', 'controller'=>'index', 'action'=>'liendoc',
<a class="dialog" title="Supprimer le document" href="<?=$this->url(array('module'=>'input', 'controller'=>'lien', 'action'=>'doc',
'mode'=>'delete', 'id'=>$doc->id), 'default', true)?>">
<img style="vertical-align:middle;" src="/themes/default/images/interfaces/supprimer.png" />
</a>