[SPIP] +spip v3.0.17
[lhc/web/clavette_www.git] / www / plugins-dist / organiseur / prive / objets / liste / messages-envoyes.html
1 [(#SET{defaut_tri,#ARRAY{
2 date_heure,#ENV{date_sens,-1},
3 titre,1,
4 id_article,1,
5 points,-1
6 }})
7 ]
8 <B_mess_env>
9 #ANCRE_PAGINATION
10 <div class="liste-objets messages">
11 <table class='spip liste'>
12 [<caption><strong class="caption">(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{organiseur:info_1_message_envoye,organiseur:info_nb_messages_envoyes}})</strong></caption>]
13 <thead>
14 <tr class='first_row'>
15 <th class='type' scope='col'>[(#TRI{type,<span title="<:organiseur:lien_trier_type|attribut_html:>">#</span>,ajax})]</th>
16 <th class='isrv' scope='col'>[(#CHEMIN_IMAGE{heure-16.png}|balise_img{<:organiseur:info_type_message_rv:>})]</th>
17 <th class='to' scope='col'><:organiseur:info_message_a:></th>
18 <th class='date secondaire' scope='col'>[(#TRI{date_heure,<:date:>,ajax})]</th>
19 <th class='titre principale' scope='col'>[(#TRI{titre,<:info_titre:>,ajax})]</th>
20 <th class='' scope='col'></th>
21 </tr>
22 </thead>
23 <tbody>
24 <BOUCLE_mess_env(MESSAGES){destinataire?#ENV{destinataire}}{id_auteur?}{type?}{where?}{statut?}{recherche?}{tri #ENV{par,date_heure},#GET{defaut_tri}}{pagination #ENV{nb,10}}>
25 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
26 <td class='type'>[(#CHEMIN_IMAGE{#TYPE|organiseur_icone_message{16}}|balise_img{#VAL{organiseur:info_type_message_}|concat{#TYPE}|_T})]</td>
27 <td class='isrv'>[(#RV|=={oui}|oui)[(#CHEMIN_IMAGE{heure-16.png}|balise_img{<:organiseur:info_type_message_rv:>})]]</td>
28 <td class="to"><BOUCLE_d(POUR){tableau #DESTINATAIRES|explode{','}}{si #TYPE|=={normal}}{', '}><BOUCLE_a(AUTEURS){id_auteur=#VALEUR}{tout}><a href="[(#ID_AUTEUR|generer_url_entite{auteur})]">#NOM</a></BOUCLE_a>#VALEUR<//B_a></BOUCLE_d></td>
29 <td class='date secondaire'>
30 [(#RV|=={oui}|?{
31 [(#DATE_HEURE|affdate_debut_fin{#DATE_FIN,oui,abbr})]
32 ,
33 [(#DATE_HEURE|affdate_jourcourt)]
34 })]
35 </td>
36 <td class='titre principale'>
37 <a
38 href="[(#ID_MESSAGE|generer_url_entite{message})]">#TITRE</a>
39 </td>
40 <td class=''></td>
41 </tr>
42 </BOUCLE_mess_env>
43 </tbody>
44 </table>
45 [<p class='pagination'>(#PAGINATION{prive})</p>]
46 </div>
47 </B_mess_env>[
48 <div class="liste-objets messages caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div>
49 ]<//B_mess_env>