1 [(#SET{defaut_tri,#ARRAY{
7 #SET{exclus,#ENV**{exclus,#ENV{objet_source}|lister_objets_lies{#ENV{objet},#ENV{id_objet},#ENV{_objet_lien}}}}
8 #SET{debut,#ENV{debutgeoa,#EVAL{_request(
"debutgeoa");}}}
10 [(#REM) En cas de pagination indirecte @
32, il faut refaire le set car la boucle
11 a mis a jour la valeur avec la page reelle]
12 #SET{debut,#ENV{debutgeoa,#EVAL{_request(
"debutgeoa");}}}
13 #SET{afficher_lettres,#TRI|=={'multi titre'}|oui}
15 <div class=
"liste-objets liste-objets-associer formulaires">
16 <table class=
"spip liste">
17 [
<caption><span class=
"caption"><strong>(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{formidable:info_1_formulaire,formidable:info_nb_formulaires}})
</strong>
18 <span class=
"recherche">
19 <label for=
"recherche-#ENV{id}"><:info_rechercher_02:></label>
20 <input type=
"text" class=
"recherche" name=
"recherche" id=
"recherche-#ENV{id}" value=
"#ENV{recherche}" />
21 <input type=
"submit" class=
"tout_voir" name=
"tout_voir" value=
"<:info_tout_afficher:>" />
27 <BOUCLE_lettre(FORMULAIRES){tout}{!id_formulaire IN #GET{exclus}}{where?}{recherche?}{statut?}
28 {tri #ENV{par,multi titre},#GET{defaut_tri}}{id_formulaire==#GET{afficher_lettres}|?{'.*','A'}}
>[
29 (#TITRE**|extraire_multi|initiale|unique|oui)
30 [(#SET{p,#GET{p}|concat{
31 #SELF|parametre_url{debutgeoa,@#ID_FORMULAIRE}|ancre_url{paginationgeoa}|afficher_initiale{#TITRE**|extraire_multi|initiale{},#COMPTEUR_BOUCLE,#GET{debut},#ENV{nb,
10}}
33 ]#SAUTER{#ENV{nb,
10}|moins{#COMPTEUR_BOUCLE|=={
1}|?{
2,
1}}}
</BOUCLE_lettre>[
36 #REM|afficher_initiale{#REM,#TOTAL_BOUCLE,#GET{debut},#ENV{nb,
10}}
39 [
<tr><td colspan=
"3"><p class=
"pagination">(#GET{p})
</p></td></tr>]
41 <tr class=
"first_row">
42 <th class=
"statut" scope=
"col">[(#TRI{statut,
<span title=
"<:lien_trier_statut|attribut_html:>">#
</span>,ajax})]
</th>
43 <th class=
"titre" scope=
"col">[(#TRI{multi titre,
<:formidable:editer_titre:>,ajax})]
</th>
44 <th class=
"action" scope=
"col"></th>
48 <BOUCLE_liste_formulaires(FORMULAIRES){!id_formulaire IN #GET{exclus}}{where?}{recherche?}{statut?}
49 {tri #ENV{par,multi titre},#GET{defaut_tri}}{pagination #ENV{nb,
10} forma}
>
50 <tr class=
"[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})][ (#EXPOSE|unique)][ (#TITRE**|extraire_multi|initiale|=={#ENV{i}}|?{on}|unique)]">
51 <td class=
"statut">[(#STATUT|puce_statut{formulaire})]
</td>
52 <td class=
"titre">[(#LOGO_FORMULAIRE|image_reduire{
20,
20})]
<a href=
"[(#ID_FORMULAIRE|generer_url_entite{formulaire})]">#TITRE
</a></td>
54 <button type=
"submit" class=
"button link add" name=
"ajouter_lien\[formulaire-#ID_FORMULAIRE-#OBJET-#ID_OBJET\]" value=
"+"><:formidable:liens_ajouter_lien:> [(#CHEMIN_IMAGE{ajouter-
12.png}|balise_img{'+'})]
</button>
57 </BOUCLE_liste_formulaires>
60 [
<p class=
"pagination">(#PAGINATION{prive})
</p>]
62 </B_liste_formulaires>[(#ENV{recherche}|oui)
63 <div class=
"liste-objets liste-objets-associer formulaires caption-wrap">
64 <span class=
"caption"><strong>[(#VAL{info_recherche_auteur_zero}|_T{#ARRAY{cherche_auteur,#ENV{recherche}}})]
</strong>
65 <span class=
"recherche">
66 <label for=
"recherche-#ENV{id}"><:info_rechercher_02:></label>
67 <input type=
"text" class=
"recherche" name=
"recherche" id=
"recherche-#ENV{id}" value=
"#ENV{recherche}" />
68 <input type=
"submit" class=
"tout_voir" name=
"tout_voir" value=
"<:info_tout_afficher:>" />
72 ]<//B_liste_formulaires
>