Subversion Repositories Applications.papyrus

Rev

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

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