1 | |
---|
2 | Sauter à : <a href="#liste_saisies">Toutes les saisies</a>, <a href="#liste_options_saisies">Toutes les options</a> |
---|
3 | |
---|
4 | <h2 class="h2 spip">Utilisation des options</h2> |
---|
5 | <B_options_tableau> |
---|
6 | <div style="overflow:auto;"> |
---|
7 | <table class="spip"> |
---|
8 | <thead> |
---|
9 | <tr class="first_row"> |
---|
10 | <th>Options \ Saisies</th> |
---|
11 | <BOUCLE_saisies_tableau_th(POUR){tableau #ENV{saisies}}> |
---|
12 | <th><a href="#saisie_#CLE">#CLE</a></th> |
---|
13 | </BOUCLE_saisies_tableau_th> |
---|
14 | </tr> |
---|
15 | </thead> |
---|
16 | <tbody> |
---|
17 | <BOUCLE_options_tableau(POUR){tableau #ENV{options}}> |
---|
18 | <tr class="tr_liste [(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]"> |
---|
19 | <th><a href="#option_#CLE">#CLE</a></th> |
---|
20 | <BOUCLE_saisies_tableau(POUR){tableau #ENV{saisies}}> |
---|
21 | <td>[(#CLE|in_array{[(#_options_tableau:VALEUR|table_valeur{utilisee_par})]}|?{'X','-'})]</td> |
---|
22 | </BOUCLE_saisies_tableau> |
---|
23 | </tr> |
---|
24 | </BOUCLE_options_tableau> |
---|
25 | </tbody> |
---|
26 | </table> |
---|
27 | </div> |
---|
28 | </B_options_tableau> |
---|
29 | |
---|
30 | <h2 class="h2 spip" id="liste_saisies">Toutes les saisies</h2> |
---|
31 | <BOUCLE_saisies(POUR){tableau #ENV{saisies}}> |
---|
32 | <h3 class="h3 spip" id="saisie_#CLE">[(#VALEUR|table_valeur{titre})] (#CLE)</h3> |
---|
33 | <p class="description"> |
---|
34 | <strong>Description :</strong> [(#VALEUR|table_valeur{description})] |
---|
35 | </p> |
---|
36 | <p class="options"> |
---|
37 | <strong>Options :</strong> |
---|
38 | <BOUCLE_options_saisie(POUR){tableau #VALEUR|table_valeur{options}}{", "}><a href="#option_#CLE">#CLE</a></BOUCLE_options_saisie> |
---|
39 | </p> |
---|
40 | </BOUCLE_saisies> |
---|
41 | |
---|
42 | <h2 class="h2 spip" id="liste_options_saisies">Toutes les options</h2> |
---|
43 | <BOUCLE_options(POUR){tableau #ENV{options}}> |
---|
44 | [(#SET{label, [(#VALEUR|table_valeur{label}|sinon{[(#VALEUR|table_valeur{label_case})]})]})] |
---|
45 | <h3 class="h3 spip" id="option_#CLE">[(#GET{label}|?{#GET{label} [ ((#CLE))], #CLE})]</h3> |
---|
46 | [<p class="description"> |
---|
47 | <strong>Description :</strong> (#VALEUR|table_valeur{explication}|sinon{[(#VALEUR|table_valeur{label}|?{[(#VALEUR|table_valeur{label_case})]})]}) |
---|
48 | </p>] |
---|
49 | <B_utilisee_par> |
---|
50 | <p class="utilisee_par"> |
---|
51 | <strong>Utilisée par :</strong> |
---|
52 | <BOUCLE_utilisee_par(POUR){tableau #VALEUR|table_valeur{utilisee_par}}{", "}><a href="#saisie_#VALEUR">#VALEUR</a></BOUCLE_utilisee_par> |
---|
53 | </p> |
---|
54 | </B_utilisee_par> |
---|
55 | <B_choix> |
---|
56 | <p class="choix_possibles"> |
---|
57 | <strong>Choix possibles :</strong> |
---|
58 | <ul class="spip"> |
---|
59 | <BOUCLE_choix(POUR){tableau #VALEUR|table_valeur{datas}}> |
---|
60 | <li>"#CLE" : #VALEUR</li> |
---|
61 | </BOUCLE_choix> |
---|
62 | </ul> |
---|
63 | </p> |
---|
64 | </B_choix> |
---|
65 | </BOUCLE_options> |
---|