--- /dev/null
+[(#REM) Cette balise (invisible) provoque le recalcul du forum\r
+la premiere fois qu'un message est poste (cf. inc/invalideur). ]\r
+[(#PARAMETRES_FORUM|?{''})]\r
+[(#SET{titre_noisette, #ENV{titre_noisette}|sinon{nb_messages}})]\r
+[(#SET{titre,[(#GET{titre_noisette}|=={titre_perso}|?{[(#ENV**{titre_noisette_perso}|propre)],[(#GET{titre_noisette}|_T)]})]})]\r
+[(#SET{thread, #ENV{thread}|sinon{complet}})]\r
+\r
+<a href="#forum" name="forum" id="forum"></a>\r
+<div class="comments" id="comments">\r
+ <BOUCLE_test_titre(CONDITION){si (#GET{titre_noisette}|=={nb_messages}|et{#ENV{afficher_titre_noisette}})}>\r
+ [(#REM) Nombre total de messages ]\r
+ <BOUCLE_decompte(FORUMS) {id_rubrique ?}{id_article ?}{id_breve ?}{id_syndic ?} {plat} />[<h2 class="h2">(#TOTAL_BOUCLE|>{0}|?{#TOTAL_BOUCLE,''})\r
+ [(#TOTAL_BOUCLE|=={1}|?{<:message:>,<:messages_forum:>})]</h2>]<//B_decompte>\r
+ </BOUCLE_test_titre>\r
+ <BOUCLE_decompte2(FORUMS) {id_rubrique ?}{id_article ?}{id_breve ?}{id_syndic ?} {plat} {0,1}>[(#ENV{afficher_titre_noisette}|oui)[<h2 class="h2">(#GET{titre})</h2>]]</BOUCLE_decompte2>\r
+ <//B_test_titre>\r
+ \r
+ <BOUCLE_test_thread_complet(CONDITION){si (#GET{thread}|=={complet})}>\r
+ <B_comments-pieds>\r
+ <ul class="forum comments-ul thread-complet">\r
+ <BOUCLE_comments-pieds(FORUMS) {statut IN publie} {id_rubrique ?}{id_article ?}{id_breve ?}{id_syndic ?} {par date}{inverse #ENV{senstri}}>\r
+ <li class="forum-fil comment-li[ (#COMPTEUR_BOUCLE|alterner{'odd','even'})][ (#COMPTEUR_BOUCLE|=={1}|oui)first][ (#EXPOSE)] #ME">\r
+ [(#MODELE{comment}{id_forum}{afficher_logo_auteur}{afficher_titre_message}{taille_max_logo}{repondre=oui}{thread=oui}{formulaire_reponse_volant})]\r
+ <B_comments-fils>\r
+ <ul class="comments-ul comments-fils">\r
+ <BOUCLE_comments-fils(FORUMS){id_parent}{par date}>\r
+ <li class="forum-fil comment-li[ (#COMPTEUR_BOUCLE|alterner{'odd','even'})][ (#COMPTEUR_BOUCLE|=={1}|oui)first][ (#EXPOSE)] #ME">\r
+ [(#MODELE{comment}{id_forum}{afficher_logo_auteur}{afficher_titre_message}{taille_max_logo}{repondre=oui}{thread=oui}{formulaire_reponse_volant})]\r
+ <BOUCLE_comments-fils-etc(boucle_comments-fils)></BOUCLE_comments-fils-etc>\r
+ </li>\r
+ </BOUCLE_comments-fils>\r
+ </ul>\r
+ </B_comments-fils>\r
+ </li>\r
+ </BOUCLE_comments-pieds>\r
+ </ul>\r
+ </B_comments-pieds>\r
+ </BOUCLE_test_thread_complet>\r
+\r
+ <BOUCLE_test_thread_simple(CONDITION){si (#GET{thread}|=={simple})}>\r
+ <B_comments-pieds2>\r
+ <ul class="forum comments-ul thread-simple">\r
+ <BOUCLE_comments-pieds2(FORUMS) {statut IN publie} {id_rubrique ?}{id_article ?}{id_breve ?}{id_syndic ?} {par date}{inverse #ENV{senstri}}>\r
+ <li class="forum-fil comment-li[ (#COMPTEUR_BOUCLE|alterner{'odd','even'})][ (#COMPTEUR_BOUCLE|=={1}|oui)first][ (#EXPOSE)] #ME">\r
+ <B_comments-fils2>\r
+ [(#MODELE{comment}{id_forum}{afficher_logo_auteur}{afficher_titre_message}{taille_max_logo}{thread=oui}{formulaire_reponse_volant})]\r
+ <ul class="comments-ul comments-fils">\r
+ <BOUCLE_comments-fils2(FORUMS){id_thread}{id_forum!=#ID_FORUM}{plat}{par date}>\r
+ <li class="forum-fil comment-li[ (#COMPTEUR_BOUCLE|alterner{'odd','even'})][ (#COMPTEUR_BOUCLE|=={1}|oui)first][ (#EXPOSE)] #ME">\r
+ [(#SET{repondre,#COMPTEUR_BOUCLE|=={#TOTAL_BOUCLE}})]\r
+ [(#MODELE{comment}{id_forum}{afficher_logo_auteur}{afficher_titre_message}{taille_max_logo}{repondre=#GET{repondre}}{thread=oui}{formulaire_reponse_volant})]\r
+ </li>\r
+ </BOUCLE_comments-fils2>\r
+ </ul>\r
+ </B_comments-fils2>\r
+ [(#MODELE{comment}{id_forum}{afficher_logo_auteur}{afficher_titre_message}{taille_max_logo}{thread=oui}{formulaire_reponse_volant}{repondre='on'})]\r
+ <//B_comments-fils2>\r
+ </li>\r
+ </BOUCLE_comments-pieds2>\r
+ </ul>\r
+ </B_comments-pieds2>\r
+ </BOUCLE_test_thread_simple>\r
+ \r
+ <B_comments-list>\r
+ <ul class="forum comments-ul plat">\r
+ <BOUCLE_comments-list(FORUMS) {statut IN publie} {id_rubrique ?}{id_article ?}{id_breve ?}{id_syndic ?} {plat} {par date}{inverse #ENV{senstri}}>\r
+ <li class="forum-fil comment-li[ (#COMPTEUR_BOUCLE|alterner{'odd','even'})][ (#COMPTEUR_BOUCLE|=={1}|oui)first][ (#EXPOSE)] #ME">\r
+ [(#MODELE{comment}{id_forum}{afficher_logo_auteur}{afficher_titre_message}{taille_max_logo}{formulaire_reponse_volant})]\r
+ </li>\r
+ </BOUCLE_comments-list>\r
+ </ul>\r
+ </B_comments-list>\r
+ \r
+ <//B_test_thread_simple>\r
+ <//B_test_thread_complet>\r
+</div>\r
+\r
+[(#ENV{formulaire_reponse_volant}|non)\r
+ [<p class="repondre"><a href="(#PARAMETRES_FORUM|url_reponse_forum)" rel="noindex nofollow">[(#ENV{repondre_objet}|_T)]</a></p>]\r
+]\r
+\r
+[(#ENV{formulaire_reponse_volant}|oui)\r
+[<div class="comment-form">\r
+ <a href="#forum-formulaire-principal" name="forum-formulaire-principal" id="forum-formulaire-principal"></a>\r
+ <h2 class="h2">[(#ENV{repondre_objet}|_T)]</h2>\r
+ (#FORMULAIRE_FORUM)\r
+ </div>\r
+ #INCLURE{fond=inclure/js_formulaire_reponse_volant}\r
+]]
\ No newline at end of file