Subversion Repositories Applications.papyrus

Rev

Rev 1165 | Rev 2059 | 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 chemin vers le dossier de cache pour MAGPIERSS.*/
55
define('MAGPIE_CACHE_DIR', MAGPIE_DIR.'/tmp/magpie_cache');
56
/** Constante stockant le nombre de page syndiqués à afficher par site.*/
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é.*/
59
define('SYND_OUVRIR_LIEN_RSS_NOUVELLE_FENETRE', 1);
60
/** Constante stockant le format des dates.*/
61
define('SYND_FORMAT_DATE', 'jma');
62
 
63
// Chemin vers les dossiers de l'applette
64
/** Chemin vers l'applette Syndication de Papyrus.*/
65
define('SYND_CHEMIN_APPLETTE', GEN_CHEMIN_APPLETTE.'syndication'.GEN_SEP);
66
/** Chemin vers les fichiers de traduction de l'applette Syndication de Papyrus.*/
67
define('SYND_CHEMIN_LANGUE', SYND_CHEMIN_APPLETTE.'langues'.GEN_SEP);
68
/** Chemin vers les fichiers squelettes de l'applette Syndication de Papyrus.*/
69
define('SYND_CHEMIN_SQUELETTE', SYND_CHEMIN_APPLETTE.'squelettes'.GEN_SEP);
70
 
71
// Configuration du rendu
72
/** Nom du fichier de squelette, par défaut, à utiliser pour la liste des pages.*/
73
define('SYND_SQUELETTE_LISTE', 'synd_liste.tpl.html');
74
 
1960 alexandre_ 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',
79
							12 => 'décembre') ;
1165 jp_milcent 80
/* +--Fin du code ----------------------------------------------------------------------------------------+
81
*
82
* $Log: not supported by cvs2svn $
1960 alexandre_ 83
* Revision 1.1  2006-12-13 17:06:36  jp_milcent
84
* Ajout de l'applette Syndication.
1165 jp_milcent 85
*
1960 alexandre_ 86
*
1165 jp_milcent 87
* +-- Fin du code ----------------------------------------------------------------------------------------+
88
*/
89
?>