Subversion Repositories Applications.papyrus

Rev

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

Rev 1165 Rev 1960
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 5.1                                                                                      |
4
// | PHP version 5.1                                                                                      |
5
// +------------------------------------------------------------------------------------------------------+
5
// +------------------------------------------------------------------------------------------------------+
6
// | Copyright (C) 1999-2006 Tela Botanica (accueil@tela-botanica.org)                                    |
6
// | Copyright (C) 1999-2006 Tela Botanica (accueil@tela-botanica.org)                                    |
7
// +------------------------------------------------------------------------------------------------------+
7
// +------------------------------------------------------------------------------------------------------+
8
// | This file is part of papyrus_bp.                                                                         |
8
// | This file is part of papyrus_bp.                                                                         |
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: synd_configuration.inc.php,v 1.1 2006-12-13 17:06:36 jp_milcent Exp $
24
// CVS : $Id: synd_configuration.inc.php,v 1.2 2008-10-29 15:54:40 alexandre_tb Exp $
25
/**
25
/**
26
* papyrus_bp - synd_configuration.inc.php
26
* papyrus_bp - synd_configuration.inc.php
27
*
27
*
28
* Description :
28
* Description :
29
*
29
*
30
*@package papyrus_bp
30
*@package papyrus_bp
31
//Auteur original :
31
//Auteur original :
32
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
32
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
33
//Autres auteurs :
33
//Autres auteurs :
34
*@author        Aucun
34
*@author        Aucun
35
*@copyright     Tela-Botanica 1999-2006
35
*@copyright     Tela-Botanica 1999-2006
36
*@version       $Revision: 1.1 $ $Date: 2006-12-13 17:06:36 $
36
*@version       $Revision: 1.2 $ $Date: 2008-10-29 15:54:40 $
37
// +------------------------------------------------------------------------------------------------------+
37
// +------------------------------------------------------------------------------------------------------+
38
*/
38
*/
39
 
39
 
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
41
// |                                            ENTÊTE du PROGRAMME                                       |
41
// |                                            ENTÊTE du PROGRAMME                                       |
42
// +------------------------------------------------------------------------------------------------------+
42
// +------------------------------------------------------------------------------------------------------+
43
$GLOBALS['_SYNDICATION_'] = array();
43
$GLOBALS['_SYNDICATION_'] = array();
44
 
44
 
45
// +------------------------------------------------------------------------------------------------------+
45
// +------------------------------------------------------------------------------------------------------+
46
// |                                            CORPS du PROGRAMME                                        |
46
// |                                            CORPS du PROGRAMME                                        |
47
// +------------------------------------------------------------------------------------------------------+
47
// +------------------------------------------------------------------------------------------------------+
48
/** Constante stockant la valeur de la langue par défaut pour l'applette SYND.*/
48
/** Constante stockant la valeur de la langue par défaut pour l'applette SYND.*/
49
define('SYND_I18N_DEFAUT', GEN_I18N_ID_DEFAUT);
49
define('SYND_I18N_DEFAUT', GEN_I18N_ID_DEFAUT);
50
 
50
 
51
// Paramétrage de la bibliothèque de manipulation des flux RSS
51
// Paramétrage de la bibliothèque de manipulation des flux RSS
52
/** Constante stockant le chemin vers la bibliothèque MAGPIERSS.*/
52
/** Constante stockant le chemin vers la bibliothèque MAGPIERSS.*/
53
define('MAGPIE_DIR', GEN_CHEMIN_API.'syndication_rss/magpierss/');
53
define('MAGPIE_DIR', GEN_CHEMIN_API.'syndication_rss/magpierss/');
54
/** Constante stockant le chemin vers le dossier de cache pour MAGPIERSS.*/
54
/** Constante stockant le chemin vers le dossier de cache pour MAGPIERSS.*/
55
define('MAGPIE_CACHE_DIR', MAGPIE_DIR.'/tmp/magpie_cache');
55
define('MAGPIE_CACHE_DIR', MAGPIE_DIR.'/tmp/magpie_cache');
56
/** Constante stockant le nombre de page syndiqués à afficher par site.*/
56
/** Constante stockant le nombre de page syndiqués à afficher par site.*/
57
define('SYND_NOMBRE', 10);
57
define('SYND_NOMBRE', 10);
58
/** Constante stockant si oui ou non on ouvre une nouvelle fenêtre pour consulter la page d'un site syndiqué.*/
58
/** Constante stockant si oui ou non on ouvre une nouvelle fenêtre pour consulter la page d'un site syndiqué.*/
59
define('SYND_OUVRIR_LIEN_RSS_NOUVELLE_FENETRE', 1);
59
define('SYND_OUVRIR_LIEN_RSS_NOUVELLE_FENETRE', 1);
60
/** Constante stockant le format des dates.*/
60
/** Constante stockant le format des dates.*/
61
define('SYND_FORMAT_DATE', 'jma');
61
define('SYND_FORMAT_DATE', 'jma');
62
 
62
 
63
// Chemin vers les dossiers de l'applette
63
// Chemin vers les dossiers de l'applette
64
/** Chemin vers l'applette Syndication de Papyrus.*/
64
/** Chemin vers l'applette Syndication de Papyrus.*/
65
define('SYND_CHEMIN_APPLETTE', GEN_CHEMIN_APPLETTE.'syndication'.GEN_SEP);
65
define('SYND_CHEMIN_APPLETTE', GEN_CHEMIN_APPLETTE.'syndication'.GEN_SEP);
66
/** Chemin vers les fichiers de traduction de l'applette Syndication de Papyrus.*/
66
/** Chemin vers les fichiers de traduction de l'applette Syndication de Papyrus.*/
67
define('SYND_CHEMIN_LANGUE', SYND_CHEMIN_APPLETTE.'langues'.GEN_SEP);
67
define('SYND_CHEMIN_LANGUE', SYND_CHEMIN_APPLETTE.'langues'.GEN_SEP);
68
/** Chemin vers les fichiers squelettes de l'applette Syndication de Papyrus.*/
68
/** Chemin vers les fichiers squelettes de l'applette Syndication de Papyrus.*/
69
define('SYND_CHEMIN_SQUELETTE', SYND_CHEMIN_APPLETTE.'squelettes'.GEN_SEP);
69
define('SYND_CHEMIN_SQUELETTE', SYND_CHEMIN_APPLETTE.'squelettes'.GEN_SEP);
70
 
70
 
71
// Configuration du rendu
71
// Configuration du rendu
72
/** Nom du fichier de squelette, par défaut, à utiliser pour la liste des pages.*/
72
/** Nom du fichier de squelette, par défaut, à utiliser pour la liste des pages.*/
73
define('SYND_SQUELETTE_LISTE', 'synd_liste.tpl.html');
73
define('SYND_SQUELETTE_LISTE', 'synd_liste.tpl.html');
74
 
-
 
75
 
-
 
-
 
74
 
-
 
75
$GLOBALS['jours'] = array (1 => 'lundi', 2 => 'mardi', 3 => 'mercredi', 4 => 'jeudi', 5 => 'vendredi', 
-
 
76
							6 => 'samedi', 0 => 'dimanche') ;
-
 
77
$GLOBALS['mois'] = array (1 => 'janvier', 2 => 'février', 3 => 'mars', 4 => 'avril', 5 => 'mai', 6 => 'juin',
-
 
78
							7 => 'juillet', 8 => 'août', 9 => 'septembre', 10 => 'octobre', 11 =>'novembre', 
76
 
79
							12 => 'décembre') ;
77
/* +--Fin du code ----------------------------------------------------------------------------------------+
80
/* +--Fin du code ----------------------------------------------------------------------------------------+
78
*
81
*
79
* $Log: not supported by cvs2svn $
82
* $Log: not supported by cvs2svn $
-
 
83
* Revision 1.1  2006-12-13 17:06:36  jp_milcent
-
 
84
* Ajout de l'applette Syndication.
-
 
85
*
80
*
86
*
81
* +-- Fin du code ----------------------------------------------------------------------------------------+
87
* +-- Fin du code ----------------------------------------------------------------------------------------+
82
*/
88
*/
83
?>
89
?>