[SPIP] ~maj v3.0.14-->v3.0.17
[ptitvelo/web/www.git] / www / plugins-dist / mots / prive / objets / liste / mots_associer-recherche.html
1 #SET{selected,''}
2 #SET{action,ajouter_lien}
3 <BOUCLE_remplacer(MOTS){id_groupe}{id_mot IN #ENV{exclus}}{0,1}>[(#UNSEUL|=={oui}|oui)
4 <:mots:info_remplacer_mot{titre=#TITRE}:><br />
5 [(#SET{action,[(#VAL{remplacer_lien}|concat{[(#VAL{91}|chr)],'mot-',#ID_MOT,'-',#OBJET,'-',#ID_OBJET,[(#VAL{93}|chr)]})]})]
6 ]</BOUCLE_remplacer>
7
8 <input type="text" class="text" name="recherche[#ID_GROUPE]" value="[(#ENV*{recherche}|table_valeur{#ID_GROUPE})]" />
9 <input type="submit" class="submit" name="recherche[b#ID_GROUPE]" value="<:info_rechercher:>" />
10 <input type="hidden" name="debutmota#ID_GROUPE" value='#ENV{debutmota#ID_GROUPE,#VAL{debutmotamota#ID_GROUPE}|_request}' />
11 #SET{recherche,#ENV*{recherche}|table_valeur{#ID_GROUPE}}
12 [(#GET{recherche}|non|et{#ENV*{recherche}|table_valeur{b#ID_GROUPE}})
13 #SET{recherche,'/./'}
14 <input type="hidden" name="recherche#EVAL{chr(91)}b#ID_GROUPE#EVAL{chr(93)}" value='x' />
15 ]
16 <B_liste_mot>
17 #ANCRE_PAGINATION
18 <div class="liste-objets liste-objets-associer mots">
19 <table class='spip liste'>
20 [<caption><strong class="caption">(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{info_1_mot_cle,info_nb_mots_cles}})</strong></caption>]
21 <thead>
22 <tr class='first_row'>
23 <th class='picto' scope='col'></th>
24 <th class='titre' scope='col'>[(#TRI{titre,<:info_titre:>,ajax})]</th>
25 <th class='action' scope='col'>&nbsp;</th>
26 </tr>
27 </thead>
28 <tbody>
29 <BOUCLE_liste_mot(MOTS){id_groupe}{id_mot !IN #ENV{exclus}}{recherche #GET{recherche}}{tri #ENV{par,titre},#GET{defaut_tri}}{par multi titre}{pagination 10 mota#ID_GROUPE}>
30 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
31 <td class='picto'>[(#VAL|puce_statut{mot,#ID_MOT,#ID_GROUPE})]</td>
32 <td class='titre principale'>[(#LOGO_MOT|image_reduire{20,20})]<a href="[(#ID_MOT|generer_url_entite{mot})]"
33 title="<:info_numero_abbreviation|attribut_html:> #ID_MOT">[(#RANG). ]#TITRE</a></td>
34 <td class='action'><button type="submit" class="button link" name="#GET{action}[mot-#ID_MOT-#OBJET-#ID_OBJET]" value="+"><:mots:lien_ajouter_mot:> [(#CHEMIN_IMAGE{ajouter-12.png}|balise_img{'+'})]</button></td>
35 </tr>
36 </BOUCLE_liste_mot>
37 </tbody>
38 </table>
39 [<p class='pagination'>(#PAGINATION{prive})</p>]
40 </div>
41 </B_liste_mot>[(#ENV*{recherche}|table_valeur{#ID_GROUPE}|oui)
42 <div class="liste-objets liste-objets-associer mots caption-wrap">
43 <strong class="caption">[(#ENV*{titre,<:mots:info_aucun_mot_cle:>}) ]</strong>
44 </div>]
45 <//B_liste_mot>