Subversion Repositories Applications.projet

Rev

Rev 102 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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