Subversion Repositories Applications.papyrus

Rev

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

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