Line 17... |
Line 17... |
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: baz_config.inc.php,v 1.14 2006-03-24 09:23:30 alexandre_tb Exp $
|
22 |
// CVS : $Id: baz_config.inc.php,v 1.15 2006-04-28 12:46:14 florian Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Fichier de configuration du bazar
|
24 |
* Fichier de configuration du bazar
|
25 |
*
|
25 |
*
|
26 |
* A éditer de façon spécifique à chaque déploiement
|
26 |
* A éditer de façon spécifique à chaque déploiement
|
27 |
*
|
27 |
*
|
Line 29... |
Line 29... |
29 |
//Auteur original :
|
29 |
//Auteur original :
|
30 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
30 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
31 |
*@author Florian SCHMITT <florian@ecole-et-nature.org>
|
31 |
*@author Florian SCHMITT <florian@ecole-et-nature.org>
|
32 |
//Autres auteurs :
|
32 |
//Autres auteurs :
|
33 |
*@copyright Tela-Botanica 2000-2004
|
33 |
*@copyright Tela-Botanica 2000-2004
|
34 |
*@version $Revision: 1.14 $ $Date: 2006-03-24 09:23:30 $
|
34 |
*@version $Revision: 1.15 $ $Date: 2006-04-28 12:46:14 $
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
*/
|
36 |
*/
|
- |
|
37 |
|
- |
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
- |
|
39 |
// | LES CONSTANTES DES ACTIONS DE BAZAR |
|
- |
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
- |
|
41 |
|
- |
|
42 |
define ('BAZ_VOIR_TOUTES_ANNONCES', 1) ;
|
- |
|
43 |
define ('BAZ_DEPOSER_ANNONCE', 3) ;
|
- |
|
44 |
define ('BAZ_ANNONCES_A_VALIDER', 4) ;
|
- |
|
45 |
define ('BAZ_GERER_DROITS', 5) ;
|
- |
|
46 |
define ('BAZ_ADMINISTRER_ANNONCES', 6) ;
|
- |
|
47 |
define ('BAZ_MODIFIER_FICHE', 7) ;
|
- |
|
48 |
if (!defined('BAZ_VOIR_FICHE')) define ('BAZ_VOIR_FICHE', 8) ;
|
- |
|
49 |
define ('BAZ_SUPPRIMER_FICHE', 9) ;
|
- |
|
50 |
define ('BAZ_ACTION_NOUVEAU', 10) ;
|
- |
|
51 |
define ('BAZ_ACTION_NOUVEAU_V', 11) ;
|
- |
|
52 |
define ('BAZ_ACTION_MODIFIER', 12) ;
|
- |
|
53 |
define ('BAZ_ACTION_MODIFIER_V', 13) ;
|
- |
|
54 |
define ('BAZ_ACTION_SUPPRESSION', 14) ;
|
- |
|
55 |
define ('BAZ_ACTION_PUBLIER', 15) ;
|
- |
|
56 |
define ('BAZ_ACTION_PAS_PUBLIER', 16) ;
|
- |
|
57 |
define ('BAZ_S_INSCRIRE', 17);
|
- |
|
58 |
define ('BAZ_VOIR_FLUX_RSS', 18);
|
- |
|
59 |
|
37 |
//==================================== LES FLUX RSS==================================
|
60 |
//==================================== LES FLUX RSS==================================
|
38 |
// Constantes liées aux flux RSS
|
61 |
// Constantes liées aux flux RSS
|
39 |
//==================================================================================
|
62 |
//==================================================================================
|
Line 40... |
Line 63... |
40 |
|
63 |
|
Line 66... |
Line 89... |
66 |
|
89 |
|
67 |
define ('BAZ_ANNUAIRE','annuaire'); //Table annuaire
|
90 |
define ('BAZ_ANNUAIRE','annuaire'); //Table annuaire
|
68 |
define ('BAZ_CHAMPS_ID','a_id'); //Champs index sur la table annuaire
|
91 |
define ('BAZ_CHAMPS_ID','a_id'); //Champs index sur la table annuaire
|
69 |
define ('BAZ_CHAMPS_NOM','a_nom'); //Champs nom sur la table annuaire
|
92 |
define ('BAZ_CHAMPS_NOM','a_nom'); //Champs nom sur la table annuaire
|
70 |
define ('BAZ_CHAMPS_PRENOM','a_prenom'); //Champs prenom sur la table annuaire
|
93 |
define ('BAZ_CHAMPS_PRENOM','a_prenom'); //Champs prenom sur la table annuaire
|
71 |
define ('BAZ_CHAMPS_STRUCTURE','a_structure'); //Champs indiquant si c'est une structure qui est identifiée
|
94 |
define ('BAZ_CHAMPS_EST_STRUCTURE','a_est_structure'); //Champs indiquant si c'est une structure qui est identifiée
|
Line 72... |
Line 95... |
72 |
define ('BAZ_CHAMPS_EMAIL','a_mail'); //Champs prenom sur la table annuaire
|
95 |
define ('BAZ_CHAMPS_EMAIL','a_mail'); //Champs prenom sur la table annuaire
|
73 |
|
96 |
|
74 |
/** Réglage des droits pour déposer des annoces */
|
97 |
/** Réglage des droits pour déposer des annonces */
|
Line -... |
Line 98... |
- |
|
98 |
// Mettre à true pour limiter le dépot aux rédacteurs
|
- |
|
99 |
define ('BAZ_RESTREINDRE_DEPOT', false) ;
|
- |
|
100 |
|
- |
|
101 |
/** Réglage de l'affichage de la liste deroulante pour la saisie des dates */
|
- |
|
102 |
// Mettre à true pour afficher une liste deroulante vide pour la saisie des dates
|
- |
|
103 |
define ('BAZ_DATE_VIDE', 0);
|
- |
|
104 |
|
- |
|
105 |
/** Réglage de l'URL de l'annuaire */
|
75 |
// Mettre à true pour limiter le dépot aux rédacteurs
|
106 |
// Mettre l'URL correspondant à l'annuaire
|
76 |
define ('BAZ_RESTREINDRE_DEPOT', false) ;
|
107 |
define ('BAZ_URL_ANNUAIRE', 'http://localhost/papyrus/papyrus.php?site=1&menu=13');
|
77 |
|
108 |
|
Line 78... |
Line 109... |
78 |
// Mettre à true pour faire apparaitre un champs texte déroulant dans le formulaire
|
109 |
// Mettre à true pour faire apparaitre un champs texte déroulant dans le formulaire
|
Line 106... |
Line 137... |
106 |
$GLOBALS['_BAZAR_']['filtre'] = $GLOBALS['_GEN_commun']['info_menu']->gm_id_menu ;
|
137 |
$GLOBALS['_BAZAR_']['filtre'] = $GLOBALS['_GEN_commun']['info_menu']->gm_id_menu ;
|
Line 107... |
Line 138... |
107 |
|
138 |
|
108 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
139 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
109 |
*
|
140 |
*
|
- |
|
141 |
* $Log: not supported by cvs2svn $
|
- |
|
142 |
* Revision 1.14 2006/03/24 09:23:30 alexandre_tb
|
- |
|
143 |
* ajout de la variable globale $GLOBALS['_BAZAR_']['filtre']
|
110 |
* $Log: not supported by cvs2svn $
|
144 |
*
|
111 |
* Revision 1.13 2006/03/14 17:10:21 florian
|
145 |
* Revision 1.13 2006/03/14 17:10:21 florian
|
112 |
* ajout des fonctions de syndication, changement du moteur de recherche
|
146 |
* ajout des fonctions de syndication, changement du moteur de recherche
|
113 |
*
|
147 |
*
|
114 |
* Revision 1.12 2006/02/07 13:57:41 alexandre_tb
|
148 |
* Revision 1.12 2006/02/07 13:57:41 alexandre_tb
|