Skip to content
Extraits de code Groupes Projets
lettre_libre_mono.html 12,4 ko
Newer Older
#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">
real3t@gmail.com's avatar
real3t@gmail.com a validé
   <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{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})],q
               mode=normal}|
               image_masque{[(#LOGO_SITE_SPIP_NORMAL|
                 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><a href="#URL_SITE_SPIP" title="[(#DESCRIPTIF_SITE_SPIP|attribut_html)]">[(#NOM_SITE_SPIP|replace{<sub>.*</sub>,''}|replace{<sup>.*</sup>,''})]</a></h3>
                     <!-- CutHere -->
                           <h2>#TITRE[, (#DATE|affdate)]</h2>
                     [<div class="soustitre"><span>(#SOUSTITRE)</span></div>]
                     [<div class="chapo">(#LST_COMMENT|propre)</div>]
                          <img src="#CHEMIN{lettres/hr-small.gif}" alt="Small hr" width="192" height="28" />
                     [<div class="chapo">(#CHAPO|sinon{#DESCRIPTIF}|image_reduire{508,0}|liens_absolus)</div>]
                     [(#TEXTE|image_reduire{508,0}|liens_absolus)]
                     [<div class="ps"><h3>P.-S.</h3>(#PS|image_reduire{508,0}|liens_absolus)</div>]
                     [<div class="notes">(#NOTES)</div>]
                     <!-- /CutHere -->
                          <B_ArticlesDessousBreves>
                    <img src="#CHEMIN{lettres/hr-small.gif}" 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}{id_article IN 839,767}{!par date} {lang}>
                              <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{508,0})]</a></li>
                           </BOUCLE_art_recents>
                        </ul>
                        </B_art_recents></BOUCLE_ArticlesDessousBreves>

                  <hr style="line-height:1px; color: #cacaca;">

                  <h3>Agenda</h3>
                  <span class="agenda_lettre">
                  [(#INCLURE{fond=noisettes/agenda/miniagenda_liste_prochains,id_evenement,lang})]
                  </span>

                     <p>Retrouvez-nous sur <a href="#URL_SITE_SPIP">le site des #NOM_SITE_SPIP</a>&nbsp;!</p>


                     <hr style="line-height:1px; color: #cacaca;">

                     <B_DernieresLettres>
                     <h3>Derni&egrave;res lettres envoy&eacute;es</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|attribut_html)]">#PST_SUBJECT</a></li>
                        </BOUCLE_DernieresLettres>
                     </ul>
                        
                     </B_DernieresLettres>
                     
                           <h3>Transmettre</h3><!--  class="buttons" -->
                           <p>Vous connaissez quelqu'un qui serait intéressé par cette newsletter ? N'hésitez pas à la lui transmettre.</p><!--  class="buttons" -->
                           <p class="buttons">Vous pouvez vous <a href="@@URL_DESINSCRIPTION@@" title="Desabonner">désabonner</a> de cette newsletter.</p>




                           <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>
                     </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)</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>