source: trunk/spip/esqueleto-redcta/plugins/magusine/squelettes/blocs/bloc-forum.html @ 162

Last change on this file since 162 was 80, checked in by guille, 16 years ago

el plugin completo

  • Property svn:executable set to *
File size: 1.8 KB
Line 
1<BOUCLE_forumart(ARTICLES){id_article}>
2<!-- forum -->
3<B_forums><div id="forum" class="listagebloc">
4<a name="forums"></a>
5<h2><:Forum:></h2>
6<ul class="listageconteneur">
7<BOUCLE_forums(FORUMS){id_article}{par date}>
8<li>
9<h4 class="listagetitre">#TITRE</h4>
10<div class="listageinfo">[(#DATE|affdate)][, <:par_auteur:> <a href="mailto:#EMAIL">(#NOM)</a>]</div>
11<p class="listagetexte">[(#TEXTE|ptobr)]</p>
12[<div class="listagesite"><:voir_en_ligne:> : <a href="(#URL_SITE)" target="_blank"> [(#NOM_SITE|sinon{#URL_SITE})]</a></div>]
13[(#ENV{parametre}|!={1 niveau}|?{' ',''})[<div class="listagerepondre"><a id="lien_forum#ID_FORUM" href="spip.php?page=forum&amp;(#PARAMETRES_FORUM)"><:repondre_message:></a></div>]]
14
15<BOUCLE_siself(SPIP_ARTY_PARAMETRES){parametre=config_forum}{valeur=true}>
16[<!-- intervenir dans le forum -->
17<div id="intervention_forum#ID_FORUM">
18(#FORMULAIRE_FORUM)
19</div>]
20</BOUCLE_siself>
21
22<B_forums_fils>
23        <ul>
24        <BOUCLE_forums_fils(FORUMS){id_parent}{par date}>
25        <li>
26        <h4 class="listagetitre">#TITRE</h4>
27        <div class="listageinfo">[(#DATE|affdate)][, <:par_auteur:> <a href="mailto:#EMAIL">(#NOM)</a>]</div>
28        <p class="listagetexte">[(#TEXTE|ptobr)]</p>
29        [<div class="listagesite"><:voir_en_ligne:> : <a href="(#URL_SITE)" target="_blank"> [(#NOM_SITE|sinon{#URL_SITE})]</a></div>]
30       
31        [(#ENV{parametre}|=={multithread}|?{' ',''})[<div class="listagerepondre"><a id="lien_forum#ID_FORUM" href="spip.php?page=forum&amp;(#PARAMETRES_FORUM)"><:repondre_message:></a></div>]]
32       
33        <BOUCLE_siself2(SPIP_ARTY_PARAMETRES){parametre=config_forum}{valeur=true}>
34
35[<!-- intervenir dans le forum -->
36<div id="intervention_forum#ID_FORUM">
37(#FORMULAIRE_FORUM)
38</div>]
39</BOUCLE_siself2>
40        <BOUCLE_Forums_Boucle(boucle_forums_fils)></BOUCLE_Forums_Boucle>
41        </li>
42        </BOUCLE_forums_fils>
43        </ul>
44</B_forums_fils>
45</li>
46</BOUCLE_forums></ul></div></B_forums>
47</BOUCLE_forumart>
Note: See TracBrowser for help on using the repository browser.