1 [(#REM) Squelette pour l'intégration du mini-fullcalendar dans sarkaspip
2 si l'agenda n'est pas automatiquement surchargé il suffit de
3 placer de fichier dans votre répertoire squelettes/noisettes/agenda/
5 [(#SET{mini_limite, #CONFIG{fullcalendar/mini_limite,
0} })]
6 [(#SET{max_height, #CONFIG{fullcalendar/max_height,
200} })]
7 [(#SET{evt_avenir,''})]
9 <div id=
"noisette_miniagenda" class=
"noisette">[(#MODELE{minifullcalendar}{id_minifullcalendar=#ID_FULLCALENDAR})]
</div>
10 <BOUCLE_calendrier(spip_fullcalendar_main){id_fullcalendar=#ID_FULLCALENDAR}
>
11 <BOUCLE_evenement(spip_fullcalendar_events){id_fullcalendar=#ID_FULLCALENDAR}{start
>=#DATE}{par start}{doublons}{
0, #GET{mini_limite}}
>
13 <BOUCLE_styles(spip_fullcalendar_styles){id_style=#ID_STYLE}
>
14 [(#SET{style,background-color:#BGCOLOR;color:#TEXTCOLOR;border:
1px solid #BORDERCOLOR})]
16 [(#SET{titre,#TITRE|entites_html})]
17 [(#LIEN|=={''}|?{'',' '})
18 [(#SET{titre,[
<a class=
"intitule" href=
"[(#LIEN)]">(#TITRE|entites_html)
</a>]})]
20 [(#SET{evt_avenir, #GET{evt_avenir}
21 |concat{'
<li class=
"texte" style=
"'}
24 |concat{#START|date_relative}
26 |concat{
<b>#START|affdate{'d/m'}}
27 |concat{
</b> : #GET{titre}
</li>}
31 <div id=
"noisette_miniagenda_events" class=
"noisette">
33 <h2 class=
"titre_bloc">En cours ...
</h2>
34 <ul class=
"texte" style=
"overflow:auto;max-height:#GET{max_height}px">
35 <BOUCLE_evenement_encours(spip_fullcalendar_events){id_fullcalendar=#ID_FULLCALENDAR}{end
>=#DATE}{start<=#DATE}{doublons}{par start}
>
38 <BOUCLE_styles_encours(spip_fullcalendar_styles){id_style=#ID_STYLE}
>
39 [(#SET{style,background-color:#BGCOLOR;color:#TEXTCOLOR;border:
1px solid #BORDERCOLOR})]
40 </BOUCLE_styles_encours>
42 <li class=
"texte" style=
"#GET{style}" title=
"[(#START|date_relative)]">
43 [(#START|affdate{'d/m'})] :
44 [(#SET{titre,
<b>#TITRE
</b>})]
45 [(#LIEN|=={''}|?{'',' '})
46 [(#SET{titre,[
<a class=
"intitule" href=
"[(#LIEN)]"><b>(#TITRE)
</b></a>]})]
50 </BOUCLE_evenement_encours>
54 </B_evenement_encours>
55 [(#GET{evt_avenir}|=={''}|?{'',' '})
56 <div id=
"noisette_miniagenda_events" class=
"noisette">
58 <h2 class=
"titre_bloc">#NOM
</h2>
59 <ul class=
"texte" style=
"overflow:auto;max-height:#GET{max_height}px">