source: trunk/spip/esqueleto-redcta/themes/alternatives/modeles/site_box.html @ 30

Last change on this file since 30 was 30, checked in by sebas, 17 years ago

nueva importacion del codigo del esqueleto de redcta con los plugins

File size: 784 bytes
Line 
1[(#REM)
2
3        Ce modele (a installer dans le dossier modeles/) permet d'afficher,
4        dans n'importe quel texte, une boite listant les 5 derniers liens
5        d'un site syndique ; il suffit d'employer la syntaxe <site1|box>
6        dans le texte a l'endroit ou on souhaite que la boite apparaisse.
7
8        Variantes : <site1|box|left>, <site1|box|center>...
9]
10
11<BOUCLE_j(SITES){id_syndic}>
12        <div style='[float:(#ALIGN|match{left|right});] margin[-(#ALIGN|match{left}|?{right}|sinon{#ALIGN|match{right}|?{left}})]:1em;' class='spip_modele'>
13                <h4><a href="#URL_SITE" [title="(#DESCRIPTIF|supprimer_tags|attribut_html)"]>#NOM_SITE</a></h4>
14                <ul>
15<BOUCLE_i(SYNDIC_ARTICLES){id_syndic}{par date}{inverse}{0,5}>
16                        <li><a href="#URL_ARTICLE" class="spip_out">#TITRE</a></li>
17</BOUCLE_i>
18                </ul>
19        </div>
20</BOUCLE_j>
Note: See TracBrowser for help on using the repository browser.