File "objets.html"
Full path: /home/argothem/www/v4_old/prive/objets/liste/objets.html
File size: 1.76 KB
MIME-type: text/html
Charset: utf-8
#SET{picto,#ENV{objet}|objet_icone{16}}
[(#SET{req,[select [(#ENV{objet}|id_table_objet)] as id from (#ENV{objet}|table_objet_sql) order by [(#ENV{objet}|id_table_objet)] desc]})]
<B_objets>
#ANCRE_PAGINATION
<div class="liste-objets [(#ENV{objet}|objet_info{table_objet})]">
<table class='spip liste'>
[<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>]
<thead>
<tr class='first_row'>
<th class='picto' scope='col'></th>
<th class='titre principale' scope='col'><:info_titre|label_nettoyer:></th>
<th class='id' scope='col'><:info_numero_abbreviation:></th>
</tr>
</thead>
<tbody>
<BOUCLE_objets(DATA){source sql,#GET{req}}{pagination #ENV{nb,10}}>
#SET{lang,#INFO_LANG{#ENV{objet},#VALEUR{id}}}[(#GET{lang}|changer_typo)]
<tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
<td class='picto'>#GET{picto}</td>
<td class='titre principale'><a
href="[(#VALEUR{id}|generer_objet_url{#ENV{objet}})]"
[hreflang="(#ENV{lang}|=={#GET{lang}}|non|?{#GET{lang}})"]
title="<:info_numero_abbreviation|attribut_html:> #VALEUR{id}">[<span class='rang'>(#RANG).</span> ][(#INFO_TITRE{#ENV{objet},#VALEUR{id}}|sinon{<:info_sans_titre:>})]</a>
</td>
<td class='id'>[(#AUTORISER{modifier,#ENV{objet},#VALEUR{id}}|?{
[<a href="[(#VALEUR{id}|generer_url_ecrire_entite_edit{#ENV{objet}})]">(#VALEUR{id})</a>],
[(#VALEUR{id})]
})]</td>
</tr>
</BOUCLE_objets>
[(#REM|changer_typo)]
</tbody>
</table>
[<nav class='pagination'>(#PAGINATION{prive})</nav>]
</div>
</B_objets>[
<div class="liste-objets [(#ENV{objet}|objet_info{table_objet})] caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div>
]<//B_objets>