source: trunk/spip/esqueleto-redcta/plugins/zabomailmans/templates/nouveautes.html @ 76

Last change on this file since 76 was 76, checked in by sebas, 16 years ago

plugin de abonomailman para enviar boletin electronico
basado sobre los cambios de sebas para arreglar los envios.

  • Property svn:executable set to *
File size: 4.7 KB
Line 
1#CACHE{0}
2#HTTP_HEADER{Content-Type: text/html}
3[(#REM)
4/**********************************************************
5* Ce squelette pour Abomailmains
6* Attention a :                             
7* - ne pas envoyer des gabarits de plus de 10Ko
8* - ne pas placer de balises html <html><body> ni de fermeture </body></html>
9* ils seront ajoutes automatiquement a l'envoi du mail
10* - mettre les style  CSS directement dans les balises pour etre sur qu'ils seront interpretes (meme par les webmails)
11* - les urls et liens images seront automatiquement converties en absolues
12*  ex. rubrique5.html -> http://www.monsite.org/rubrique5.html
13* Inspire du plugin Spip-Listes
14***********************************************************/
15<style>
16/* CSS Document */
17body {
18        margin-top:5px;
19        background: #fff;
20        font: 1em 'Trebuchet MS',Arial, Helvetica, sans-serif;
21        color:#000000;}
22
23a {
24        text-decoration:none;
25        color:#000000;}
26
27a:hover {
28        color: #FF0000;
29        text-decoration: underline;}
30
31/* Espaceur de blocs */
32.nettoyeur { clear: both; margin: 0; padding: 0; border: none; height: 0; line-height: 1px; font-size: 1px; }
33
34a img {
35        border:0;}
36
37
38
39p.spip {
40        margin:0 0 1em 0 !important;
41        padding:0 !important;}
42
43h3.spip {
44        font-size:1em !important;
45        font-weight:bold !important;
46        margin:1em 0 0 0 !important;}
47
48
49.header {
50        padding:.8em;
51        background-color:#E00000;}
52
53.LogoPCF {
54        position: relative;
55        display: inline;
56        margin: 22px 0 0 30px;
57        padding: 0;
58        float: left;}
59
60.NomSite {
61        text-align:left;
62        margin:0 0 0 30px;
63        padding:0;
64        font-family:Verdana, Arial, Helvetica, sans-serif;
65        font-size:12px;
66        color:#FFF;}
67
68.NomSite a {
69        color:#FFF;}
70
71.NomSite a:hover {
72        color:#FFFF00;}
73
74
75.liberezvous {
76        padding:5px;
77        background-color:#FFFFFF;
78        border:1px solid #E00000;
79        text-align:center;
80        margin-bottom:5px;
81}
82
83.BandoSite{
84        position: relative;
85        top: 4px;
86        padding:0;
87        margin: 0 15px 0 15px;
88        float:left;
89        z-index: 0;}
90
91.container{
92        margin:1em 2em 2em 1em;
93        padding-bottom:.2em;
94        text-align:center;}
95
96.liste {
97        width:500px;
98        text-align:left;}
99
100.logo {
101        float:left;
102        margin:12px 0.5em 0 0;}
103
104
105
106
107p > a, b > a {
108        text-decoration:underline !important;
109        color:#E00000;}
110
111p > a:hover, b > a:hover {
112        font-style: italic !important;}
113
114p {
115        font-size:12px;
116        color:#000000;
117        line-height:14px;
118        text-align:justify;
119        margin:12px 0 2em 0;}
120
121
122.ligne {
123        border-bottom:1px solid #E00000;
124        margin-bottom:1em;}
125
126.Suite_02 {
127        float:right;
128        font-size:12px;
129        background-image:url(#URL_SITE_SPIP/squelettes/icono/fl_o.gif);
130        background-repeat:no-repeat;
131        padding:0 0 0 15px;
132        margin:.5em 0 0 0;}
133
134.Suite_02 a {
135        color:#E00000;}
136
137.logo {
138        float:left;
139        margin:12px 0.5em 0 0;}
140
141
142h3 {
143        font-weight:normal;
144        font-size:12px;
145        margin:0;
146        padding:0;
147        color:#000000;}
148
149h2 {
150        font-weight:normal;
151        font-size:15px;
152        margin:0;
153        padding:0;
154        color:#000000;}
155
156h4 {
157        font-size:12px;
158        margin:1.5em 2em 0 1.5em;
159        text-transform: uppercase;}
160.date{
161       
162        background-color:#eeeeee;
163        padding:0.2em;
164        font-style:italic;}
165
166
167
168</style>
169
170
171<div class="header">
172        <a href="#URL_SITE_SPIP"><img src="#URL_SITE_SPIP/squelettes/icono/logo.gif" alt="Parti Communiste Français" class="LogoPCF"></a>               
173        <div class="BandoSite">[(#LOGO_SITE_SPIP||liens_absolus|reduire_image{405,0})]</div>
174        <br class="nettoyeur" />
175        <div class="NomSite">[(#NOM_SITE_SPIP)][&nbsp;|&nbsp;(#DESCRIPTIF_SITE_SPIP)]</div>
176        <br class="nettoyeur" />
177</div>
178<br />
179<table border="0" cellspacing="0" cellpadding="0" class="liste" align="center">
180  <tr>
181    <td>
182                <h2>#ENV{sujet}</h2>
183                <p><b>#ENV{message}</b></p>
184                <div class="ligne">&nbsp;</div>
185
186                <B_articlesDate>
187                        <BOUCLE_articlesDate(ARTICLES){age_relatif< 0}{id_rubrique ?}{id_mot ?}{par date}{inverse}>
188                                <!-- Affiche logo si pas vidéo -->
189                                <BOUCLE_agenda(MOTS){titre=AGENDA}{id_article}>#SET{type, agenda}</BOUCLE_agenda>
190                                <!-- SI agenda -->
191                                [(#GET{type}|!={'agenda'}|?{'',' '})
192                                        [<div class="jour">[(#DATE_REDAC|nom_jour)] (#DATE_REDAC|affdate_jourcourt)[ - (#DATE_REDAC|affdate{'H:i'})]</div>]
193                                ]
194                                [<h3>(#SURTITRE|textebrut|supprimer_numero) :</h3>]
195                                 <h2>[(#TITRE|textebrut|supprimer_numero)]</h2>
196                                [(#LOGO_ARTICLE||reduire_image{300, 0}|liens_absolus|inserer_attribut{class,logo})]
197                                [<p><b>(#CHAPO|liens_absolus)</b></p>]
198                                <!-- SI PAS agenda -->
199                                [(#GET{type}|=={'agenda'}|?{'',' '})<p class="date">[(#DATE|affdate)]</p>]
200                                <a href="[(#URL_ARTICLE|url_absolue)]" class="Suite_02">Lire l'article</a>
201                                <br class="nettoyeur" />
202                                <div class="ligne">&nbsp;</div>
203                        </BOUCLE_articlesDate>
204                </B_articlesDate>
205
206
207                <//B_articlesDate>
208        </td>
209  </tr>
210</table>
211<div class="header">
212<div class="liberezvous"><a href="http://www.framasoft.net/rubrique2.html" target="_blank"><img src="#URL_SITE_SPIP/squelettes/icono/Liberez-vous_Bleu_Ptt.gif" class="LogoPCF"></a>    <br class="nettoyeur" /></div>
213
214</div>
215
216
217
218
219
220
221
Note: See TracBrowser for help on using the repository browser.