[PLUGINS] +agenda2.0 et calendrier_mini
[lhc/web/www.git] / www / plugins / agenda_3_5 / prive / objets / liste / evenement_participants.html
diff --git a/www/plugins/agenda_3_5/prive/objets/liste/evenement_participants.html b/www/plugins/agenda_3_5/prive/objets/liste/evenement_participants.html
new file mode 100755 (executable)
index 0000000..390fc41
--- /dev/null
@@ -0,0 +1,39 @@
+<B_inscrits>
+#ANCRE_PAGINATION
+<div class="liste-objets auteurs">
+<table class='spip liste'>
+[<caption><strong class="caption">(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{agenda:info_un_inscrit,agenda:info_nb_inscrits,nb}})</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='nom' scope='col'>[(#TRI{nom,<span title="<:lien_trier_nom|attribut_html:>"><:nom:></span>,ajax})]</th>
+                       <th class='mail' scope='col'>[(#TRI{email,<:email:>,ajax})]</th>
+                       <th class='date' scope='col'>[(#TRI{date,<:agenda:evenement_date_inscription:>,ajax})]</th>
+                       <th class='reponse' scope='col'>[(#TRI{reponse,<:agenda:info_reponse_inscriptions:>,ajax})]</th>[
+                       (#AUTORISER{modifier,evenement,#ID_EVENEMENT})<th class='reponse' scope='col'>Action</th>]
+               </tr>
+       </thead>
+       <tbody>
+       <BOUCLE_inscrits(AUTEURS evenements_participants){id_evenement}{tri #ENV{par,date},#GET{defaut_tri}}{pagination #ENV{nb,15}}>
+               <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
+                       <td class='statut'>[(#STATUT|puce_statut{auteur,#ID_AUTEUR})]</td>
+                       <td class='nom'><a href="[(#ID_AUTEUR|generer_url_entite{auteur})]"[ title="(#BIO*|couper{200}|attribut_html)"]>[(#RANG). ][(#NOM|sinon{<:texte_vide:>})]</a></td>
+                       <td class='mail'>#EMAIL</td>
+                       <td class='date'>[(#DATE|affdate_jourcourt|unique{liste_evt})]</td>
+                       <td class='reponse'>#REPONSE</td>[
+                       (#AUTORISER{modifier,evenement,#ID_EVENEMENT})<td class='delete'>
+                               <button class="button link delete" name="supprimer_lien&#91;evenement-#ID_EVENEMENT-auteur-#ID_AUTEUR&#93;" value="X" onclick="return (confirm('<:agenda:confirm_suppression_inscription:>'));"><:agenda:lien_desinscrire:> [(#CHEMIN_IMAGE{supprimer-12.png}|balise_img{'X'})]</button>
+                       </td>]
+               </tr>
+       </BOUCLE_inscrits>
+       </tbody>
+</table>
+[<p class='pagination'>(#PAGINATION{prive})</p>]
+</div>
+[(#AUTORISER{modifier,evenement,#ID_EVENEMENT})<p><button class="button link delete" name="supprimer_lien&#91;evenement-#ID_EVENEMENT-auteur-*&#93;" value="X" onclick="return (confirm('<:agenda:confirm_suppression_inscription_toutes:>'));"><:agenda:lien_desinscrire_tous:> [(#CHEMIN_IMAGE{supprimer-12.png}|balise_img{'X'})]</button></p>]
+
+</B_inscrits>
+<h2><:agenda:aucun_inscrit:></h2>
+<//B_inscrits>
+
+