You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
328 lines
12 KiB
328 lines
12 KiB
#CACHE{0}#HTTP_HEADER{Content-type: text/html; charset=#CHARSET} |
|
#SET{c_header,(#CONFIG{soyezcreateurs_couleurs/header_lettre,02265a}|replace{#,''})} |
|
#SET{c_header_bk,(#CONFIG{soyezcreateurs_couleurs/header_lettre_bk,ffffff}|replace{#,''})} |
|
#SET{c_titraille_links,(#CONFIG{soyezcreateurs_couleurs/titraille_lettre,02265a}|replace{#,''})} |
|
|
|
<BOUCLE_Lettre(CM_LISTS){lst_id}> |
|
<BOUCLE_articles(ARTICLES){statut IN publie,prop}{titre_mot=Courrier_libre}{!par date}{0,1}> |
|
<html> |
|
<head> |
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
<title>[(#TITRE|textebrut)] - [(#NOM_SITE_SPIP| |
|
replace{<sub>.*</sub>,''}| |
|
replace{<sup>.*</sup>,''}|textebrut)]</title> |
|
<style type="text/css" media="screen"> |
|
[(#REM) Recuperation des CSS par defaut de SPIP ] |
|
[(#INCLURE{#CHEMIN{spip_style.css}|url_absolue_css}|compacte{css})] |
|
body { |
|
margin: 0; |
|
padding: 0; |
|
background-color: #ffffff; |
|
} |
|
|
|
td.permission { |
|
padding: 20px 0 20px 0; |
|
} |
|
|
|
td.permission p { |
|
font-family: 'Lucida Grande', sans-serif; |
|
font-size: 10px; |
|
font-weight: normal; |
|
color: #151515; |
|
} |
|
|
|
td.permission p a { |
|
font-family: 'Lucida Grande', sans-serif; |
|
font-size: 10px; |
|
font-weight: normal; |
|
color: ##GET{c_titraille_links}; |
|
} |
|
|
|
td.header { |
|
background-repeat: no-repeat; |
|
background-position: top center; |
|
background-color: ##GET{c_header_bk}; |
|
height: 130px; |
|
} |
|
|
|
td.header h1 { |
|
font-family: Georgia, serif; |
|
font-size: 30px; |
|
font-weight: normal; |
|
color: #333333; |
|
margin-left: 50px; |
|
margin-bottom: 24px; |
|
} |
|
|
|
table.content { |
|
background-color: #f5f5f5; |
|
} |
|
|
|
td.sidebar a { |
|
font-family: 'Lucida Grande', sans-serif; |
|
font-size: 11px; |
|
font-weight: normal; |
|
color: ##GET{c_titraille_links}; |
|
text-decoration: none; |
|
} |
|
td.sidebar h3 a { |
|
font-size: 20px; |
|
font-weight: normal; |
|
} |
|
|
|
td.sidebar ul { |
|
margin: 0 0 0 24px; |
|
padding: 0; |
|
} |
|
|
|
td.sidebar ul li { |
|
font-family: 'Lucida Grande', sans-serif; |
|
font-size: 12px; |
|
font-weight: normal; |
|
color: #333333; |
|
} |
|
td.sidebar ul li a { |
|
font-family: 'Lucida Grande', sans-serif; |
|
font-size: 12px; |
|
font-weight: normal; |
|
color: ##GET{c_titraille_links}; |
|
} |
|
|
|
td.sidebar h3 { |
|
font-family: 'Lucida Grande', sans-serif; |
|
font-size: 16px; |
|
font-weight: bold; |
|
color: #333333; |
|
margin: 10px 0 14px 0; |
|
padding: 0; |
|
} |
|
|
|
td.sidebar h3.buttons { |
|
font-family: 'Lucida Grande', sans-serif; |
|
font-size: 16px; |
|
font-weight: bold; |
|
color: #333333; |
|
margin: 0 0 4px 0; |
|
padding: 0; |
|
} |
|
|
|
td.sidebar h4 { |
|
font-family: 'Lucida Grande', sans-serif; |
|
font-size: 13px; |
|
font-weight: bold; |
|
color: #333333; |
|
margin: 0 0 2px 0; |
|
padding: 0; |
|
} |
|
|
|
td.sidebar p { |
|
font-family: 'Lucida Grande', sans-serif; |
|
font-size: 11px; |
|
font-weight: normal; |
|
color: #505050; |
|
margin: 0 0 13px 0; |
|
padding: 0; |
|
} |
|
|
|
td.sidebar p.buttons { |
|
font-family: 'Lucida Grande', sans-serif; |
|
font-size: 11px; |
|
font-weight: normal; |
|
color: #505050; |
|
margin: 0 0 4px 0; |
|
padding: 0; |
|
} |
|
|
|
td.border { |
|
border-right: 2px solid #e0e0e0; |
|
} |
|
|
|
td.mainbar a { |
|
font-family: 'Lucida Grande', sans-serif; |
|
font-size: 12px; |
|
font-weight: normal; |
|
color: ##GET{c_titraille_links}; |
|
text-decoration: none; |
|
} |
|
|
|
td.mainbar h2 { |
|
font-family: 'Lucida Grande', sans-serif; |
|
font-size: 16px; |
|
font-weight: bold; |
|
color: ##GET{c_titraille_links}; |
|
margin: 0 0 4px 0; |
|
padding: 0 0 4px 0; |
|
border-bottom: 1px solid #cbcbcb; |
|
} |
|
|
|
td.mainbar h3 { |
|
font-family: Georgia, serif; |
|
font-size: 16px; |
|
font-weight: normal; |
|
color: #333333; |
|
margin: 10px 0 14px 0; |
|
padding: 0; |
|
} |
|
|
|
td.mainbar p { |
|
font-family: 'Lucida Grande', sans-serif; |
|
font-size: 12px; |
|
font-weight: normal; |
|
color: #333333; |
|
margin: 0 0 16px 0; |
|
padding: 0; |
|
} |
|
|
|
td.mainbar p.top { |
|
font-family: 'Lucida Grande', sans-serif; |
|
font-size: 10px; |
|
font-weight: bold; |
|
color: ##GET{c_titraille_links}; |
|
margin: 0 0 30px 0; |
|
padding: 0; |
|
} |
|
|
|
td.mainbar p.top a { |
|
font-family: 'Lucida Grande', sans-serif; |
|
font-size: 10px; |
|
font-weight: bold; |
|
color: ##GET{c_titraille_links}; |
|
} |
|
|
|
td.mainbar ul { |
|
font-family: 'Lucida Grande', sans-serif; |
|
font-size: 12px; |
|
font-weight: normal; |
|
color: #333333; |
|
margin: 0 0 20px 24px; |
|
padding: 0; |
|
} |
|
|
|
td.footer { |
|
padding: 20px 0 20px 0; |
|
} |
|
|
|
td.footer p { |
|
font-family: 'Lucida Grande', sans-serif; |
|
font-size: 10px; |
|
font-weight: normal; |
|
color: #151515; |
|
} |
|
</style> |
|
|
|
</head> |
|
<body> |
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
<tr> |
|
<td align="center"> |
|
|
|
<table width="580" border="0" cellspacing="0" cellpadding="0"> |
|
<tr> |
|
<td class="header" align="left" valign="bottom"> |
|
[(#SET{logonewsletter,[(#LOGO_SITE_SPIP_NORMAL|extraire_attribut{src}|supprimer_timestamp|pathinfo{#CONST{PATHINFO_EXTENSION}}|!={svg}|?{#LOGO_SITE_SPIP_NORMAL,#CHEMIN{images/1.gif}})]})] |
|
[(#SET{imgheader,[(#CHEMIN{lettres/header_newsletter_#LST_ID.jpg}|sinon{#CHEMIN{lettres/header_newsletter.jpg}}|sinon{[(#CHEMIN{lettres/header.jpg}| |
|
image_sepia{#GET{c_header_bk}}| |
|
appliquer_filtre{image_smush_debrayer,force=true}| |
|
image_masque{[(#LST_NAME| |
|
replace{<sub>.*</sub>,''}| |
|
replace{<sup>.*</sup>,''}| |
|
image_typo{police=AndBasR.ttf,largeur=460,couleur=#GET{c_header},taille=32,padding=20}| |
|
image_format{png}| |
|
image_recadre{580,110,center left,transparent}| |
|
image_recadre{580,130,top left,transparent}| |
|
extraire_attribut{src})], |
|
mode=normal}| |
|
image_masque{[(#GET{logonewsletter}| |
|
image_aplatir{png,#GET{c_header_bk}}| |
|
image_reduire{0,100}| |
|
image_recadre{570,105,bottom right,transparent}| |
|
image_recadre{580,130,top left,transparent}| |
|
extraire_attribut{src})], |
|
mode=normal}|appliquer_filtre{image_smush_embrayer,force=true}|image_smush|extraire_attribut{src})]})]})] |
|
<img src="[(#GET{imgheader}|url_absolue)]" alt="[(#LST_NAME|replace{<sub>.*</sub>,''}|replace{<sup>.*</sup>,''})]" width="[(#GET{imgheader}|largeur)]" height="[(#GET{imgheader}|hauteur)]" /> |
|
</td> |
|
</tr> |
|
<tr> |
|
<td> |
|
<table width="580" height="130" border="0" cellspacing="16" cellpadding="0" class="content"> |
|
<tr> |
|
<td class="mainbar" align="left" valign="top" width="354"> |
|
<h3>[(#DATE|affdate)]</h3> |
|
<!-- CutHere --> |
|
|
|
<h2>#TITRE</h2> |
|
[<div class="soustitre"><span>(#SOUSTITRE)</span></div>] |
|
[<div class="chapo">(#CHAPO|sinon{#DESCRIPTIF}|image_reduire{316,0}|liens_absolus)</div>] |
|
[(#TEXTE|image_reduire{316,0}|liens_absolus)] |
|
[<div class="ps">(#PS|image_reduire{316,0}|liens_absolus)</div>] |
|
[<div class="notes">(#NOTES)</div>] |
|
<!-- /CutHere --> |
|
<p class="top"><a href="#top" title="<:soyezcreateurs:retourtop|attribut_html:>"><:soyezcreateurs:retourtop:></a> <img src="[(#CHEMIN{lettres/top-arrow.gif}|image_sepia{#GET{c_header_bk}}|extraire_attribut{src}|url_absolue)]" alt="Back to top" width="8" height="8" /></p> |
|
|
|
</td> |
|
<td class="border" width="2"> </td> |
|
<td class="sidebar" align="left" valign="top" width="192"> |
|
<h3><a href="#URL_SITE_SPIP"[ title="(#DESCRIPTIF_SITE_SPIP|supprimer_tags|attribut_html)"]>[(#NOM_SITE_SPIP|replace{<sub>.*</sub>,''}|replace{<sup>.*</sup>,''})]</a></h3> |
|
<h3>#LST_NAME</h3> |
|
[(#LST_COMMENT|propre)] |
|
[(#INCLURE{fond=noisettes/cartouches/sommaire_cartouche,nombres_alanune=#CONFIG{soyezcreateurs_couleurs/nombres_alanune,4},nombres_quoideneuf=#CONFIG{soyezcreateurs_couleurs/nombres_quoideneuf,5}}|replace{'h2>','h3>'}|liens_absolus)] |
|
<img src="[(#CHEMIN{lettres/hr-small.gif}|url_absolue)]" alt="Small hr" width="192" height="28" /> |
|
|
|
<BOUCLE_ArticlesDessousBreves(RUBRIQUES){titre_mot = DessousBreves }><B_art_recents> |
|
<h3 [title="(#DESCRIPTIF|supprimer_tags|attribut_html)"]>#TITRE</h3> |
|
<ul> |
|
<BOUCLE_art_recents(ARTICLES) {id_rubrique}{!par date} {lang} {0,(#CONFIG{soyezcreateurs/nombres_dessousbreves,10})}> |
|
<li><a href="[(#ARTICLE_URL|url_absolue)]"[ title="(#DESCRIPTIF|supprimer_tags|attribut_html)[ ((#INCLURE{fond=noisettes/aff_datepublication,id_article}|supprimer_tags))]"]>[(#TITRE|image_reduire{200,0})]</a></li> |
|
</BOUCLE_art_recents> |
|
</ul> |
|
</B_art_recents></BOUCLE_ArticlesDessousBreves> |
|
<img src="[(#CHEMIN{lettres/hr-small.gif}|url_absolue)]" alt="Small hr" width="192" height="28" /> |
|
</B_ArticlesDessousBreves> |
|
|
|
<B_DernieresLettres> |
|
<h3>Derniers courriers envoyés</h3> |
|
<ul> |
|
<BOUCLE_DernieresLettres(CM_POSTS){lst_id}{pst_date_sent!=0}{!par pst_date_sent}{0,5}> |
|
<li><a href="[(#URL_PAGE{liste_mail,pst_id=#PST_ID}|url_absolue)]"[ title="(#PST_SUBJECT|supprimer_tags|attribut_html)"]>#PST_SUBJECT</a></li> |
|
</BOUCLE_DernieresLettres> |
|
</ul> |
|
<img src="[(#CHEMIN{lettres/hr-small.gif}|url_absolue)]" alt="Small hr" width="192" height="28" /> |
|
</B_DernieresLettres> |
|
|
|
<h3 class="buttons">Transmettre</h3> |
|
<p class="buttons">Vous connaissez quelqu'un qui serait intéressé par cet email ? N'hésitez pas à le lui transmettre.</p> |
|
<img src="[(#CHEMIN{lettres/hr-small.gif}|url_absolue)]" alt="Small hr" width="192" height="28" /> |
|
|
|
<h3 class="buttons">Désabonnement</h3> |
|
<p class="buttons">Vous pouvez vous <a href="@@URL_DESINSCRIPTION@@" title="Desabonner">désabonner</a> de cette newsletter.</p> |
|
|
|
</td> |
|
</tr> |
|
</table> |
|
</td> |
|
</tr> |
|
</table> |
|
<table width="646" border="0" cellspacing="0" cellpadding="0"> |
|
<tr> |
|
<td><img src="[(#CHEMIN{lettres/footer-tail.jpg}|url_absolue)]" alt="Footer" width="646" height="87" /></td> |
|
</tr> |
|
[<tr> |
|
<td align="center" class="footer">(#CONFIG{soyezcreateurs/bandeau_contact}|propre|sc_exclude_newsletter)</td> |
|
</tr>] |
|
<tr> |
|
<td class="permission" align="center"> |
|
<p>Vous avez reçu ce courrier de la part du site :[ (#NOM_SITE_SPIP|supprimer_tags)]</p> |
|
<p>Si ce courrier ne s'affiche pas, vous pouvez le <a href="#URL_SITE_SPIP/spip.php?page=liste_mail&pst_id=@@ID_LETTRE@@">visualiser sur le site</a>.</p> |
|
<p>Vous pouvez vous <a href="@@URL_DESINSCRIPTION@@" title="Desabonner">désabonner</a> de cette newsletter.</p> |
|
</td> |
|
</tr> |
|
</table> |
|
</td> |
|
</tr> |
|
</table> |
|
|
|
</body> |
|
</html> |
|
</BOUCLE_articles> |
|
</BOUCLE_Lettre> |