".__("om_collectivite"); if(!isset($premier)) $premier=''; if(!isset($tricolsf)) $tricolsf=''; if(!isset($premiersf)) $premiersf=''; if(!isset($selection)) $selection=''; if(!isset($retourformulaire)) $retourformulaire=''; if (!isset($idxformulaire)) { $idxformulaire = ''; } if (!isset($tricol)) { $tricol = ''; } if (!isset($valide)) { $valide = ''; } // FROM $table = DB_PREFIXE."om_collectivite"; // SELECT $champAffiche = array( 'om_collectivite.om_collectivite as "'.__("om_collectivite").'"', 'om_collectivite.libelle as "'.__("libelle").'"', 'om_collectivite.niveau as "'.__("niveau").'"', ); // $champNonAffiche = array( ); // $champRecherche = array( 'om_collectivite.om_collectivite as "'.__("om_collectivite").'"', 'om_collectivite.libelle as "'.__("libelle").'"', 'om_collectivite.niveau as "'.__("niveau").'"', ); $tri="ORDER BY om_collectivite.libelle ASC NULLS LAST"; $edition="om_collectivite"; /** * Gestion de la clause WHERE => $selection */ // Filtre listing standard if ($_SESSION["niveau"] == "2") { // Filtre MULTI $selection = ""; } else { // Filtre MONO $selection = " WHERE (om_collectivite.om_collectivite = '".$_SESSION["collectivite"]."') "; } /** * Gestion SOUSFORMULAIRE => $sousformulaire */ $sousformulaire = array( 'affectation_automatique', 'bible', 'commission', 'commission_type', 'contrainte', 'demande', 'demandeur', 'direction', 'dossier', 'dossier_autorisation', 'lien_sig_contrainte_om_collectivite', 'num_bordereau', 'num_dossier', 'om_etat', 'om_lettretype', 'om_logo', 'om_parametre', 'om_sig_flux', 'om_sig_map', 'om_sousetat', 'om_utilisateur', 'service', 'signataire_arrete', 'storage', 'taxe_amenagement', );