[SPIP] +2.1.12
[velocampus/web/www.git] / www / plugins / auto / fullcalendar / noisettes / agenda / inc_mini_agenda_fullcalendar.html
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/
4 ]
5 [(#SET{mini_limite, #CONFIG{fullcalendar/mini_limite,0} })]
6 [(#SET{max_height, #CONFIG{fullcalendar/max_height,200} })]
7 [(#SET{evt_avenir,''})]
8 <B_calendrier>
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}}>
12 [(#SET{style,''})]
13 <BOUCLE_styles(spip_fullcalendar_styles){id_style=#ID_STYLE}>
14 [(#SET{style,background-color:#BGCOLOR;color:#TEXTCOLOR;border:1px solid #BORDERCOLOR})]
15 </BOUCLE_styles>
16 [(#SET{titre,#TITRE|entites_html})]
17 [(#LIEN|=={''}|?{'',' '})
18 [(#SET{titre,[<a class="intitule" href="[(#LIEN)]">(#TITRE|entites_html)</a>]})]
19 ]
20 [(#SET{evt_avenir, #GET{evt_avenir}
21 |concat{'<li class="texte" style="'}
22 |concat{#GET{style}}
23 |concat{'" title="'}
24 |concat{#START|date_relative}
25 |concat{'">'}
26 |concat{<b>#START|affdate{'d/m'}}
27 |concat{</b> : #GET{titre}</li>}
28 })]
29 </BOUCLE_evenement>
30 <B_evenement_encours>
31 <div id="noisette_miniagenda_events" class="noisette">
32 <div class="contenu">
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}>
36 [(#SET{style,''})]
37 <B_styles_encours>
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>
41 </B_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>]})]
47 ]
48 #GET{titre}
49 </li>
50 </BOUCLE_evenement_encours>
51 </ul>
52 </div>
53 </div>
54 </B_evenement_encours>
55 [(#GET{evt_avenir}|=={''}|?{'',' '})
56 <div id="noisette_miniagenda_events" class="noisette">
57 <div class="contenu">
58 <h2 class="titre_bloc">#NOM</h2>
59 <ul class="texte" style="overflow:auto;max-height:#GET{max_height}px">
60 [(#GET{evt_avenir})]
61 </ul>
62 </div>
63 </div>
64 ]
65 </BOUCLE_calendrier>
66 </B_calendrier>