".__("workflows")." -> ".__("evenement"); // Récupère le paramètre "retourformulaire" $retourformulaire = (isset($_GET['retourformulaire'])) ? $_GET['retourformulaire'] : ""; // $sousformulaire = array('bible', 'lien_module'); $sousformulaire_parameters['lien_module']['title'] = __('Modules'); // $trim_concat_parametres = "trim(concat( case when etat.libelle<>'' then concat('".__("etat")." : ', etat.libelle, '
') else '' end, case when evenement.delai<>'' then concat('".__("delai")." : ', evenement.delai, '
') else '' end, case when evenement.delai_notification<>'' then concat('".__("delai_notification")." : ', evenement.delai_notification, '
') else '' end, case when avis_decision.libelle<>'' then concat('".__("avis_decision")." : ', avis_decision.libelle, '
') else '' end, concat('".__("accord_tacite")." : ', evenement.accord_tacite, '
'), ''))"; // SELECT $champAffiche = array( 'evenement.evenement as "'.__("id").'"', 'evenement.libelle as "'.__("libelle").'"', 'action.libelle as "'.__("action").'"', $trim_concat_parametres.' as "'.__("parametres").'"', 'evenement.lettretype as "'.__("lettretype").'"', ); // $champRecherche = array( 'evenement.evenement as "'.__("id").'"', 'evenement.libelle as "'.__("libelle").'"', 'action.libelle as "'.__("action").'"', 'etat.libelle as "'.__("etat").'"', 'evenement.delai as "'.__("delai").'"', 'evenement.accord_tacite as "'.__("accord_tacite").'"', 'evenement.delai_notification as "'.__("delai_notification").'"', 'evenement.lettretype as "'.__("lettretype").'"', 'evenement.consultation as "'.__("consultation").'"', 'avis_decision.libelle as "'.__("avis_decision").'"', 'evenement.restriction as "'.__("restriction").'"', 'evenement.type as "'.__("type").'"', 'evenement5.libelle as "'.__("evenement_retour_ar").'"', 'evenement6.libelle as "'.__("evenement_suivant_tacite").'"', 'phase.code as "'.__("code_phase").'"', ); // Bouton copier if ($retourformulaire == '') { $tab_actions['left']['copier'] = array( "lien" => "../app/valid_copie.php?obj=".$obj."&objsf=bible,lien_dossier_instruction_type_evenement,transition&idx=", "id" => "&premier=".$premier."&tricol=".$tricol."&advs_id=".$advs_id, "lib" => "".__("Copier")."", "rights" => array('list' => array($obj, $obj.'_copier'), 'operator' => 'OR'), ); } // Suppression du bouton ajouter if ($retourformulaire !== '') { $tab_actions['corner']['ajouter'] = null; } ?>