parent
b2692cf07f
commit
d1cc5839f8
@ -1,11 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
||||
|
||||
include_spip('inc/json');
|
||||
|
||||
function todate($t) {
|
||||
return date('Y-m-d H:i:s', $t);
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
#HTTP_HEADER{Content-type:text/javascript;}
|
||||
[<BOUCLE_evenements(EVENEMENTS){', '}{par date_debut}{titre_mot?}{lang}>
|
||||
<BOUCLE_mot(MOTS){id_evenement}{type=Agenda_couleur}{0,1}>
|
||||
[(#ARRAY{
|
||||
id,#ID_EVENEMENT,
|
||||
title,[(#_evenements:TITRE|html2unicode|unicode2charset|supprimer_tags)],
|
||||
allDay,[(#HORAIRE|=={non}|?{#EVAL{true},#EVAL{false}})],
|
||||
start,#DATE_DEBUT,end,#DATE_FIN,
|
||||
url,#URL_EVENEMENT,
|
||||
color,[(#DESCRIPTIF|PtoBR|html2unicode|unicode2charset)]
|
||||
}|json_encode)]
|
||||
</BOUCLE_mot>
|
||||
</B_mot>
|
||||
[(#ARRAY{
|
||||
id,#ID_EVENEMENT,
|
||||
title,[(#_evenements:TITRE|html2unicode|unicode2charset|supprimer_tags)],
|
||||
allDay,[(#HORAIRE|=={non}|?{#EVAL{true},#EVAL{false}})],
|
||||
start,#DATE_DEBUT,end,#DATE_FIN,
|
||||
url,#URL_EVENEMENT,
|
||||
color,#336699
|
||||
}|json_encode)]
|
||||
<//B_mot>
|
||||
</BOUCLE_evenements>]
|
Loading…
Reference in New Issue