"._("concession_terme"); $ico = "../img/ico_parametrage.png"; $edition=""; // !!! On positionne $obj à 'concession' pour éviter des surcharges $obj = "concession"; // CONSULTER // Actions a gauche : consulter $tab_actions['left']['consulter'] = array('lien' => 'form.php?obj='.$obj.'&action=1&specific_origin=terme&idx=', 'id' => '&premier='.$premier.'&advs_id='.$advs_id.'&recherche='.$recherche1.'&tricol='.$tricol.'&selectioncol='.$selectioncol.'&valide='.$valide.'&retour=tab', 'lib' => ''._('Consulter').'', 'rights' => array('list' => array($obj, $obj.'_consulter'), 'operator' => 'OR'), 'ordre' => 10,); // Action du contenu : consulter $tab_actions['content'] = $tab_actions['left']['consulter']; // LOCALISATION $tab_actions['left']['localiser-sig-interne'] = array( 'lien' => "../scr/tab_sig.php?idx=", 'id' => '&obj='.$obj.'&premier='.$premier.'&advs_id='.$advs_id.'&recherche='.$recherche1.'&tricol='.$tricol.'&selectioncol='.$selectioncol.'&valide='.$valide.'&retour=tab', 'lib' => ''._('SIG').'', 'ordre' => 150, 'parameters' => array("option_localisation" => "sig_interne", ), ); $tab_actions['left']['localiser-sig-externe'] = array( 'lien' => "../app/localisation_sig_externe.php?idx=", 'lib' => ''._('SIG').'', 'ordre' => 150, 'parameters' => array("option_localisation" => "sig_externe", ), ); $tab_actions['left']['localiser-plan'] = array( 'lien' => "../app/localisation_plan_view.php?idx=", 'id' => '&obj='.$obj.'&specific_origin=terme&premier='.$premier.'&advs_id='.$advs_id.'&recherche='.$recherche1.'&tricol='.$tricol.'&selectioncol='.$selectioncol.'&valide='.$valide.'&retour=tab', 'lib' => ''._('Plan').'', 'ordre' => 150, 'parameters' => array("option_localisation" => "plan", ), ); // !!! On repositionne $obj à 'terme' $obj = "terme"; // Actions a gauche : consulter unset($tab_actions['left']['consulter']); unset($tab_actions['corner']['ajouter']); $table=DB_PREFIXE."emplacement"; // $droitTable=""; // $champAffiche=array( 'emplacement as "'._("id").'"', 'famille as "'._("famille").'"', 'to_char(dateterme,\'DD/MM/YYYY\') as "'._("dateterme").'"' ); $champRecherche=array("emplacement","famille"); $tri= "order by dateterme"; $selection=" where extract(YEAR FROM dateterme)<=extract(YEAR FROM current_date) and terme='temporaire'"; ?>