[SPIP] +2.1.12
[velocampus/web/www.git] / www / plugins / auto / saisies / inclure / saisies_aide.html
diff --git a/www/plugins/auto/saisies/inclure/saisies_aide.html b/www/plugins/auto/saisies/inclure/saisies_aide.html
new file mode 100644 (file)
index 0000000..4f3363b
--- /dev/null
@@ -0,0 +1,65 @@
+
+Sauter à : <a href="#liste_saisies">Toutes les saisies</a>, <a href="#liste_options_saisies">Toutes les options</a>
+
+<h2 class="h2 spip">Utilisation des options</h2>
+<B_options_tableau>
+<div style="overflow:auto;">
+<table class="spip">
+<thead>
+       <tr class="first_row">
+               <th>Options \ Saisies</th>
+               <BOUCLE_saisies_tableau_th(POUR){tableau #ENV{saisies}}>
+               <th><a href="#saisie_#CLE">#CLE</a></th>
+               </BOUCLE_saisies_tableau_th>
+       </tr>
+</thead>
+<tbody>
+       <BOUCLE_options_tableau(POUR){tableau #ENV{options}}>
+       <tr class="tr_liste [(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
+               <th><a href="#option_#CLE">#CLE</a></th>
+               <BOUCLE_saisies_tableau(POUR){tableau #ENV{saisies}}>
+               <td>[(#CLE|in_array{[(#_options_tableau:VALEUR|table_valeur{utilisee_par})]}|?{'X','-'})]</td>
+               </BOUCLE_saisies_tableau>
+       </tr>
+       </BOUCLE_options_tableau>
+</tbody>
+</table>
+</div>
+</B_options_tableau>
+
+<h2 class="h2 spip" id="liste_saisies">Toutes les saisies</h2>
+<BOUCLE_saisies(POUR){tableau #ENV{saisies}}>
+<h3 class="h3 spip" id="saisie_#CLE">[(#VALEUR|table_valeur{titre})] (#CLE)</h3>
+<p class="description">
+       <strong>Description :</strong> [(#VALEUR|table_valeur{description})]
+</p>
+<p class="options">
+       <strong>Options :</strong>
+       <BOUCLE_options_saisie(POUR){tableau #VALEUR|table_valeur{options}}{", "}><a href="#option_#CLE">#CLE</a></BOUCLE_options_saisie>
+</p>
+</BOUCLE_saisies>
+
+<h2 class="h2 spip" id="liste_options_saisies">Toutes les options</h2>
+<BOUCLE_options(POUR){tableau #ENV{options}}>
+[(#SET{label, [(#VALEUR|table_valeur{label}|sinon{[(#VALEUR|table_valeur{label_case})]})]})]
+<h3 class="h3 spip" id="option_#CLE">[(#GET{label}|?{#GET{label} [ ((#CLE))], #CLE})]</h3>
+[<p class="description">
+       <strong>Description :</strong> (#VALEUR|table_valeur{explication}|sinon{[(#VALEUR|table_valeur{label}|?{[(#VALEUR|table_valeur{label_case})]})]})
+</p>]
+<B_utilisee_par>
+<p class="utilisee_par">
+       <strong>Utilisée par :</strong>
+       <BOUCLE_utilisee_par(POUR){tableau #VALEUR|table_valeur{utilisee_par}}{", "}><a href="#saisie_#VALEUR">#VALEUR</a></BOUCLE_utilisee_par>
+</p>
+</B_utilisee_par>
+<B_choix>
+<p class="choix_possibles">
+       <strong>Choix possibles :</strong>
+       <ul class="spip">
+               <BOUCLE_choix(POUR){tableau #VALEUR|table_valeur{datas}}>
+               <li>"#CLE" : #VALEUR</li>
+               </BOUCLE_choix>
+       </ul>
+</p>
+</B_choix>
+</BOUCLE_options>