Subversion Repositories Applications.gtt

Rev

Rev 5 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 jpm 1
<?php
2
 
3
/*fichier de definition */
4
 
5
//==================================== CHEMINS ==================================
6
/* definition des chemins d'acces
7
//==================================================================================
8
*/
9
define ("CHEMIN",'');
10
define("CHEMIN_CALENDRIER",CHEMIN.'presentation/');
11
define("CHEMIN_FN_GENERIQUE_AFFICHAGE",CHEMIN.'presentation/gtt_fonctions_generique_affichage.php');
12
define("CHEMIN_CSS",CHEMIN.'presentation/');
13
define("CHEMIN_CLASSES_METIER",CHEMIN.'classes_metier/');
14
define("CHEMIN_CLASSES",CHEMIN.'classes/');
15
define("CHEMIN_LANGUES",CHEMIN.'langues/');
16
define("CHEMIN_MENU",CHEMIN.'menu/');
17
define("CHEMIN_CONTROLEUR",CHEMIN.'controleur/');
18
 
19
 
20
/**
21
//==================================== CONSTANTES ==================================
22
/* definition des constantes de plusieurs tests et divers
23
//==================================================================================
24
*/
25
 //$GLOBALS['dsn']="mysql://shaheen:shaheen@162.38.234.6/gestion_test_v3";
26
$GLOBALS['dsn']="mysql://shaheen:shaheen@localhost/gestion_test_v3";
27
$GLOBALS['urlBase']="http://test.tela-botanica.org/gestion/index.php?action=";
28
//on suppose que le nombre d'heure maximum par jour de travail est 23
29
$GLOBALS['limiteJourTravail']=24;
30
//on suppose que le nombre d'heure maximumde par jour de recuperation partielle est 11
31
$GLOBALS['limiteJourRecupPart']=12;
32
/**
33
//==================================== CONSTANTES ==================================
34
/* definition des constantes de nom de table et de leurs champs
35
//==================================================================================
36
*/
37
 
38
//******************utilisateur***********************//
39
define ("GEST_UTILISATEUR", "gestion_utilisateur");
40
define ("GEST_CHAMPS_ID_UTILISATEUR","gu_id_utilisateur");
41
define("GEST_CHAMPS_NOM","gu_nom");
42
define("GEST_CHAMPS_PRENOM", "gu_prenom");
43
define("GEST_CHAMPS_PASSWORD","gu_password");
44
define("GEST_CHAMPS_EMAIL","gu_email");
45
define("GEST_CHAMPS_TELEPHONE","gu_telephone");
46
define("GEST_CHAMPS_ADRESSE","gu_adresse");
47
define("GEST_CHAMPS_CODE_POSTAL","gu_code_postal");
48
define("GEST_CHAMPS_VILLE","gu_ville");
49
define("GEST_CHAMPS_QUOTA_HEURES_SUPP","gu_quota_heures_supp");
50
define("GEST_CHAMPS_CONGES_PAYES","gu_conges_payes");
51
define("GEST_CHAMPS_TEMPS_DE_TRAVAIL","gu_temps_de_travail");
52
define("GEST_CHAMPS_ADMIN","gu_admin");
53
define("GEST_CHAMPS_ADMIN2","gu_admin2");
54
define("GEST_CHAMPS_STATUT","gs_id_statut");
55
define("GEST_CHAMPS_NOTES", "gu_notes");
56
 
57
//******************motif absence***********************//
58
 
59
define("GEST_MOTIF_ABSENCE","gestion_motif_absence");
60
define("GEST_CHAMPS_ID_MOTIF","gma_id_motif");
61
define("GEST_CHAMPS_LIBELLE_MOTIF","gma_libelle_motif");
62
define("GEST_CHAMPS_TYPE_RTT","gma_type_rtt");
63
 
64
//******************note frais***********************//
65
 
66
define("GEST_FRAIS","gestion_note_frais");
67
define("GEST_CHAMPS_ID_FRAIS","gnf_if_frais");
68
define("GEST_CHAMPS_LIBELLE_FRAIS","gnf_libelle_frais");
69
 
70
//******************depenses***********************//
71
 
72
define("GEST_DEPENSE","gestion_depense");
73
define("GEST_CHAMPS_DATE_FRAIS","gd_date_depense");
74
define("GEST_CHAMPS_MONTANT_HT","gd_montant_ht");
75
define("GEST_CHAMPS_MONTANT_TTC","gd_montant_ttc");
76
 
77
//******************statut***********************//
78
 
79
define("GEST_STATUT","gestion_statut");
80
define("GEST_CHAMPS_ID_STATUT","gs_id_statut");
81
define("GEST_CHAMPS_LIBELLE_STATUT","gs_libelle_statut");
82
 
83
//******************categorie***********************//
84
 
85
define("GEST_CATEGORIE","gestion_categorie");
86
define("GEST_CHAMPS_ID_CATEGORIE","gc_id_categorie");
87
define("GEST_CHAMPS_LIBELLE_CATEGORIE","gc_libelle_categorie");
88
 
89
//******************projet***********************//
90
 
91
define("GEST_PROJET","gestion_projet");
92
define("GEST_CHAMPS_ID_PROJET","gp_id_projet");
93
define("GEST_CHAMPS_NOM_PROJET","gp_nom_projet");
94
define("GEST_CHAMPS_DESCRIPTION_PROJET","gp_description");
95
define("GEST_CHAMPS_DATE_DEBUT_PROJET","gp_date_debut");
96
define("GEST_CHAMPS_DUREE_PREVUE_PROJET","gp_duree_prevue");
97
define("GEST_CHAMPS_AVANCEMENT_PROJET","gp_avancement");
98
 
99
//******************absence***********************//
100
 
101
define("GEST_ABSENCE","gestion_absence");
102
define("GEST_CHAMPS_DATE_DEBUT_ABSENCE","ga_date_debut");
103
define("GEST_CHAMPS_DATE_FIN_ABSENCE","ga_date_fin");
104
define("GEST_CHAMPS_DATE_ENVOI_LETTRE","ga_date_envoi_lettre");
105
 
106
//******************travail***********************//
107
 
108
define("GEST_TRAVAIL","gestion_travail");
109
define("GEST_CHAMPS_DATE_TRAVAIL","gt_date_travail");
110
define("GEST_CHAMPS_DUREE_TRAVAIL","gt_duree_travail");
111
 
112
//******************preferences***********************//
113
 
114
define("GEST_PREFERENCES","gestion_preferences");
115
 
116
//******************taches***********************//
117
 
118
define("GEST_TACHES","gestion_taches");
119
define("GEST_CHAMPS_ID_TACHE","gt_id_tache");
120
define("GEST_CHAMPS_NOM_TACHE","gt_nom_tache");
121
define("GEST_CHAMPS_DESCRIPTION_TACHE","gt_description_tache");
122
define("GEST_CHAMPS_DATE_DEB_TACHE","gt_date_debut_tache");
123
define("GEST_CHAMPS_DUREE_PREVUE_TACHE","gt_duree_prevue");
124
define("GEST_CHAMPS_AVANCEMENT_TACHE","gt_avancement_tache");
125
define("GEST_CHAMPS_TEMPS_REEL_TACHE","gt_duree_reelle_tache");
126
 
127
//******************prevision***********************//
128
define ("GEST_PREVISION","gestion_prevision_tache");
129
define ("GEST_CHAMPS_DATE_PREVISION","gpt_date_prevision");
130
define ("GEST_CHAMPS_DUREE_PREVISION","gpt_duree_prevision");
131
 
132
?>