Subversion Repositories Applications.projet

Rev

Rev 59 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59 Rev 99
1
<?php
1
<?php
2
/*vim: set expandtab tabstop=4 shiftwidth=4: */
2
/*vim: set expandtab tabstop=4 shiftwidth=4: */
3
// +------------------------------------------------------------------------------------------------------+
3
// +------------------------------------------------------------------------------------------------------+
4
// | PHP version 4.1                                                                                      |
4
// | PHP version 4.1                                                                                      |
5
// +------------------------------------------------------------------------------------------------------+
5
// +------------------------------------------------------------------------------------------------------+
6
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org)                                         |
6
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org)                                         |
7
// +------------------------------------------------------------------------------------------------------+
7
// +------------------------------------------------------------------------------------------------------+
8
// | This library is free software; you can redistribute it and/or                                        |
8
// | This library is free software; you can redistribute it and/or                                        |
9
// | modify it under the terms of the GNU Lesser General Public                                           |
9
// | modify it under the terms of the GNU Lesser General Public                                           |
10
// | License as published by the Free Software Foundation; either                                         |
10
// | License as published by the Free Software Foundation; either                                         |
11
// | version 2.1 of the License, or (at your option) any later version.                                   |
11
// | version 2.1 of the License, or (at your option) any later version.                                   |
12
// |                                                                                                      |
12
// |                                                                                                      |
13
// | This library is distributed in the hope that it will be useful,                                      |
13
// | This library is distributed in the hope that it will be useful,                                      |
14
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                                       |
14
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                                       |
15
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU                                    |
15
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU                                    |
16
// | Lesser General Public License for more details.                                                      |
16
// | Lesser General Public License for more details.                                                      |
17
// |                                                                                                      |
17
// |                                                                                                      |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
19
// | License along with this library; if not, write to the Free Software                                  |
19
// | License along with this library; if not, write to the Free Software                                  |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// +------------------------------------------------------------------------------------------------------+
21
// +------------------------------------------------------------------------------------------------------+
22
// CVS : $Id: projet.config.inc.php,v 1.3 2005-11-14 10:14:30 ddelon Exp $
22
// CVS : $Id: projet.config.inc.php,v 1.4 2006-01-26 14:06:07 florian Exp $
23
/**
23
/**
24
* Application projet, fichier de configuration
24
* Application projet, fichier de configuration
25
*
25
*
26
* Fichier de configuration
26
* Fichier de configuration
27
*
27
*
28
*@package projet
28
*@package projet
29
//Auteur original :
29
//Auteur original :
30
*@author        Alexandre Granier <alexandre@tela-botanica.org>
30
*@author        Alexandre Granier <alexandre@tela-botanica.org>
31
//Autres auteurs :
31
//Autres auteurs :
32
*@author        Aucun
32
*@author        Aucun
33
*@copyright     Tela-Botanica 2000-2004
33
*@copyright     Tela-Botanica 2000-2004
34
*@version       $Revision: 1.3 $
34
*@version       $Revision: 1.4 $
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
36
*/
36
*/
37
 
37
 
38
/**
38
/**
39
//==================================== LES URLS ==================================
39
//==================================== LES URLS ==================================
40
* Constantes liées à l'utilisation des url
40
* Constantes liées à l'utilisation des url
41
//==================================================================================
41
//==================================================================================
42
*/
42
*/
43
 
43
 
44
// Définition du lien vers "voir le projet"
44
// Définition du lien vers "voir le projet"
45
define ("PROJET_LIEN_VOIR", "") ;
45
define ("PROJET_LIEN_VOIR", "") ;
46
 
46
 
47
 
47
 
48
 
48
 
49
/**
49
/**
50
//==================================== LES CHEMINS =================================
50
//==================================== LES CHEMINS =================================
51
* Constantes définissant les chemins d'accé au différents fichiers inclus dans les
51
* Constantes définissant les chemins d'accé au différents fichiers inclus dans les
52
* applications.
52
* applications.
53
//==================================================================================
53
//==================================================================================
54
*/
54
*/
55
define("PROJET_CHEMIN_APPLI",'client/projet/');//le chemin vers l'application courante
55
define("PROJET_CHEMIN_APPLI",'client/projet/');//le chemin vers l'application courante
56
define ('PROJET_CHEMIN_API_ARBRE', 'api/arbre/') ;
56
define ('PROJET_CHEMIN_API_ARBRE', 'api/arbre/') ;
57
/** Chemin vers la bibliothèque API.*/
57
/** Chemin vers la bibliothèque API.*/
58
define('PROJET_CHEMIN_BIBLIOTHEQUE_API', GEN_CHEMIN_API);
58
define('PROJET_CHEMIN_BIBLIOTHEQUE_API', GEN_CHEMIN_API);
59
define ("PROJET_CHEMIN_ICONES", PROJET_CHEMIN_APPLI."icones/") ;
59
define ("PROJET_CHEMIN_ICONES", PROJET_CHEMIN_APPLI."icones/") ;
60
define("PROJET_CHEMIN_CLASSES", PROJET_CHEMIN_APPLI.'classes/');//le chemin vers les fichiers propre à GSITE
60
define("PROJET_CHEMIN_CLASSES", PROJET_CHEMIN_APPLI.'classes/');//le chemin vers les fichiers propre à GSITE
61
define ("PROJET_CHEMIN_FONCTIONS", PROJET_CHEMIN_APPLI.'fonctions/') ;
61
define ("PROJET_CHEMIN_FONCTIONS", PROJET_CHEMIN_APPLI.'fonctions/') ;
62
define("PROJET_CHEMIN_LIBRAIRIE",'bibliotheque/');//le chemin de la librairie de fichier php
62
define("PROJET_CHEMIN_LIBRAIRIE",'bibliotheque/');//le chemin de la librairie de fichier php
63
define ("PROJET_CHEMIN_FICHIER", "client/projet/fichiers/") ; // Chemin ou seront créer les dossiers
63
define ("PROJET_CHEMIN_FICHIER", "client/projet/fichiers/") ; // Chemin ou seront créer les dossiers
64
 
64
 
65
// Chemin vers les classes pour lire les listes de discussion
65
// Chemin vers les classes pour lire les listes de discussion
66
define ("PROJET_CHEMIN_CLASSES_LISTES", PROJET_CHEMIN_CLASSES."ezmlm-php-2.0/") ;
66
define ("PROJET_CHEMIN_CLASSES_LISTES", PROJET_CHEMIN_CLASSES."ezmlm-php-2.0/") ;
67
 
67
 
68
 
68
 
69
define ("PROJET_LANGUE_DEFAUT", "fr") ;
69
define ("PROJET_LANGUE_DEFAUT", "fr") ;
70
 
70
 
71
// Gestion de l'authentification
71
// Gestion de l'authentification
72
$GLOBALS['projet_auth'] = $GLOBALS['_GEN_commun']['pear_auth'];
72
$GLOBALS['projet_auth'] = $GLOBALS['_GEN_commun']['pear_auth'];
73
 
73
 
74
// Un objet PEAR:DB connecté
74
// Un objet PEAR:DB connecté
75
$GLOBALS['projet_db'] = $GLOBALS['_GEN_commun']['pear_db'];
75
$GLOBALS['projet_db'] = $GLOBALS['_GEN_commun']['pear_db'];
76
 
76
 
77
$GLOBALS['url'] =& $GLOBALS['_GEN_commun']['url'] ;
77
$GLOBALS['url'] =& $GLOBALS['_GEN_commun']['url'] ;
78
 
78
 
79
/**
79
/**
80
//==================================== CONSTANTES ==================================
80
//==================================== CONSTANTES ==================================
81
* Constantes des noms de tables et de champs dans l'annuaire
81
* Constantes des noms de tables et de champs dans l'annuaire
82
//==================================================================================
82
//==================================================================================
83
*/
83
*/
84
 
84
 
85
define ("PROJET_ANNUAIRE", "gen_annuaire") ;       // Nom de la table d'annuaire
85
define ("PROJET_ANNUAIRE", "gen_annuaire") ;       // Nom de la table d'annuaire
86
define ("PROJET_CHAMPS_NOM", "ga_nom") ;                   // Nom du champs nom
86
define ("PROJET_CHAMPS_NOM", "ga_nom") ;                   // Nom du champs nom
87
define ("PROJET_CHAMPS_MAIL", "ga_mail") ;                  // Nom du champs mail
87
define ("PROJET_CHAMPS_MAIL", "ga_mail") ;                  // Nom du champs mail
88
define ("PROJET_CHAMPS_PRENOM", "ga_prenom") ;             // Nom du champs prénom
88
define ("PROJET_CHAMPS_PRENOM", "ga_prenom") ;             // Nom du champs prénom
89
define ("PROJET_CHAMPS_ID", "ga_id_administrateur") ;
89
define ("PROJET_CHAMPS_ID", "ga_id_administrateur") ;
90
 
90
 
91
/**
91
/**
92
//==================================== CONSTANTES ==================================
92
//==================================== CONSTANTES ==================================
93
* Constantes des chemins associés aux wikinis
93
* Constantes des chemins associés aux wikinis
94
//==================================================================================
94
//==================================================================================
95
*/
95
*/
96
 
96
 
97
define ("PROJET_CHEMIN_WIKINI", "client/projet/wikini/") ;
97
define ("PROJET_CHEMIN_WIKINI", "client/projet/wikini/") ;
98
define ("PROJET_HOTE_WIKINI", "localhost") ;
98
define ("PROJET_HOTE_WIKINI", "localhost") ;
99
define ("PROJET_UTILISATEUR_WIKINI", "") ;
99
define ("PROJET_UTILISATEUR_WIKINI", "") ;
100
define ("PROJET_MDP_WIKINI", "") ;
100
define ("PROJET_MDP_WIKINI", "") ;
101
define ("PROJET_DB_WIKINI", "") ;
101
define ("PROJET_DB_WIKINI", "") ;
102
define ("PROJET_URL_WIKINI", "") ;        // L'url vers le wikini
102
define ("PROJET_URL_WIKINI", "") ;        // L'url vers le wikini
103
 
103
 
104
/**
104
/**
105
//==================================== CONSTANTES ==================================
105
//==================================== CONSTANTES ==================================
106
* Constantes des emails des administrateurs
106
* Constantes des emails des administrateurs
107
//==================================================================================
107
//==================================================================================
108
*/
108
*/
109
define ("PROJET_MAIL_ADMINISTRATEUR", "") ;
109
define ("PROJET_MAIL_ADMINISTRATEUR", "") ;
110
 
110
 
111
 
111
 
112
define ("PROJET_VARIABLE_ID_PROJET", "id_projet") ;
112
define ("PROJET_VARIABLE_ID_PROJET", "id_projet") ;
113
define ("PROJET_VARIABLE_ACTION", "act") ;
113
define ("PROJET_VARIABLE_ACTION", "act") ;
114
define ("PROJET_VARIABLE_ID_REPERTOIRE", "id_repertoire") ;
114
define ("PROJET_VARIABLE_ID_REPERTOIRE", "id_repertoire") ;
115
define ("PROJET_VARIABLE_ID_DOCUMENT", "id_document") ;
115
define ("PROJET_VARIABLE_ID_DOCUMENT", "id_document") ;
116
 
116
 
117
 
117
 
118
 
118
 
119
 
119
 
120
/**
120
/**
121
//==================================== CONSTANTES ==================================
121
//==================================== CONSTANTES ==================================
122
* Constantes pour les listes de discussion
122
* Constantes pour les listes de discussion
123
//==================================================================================
123
//==================================================================================
124
*/
124
*/
125
 
125
 
126
define ('PROJET_CHEMIN_LISTES', '') ;
126
define ('PROJET_CHEMIN_LISTES', '') ;
127
define ('PROJET_DOMAINE_LISTE', '') ;
127
define ('PROJET_DOMAINE_LISTE', '') ;
-
 
128
define ('PROJET_CHEMIN_ATELIERS', 'http://domaine.ext/papyrus.php?site=<>&menu=<>&id_projet=<>') ;
-
 
129
define ('PROJET_SERVEUR_VPOPMAIL', 'http://vpopmail.domaine.ext') ;
128
 
130
 
129
 
131
 
130
/**
132
/**
131
//==================================== CONSTANTES ==================================
133
//==================================== CONSTANTES ==================================
132
* Constantes pour des options
134
* Constantes pour des options
133
//==================================================================================
135
//==================================================================================
134
*/
136
*/
135
define ('PROJET_UTILISE_TYPE', false) ;
137
define ('PROJET_UTILISE_TYPE', false) ;
136
define ('PROJET_UTILISE_HIERARCHIE', false) ;
138
define ('PROJET_UTILISE_HIERARCHIE', false) ;
137
define ('PROJET_LISTE_RESUME',true);
139
define ('PROJET_LISTE_RESUME',true);
138
 
140
 
139
 
141
 
140
/* +--Fin du code ----------------------------------------------------------------------------------------+
142
/* +--Fin du code ----------------------------------------------------------------------------------------+
141
*
143
*
142
* $Log: not supported by cvs2svn $
144
* $Log: not supported by cvs2svn $
-
 
145
* Revision 1.3  2005/11/14 10:14:30  ddelon
-
 
146
* Projets Wikini
-
 
147
*
143
* Revision 1.2  2005/10/20 10:28:25  ddelon
148
* Revision 1.2  2005/10/20 10:28:25  ddelon
144
* Wikini complet dans l'intégrateur Wikini
149
* Wikini complet dans l'intégrateur Wikini
145
*
150
*
146
* Revision 1.1  2005/09/27 12:50:28  ddelon
151
* Revision 1.1  2005/09/27 12:50:28  ddelon
147
* Projet configuration
152
* Projet configuration
148
*
153
*
149
*
154
*
150
* +-- Fin du code ----------------------------------------------------------------------------------------+
155
* +-- Fin du code ----------------------------------------------------------------------------------------+
151
*/
156
*/
152
 
157
 
153
 
158
 
154
?>
159
?>