Subversion Repositories Applications.papyrus

Rev

Rev 1372 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1372 Rev 1452
Line 19... Line 19...
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: syndication.php,v 1.5 2007-04-20 12:50:18 florian Exp $
24
// CVS : $Id: syndication.php,v 1.5.2.1 2007-06-06 15:24:37 jp_milcent Exp $
25
/**
25
/**
26
* papyrus_bp - syndication.php
26
* papyrus_bp - syndication.php
27
*
27
*
28
* Description :
28
* Description :
29
*
29
*
Line 31... Line 31...
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.5 $ $Date: 2007-04-20 12:50:18 $
36
*@version       $Revision: 1.5.2.1 $ $Date: 2007-06-06 15:24:37 $
37
// +------------------------------------------------------------------------------------------------------+
37
// +------------------------------------------------------------------------------------------------------+
38
*/
38
*/
Line 39... Line 39...
39
 
39
 
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
Line 44... Line 44...
44
$GLOBALS['_GEN_commun']['info_applette_balise'] = 	'\{\{[Ss]yndication'.
44
$GLOBALS['_GEN_commun']['info_applette_balise'] = 	'\{\{[Ss]yndication'.
45
													'(?:\s*'.
45
													'(?:\s*'.
46
														'(?:'.
46
														'(?:'.
47
															'(url="[^"]*")|'.
47
															'(url="[^"]*")|'.
48
															'(titre="[^"]*")|'.
48
															'(titre="[^"]*")|'.
49
															'(nb=(?:"|)\d+(?:"|))|'.
49
															'(nb="?\d+"?)|'.
50
															'(nouvellefenetre=(?:"|)(?:0|1)(?:"|))|'.
50
															'(nouvellefenetre="?(?:0|1)"?)|'.
51
															'(formatdate="[^"]*")|'.
51
															'(formatdate="[^"]*")|'.
52
															'(formatdatepro="[^"]*")|'.
52
															'(formatdatepro="[^"]*")|'.
53
															'(template="[^"]*")|'.
53
															'(template=".*")|'.
54
														')'.
54
														')'.
55
													')+'.
55
													')+'.
56
													'\s*\}\}';
56
													'\s*\}\}';
57
// +------------------------------------------------------------------------------------------------------+
57
// +------------------------------------------------------------------------------------------------------+
58
/** Inclusion du fichier de configuration de cette application.*/
58
/** Inclusion du fichier de configuration de cette application.*/
Line 116... Line 116...
116
	}
116
	}
117
	if (!isset($options['formatdate'])) {
117
	if (!isset($options['formatdate'])) {
118
		$options['formatdate'] = SYND_FORMAT_DATE;
118
		$options['formatdate'] = SYND_FORMAT_DATE;
119
	}
119
	}
120
	if (!isset($options['formatdatepro'])) {
120
	if (!isset($options['formatdatepro'])) {
121
		$options['formatdatepro'] = SYND_FORMAT_DATE;
121
		$options['formatdatepro'] = false;
122
	}
122
	}
123
	if (!isset($options['template'])) {
123
	if (!isset($options['template'])) {
124
		$options['template'] = SYND_CHEMIN_SQUELETTE.SYND_SQUELETTE_LISTE;
124
		$options['template'] = SYND_CHEMIN_SQUELETTE.SYND_SQUELETTE_LISTE;
125
	} else {
125
	} else {
126
		if (file_exists(SYND_CHEMIN_SQUELETTE.$options['template'])) {
126
		if (file_exists(SYND_CHEMIN_SQUELETTE.$options['template'])) {
Line 280... Line 280...
280
}
280
}
Line 281... Line 281...
281
 
281
 
282
/* +--Fin du code ----------------------------------------------------------------------------------------+
282
/* +--Fin du code ----------------------------------------------------------------------------------------+
283
*
283
*
-
 
284
* $Log: not supported by cvs2svn $
-
 
285
* Revision 1.5  2007-04-20 12:50:18  florian
-
 
286
* correction bugs suite au merge
284
* $Log: not supported by cvs2svn $
287
*
285
* Revision 1.4  2007/03/28 15:53:27  florian
288
* Revision 1.4  2007/03/28 15:53:27  florian
286
* correction pb date, encodage utf-8
289
* correction pb date, encodage utf-8
287
*
290
*
288
* Revision 1.3  2007/01/23 14:17:19  alexandre_tb
291
* Revision 1.3  2007/01/23 14:17:19  alexandre_tb