You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

56 lines
2.6 KiB

[(#SET{defaut_tri,#ARRAY{
date, -1
email, 1
id_inscription, -1,
points, -1
}})]<B_liste_inscriptions>
#ANCRE_PAGINATION
<div class="liste-objets inscriptions">
<table class="spip liste">
[<caption><strong class="caption">(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{inscription:info_1_inscription,inscription:info_nb_inscriptions}})</strong></caption>]
<thead>
<tr class="first_row">
<th class="statut" scope="col">[(#TRI{statut,<span title="<:lien_trier_statut|attribut_html:/>">#</span>,ajax})]</th>
<th class="date" scope="col">[(#TRI{date,<:inscription:champ_date_label:/>,ajax})]</th>
<th class="titre principale" scope="col">[(#TRI{username,<:inscription:champ_username_label:/>,ajax})]</th>
<th class="email" scope="col">[(#TRI{email,<:inscription:champ_email_label:/>,ajax})]</th>
<th class="id" scope="col">[(#TRI{id_inscription,<:info_numero_abbreviation:/>,ajax})]</th>
<th class="action" scope="col">&nbsp;</th>
</tr>
</thead>
<tbody>
<BOUCLE_liste_inscriptions(INSCRIPTIONS){where?}{statut?}{recherche?}{tri #ENV{par, date},#GET{defaut_tri}}{pagination #ENV{nb,10}}>
<tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
<td class="statut">[(#STATUT|puce_statut{inscription,#ID_INSCRIPTION})]</td>
<td class="date">[(#DATE|affdate)]</td>
<td class="titre principale">
<a href="[(#ID_INSCRIPTION|generer_url_entite{inscription})]" title="<:info_numero_abbreviation|attribut_html:/> #ID_INSCRIPTION">
[(#RANG). ]#USERNAME
</a>
</td>
<td class="email">#EMAIL</td>
<td class="id">[(#AUTORISER{modifier,inscription,#ID_INSCRIPTION}|?{
<a href="[(#URL_ECRIRE{inscription_edit,id_inscription=#ID_INSCRIPTION})]">#ID_INSCRIPTION</a>,
#ID_INSCRIPTION
})]</td>
<td class="action" scope="col">[
(#AUTORISER{modifier,inscription,#ID_INSCRIPTION}|oui)
[(#STATUT|=={prop}|oui)
<div class="groupe-btns">
[(#BOUTON_ACTION{<:contrib:inscription_btn_accepter_label:>, #URL_ACTION_AUTEUR{instituer,#ID_INSCRIPTION, #SELF}, btn_mini btn_secondaire, ''})]
[(#BOUTON_ACTION{<:contrib:inscription_btn_refuser_label:>, #URL_ACTION_AUTEUR{instituer,#ID_INSCRIPTION, #SELF}, btn_mini btn_secondaire, ''})]
</div>
]
[(#STATUT|=={publie}|oui)
[(#BOUTON_ACTION{<:contrib:inscription_btn_supprimer_label:>, #URL_ACTION_AUTEUR{instituer,#ID_INSCRIPTION, #SELF}, btn_mini btn_secondaire, ''})]
]
]</td>
</tr>
</BOUCLE_liste_inscriptions>
</tbody>
</table>
[<nav role="navigation" class="pagination">(#PAGINATION{prive})</nav>]
</div>
</B_liste_inscriptions>[
<div class="liste-objets inscriptions caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div>
]<//B_liste_inscriptions>