From 06f96eb8d76bb05235a545ee8381db80d5089794 Mon Sep 17 00:00:00 2001 From: "real3t@gmail.com" <> Date: Thu, 22 Oct 2015 17:50:14 +0000 Subject: [PATCH] =?UTF-8?q?Am=C3=A9lioration=20de=20la=20prise=20en=20char?= =?UTF-8?q?ge=20de=20Newsletters=20:=20-=20on=20continu=20=C3=A0=20pouvoir?= =?UTF-8?q?=20utiliser=20Courrier=5Flibre=20(qui=20sera=20affich=C3=A9=20e?= =?UTF-8?q?n=20premier)=20-=20mais=20on=20peu=20aussi=20s=C3=A9lectionner?= =?UTF-8?q?=20des=20articles=20qui=20seront=20affich=C3=A9s=20dans=20l'ord?= =?UTF-8?q?re=20de=20s=C3=A9lection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le titre, chapo et texte de la lettre sont affichés dans la colonne de droite (c'était plus pratique avec CleverMail d'avoir une présentation enregistrée pour décrire la lettre globalement, là , il faut saisir un texte à chaque fois) --- newsletters/lettre_libre.html | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/newsletters/lettre_libre.html b/newsletters/lettre_libre.html index 969dd2cd..839e1605 100644 --- a/newsletters/lettre_libre.html +++ b/newsletters/lettre_libre.html @@ -7,7 +7,9 @@ #SET{c_titraille_links,(#CONFIG{soyezcreateurs_couleurs/titraille_lettre,02265a}|replace{#,''})} <BOUCLE_Lettre(NEWSLETTERS){id_newsletter}{statut?}{lang_select}> -<BOUCLE_articles(ARTICLES){statut IN publie,prop}{titre_mot=Courrier_libre}{!par date}{0,1}> +<BOUCLE_selectionarticles_oldfashion(ARTICLES){statut IN publie,prop}{titre_mot=Courrier_libre}{!par date}{0,1} {doublons articleslettre} /> +<BOUCLE_selectionarticles(ARTICLES){id_newsletter} {doublons articleslettre} /> +<B_articles> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> @@ -148,6 +150,16 @@ text-decoration: none; } + td.mainbar h1 { + font-family: 'Lucida Grande', sans-serif; + font-size: 24px; + 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 h2 { font-family: 'Lucida Grande', sans-serif; font-size: 16px; @@ -251,8 +263,8 @@ <td class="mainbar" align="left" valign="top" width="354"> <h3>[(#DATE|affdate)]</h3> <!-- CutHere --> - - <h2>#TITRE</h2> + <BOUCLE_articles(ARTICLES){!doublons articleslettre}> + <h1>#TITRE</h1> [<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)] @@ -260,13 +272,14 @@ [<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> - + </BOUCLE_articles> </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|attribut_html)]">[(#NOM_SITE_SPIP|replace{<sub>.*</sub>,''}|replace{<sup>.*</sup>,''})]</a></h3> - <h3>#LST_NAME</h3> - [(#LST_COMMENT|propre)] + <h2><a href="#URL_SITE_SPIP" title="[(#DESCRIPTIF_SITE_SPIP|attribut_html)]">[(#NOM_SITE_SPIP|replace{<sub>.*</sub>,''}|replace{<sup>.*</sup>,''})]</a></h2> + <h3>#_Lettre:TITRE</h3> + [<div>(#_Lettre:CHAPO)</div>] + [<div>(#_Lettre:TEXTE)</div>] [(#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}" alt="Small hr" width="192" height="28" /> @@ -325,5 +338,6 @@ </body> </html> -</BOUCLE_articles> -</BOUCLE_Lettre> \ No newline at end of file +</B_articles> +</BOUCLE_Lettre> +#FILTRE{newsletters_liens_absolus} \ No newline at end of file -- GitLab