1 |
vpihour |
1154 |
<?php |
2 |
|
|
//$Id$ |
3 |
|
|
//gen openMairie le 07/01/2013 15:28 |
4 |
|
|
|
5 |
vpihour |
1185 |
include('../gen/sql/pgsql/rapport_instruction.form.inc.php'); |
6 |
|
|
|
7 |
vpihour |
1218 |
// Action : supprimer |
8 |
|
|
$portlet_actions['supprimer']['rights'] = array('list' => array('rapport_instruction_supprimer'), 'operator' => 'OR'); |
9 |
|
|
|
10 |
|
|
// Action : edition PDF |
11 |
|
|
$portlet_actions['edition'] = |
12 |
|
|
array('lien' => '../pdf/pdfetat.php?idx=', |
13 |
|
|
'id' => '&obj=rapport_instruction', |
14 |
|
|
'lib' => "<span class=\"om-prev-icon om-icon-16 pdf-16\" title=\""._("Edition")."\">"._("Edition")."</span>", |
15 |
fmichon |
1482 |
'target' => "_blank", |
16 |
vpihour |
1218 |
'ordre' => 30, |
17 |
|
|
'ajax' => false,); |
18 |
vpihour |
1899 |
|
19 |
|
|
//Finalisation d'un document |
20 |
|
|
$portlet_actions['finalisation'] = |
21 |
|
|
array('lien' => "#\" onclick=\"finalizeDocument(", |
22 |
vpihour |
1904 |
'id' => ",'rapport_instruction');\"", |
23 |
vpihour |
1899 |
'lib' => "<span class=\"om-prev-icon om-icon-16 om-icon-fix finalise\" title=\"". |
24 |
|
|
_("Finaliser le document")."\">"._("Finaliser le document")."</span>", |
25 |
|
|
'ordre' => 31, |
26 |
|
|
'rights' => array('list' => array("rapport_instruction", "rapport_instruction_finaliser"), 'operator' => 'OR'), |
27 |
|
|
'ajax' => false); |
28 |
|
|
|
29 |
|
|
$portlet_actions['definalisation'] = |
30 |
|
|
array('lien' => "#\" onclick=\"finalizeDocument(", |
31 |
vpihour |
1904 |
'id' => ",'rapport_instruction');\"", |
32 |
vpihour |
1899 |
'lib' => "<span class=\"om-prev-icon om-icon-16 om-icon-fix delete-16 definalise\" title=\"". |
33 |
|
|
_("Reprendre la redaction du document")."\">"._("Reprendre la redaction du document")."</span>", |
34 |
|
|
'ordre' => 32, |
35 |
|
|
'rights' => array('list' => array("rapport_instruction", "rapport_instruction_definaliser"), 'operator' => 'OR'), |
36 |
|
|
'ajax' => false); |
37 |
vpihour |
1154 |
?> |