"._("workflows")." -> "._("evenement"); // Récupère le paramètre "retourformulaire" $retourformulaire = (isset($_GET['retourformulaire'])) ? $_GET['retourformulaire'] : ""; // $sousformulaire = array('bible'); // $trim_concat_parametres = "trim(concat( case when etat.libelle<>'' then concat('"._("etat")." : ', etat.libelle, '
') else '' end, case when evenement.delai<>0 then concat('"._("delai")." : ', evenement.delai, '
') else '' end, case when evenement.delai_notification<>0 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").'"', 'evenement4.libelle as "'._("evenement_retour_ar").'"', 'evenement6.libelle as "'._("evenement_suivant_tacite").'"', 'phase.code as "'._("code_phase").'"', ); // XXX 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")."", ); } // Suppression du bouton ajouter if ($retourformulaire !== '') { $tab_actions['corner']['ajouter'] = null; } ?>