[PLUGINS] +set de base
[lhc/web/www.git] / www / plugins / abomailmans / templates / nouveautes_fr_en.html
1 #CACHE{0}[(#HTTP_HEADER{Content-type: text/html[; charset=(#CHARSET)]})]
2 [(#REM)
3 /**********************************************************
4 * Ce squelette pour Abomailmains
5 * Attention a :
6 * - ne pas envoyer des gabarits de plus de 10Ko
7 * - ne pas placer de balises d'ouverture ou de fermeture html et body
8 * ils seront ajoutes automatiquement a l'envoi du mail
9 * - mettre les style CSS directement dans les balises pour etre sur qu'ils seront interpretes (meme par les webmails)
10 * - les urls et liens images seront automatiquement converties en absolues
11 * ex. rubrique5.html -> http://www.monsite.org/rubrique5.html
12 * Inspire du plugin Spip-Listes
13 * $Id: nouveautes.html 44651 2011-02-14 10:33:12Z yffic@lefourneau.com $
14 ***********************************************************/]
15 #SET{tableau_nouveautes,#ARRAY}
16 <BOUCLE_articles(ARTICLES){id_rubrique ?}{id_mot ?}{age_relatif<0}>
17 #SET{tableau_nouveautes, #GET{tableau_nouveautes}|push{#ID_ARTICLE}}
18 </BOUCLE_articles>
19
20 <style>
21 .nl_container a {
22 text-decoration:none;
23 color:#3996BB;}
24 .nl_container a:hover {
25 color: #46839B;
26 text-decoration: underline;}
27 </style>
28
29 <div class="nl_container" style='width:100%;padding:5px;background-color:#FFF;color:#333333;font-size:10px;font-family:Arial, Helvetica, sans-serif'>
30 <table width="800" border="0" align="center" cellpadding="0" cellspacing="5" bgcolor="#FFF">
31 <tr>
32 <td>
33 <h1><a href="#URL_SITE_SPIP">
34 [(#LOGO_SITE_SPIP||image_reduire{100,100}|inserer_attribut{style,'border:0;'}|sinon{#NOM_SITE_SPIP})]
35 </a></h1>
36 </td>
37 </tr>
38 <tr>
39 <td>
40 <table width="100%" border="0" cellspacing="10"><tr>
41 <td width="340" align="right" valign="top">
42 <BOUCLE_abomailman_fr(ABOMAILMANS){id_abomailman}>[(#DESCRIPTIF*|extraire_multi{fr}|propre)]</BOUCLE_abomailman_fr>
43 </B_abomailman_fr>
44 [<h2>(#ENV*{sujet}|extraire_multi{fr})</h2>]
45 [<p><b>(#ENV*{message}|extraire_multi{fr})</b></p>]
46 <//B_abomailman_fr>
47 </td>
48 <td width="100">&nbsp;</td>
49 <td valign="top" width="340">
50 <BOUCLE_abomailman_en(ABOMAILMANS){id_abomailman}>[(#DESCRIPTIF*|extraire_multi{en}|propre)]</BOUCLE_abomailman_en>
51 </B_abomailman_en>
52 [<h2>(#ENV*{sujet}|extraire_multi{en})</h2>]
53 [<p><b>(#ENV*{message}|extraire_multi{en})</b></p>]
54 <//B_abomailman_en>
55 </td>
56 </tr></table>
57 <div style="border-bottom:1px solid #E00000;margin-bottom:1em;">&nbsp;</div>
58 </td>
59 </tr>
60 <BOUCLE_articlesDate(ARTICLES){id_rubrique ?}{id_mot ?}{age_relatif<0}{par date}{inverse}>
61 <BOUCLE_test(CONDITION){si #ID_ARTICLE|=={#ID_TRAD}|ou{#GET{tableau_nouveautes}|find{#ID_TRAD}|non}}>
62 <tr>
63 <td>
64 <table width="100%" border="0" cellspacing="10"><tr>
65 <td valign="top" align="right" width="340">
66 <BOUCLE_traduction_fr(ARTICLES){traduction}{lang=fr}{doublons}>
67 [<h3>(#TITRE|textebrut|supprimer_numero)</h3>]
68 <div style="padding:0.2em;font-style:italic;">[(#DATE|affdate)]</div>
69 <div>
70 <BOUCLE_ariane_fr(HIERARCHIE){id_article}> &gt; <a href="#URL_RUBRIQUE">[(#TITRE*|extraire_multi{fr}|supprimer_numero|couper{80})]</a></BOUCLE_ariane_fr>
71 </div>
72 [<p style="text-align:justify;margin-top:0">(#INTRODUCTION{150}|textebrut|liens_absolus)</p>
73 <p><a href="[(#URL_ARTICLE|url_absolue)]">Lire l'article</a></p>]
74 [(#SET{logo,#LOGO_ARTICLE||image_reduire{100,100}|liens_absolus})]
75 </BOUCLE_traduction_fr>
76 </td>
77 <td width="100" valign="top">
78 [(#GET{logo})]
79 </td>
80 <td valign="top" width="340">
81 <BOUCLE_traduction_en(ARTICLES){traduction}{lang=en}{doublons}>
82 [<h3>(#TITRE|textebrut|supprimer_numero)</h3>]
83 <div style="padding:0.2em;font-style:italic;">[(#DATE|affdate)]</div>
84 <div>
85 <BOUCLE_ariane_en(HIERARCHIE){id_article}> &gt; <a href="#URL_RUBRIQUE">[(#TITRE*|extraire_multi{en}|supprimer_numero|couper{80})]</a></BOUCLE_ariane_en>
86 </div>
87 [<p style="text-align:justify;margin-top:0">(#INTRODUCTION{150}|textebrut|liens_absolus)</p>
88 <p><a href="[(#URL_ARTICLE|url_absolue)]">Read the article</a></p>]
89 </BOUCLE_traduction_en>
90 </td>
91 </tr></table>
92 <div style="border-bottom:1px solid #E00000;margin-bottom:1em;">&nbsp;</div>
93 </td>
94 </tr>
95 </BOUCLE_test>
96 </BOUCLE_articlesDate>
97 </table>
98 </div>