0d9269c16a3c8ea6835a20ae3c387731c24dd843
[lhc/web/www.git] / www / prive / objets / liste / objets.html
1 #SET{picto,#ENV{objet}|objet_icone{16}}
2 [(#SET{req,[select [(#ENV{objet}|id_table_objet)] as id from (#ENV{objet}|table_objet_sql) order by [(#ENV{objet}|id_table_objet)] desc]})]
3 <B_objets>
4 #ANCRE_PAGINATION
5 <div class="liste-objets [(#ENV{objet}|objet_info{table_objet})]">
6 <table class='spip liste'>
7 [<caption><strong class="caption">(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{#ENV{objet}|objet_info{info_1_objet},#ENV{objet}|objet_info{info_nb_objets}}})</strong></caption>]
8 <thead>
9 <tr class='first_row'>
10 <th class='picto' scope='col'></th>
11 <th class='titre principale' scope='col'><:info_titre:></th>
12 <th class='id' scope='col'><:info_numero_abbreviation:></th>
13 </tr>
14 </thead>
15 <tbody>
16 <BOUCLE_objets(DATA){source sql,#GET{req}}{pagination #ENV{nb,10}}>
17 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
18 <td class='picto'>#GET{picto}</td>
19 <td class='titre principale'><a
20 href="[(#VALEUR{id}|generer_url_entite{#ENV{objet}})]"
21 title="<:info_numero_abbreviation|attribut_html:> #VALEUR{id}">[(#RANG). ][(#INFO_TITRE{#ENV{objet},#VALEUR{id}}|sinon{<:info_sans_titre:>})]</a>
22 </td>
23 <td class='id'>[(#AUTORISER{modifier,#ENV{objet},#VALEUR{id}}|?{
24 [<a href="[(#VALEUR{id}|generer_url_ecrire_entite_edit{#ENV{objet}})]">(#VALEUR{id})</a>],
25 [(#VALEUR{id})]
26 })]</td>
27 </tr>
28 </BOUCLE_objets>
29 </tbody>
30 </table>
31 [<p class='pagination'>(#PAGINATION{prive})</p>]
32 </div>
33 </B_objets>[
34 <div class="liste-objets [(#ENV{objet}|objet_info{table_objet})] caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div>
35 ]<//B_objets>