/[openfoncier]/trunk/gen/sql/pgsql/om_collectivite.inc.php
ViewVC logotype

Annotation of /trunk/gen/sql/pgsql/om_collectivite.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 382 - (hide annotations)
Wed Sep 19 09:28:55 2012 UTC (12 years, 4 months ago) by nhaye
File size: 1504 byte(s)
Régénération des fichiers de la table om_collectivité avec le core 4.3.0
Suppression des surcharges inutiles

1 fraynaud 3 <?php
2     //$Id$
3 nhaye 382 //gen openMairie le 19/09/2012 10:54
4    
5 fraynaud 3 $DEBUG=0;
6     $serie=15;
7     $ico="../img/ico_application.png";
8 atreal 307 $ent = _("administration")." -> "._("om_collectivite");
9 fraynaud 3 if(!isset($premier)) $premier='';
10     if(!isset($recherche1)) $recherche1='';
11     if(!isset($tricolsf)) $tricolsf='';
12     if(!isset($premiersf)) $premiersf='';
13     if(!isset($selection)) $selection='';
14     if(!isset($retourformulaire)) $retourformulaire='';
15 nhaye 382 if (isset($idx) && $idx != ']' && trim($idx) != '') {
16     $ent .= "->&nbsp;".$idx."&nbsp;";
17 fraynaud 3 }
18 nhaye 382 if (isset($idz) && trim($idz) != '') {
19     $ent .= "&nbsp;".strtoupper($idz)."&nbsp;";
20     }
21     // FROM
22     $table = DB_PREFIXE."om_collectivite";
23     // SELECT
24     $champAffiche = array(
25     'om_collectivite.om_collectivite as "'._("om_collectivite").'"',
26     'om_collectivite.libelle as "'._("libelle").'"',
27     'om_collectivite.niveau as "'._("niveau").'"',
28 atreal 307 );
29 nhaye 382 //
30     $champNonAffiche = array(
31 atreal 307 );
32 nhaye 382 //
33     $champRecherche = array(
34     'om_collectivite.om_collectivite as "'._("om_collectivite").'"',
35     'om_collectivite.libelle as "'._("libelle").'"',
36     'om_collectivite.niveau as "'._("niveau").'"',
37 atreal 307 );
38 nhaye 382 $tri="ORDER BY om_collectivite.libelle ASC NULLS LAST";
39 fraynaud 3 $edition="om_collectivite";
40     if ($_SESSION['niveau']== '2')
41 atreal 307 $selection='';
42 nhaye 382 else {
43 atreal 307 $selection=" where om_collectivite.om_collectivite = '".$_SESSION['collectivite']."'";
44 nhaye 382 }
45     $sousformulaire = array(
46     'om_utilisateur',
47     'om_parametre',
48     'om_etat',
49     'om_sousetat',
50     'om_lettretype',
51     'om_widget',
52     'om_sig_map',
53     'om_sig_wms',);
54 fraynaud 3 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26