[SPIP] +spip v3.0.17
[lhc/web/clavette_www.git] / www / plugins-dist / organiseur / prive / objets / liste / messages-recus.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 <BOUCLE_compte_non_lus(MESSAGES auteurs){destinataire?#ENV{destinataire}}{id_auteur?}{type!=pb}{type?}{where?}{statut?}{recherche?}{non_lu}>[(#NOM|vide)]</BOUCLE_compte_non_lus>
9 #SET{nonlus,#ENV{nonlus,#TOTAL_BOUCLE}}
10 <//B_compte_non_lus>
11 <B_mess_rec>
12 #ANCRE_PAGINATION
13 <div class="liste-objets messages">
14 <table class='spip liste'>
15 [<caption><strong class="caption">(#ENV*{titre,#GET{nonlus}|singulier_ou_pluriel{organiseur:info_1_message_nonlu,organiseur:info_nb_messages_nonlus}
16 |sinon{#GRAND_TOTAL|singulier_ou_pluriel{info_1_message,info_nb_messages}}
17 })</strong></caption>]
18 <thead>
19 <tr class='first_row'>
20 <th class='new' scope='col'></th>
21 <th class='type' scope='col'>[(#TRI{type,<span title="<:organiseur:lien_trier_type|attribut_html:>">#</span>,ajax})]</th>
22 <th class='isrv' scope='col'>[(#CHEMIN_IMAGE{heure-16.png}|balise_img{<:organiseur:info_type_message_rv:>})]</th>
23 <th class='from' scope='col'>[(#TRI{nom,<:organiseur:info_message_de:>,ajax})]</th>
24 <th class='titre principale' scope='col'>[(#TRI{titre,<:info_titre:>,ajax})]</th>
25 <th class='date secondaire' scope='col'>[(#TRI{date_heure,<:date:>,ajax})]</th>
26 <th class='' scope='col'></th>
27 </tr>
28 </thead>
29 <tbody>
30 <BOUCLE_mess_rec(MESSAGES auteurs){destinataire?#ENV{destinataire}}{id_auteur?}{type?}{where?}{statut?}{recherche?}{tri #ENV{par,date_heure},#GET{defaut_tri}}{pagination #ENV{nb,10}}>
31 [(#SET{vu,[(#TYPE|=={pb}|ou{#VU|match{^(oui|poub)$}})]})]
32 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})][(#GET{vu}|non)new]">
33 <td class='new'>[(#GET{vu}|?{'',#CHEMIN_IMAGE{pictonew-16.png}|balise_img{<:organiseur:info_message_non_lu:>}|inserer_attribut{title,<:organiseur:info_message_non_lu:>}})]</td>
34 <td class='type'>[(#CHEMIN_IMAGE{#TYPE|organiseur_icone_message{16}}|balise_img{#VAL{organiseur:info_type_message_}|concat{#TYPE}|_T})]</td>
35 <td class='isrv'>[(#RV|=={oui}|oui)[(#CHEMIN_IMAGE{heure-16.png}|balise_img{<:organiseur:info_type_message_rv:>})]]</td>
36 <td class="from"><a href="[(#ID_AUTEUR|generer_url_entite{auteur})]">#NOM</a></td>
37 <td class='titre principale'>
38 <a
39 href="[(#ID_MESSAGE|generer_url_entite{message})]">#TITRE</a>
40 </td>
41 <td class='date secondaire'>
42 [(#RV|=={oui}|?{
43 [(#DATE_HEURE|affdate_debut_fin{#DATE_FIN,oui,abbr})]
44 ,
45 [(#DATE_HEURE|affdate_jourcourt)]
46 })]
47 </td>
48 <td class=''></td>
49 </tr>
50 </BOUCLE_mess_rec>
51 </tbody>
52 </table>
53 [<p class='pagination'>(#PAGINATION{prive})</p>]
54 </div>
55 </B_mess_rec>[
56 <div class="liste-objets messages caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div>
57 ]<//B_mess_rec>