spip_nursit/plugins/dist/squelettes/z-dist/inclure/forum.html

92 lines
4.2 KiB
HTML
Raw Normal View History

2023-06-01 15:30:12 +00:00
[(#REM) Cette balise (invisible) provoque le recalcul du forum
la premiere fois qu'un message est poste (cf. inc/invalideur). ]
[(#PARAMETRES_FORUM|?{''})]
<a href="#forum" name="forum" id="forum"></a>
<div class="comments comments-thread" id="comments">
[(#REM) Nombre total de messages ]
<BOUCLE_decompte(FORUMS) {id_rubrique ?}{id_article ?}{id_breve ?}{id_syndic ?}{objet ?}{id_objet ?} {plat} />[<h2 class="h2">(#TOTAL_BOUCLE|>{0}|?{#TOTAL_BOUCLE,''})
[(#TOTAL_BOUCLE|=={1}|?{<:message:>,<:messages_forum:>})]</h2>]<//B_decompte>
[(#REM) Messages du forum ]
<B_forums>
<ul class="comments-items">
<BOUCLE_forums(FORUMS) {id_rubrique ?}{id_article ?}{id_breve ?}{id_syndic ?}{objet ?}{id_objet ?} {par date}>
<li class="comment-item[ (#COMPTEUR_BOUCLE|alterner{'odd','even'})][ (#COMPTEUR_BOUCLE|=={1}|oui)first][ (#EXPOSE)]">
<div class="comment comment-message">
<div class="comment-meta">
[(#LOGO_AUTEUR|image_reduire{64,64})]
<a href="#forum#ID_FORUM" title="#ID_FORUM" class="ancre permalink comment-number">#</a>
<strong class="#EDIT{titre} comment-titre"><a href="#forum#ID_FORUM" name="forum#ID_FORUM" id="forum#ID_FORUM">#TITRE</a></strong>
[(#DATE|oui)<abbr class="date"[ title="(#DATE|date_iso)"]>
[(#SET{date,[(#DATE|affdate_jourcourt)]})]
[(#SET{heure,[(#DATE|heures)][:(#DATE|minutes)]})]
<:zcore:date_forum{date=#GET{date},heure=#GET{heure}}:></abbr>]
[<span class="comment-author vcard"><span class="sep">,</span> <:par_auteur:> <strong class="fn n #EDIT{qui}">(#NOM)</strong></span>]
</div>
<div class="comment-content">
[<div class="#EDIT{texte} comment-texte">(#TEXTE|lignes_longues)</div>]
[<div class="comment-notes">(#NOTES|safehtml|lignes_longues)</div>]
[<p class="#EDIT{hyperlien} comment-external-link"><:voir_en_ligne:> : <a href="(#URL_SITE)" class="spip_out">[(#NOM_SITE|sinon{[(#URL_SITE|couper{80})]})]</a></p>]
<BOUCLE_doc(DOCUMENTS){id_forum}>
[(#EXTENSION|match{'^(gif|jpg|png)$'}|?{
[(#EMBED_DOCUMENT|image_reduire{300})]
,
[(#LOGO_DOCUMENT{#URL_DOCUMENT})]
})]
</BOUCLE_doc>
[<p class="comment-reply"><a href="(#PARAMETRES_FORUM|url_reponse_forum)" rel="noindex nofollow"><:forum:repondre_message:></a></p>]
</div>
</div>
<B_forums_fils>
<ul class="comments-items">
<BOUCLE_forums_fils(FORUMS) {id_parent} {par date}>
<li class="comment-item[ (#COMPTEUR_BOUCLE|alterner{'odd','even'})][ (#COMPTEUR_BOUCLE|=={1}|oui)first][ (#EXPOSE)]">
<div class="comment comment-message">
<div class="comment-meta">
[(#LOGO_AUTEUR|image_reduire{64})]
<a href="#forum#ID_FORUM" title="#ID_FORUM" class="ancre permalink comment-number">#</a>
<strong class="#EDIT{titre} comment-titre"><a href="#forum#ID_FORUM" name="forum#ID_FORUM" id="forum#ID_FORUM">#TITRE</a></strong>
[(#DATE|oui)<abbr class="date"[ title="(#DATE|date_iso)"]>
[(#SET{date,[(#DATE|affdate_jourcourt)]})]
[(#SET{heure,[(#DATE|heures)][:(#DATE|minutes)]})]
<:zcore:date_forum{date=#GET{date},heure=#GET{heure}}:></abbr>]
[<span class="comment-author vcard"><span class="sep">,</span> <:par_auteur:> <strong class="fn n #EDIT{qui}">(#NOM)</strong></span>]
</div>
<div class="comment-content">
[<div class="#EDIT{texte} comment-texte">(#TEXTE|lignes_longues)</div>]
[<div class="comment-notes">(#NOTES|safehtml|lignes_longues)</div>]
[<p class="#EDIT{hyperlien} comment-external-link"><:voir_en_ligne:> : <a href="(#URL_SITE)" class="spip_out">[(#NOM_SITE|sinon{[(#URL_SITE|couper{80})]})]</a></p>]
<BOUCLE_doc2(DOCUMENTS){id_forum}>
[(#EXTENSION|match{'^(gif|jpg|png)$'}|?{
[(#EMBED_DOCUMENT|image_reduire{300})]
,
[(#LOGO_DOCUMENT{#URL_DOCUMENT})]
})]
</BOUCLE_doc2>
[<p class="comment-reply"><a href="(#PARAMETRES_FORUM|url_reponse_forum)" rel="noindex nofollow"><:forum:repondre_message:></a></p>]
</div>
</div>
<BOUCLE_forums_boucle(boucle_forums_fils)></BOUCLE_forums_boucle>
</li>
</BOUCLE_forums_fils>
</ul>
</B_forums_fils>
</li>
</BOUCLE_forums>
</ul>
</B_forums>
</div>
[<p class="repondre comment-reply"><a href="(#ENV{repondre_url})" rel="noindex nofollow">#ENV{repondre_titre}</a></p>]