1 | #CACHE{0} |
---|
2 | #HTTP_HEADER{Content-Type: text/html} |
---|
3 | [(#REM) |
---|
4 | /********************************************************** |
---|
5 | * Ce squelette pour spip-listes |
---|
6 | * Patron: nouveautes_formum.html, recence les derniers messages de forums |
---|
7 | * Ce squelette affiche les articles et brèves publiés depuis la date passée en référence |
---|
8 | * Utilise une balise #DATE_MODIF_SITE |
---|
9 | * Précautions: |
---|
10 | * - ne pas dépasser les gabarits de plus de 10Ko |
---|
11 | * - ne pas placer du header html <html><body> ni de pied </body></html> |
---|
12 | * ils seront ajoutés automatiquement à l'envoi du mail |
---|
13 | * - les urls et liens images seront automatiquement converties en absolues |
---|
14 | * ex. rubrique5.html -> http://www.monsite.org/rubrique5.html |
---|
15 | * |
---|
16 | * La balise suivante est utile pour générer un message vide si il n'y a pas de messages depuis la date indiquée |
---|
17 | * [ Affichage ici (#DATE_MODIF_FORUM|strtotime|>{[(#ENV{date}|strtotime)]}|?{' ',''}) Affichage ici ] |
---|
18 | * |
---|
19 | ***********************************************************/ |
---|
20 | ] |
---|
21 | |
---|
22 | |
---|
23 | [ |
---|
24 | <div class="body" style="background: #fff;color: #ccc;font-family:'Trebuchet MS', Tahoma, Arial, Verdana,sans-serif;font-size: 0.9em;text-align: left;"> |
---|
25 | <div class="conteneur" style="width: 500px;background: #fff;color: #000;text-align: left;margin: 0 auto;padding: 15px;"> |
---|
26 | |
---|
27 | <h1 style="font-size: 1.2em;border-bottom: 1px solid #666;"><:spiplistes:abo_1_lettre:></h1> |
---|
28 | |
---|
29 | |
---|
30 | <p><:spiplistes:discussion_intro:> <a href="#URL_SITE_SPIP">#NOM_SITE_SPIP</a> [(#DATE|date_depuis)]</p> |
---|
31 | (#DATE_MODIF_FORUM|strtotime|>{[(#ENV{date}|strtotime)]}|?{' ',''}) |
---|
32 | ] |
---|
33 | |
---|
34 | |
---|
35 | <B_fils> |
---|
36 | |
---|
37 | <h2 class="titre" style="background: #EEE;border: 1px solid #CCC;padding: 0.5em;margin-bottom: 1em;font-weight: bold;text-align: center;"><:spiplistes:messages:></h2> |
---|
38 | |
---|
39 | <BOUCLE_fils(FORUMS){age_relatif < 0 }{par date}{inverse}> |
---|
40 | |
---|
41 | |
---|
42 | [<h3 style="font-size: 1.27em;font-weight: bold;color: #000;">(#TITRE|supprimer_numero)</h3>] |
---|
43 | <small>[(#DATE|affdate)] par [(#NOM|sinon{"anonyme"})] - <BOUCLE_rep(FORUMS){id_thread}{plat}> </BOUCLE_rep> #TOTAL_BOUCLE [(#TOTAL_BOUCLE|>{1}|?{'<:spiplistes:reponse_plur:>' , '<:spiplistes:reponse_sing:>'})] </B_rep></small> |
---|
44 | <div style="margin-top: 5px;margin-bottom: 2em;border: 1px solid #ccc;padding: 0.9em;font-size: 0.82em;line-height: 1.4em;" > |
---|
45 | <p>#INTRODUCTION</p> |
---|
46 | |
---|
47 | <div class="extra"> |
---|
48 | <BOUCLE_ArticleForum(ARTICLES){id_article}> |
---|
49 | <a href='[(#URL_SITE_SPIP)]/[(#URL_ARTICLE)]#forum[(#ID_FORUM)]' title='[(#TITRE)]'> |
---|
50 | </BOUCLE_ArticleForum> |
---|
51 | <BOUCLE_BreveForum(BREVES){id_breve}> |
---|
52 | <a href="#URL_SITE_SPIP/#URL_BREVE#forum#ID_FORUM" title="#TITRE"> |
---|
53 | </BOUCLE_BreveForum> |
---|
54 | <BOUCLE_RubriqueForum(RUBRIQUES){id_rubrique}> |
---|
55 | <a href="#URL_SITE_SPIP/#URL_RUBRIQUE#forum#ID_FORUM" title="#TITRE"> |
---|
56 | </BOUCLE_RubriqueForum> |
---|
57 | <BOUCLE_SiteForum(SITES){id_syndic}> |
---|
58 | <a href="#URL_SITE_SPIP/#URL_SITE#forum#ID_FORUM" title="#TITRE"> |
---|
59 | </BOUCLE_SiteForum> |
---|
60 | <//B_SiteForum> |
---|
61 | <//B_RubriqueForum> |
---|
62 | <//B_BreveForum> |
---|
63 | <//B_ArticleForum> |
---|
64 | <:spiplistes:voir_discussion:></a> |
---|
65 | </div> |
---|
66 | </div> |
---|
67 | |
---|
68 | |
---|
69 | </BOUCLE_fils> |
---|
70 | |
---|
71 | |
---|
72 | [ |
---|
73 | (#DATE_MODIF_FORUM|strtotime|>{[(#ENV{date}|strtotime)]}|?{' ',''}) |
---|
74 | </div> |
---|
75 | |
---|
76 | |
---|
77 | |
---|
78 | </div> |
---|
79 | ] |
---|