1 [(#REM) Cette balise (invisible) provoque le recalcul du forum
2 la premiere fois qu'un message est poste (cf. inc/invalideur). ]
3 [(#PARAMETRES_FORUM|?{''})]
4 [(#SET{titre_noisette, #ENV{titre_noisette}|sinon{nb_messages}})]
5 [(#SET{titre,[(#GET{titre_noisette}|=={titre_perso}|?{[(#ENV**{titre_noisette_perso}|propre)],[(#GET{titre_noisette}|_T)]})]})]
6 [(#SET{thread, #ENV{thread}|sinon{complet}})]
8 <a href=
"#forum" name=
"forum" id=
"forum"></a>
9 <div class=
"comments" id=
"comments">
10 <BOUCLE_test_titre(CONDITION){si (#GET{titre_noisette}|=={nb_messages}|et{#ENV{afficher_titre_noisette}})}
>
11 [(#REM) Nombre total de messages ]
12 <BOUCLE_decompte(FORUMS) {id_rubrique ?}{id_article ?}{id_breve ?}{id_syndic ?} {plat}
/>[
<h2 class=
"h2">(#TOTAL_BOUCLE|
>{
0}|?{#TOTAL_BOUCLE,''})
13 [(#TOTAL_BOUCLE|=={
1}|?{
<:message:>,
<:messages_forum:>})]
</h2>]<//B_decompte
>
15 <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>
18 <BOUCLE_test_thread_complet(CONDITION){si (#GET{thread}|=={complet})}
>
20 <ul class=
"forum comments-ul thread-complet">
21 <BOUCLE_comments-pieds(FORUMS) {statut IN publie} {id_rubrique ?}{id_article ?}{id_breve ?}{id_syndic ?} {par date}{inverse #ENV{senstri}}
>
22 <li class=
"forum-fil comment-li[ (#COMPTEUR_BOUCLE|alterner{'odd','even'})][ (#COMPTEUR_BOUCLE|=={1}|oui)first][ (#EXPOSE)] #ME">
23 [(#MODELE{comment}{id_forum}{afficher_logo_auteur}{afficher_titre_message}{taille_max_logo}{repondre=oui}{thread=oui}{formulaire_reponse_volant})]
25 <ul class=
"comments-ul comments-fils">
26 <BOUCLE_comments-fils(FORUMS){id_parent}{par date}
>
27 <li class=
"forum-fil comment-li[ (#COMPTEUR_BOUCLE|alterner{'odd','even'})][ (#COMPTEUR_BOUCLE|=={1}|oui)first][ (#EXPOSE)] #ME">
28 [(#MODELE{comment}{id_forum}{afficher_logo_auteur}{afficher_titre_message}{taille_max_logo}{repondre=oui}{thread=oui}{formulaire_reponse_volant})]
29 <BOUCLE_comments-fils-etc(boucle_comments-fils)
></BOUCLE_comments-fils-etc>
31 </BOUCLE_comments-fils>
35 </BOUCLE_comments-pieds>
38 </BOUCLE_test_thread_complet>
40 <BOUCLE_test_thread_simple(CONDITION){si (#GET{thread}|=={simple})}
>
42 <ul class=
"forum comments-ul thread-simple">
43 <BOUCLE_comments-pieds2(FORUMS) {statut IN publie} {id_rubrique ?}{id_article ?}{id_breve ?}{id_syndic ?} {par date}{inverse #ENV{senstri}}
>
44 <li class=
"forum-fil comment-li[ (#COMPTEUR_BOUCLE|alterner{'odd','even'})][ (#COMPTEUR_BOUCLE|=={1}|oui)first][ (#EXPOSE)] #ME">
46 [(#MODELE{comment}{id_forum}{afficher_logo_auteur}{afficher_titre_message}{taille_max_logo}{thread=oui}{formulaire_reponse_volant})]
47 <ul class=
"comments-ul comments-fils">
48 <BOUCLE_comments-fils2(FORUMS){id_thread}{id_forum!=#ID_FORUM}{plat}{par date}
>
49 <li class=
"forum-fil comment-li[ (#COMPTEUR_BOUCLE|alterner{'odd','even'})][ (#COMPTEUR_BOUCLE|=={1}|oui)first][ (#EXPOSE)] #ME">
50 [(#SET{repondre,#COMPTEUR_BOUCLE|=={#TOTAL_BOUCLE}})]
51 [(#MODELE{comment}{id_forum}{afficher_logo_auteur}{afficher_titre_message}{taille_max_logo}{repondre=#GET{repondre}}{thread=oui}{formulaire_reponse_volant})]
53 </BOUCLE_comments-fils2>
56 [(#MODELE{comment}{id_forum}{afficher_logo_auteur}{afficher_titre_message}{taille_max_logo}{thread=oui}{formulaire_reponse_volant}{repondre='on'})]
59 </BOUCLE_comments-pieds2>
62 </BOUCLE_test_thread_simple>
65 <ul class=
"forum comments-ul plat">
66 <BOUCLE_comments-list(FORUMS) {statut IN publie} {id_rubrique ?}{id_article ?}{id_breve ?}{id_syndic ?} {plat} {par date}{inverse #ENV{senstri}}
>
67 <li class=
"forum-fil comment-li[ (#COMPTEUR_BOUCLE|alterner{'odd','even'})][ (#COMPTEUR_BOUCLE|=={1}|oui)first][ (#EXPOSE)] #ME">
68 [(#MODELE{comment}{id_forum}{afficher_logo_auteur}{afficher_titre_message}{taille_max_logo}{formulaire_reponse_volant})]
70 </BOUCLE_comments-list>
74 <//B_test_thread_simple
>
75 <//B_test_thread_complet
>
78 [(#ENV{formulaire_reponse_volant}|non)
79 [
<p class=
"repondre"><a href=
"(#PARAMETRES_FORUM|url_reponse_forum)" rel=
"noindex nofollow">[(#ENV{repondre_objet}|_T)]
</a></p>]
82 [(#ENV{formulaire_reponse_volant}|oui)
83 [
<div class=
"comment-form">
84 <a href=
"#forum-formulaire-principal" name=
"forum-formulaire-principal" id=
"forum-formulaire-principal"></a>
85 <h2 class=
"h2">[(#ENV{repondre_objet}|_T)]
</h2>
88 #INCLURE{fond=inclure/js_formulaire_reponse_volant}