You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
1.0 KiB

#SET{id_faq, #ENV{no_bloc}_#ENV{no_faq}}
<B_faq>
[<h3 class="spip">
[<a class="ancre" href="[#faq_(#GET{id_faq})]" id="faq_(#GET{id_faq})"></a>]
(#ENV**{titre})
</h3>]
<dl class="faq[ (#CONFIG{faq/charger_js}|et{#CONFIG{faq/iconifier_js}}|oui)js]">
<BOUCLE_faq(DATA){source table, #ENV{faq}}{par cle}>
<dt>[
[(#CONFIG{faq/ancrer_question}|oui)[<a class="ancre" href="[#faq_(#GET{id_faq})_#CLE]" id="faq_(#GET{id_faq})_#CLE"></a>]]
<button id="faq-header-#GET{id_faq}_#CLE" aria-controls="faq-panel-#GET{id_faq}_#CLE">(#VALEUR{question})</button>
]</dt>
<dd id="faq-panel-#GET{id_faq}_#CLE" aria-labelledby="faq-header-#GET{id_faq}_#CLE">
<BOUCLE_tags(DATA){source table, #VALEUR{tags}}{par valeur}>
[(#COMPTEUR_BOUCLE|=={1}|oui)<ul class="liste-tags">]
<li class="tag">#VALEUR</li>
[(#COMPTEUR_BOUCLE|=={#TOTAL_BOUCLE}|oui)</ul>]
</BOUCLE_tags>
[(#VALEUR{reponse})][
(#CONFIG{faq/lier_faq}|oui)[<a class="retour" rel="nofollow" href="#faq_(#GET{id_faq})"><:faq:lien_debut_faq:></a>]
]</dd>
</BOUCLE_faq>
</dl>
</B_faq>