[PLUGINS] +set de base
[lhc/web/www.git] / www / plugins / abomailmans / templates / nouveautes.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 59659 2012-03-23 14:00:11Z root $
14 ***********************************************************/]
15 <B_articlesDate>
16 <style>
17 .nl_container a {
18 text-decoration:none;
19 color:#3996BB;}
20 .nl_container a:hover {
21 color: #46839B;
22 text-decoration: underline;}
23 </style>
24
25 <div class="nl_container" style='width:100%;padding:10px;background-color:#FFF;color:#333333;font-size:12px;font-family:Georgia,"Times New Roman",Times,serif;'>
26 <table width="690" border="0" align="center" cellpadding="0" cellspacing="5" bgcolor="#FFF">
27 <tr>
28 <td>
29 <h1><a href="#URL_SITE_SPIP">
30 [(#LOGO_SITE_SPIP||image_reduire{100,100}|inserer_attribut{style,'border:0;'}|sinon{#NOM_SITE_SPIP})]
31 </a></h1>
32 <BOUCLE_abomailman(ABOMAILMANS){id_abomailman}>#DESCRIPTIF</BOUCLE_abomailman>
33 </B_abomailman>
34 [<h2>(#ENV{sujet})</h2>]
35 [<p><b>(#ENV{message})</b></p>]
36 <//B_abomailman>
37 <div style="border-bottom:1px solid #E00000;margin-bottom:1em;">&nbsp;</div>
38 </td>
39 </tr>
40 <BOUCLE_articlesDate(ARTICLES){age_relatif< 0}{id_rubrique ?}{id_mot ?}{par date}{inverse}>
41 <BOUCLE_agenda(MOTS){titre=AGENDA}{id_article}>#SET{type, agenda}</BOUCLE_agenda>
42 <tr>
43 <td>
44 [(#GET{type}|!={'agenda'}|?{'',' '}) <!-- SI agenda -->
45 [<div style="padding:0.2em;font-style:italic;">
46 [(#DATE_REDAC|nom_jour)] (#DATE_REDAC|affdate_jourcourt)[ - (#DATE_REDAC|affdate{'H:i'})]
47 </div>]
48 ]
49 [<h3>(#TITRE|textebrut|supprimer_numero)</h3>]
50 <!-- SI PAS agenda -->
51 [(#GET{type}|=={'agenda'}|?{'',' '})<p style="padding:0.2em;font-style:italic;">[(#DATE|affdate)]</p>]
52 <div><BOUCLE_ariane(HIERARCHIE){id_article}> &gt; <a href="#URL_RUBRIQUE">[(#TITRE|couper{80})]</a></BOUCLE_ariane></div>
53 <table width="100%" border="0" cellspacing="10"><tr>
54 <td valign="top">[<p style="text-align:justify;margin-top:0">(#INTRODUCTION|textebrut|liens_absolus)</p>]</td>
55 <td width="100" valign="top">
56 [(#LOGO_ARTICLE||image_reduire{100,100}|liens_absolus)]
57 </td>
58 </tr></table>
59 <a href="[(#URL_ARTICLE|url_absolue)]" style="float:right;padding:0 0 0 1em;margin:0.5em 0 0 0;"><:abomailmans:lire_article:></a>
60 <br style="clear: both; margin: 0; padding: 0; border: none; height: 0; line-height: 1px; font-size: 1px;" />
61 <div style="border-bottom:1px solid #E00000;margin-bottom:1em;">&nbsp;</div>
62 </td>
63 </tr>
64 </BOUCLE_articlesDate>
65 </table>
66 </div>
67 </B_articlesDate>