Subversion Repositories Applications.bazar

Rev

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

Rev Author Line No. Line
5 florian 1
<?php
2
/*vim: set expandtab tabstop=4 shiftwidth=4: */
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
// +------------------------------------------------------------------------------------------------------+
9 florian 22
// CVS : $Id: baz_config.inc.php,v 1.6 2005-09-30 12:22:54 florian Exp $
5 florian 23
/**
24
* Fichier de configuration du bazar
25
*
26
* A éditer de façon spécifique à chaque déploiement
27
*
28
*@package bazar
29
//Auteur original :
30
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
31
*@author        Florian SCHMITT <florian@ecole-et-nature.org>
32
//Autres auteurs :
33
*@copyright     Tela-Botanica 2000-2004
9 florian 34
*@version       $Revision: 1.6 $ $Date: 2005-09-30 12:22:54 $
5 florian 35
// +------------------------------------------------------------------------------------------------------+
36
*/
37
//==================================== LES FLUX RSS==================================
38
// Constantes liées aux flux RSS
39
//==================================================================================
40
 
41
define('BAZ_CREER_FICHIERS_XML',0);      //0=ne cree pas le fichier XML dans rss/; 1=cree le fichier XML dans rss/
42
define('BAZ_RSS_NOMSITE','Educ-Envir.org');    //Nom du site indiqué dans les flux rss
43
define('BAZ_RSS_ADRESSESITE','http://educ-envir.org');   //Adresse Internet du site indiqué dans les flux rss
44
define('BAZ_RSS_DESCRIPTIONSITE','Educ-Envir.org, pour mutualiser l\'information en éducation à l\'environnement.');    //Description du site indiquée dans les flux rss
45
define('BAZ_RSS_LOGOSITE','http://ecole-et-nature.org/images/Logo_REN-Site.png');     //Logo du site indiqué dans les flux rss
46
define('BAZ_RSS_MANAGINGEDITOR', '') ;     //Managing editor du site
47
define('BAZ_RSS_WEBMASTER', '') ;     //Mail Webmaster du site
48
define('BAZ_RSS_CATEGORIE', 'Education a l\'environnement'); //catégorie du flux RSS
49
 
50
 
51
//==================================== PARAMETRAGE =================================
52
// Pour régler certaines fonctionnalité de l'application
53
//==================================================================================
54
 
55
define ('BAZ_ETAT_VALIDATION',0);
56
//Valeur par défaut d'état de la fiche annonce après saisie
57
//Mettre 0 pour 'en attente de validation d'un administrateur'
58
//Mettre 1 pour 'directement validée en ligne'
59
 
60
define ('BAZ_TAILLE_MAX_FICHIER',2000*1024);
61
//Valeur maximale en octets pour la taille d'un fichier joint à télécharger
62
 
63
$GLOBALS['_BAZAR_']['db'] = & $GLOBALS['_GEN_commun']['pear_db'];
64
$GLOBALS['AUTH'] =& $GLOBALS['_GEN_commun']['pear_auth'];
65
 
7 florian 66
define ('BAZ_ANNUAIRE','gen_annuaire'); //Table annuaire
67
define ('BAZ_CHAMPS_ID','ga_id_administrateur'); //Champs index sur la table annuaire
68
define ('BAZ_CHAMPS_NOM','ga_nom'); //Champs nom sur la table annuaire
69
define ('BAZ_CHAMPS_PRENOM','ga_prenom'); //Champs prenom sur la table annuaire
70
define ('BAZ_CHAMPS_EMAIL','ga_mail'); //Champs prenom sur la table annuaire
5 florian 71
 
72
$GLOBALS['_BAZAR_']['url'] = $GLOBALS['_GEN_commun']['url'];
73
//BAZ_CHEMIN_APPLI : chemin vers l'application bazar METTRE UN SLASH (/) A LA FIN!!!!
74
define('BAZ_CHEMIN_APPLI', PAP_CHEMIN_RACINE.'client/bazar/');
75
 
76
//==================================== LES LANGUES ==================================
77
// Constantes liées à l'utilisation des langues
78
//==================================================================================
79
 
80
define ('BAZ_LANGUE_PAR_DEFAUT', 'fr') ; //Indique un code langue par défaut
81
define ('BAZ_VAR_URL_LANGUE', 'lang') ; //Nom de la variable GET qui sera passée dans l'URL (Laisser vide pour les sites monolingues)
82
//code pour l'inclusion des langues NE PAS MODIFIER
83
if (BAZ_VAR_URL_LANGUE != '' && isset (${BAZ_VAR_URL_LANGUE})) {
84
    include_once BAZ_CHEMIN_APPLI.'langues/baz_langue_'.${BAZ_VAR_URL_LANGUE}.'.inc.php';
85
} else {
86
    include_once BAZ_CHEMIN_APPLI.'langues/baz_langue_'.BAZ_LANGUE_PAR_DEFAUT.'.inc.php';
87
}
88
 
89
 
90
/* +--Fin du code ----------------------------------------------------------------------------------------+
91
*
92
* $Log: not supported by cvs2svn $
7 florian 93
* Revision 1.4  2005/07/21 19:03:12  florian
94
* nouveautés bazar: templates fiches, correction de bugs, ...
95
*
5 florian 96
* Revision 1.2  2005/02/22 15:34:17  florian
97
* integration dans Papyrus
98
*
99
* Revision 1.1.1.1  2005/02/17 18:05:11  florian
100
* Import initial de Bazar
101
*
102
* Revision 1.1.1.1  2005/02/17 11:09:50  florian
103
* Import initial
104
*
105
* Revision 1.1.1.1  2005/02/16 18:06:35  florian
106
* import de la nouvelle version
107
*
108
* Revision 1.5  2004/07/08 12:15:32  florian
109
* ajout constantes pour flux RSS
110
*
111
* Revision 1.4  2004/07/06 16:21:54  florian
112
* débuggage modification + MAJ flux RSS
113
*
114
* Revision 1.3  2004/07/02 14:50:47  florian
115
* ajout configuration de l'etat de l'annonce (visible,masquée,...)
116
*
117
* Revision 1.2  2004/07/01 10:13:30  florian
118
* modif Florian
119
*
120
* Revision 1.1  2004/06/23 09:58:32  alex
121
* version initiale
122
*
123
* Revision 1.1  2004/06/18 09:00:41  alex
124
* version initiale
125
*
126
*
127
* +-- Fin du code ----------------------------------------------------------------------------------------+
128
*/
129
?>