Subversion Repositories Applications.papyrus

Rev

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

Rev 217 Rev 851
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 file is part of Papyrus.                                                                        |
8
// | This file is part of Papyrus.                                                                        |
9
// |                                                                                                      |
9
// |                                                                                                      |
10
// | Foobar is free software; you can redistribute it and/or modify                                       |
10
// | Foobar is free software; you can redistribute it and/or modify                                       |
11
// | it under the terms of the GNU General Public License as published by                                 |
11
// | it under the terms of the GNU General Public License as published by                                 |
12
// | the Free Software Foundation; either version 2 of the License, or                                    |
12
// | the Free Software Foundation; either version 2 of the License, or                                    |
13
// | (at your option) any later version.                                                                  |
13
// | (at your option) any later version.                                                                  |
14
// |                                                                                                      |
14
// |                                                                                                      |
15
// | Foobar is distributed in the hope that it will be useful,                                            |
15
// | Foobar is distributed in the hope that it will be useful,                                            |
16
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                                       |
16
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                                       |
17
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                        |
17
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                        |
18
// | GNU General Public License for more details.                                                         |
18
// | GNU General Public License for more details.                                                         |
19
// |                                                                                                      |
19
// |                                                                                                      |
20
// | You should have received a copy of the GNU General Public License                                    |
20
// | You should have received a copy of the GNU General Public License                                    |
21
// | along with Foobar; if not, write to the Free Software                                                |
21
// | along with Foobar; if not, write to the Free Software                                                |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
23
// +------------------------------------------------------------------------------------------------------+
23
// +------------------------------------------------------------------------------------------------------+
24
// CVS : $Id: more_configuration.inc.php,v 1.1 2004-12-07 10:24:12 jpm Exp $
24
// CVS : $Id: more_configuration.inc.php,v 1.2 2006-05-23 14:18:19 jp_milcent Exp $
25
/**
25
/**
26
* Fichier de configuration général de l'applette Moteur_Recherche.
26
* Fichier de configuration général de l'applette Moteur_Recherche.
27
*
27
*
28
* Permet de définir certains paramètres valables pour toutes l'applette MORE.
28
* Permet de définir certains paramètres valables pour toutes l'applette MORE.
29
*
29
*
30
*@package Applette
30
*@package Applette
31
*@subpackage Moteur_Recherche
31
*@subpackage Moteur_Recherche
32
//Auteur original :
32
//Auteur original :
33
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
33
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
34
//Autres auteurs :
34
//Autres auteurs :
35
*@author        aucun
35
*@author        aucun
36
*@copyright     Tela-Botanica 2000-2004
36
*@copyright     Tela-Botanica 2000-2004
37
*@version       $Revision: 1.1 $ $Date: 2004-12-07 10:24:12 $
37
*@version       $Revision: 1.2 $ $Date: 2006-05-23 14:18:19 $
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
*/
39
*/
40
 
40
 
41
// +------------------------------------------------------------------------------------------------------+
41
// +------------------------------------------------------------------------------------------------------+
42
// |                                            ENTETE du PROGRAMME                                       |
42
// |                                            ENTETE du PROGRAMME                                       |
43
// +------------------------------------------------------------------------------------------------------+
43
// +------------------------------------------------------------------------------------------------------+
44
 
44
 
45
 
45
 
46
// +------------------------------------------------------------------------------------------------------+
46
// +------------------------------------------------------------------------------------------------------+
47
// |                                            CORPS du PROGRAMME                                        |
47
// |                                            CORPS du PROGRAMME                                        |
48
// +------------------------------------------------------------------------------------------------------+
48
// +------------------------------------------------------------------------------------------------------+
49
/** Constante stockant la valeur de la langue par défaut pour l'applette MORE.*/
49
/** Constante stockant la valeur de la langue par défaut pour l'applette MORE.*/
50
define('MORE_I18N_DEFAUT', GEN_I18N_ID_DEFAUT);
50
define('MORE_I18N_DEFAUT', GEN_I18N_ID_DEFAUT);
-
 
51
/** Constante stockant la valeur de la langue par défaut pour l'applette MORE.*/
-
 
52
define('MORE_MODE', 2);// 1 : recherche de chaque mot du motif; 2: recherche du motif complet
51
 
53
 
52
// Chemin des fichiers à inclure.
54
// Chemin des fichiers à inclure.
53
/** Chemin vers la bibliothèque PEAR.*/
55
/** Chemin vers la bibliothèque PEAR.*/
54
define('MORE_CHEMIN_BIBLIOTHEQUE_PEAR', '');
56
define('MORE_CHEMIN_BIBLIOTHEQUE_PEAR', '');
55
 
57
 
56
// Chemin vers les dossiers de l'applette
58
// Chemin vers les dossiers de l'applette
57
/** Chemin vers l'applette Moteur de Recherche de Papyrus.*/
59
/** Chemin vers l'applette Moteur de Recherche de Papyrus.*/
58
define('MORE_CHEMIN_APPLETTE', GEN_CHEMIN_APPLETTE.'moteur_recherche/');
60
define('MORE_CHEMIN_APPLETTE', GEN_CHEMIN_APPLETTE.'moteur_recherche/');
59
/** Chemin vers les fichiers de traduction de l'applette Moteur de Recherche de Papyrus.*/
61
/** Chemin vers les fichiers de traduction de l'applette Moteur de Recherche de Papyrus.*/
60
define('MORE_CHEMIN_LANGUE', MORE_CHEMIN_APPLETTE.'langues/');
62
define('MORE_CHEMIN_LANGUE', MORE_CHEMIN_APPLETTE.'langues/');
61
/** Chemin vers les fichiers de la bibliotheque de l'applette Moteur de Recherche de Papyrus.*/
63
/** Chemin vers les fichiers de la bibliotheque de l'applette Moteur de Recherche de Papyrus.*/
62
define('MORE_CHEMIN_BIBLIO', MORE_CHEMIN_APPLETTE.'bibliotheque/');
64
define('MORE_CHEMIN_BIBLIO', MORE_CHEMIN_APPLETTE.'bibliotheque/');
63
 
65
 
64
// Configuration du formulaire de recherche
66
// Configuration du formulaire de recherche
65
/** Valeur de départ des tabulations pour le formulaire de recherche.*/
67
/** Valeur de départ des tabulations pour le formulaire de recherche.*/
66
define('MORE_FORM_MOTIF_TAB', 100);
68
define('MORE_FORM_MOTIF_TAB', 100);
67
/** Taille de la zone de saisie de texte du formulaire de recherche.*/
69
/** Taille de la zone de saisie de texte du formulaire de recherche.*/
68
define('MORE_FORM_MOTIF_SIZE', 20);
70
define('MORE_FORM_MOTIF_SIZE', 20);
69
/** Nombre de caractères maximum pouvant être saisis dans la zone de texte du formulaire de recherche.*/
71
/** Nombre de caractères maximum pouvant être saisis dans la zone de texte du formulaire de recherche.*/
70
define('MORE_FORM_MOTIF_MAXLENGTH', 100);
72
define('MORE_FORM_MOTIF_MAXLENGTH', 100);
71
 
73
 
72
/* +--Fin du code ----------------------------------------------------------------------------------------+
74
/* +--Fin du code ----------------------------------------------------------------------------------------+
73
*
75
*
74
* $Log: not supported by cvs2svn $
76
* $Log: not supported by cvs2svn $
-
 
77
* Revision 1.1  2004/12/07 10:24:12  jpm
-
 
78
* Moteur de recherche version de départ.
-
 
79
*
75
* 
80
* 
76
* +-- Fin du code ----------------------------------------------------------------------------------------+
81
* +-- Fin du code ----------------------------------------------------------------------------------------+
77
*/
82
*/
78
?>
83
?>