fix : une erreur PHP avec image_aplatir avec 1.gif

Avec 1.png, plus d'erreur
master
RealET 2 months ago
parent dabdb9fba4
commit d7cd80d167

@ -212,11 +212,11 @@
<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{logonewsletter,[(#LOGO_SITE_SPIP_NORMAL|extraire_attribut{src}|supprimer_timestamp|pathinfo{#CONST{PATHINFO_EXTENSION}}|!={svg}|?{#LOGO_SITE_SPIP_NORMAL,#CHEMIN{images/1.png}})]})]
[(#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}|
@ -233,7 +233,7 @@
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}|
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)]" />
@ -246,7 +246,7 @@
<td class="mainbar" align="left" valign="top" width="354">
<h3>[(#DATE|affdate)]</h3>
<!-- CutHere -->
<BOUCLE_articles(ARTICLES){age_relatif<=0}{par date}{inverse}{0,20}{doublons}>
[<h2><a href="[(#URL_ARTICLE|url_absolue)]">(#TITRE)</a></h2>]
[(#CONFIG{soyezcreateurs/anonymatglobal,on}|!={on}|oui)<p>[par (#LESAUTEURS|textebrut)][ le (#DATE|affdate)]</p>]
@ -259,7 +259,7 @@
<h3><a href="#URL_SITE_SPIP"[ title="(#DESCRIPTIF_SITE_SPIP|attribut_html)"]>[(#NOM_SITE_SPIP|replace{<sub>.*</sub>,''}|replace{<sup>.*</sup>,''})]</a></h3>
<h3>#LST_NAME</h3>
[(#LST_COMMENT|propre)]
<BOUCLE_ArticlesDessousBreves(RUBRIQUES){titre_mot = DessousBreves }><B_art_recents>
<h3 [title="(#DESCRIPTIF|supprimer_tags|attribut_html)"]>#TITRE</h3>
<ul>
@ -270,7 +270,7 @@
</B_art_recents></BOUCLE_ArticlesDessousBreves>
<img src="#CHEMIN{lettres/hr-small.gif}" alt="Small hr" width="192" height="28" />
</B_ArticlesDessousBreves>
<B_DernieresLettres>
<h3>Derniers courriers envoy&eacute;s</h3>
<ul>
@ -280,14 +280,14 @@
</ul>
<img src="#CHEMIN{lettres/hr-small.gif}" 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}" 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>
@ -315,4 +315,4 @@
</body>
</html>
</B_articles></BOUCLE_Lettre>
</B_articles></BOUCLE_Lettre>

@ -475,7 +475,7 @@
</tr>
<tr>#SET{valeur,#ENV{ombrepagenon}|is_null|?{on,#ENV{ombrepagenon}}}
<th><:soyezcreateursprive:cfg_page:> : <input type="hidden" name="ombrepagenon" value="" /><input type="checkbox" name="ombrepagenon" class="checkbox" id='champ_ombrepagenon'[ (#GET{valeur}|=={on}|oui)checked='checked'] value='on' /><label for="champ_ombrepagenon"><:soyezcreateursprive:cfg_ombrenon:></label></th>
<td><INCLURE{fond=formulaires/inc/config_couleurs,
color=#ENV{ombrepagecouleur,#aaaaaa},nobk=oui,nosample=oui,nocell=oui,
name=ombrepagecouleur}>
@ -547,7 +547,7 @@
</tr>
<tr>
<td colspan="5">
[(#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{logonewsletter,[(#LOGO_SITE_SPIP_NORMAL|extraire_attribut{src}|supprimer_timestamp|pathinfo{#CONST{PATHINFO_EXTENSION}}|!={svg}|?{#LOGO_SITE_SPIP_NORMAL,#CHEMIN{images/1.png}})]})]
<img src="[(#CHEMIN{lettres/header.jpg}|
image_sepia{[(#ENV{header_lettre_bk,#ffffff}|replace{#,''})]}|
appliquer_filtre{image_smush_debrayer,force=true}|

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 B

@ -12,7 +12,7 @@
// **********************************************************************
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// **********************************************************************
//
// Presets
@ -21,14 +21,14 @@
// Même si ça marche, le résultat du test jQL était un doublement du temps de chargement
// jQuery(function(){
var jp_blankpic='#CHEMIN{images/1.gif}';
var jp_blankpic='#CHEMIN{images/1.png}';
var jp_onclass='menu_plus';
var jp_offclass='menu_minus';
var jp_picalt='<:soyezcreateurs:menu_picalt:>';
var jp_strDeplier='<:soyezcreateurs:menu_deplier:>';
var jp_strReplier='<:soyezcreateurs:menu_replier:>';
var jp_parentID = [[(#CONFIG{soyezcreateurs_layout/menuderoulant,replie}|=={replie}|oui)'menu',] 'sidr-main', 'sidr-navigation'];
// Checking for DOM compatibility
// Checking for DOM compatibility
if (document.getElementById && document.createTextNode && document.createElement){jp_canDOM=true}
function jp_expinit(){
@ -102,7 +102,7 @@ function jp_ex(jp_n,jp_event){
return false;
}
}
}
}
}
function inputKeyHandler(ev) {
ev = ev || event;
@ -192,20 +192,20 @@ function adjustLayout() {
}
;
function form_disable_auto(formid) {
if (jQuery(formid).length > 0) {
if (jQuery(formid).length > 0) {
jQuery(formid).attr('spellcheck','false');
jQuery(formid).attr('autocapitalize','off');
}
}
}
/* FUNCTIONS ON ALL PAGES */
function myInitPages() {
/* HOME SPECIAL FEATURE */
if (jQuery('#homeSpecialFeature').length > 0) {
if (jQuery('#homeSpecialFeature').length > 0) {
if (jQuery('.hSFItem').length>1) { initMyHomeSpecialFeature = myHomeSpecialFeature("#homeSpecialFeature",'hSFItem','hSFDecoImg','hSFDecoSpan'); }
}
if (jQuery('.sf-menu').length > 0) {
$(document).ready(function(){
$(document).ready(function(){
$(".sf-menu").superfish({
hoverClass: 'hover',
delay: 800
@ -219,7 +219,7 @@ function myInitPages() {
// Surligner l'evenement en cours
var id_anchor = location.hash.substr(1); //Get the word after the hash from the url
if (id_anchor) jQuery('#'+id_anchor).addClass('highlight_anchor'); // ajoute la classe highlight_anchor à l'element autour de l'ancre
// retourtop
jQuery(window).scroll(function () {
if (jQuery(this).scrollTop() > 300) {
@ -240,7 +240,7 @@ function myInitPages() {
});
]
jQuery(".escapelinks").one("focus", "a", function() { jQuery(".escapelinks").removeClass("escapelinks"); } );
form_disable_auto('#formulaire_recherche');
form_disable_auto('#session_nom');
form_disable_auto('#session_email');
@ -489,4 +489,4 @@ jQuery(window).ready(function() {
[(#CHEMIN{js/soyezcreateurs_perso.js}|?{'/* Surcharge eventuelle */'})
[(#INCLURE{#CHEMIN{js/soyezcreateurs_perso.js}|liens_absolus}|compacte{js})]
]
]

@ -1,327 +1,327 @@
#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 {
color: ##GET{c_titraille_links};
}
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: 'Lucida Grande', sans-serif;
font-size: 14px;
font-weight: bold;
color: ##GET{c_titraille_links};
margin: 10px 0 14px 0;
padding: 0;
text-align: left;
}
div.cadrecontenu { border: 1px solid ##GET{c_titraille_links}; margin-bottom:1em; padding:0.5em 6px; }
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 div.citation, td.mainbar div.auteur {
font-family: Georgia, serif;;
font-size: 14px;
font-weight: normal;
color: #333333;
margin: 0;
padding: 0;
}
td.mainbar div.auteur {
font-size: 12px;
margin-bottom: 2em;
text-align: right;
}
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" border="0" cellspacing="10" cellpadding="0" class="content">
<tr>
<td class="mainbar" align="left" valign="top" width="354">
[<div class="citation">(#SURTITRE)</div>]
[<div class="auteur">(#SOUSTITRE)</div>]
[<div class="chapo cadrecontenu">(#CHAPO|sinon{#DESCRIPTIF}|image_reduire{316,0}|liens_absolus)</div>]
[<div class="cadrecontenu">(#TEXTE|image_reduire{316,0}|liens_absolus)</div>]
[<div class="ps cadrecontenu">(#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})]" alt="Back to top" width="8" height="8" /></p>
</td>
<td class="border" width="2">&nbsp;</td>
<td class="sidebar" align="left" valign="top" width="192">
<p class="date">[(#DATE|affdate_mois_annee|UCFirst)]</p>
<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>
[(#SET{imghr,<img src="[(#CHEMIN{lettres/hr-small.gif})]" alt="Small hr" width="192" height="28" />})]
[(#LST_COMMENT|propre|replace{"<div class='hrspip'><hr class='spip' /></div>",#GET{imghr}})]
<img src="#CHEMIN{lettres/hr-small.gif}" alt="Small hr" width="192" height="28" />
<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}" 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}" 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&ccedil;u ce courrier de la part du site&nbsp;:[ (#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&amp;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>
#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 {
color: ##GET{c_titraille_links};
}
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: 'Lucida Grande', sans-serif;
font-size: 14px;
font-weight: bold;
color: ##GET{c_titraille_links};
margin: 10px 0 14px 0;
padding: 0;
text-align: left;
}
div.cadrecontenu { border: 1px solid ##GET{c_titraille_links}; margin-bottom:1em; padding:0.5em 6px; }
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 div.citation, td.mainbar div.auteur {
font-family: Georgia, serif;;
font-size: 14px;
font-weight: normal;
color: #333333;
margin: 0;
padding: 0;
}
td.mainbar div.auteur {
font-size: 12px;
margin-bottom: 2em;
text-align: right;
}
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.png}})]})]
[(#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" border="0" cellspacing="10" cellpadding="0" class="content">
<tr>
<td class="mainbar" align="left" valign="top" width="354">
[<div class="citation">(#SURTITRE)</div>]
[<div class="auteur">(#SOUSTITRE)</div>]
[<div class="chapo cadrecontenu">(#CHAPO|sinon{#DESCRIPTIF}|image_reduire{316,0}|liens_absolus)</div>]
[<div class="cadrecontenu">(#TEXTE|image_reduire{316,0}|liens_absolus)</div>]
[<div class="ps cadrecontenu">(#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})]" alt="Back to top" width="8" height="8" /></p>
</td>
<td class="border" width="2">&nbsp;</td>
<td class="sidebar" align="left" valign="top" width="192">
<p class="date">[(#DATE|affdate_mois_annee|UCFirst)]</p>
<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>
[(#SET{imghr,<img src="[(#CHEMIN{lettres/hr-small.gif})]" alt="Small hr" width="192" height="28" />})]
[(#LST_COMMENT|propre|replace{"<div class='hrspip'><hr class='spip' /></div>",#GET{imghr}})]
<img src="#CHEMIN{lettres/hr-small.gif}" alt="Small hr" width="192" height="28" />
<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}" 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}" 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&ccedil;u ce courrier de la part du site&nbsp;:[ (#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&amp;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>

@ -1,328 +1,328 @@
#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">&nbsp;</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&eacute;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&ccedil;u ce courrier de la part du site&nbsp;:[ (#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&amp;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>
#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.png}})]})]
[(#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">&nbsp;</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&eacute;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&ccedil;u ce courrier de la part du site&nbsp;:[ (#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&amp;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>

@ -1,338 +1,338 @@
#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;
}