File "mots-admin.html"
Full path: /home/argothem/www/v4_old/plugins-dist/mots/prive/objets/liste/mots-admin.html
File size: 2.2 KB
MIME-type: text/html
Charset: utf-8
[(#SET{defaut_tri,#ARRAY{
multi titre,1,
id_mot,1
}})
]<B_liste_mot>
#ANCRE_PAGINATION
<div class="liste-objets mots">
<span class='image_loading'> </span>
<table class='spip liste'>
[<caption><strong class="caption">(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{info_1_mot_cle,info_nb_mots_cles}})</strong></caption>]
<thead>
<tr class='first_row'>
<th class='picto' scope='col'></th>
<th class='titre' scope='col' colspan='2'>[(#TRI{multi titre,<:info_titre:>,ajax})]</th>
<th class='utilisations' scope='col'></th>
<th class='action' scope='col'></th>
<th class='id' scope='col'>[(#TRI{id_mot,<:info_numero_abbreviation:>,ajax})]</th>
</tr>
</thead>
<tbody>
<BOUCLE_liste_mot(MOTS){id_?}{where?}{tri #ENV{par,num titre},#GET{defaut_tri}}{par titre}{pagination #ENV{nb,10}}>
#SET{url_voir,#AUTORISER{voir,mot,#ID_MOT}|?{#ID_MOT|generer_objet_url{mot}|parametre_url{redirect,#ENV{retour}},''}}
#SET{url_edit,#AUTORISER{modifier,mot,#ID_MOT}|?{#URL_ECRIRE{mot_edit,id_mot=#ID_MOT}|parametre_url{redirect,#ENV{retour}},''}}
<tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
<td class='picto'>[(#VAL|puce_statut{mot,#ID_MOT,#ID_GROUPE})]</td>
<td class='titre principale'[(#LOGO_MOT|non) colspan='2']>[<a href="(#GET{url_voir})">][<span class='rang'>(#RANG).</span> ]#TITRE[</a>(#GET{url_voir}|oui)]</td>
[<td class='logo'>(#LOGO_MOT|image_reduire{40,40})</td>]
<td class='utilisations secondaire'>#SET{utilise,#ID_MOT|objets_associes_mot{#ID_GROUPE}|implode{', '}}#GET{utilise}</td>
<td class='action'>
[(#GET{utilise}|non)
[(#AUTORISER{supprimer, mot, #ID_MOT}|oui)
[(#BOUTON_ACTION{<:mots:info_supprimer_mot:>,#URL_ACTION_AUTEUR{supprimer_mot,#ID_MOT,#SELF},ajax btn_mini btn_secondaire,'','','(function(me){$(me).parents("tr").animateRemove();return true;})(this)'})]
]
]
</td>
<td class='id'>[<a href="(#GET{url_edit})" title="<:mots:icone_modifier_mot|attribut_html:>">]#ID_MOT[</a>(#GET{url_edit}|oui)]</td>
</tr>
</BOUCLE_liste_mot>
</tbody>
</table>
[<nav class='pagination'>(#PAGINATION{prive})</nav>]
</div>
</B_liste_mot>[
<div class="liste-objets mots caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div>
]<//B_liste_mot>