[SPIP] +spip v3.0.17
[lhc/web/clavette_www.git] / www / plugins-dist / mots / prive / objets / liste / mots-admin.html
1 [(#SET{defaut_tri,#ARRAY{
2 multi titre,1,
3 id_mot,1
4 }})
5 ]<B_liste_mot>
6 #ANCRE_PAGINATION
7 <div class="liste-objets mots">
8 <span class='image_loading'>&nbsp;</span>
9 <table class='spip liste'>
10 [<caption><strong class="caption">(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{info_1_mot_cle,info_nb_mots_cles}})</strong></caption>]
11 <thead>
12 <tr class='first_row'>
13 <th class='picto' scope='col'></th>
14 <th class='titre' scope='col'>[(#TRI{multi titre,<:info_titre:>,ajax})]</th>
15 <th class='utilisations' scope='col'></th>
16 <th class='action' scope='col'></th>
17 <th class='id' scope='col'>[(#TRI{id_mot,<:info_numero_abbreviation:>,ajax})]</th>
18 </tr>
19 </thead>
20 <tbody>
21 <BOUCLE_liste_mot(MOTS){id_mot?}{id_groupe?}{id_rubrique?}{id_article?}{where?}{tri #ENV{par,num titre},#GET{defaut_tri}}{par titre}{pagination #ENV{nb,10}}>
22 #SET{url_edit,#AUTORISER{modifier,mot,#ID_MOT}|?{#ID_MOT|generer_url_entite{mot}|parametre_url{redirect,#ENV{retour}},''}}
23 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
24 <td class='picto'>[(#VAL|puce_statut{mot,#ID_MOT,#ID_GROUPE})]</td>
25 <td class='titre principale'>[(#LOGO_MOT|image_reduire{20,26})][<a href="(#GET{url_edit})">][(#RANG). ]#TITRE[</a>(#GET{url_edit}|oui)]</td>
26 <td class='utilisations secondaire'>#SET{utilise,#ID_MOT|objets_associes_mot{#ID_GROUPE}|implode{', '}}#GET{utilise}</td>
27 <td class='action'>
28 [(#GET{utilise}|non)
29 [(#AUTORISER{supprimer, mot, #ID_MOT}|oui)
30 [(#BOUTON_ACTION{<:mots:info_supprimer_mot:>,#URL_ACTION_AUTEUR{supprimer_mot,#ID_MOT,#SELF},ajax,'','','(function(me){$(me).parents("tr").animateRemove();return true;})(this)'})]
31 ]
32 ]
33 </td>
34 <td class='id'>[<a href="(#GET{url_edit})">]#ID_MOT[</a>(#GET{url_edit}|oui)]</td>
35 </tr>
36 </BOUCLE_liste_mot>
37 </tbody>
38 </table>
39 [<p class='pagination'>(#PAGINATION{prive})</p>]
40 </div>
41 </B_liste_mot>[
42 <div class="liste-objets mots caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div>
43 ]<//B_liste_mot>