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.16 2006-05-17 09:48:48 alexandre_tb Exp $
|
22 |
// CVS : $Id: baz_config.inc.php,v 1.17 2006-05-19 13:53:57 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.16 $ $Date: 2006-05-17 09:48:48 $
|
34 |
*@version $Revision: 1.17 $ $Date: 2006-05-19 13:53:57 $
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
*/
|
36 |
*/
|
Line 37... |
Line 37... |
37 |
|
37 |
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
Line 106... |
Line 106... |
106 |
// Mettre l'URL correspondant à l'annuaire
|
106 |
// Mettre l'URL correspondant à l'annuaire
|
107 |
define ('BAZ_URL_ANNUAIRE', 'http://localhost/papyrus/papyrus.php?site=1&menu=13');
|
107 |
define ('BAZ_URL_ANNUAIRE', 'http://localhost/papyrus/papyrus.php?site=1&menu=13');
|
Line 108... |
Line 108... |
108 |
|
108 |
|
109 |
// 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
|
110 |
// de recherche des fiches, pour choisir les émetteurs
|
110 |
// de recherche des fiches, pour choisir les émetteurs
|
Line 111... |
Line 111... |
111 |
define ('BAZ_RECHERCHE_PAR_EMETTEUR', false) ;
|
111 |
define ('BAZ_RECHERCHE_PAR_EMETTEUR', true) ;
|
112 |
|
112 |
|
113 |
$GLOBALS['_BAZAR_']['url'] = $GLOBALS['_GEN_commun']['url'];
|
113 |
$GLOBALS['_BAZAR_']['url'] = $GLOBALS['_GEN_commun']['url'];
|
Line 125... |
Line 125... |
125 |
include_once BAZ_CHEMIN_APPLI.'langues/baz_langue_'.${BAZ_VAR_URL_LANGUE}.'.inc.php';
|
125 |
include_once BAZ_CHEMIN_APPLI.'langues/baz_langue_'.${BAZ_VAR_URL_LANGUE}.'.inc.php';
|
126 |
} else {
|
126 |
} else {
|
127 |
include_once BAZ_CHEMIN_APPLI.'langues/baz_langue_'.BAZ_LANGUE_PAR_DEFAUT.'.inc.php';
|
127 |
include_once BAZ_CHEMIN_APPLI.'langues/baz_langue_'.BAZ_LANGUE_PAR_DEFAUT.'.inc.php';
|
128 |
}
|
128 |
}
|
Line 129... |
Line -... |
129 |
|
- |
|
130 |
|
- |
|
131 |
// Paramètre du bazar, il faut les rapatrier ici, pas au debut de bazar.php
|
- |
|
132 |
|
- |
|
133 |
// Le filtre contient la valeur bazar_nature.bn_ce_id_menu
|
- |
|
134 |
// Pour filtrer les type d'annonce selon l'endroit où est déployé
|
- |
|
135 |
// le bazar, par exemple selon le numéro du menu papyrus
|
- |
|
136 |
|
- |
|
137 |
$GLOBALS['_BAZAR_']['filtre'] = $GLOBALS['_GEN_commun']['info_menu']->gm_id_menu ;
|
- |
|
138 |
|
- |
|
139 |
|
129 |
|
140 |
// Option concernant la division des résultats en pages
|
130 |
// Option concernant la division des resultats en pages
|
141 |
define ('BAZ_NOMBRE_RES_PAR_PAGE', 30);
|
131 |
define ('BAZ_NOMBRE_RES_PAR_PAGE', 30);
|
142 |
define ('BAZ_MODE_DIVISION', 'Jumping'); // 'Jumping' ou 'Sliding' voir http://pear.php.net/manual/fr/package.html.pager.compare.php
|
132 |
define ('BAZ_MODE_DIVISION', 'Jumping'); // 'Jumping' ou 'Sliding' voir http://pear.php.net/manual/fr/package.html.pager.compare.php
|
Line -... |
Line 133... |
- |
|
133 |
define ('BAZ_DELTA', 12); // Le nombre de page à afficher avant le 'next';
|
- |
|
134 |
|
- |
|
135 |
/** Réglage de l'affichage du formulaire de recherche avancee */
|
- |
|
136 |
// Mettre à true pour afficher automatiquement le formulaire de recherche avancee, à false pour avoir un lien afficher la recherche avancee
|
Line 143... |
Line 137... |
143 |
define ('BAZ_DELTA', 12); // Le nombre de page à afficher avant le 'next';
|
137 |
define ('BAZ_MOTEUR_RECHERCHE_AVANCEE', 0);
|
144 |
|
138 |
|
145 |
|
139 |
|
- |
|
140 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
141 |
*
|
- |
|
142 |
* $Log: not supported by cvs2svn $
|
146 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
143 |
* Revision 1.16 2006/05/17 09:48:48 alexandre_tb
|
147 |
*
|
144 |
* Ajout des constantes pour le découpage en page
|
148 |
* $Log: not supported by cvs2svn $
|
145 |
*
|
149 |
* Revision 1.15 2006/04/28 12:46:14 florian
|
146 |
* Revision 1.15 2006/04/28 12:46:14 florian
|
150 |
* integration des liens vers annuaire
|
147 |
* integration des liens vers annuaire
|