You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
3.2 KiB
80 lines
3.2 KiB
#SET{avec_filtre, #ENV{avec_filtre, ''}} |
|
#SET{type_territoire, #ENV{type, ''}} |
|
[(#SET{defaut_tri,#ARRAY{ |
|
'multi nom_usage',1, |
|
iso_territoire,1, |
|
iso_parent,1, |
|
iso_continent,1, |
|
iso_pays,1, |
|
id_territoire,1, |
|
points,-1 |
|
}}) |
|
]<B_liste_territoires> |
|
#ANCRE_PAGINATION |
|
<div class="liste-objets territoires"> |
|
<table class="spip liste"> |
|
[<caption> |
|
<strong class="caption"> |
|
(#ENV*{titre,#GRAND_TOTAL|objet_afficher_nb{territoires}}) |
|
[(#ENV{titre}|oui) \(#GRAND_TOTAL\)] |
|
</strong> |
|
[(#GET{avec_filtre}|oui) |
|
<div class="filtre"> |
|
[<form method="GET" action="#SELF" onChange="this.submit(); return true;"> |
|
[(#SELF|parametre_url{categorie,''}|form_hidden)] |
|
(#SAISIE{territoires_categories, categorie, |
|
type=#GET{type_territoire}, |
|
pays=#ENV{iso_pays, ''}, |
|
option_intro=<:territoires:option_categorie_toute:>, |
|
}) |
|
</form>] |
|
</div> |
|
[<div class="filtre"> |
|
(#GET{type_territoire}|in_array{#LISTE{subdivision, infrasubdivision}}|or{#ENV{type}|non}|oui) |
|
[<form method="GET" action="#SELF" onChange="this.submit(); return true;"> |
|
[(#SELF|parametre_url{iso_pays,''}|form_hidden)] |
|
(#SAISIE{territoires_pays, iso_pays, |
|
type=#GET{type_territoire}, |
|
categorie=#ENV{categorie, ''}, |
|
option_intro=<:territoires:option_pays_tous:>, |
|
}) |
|
</form>] |
|
</div>]] |
|
</caption>] |
|
<thead> |
|
<tr class="first_row"> |
|
<th class="titre principale" scope="col">[(#TRI{nom_usage,<:territoire:champ_nom_usage_label:>,ajax})]</th> |
|
<th class="categorie" scope="col">[(#TRI{categorie,<:territoire:champ_categorie_label:>,ajax})]</th> |
|
<th class="iso" scope="col">[(#TRI{iso_territoire,<:territoire:champ_iso_territoire_label:>,ajax})]</th> |
|
<th class="iso" scope="col">[(#TRI{iso_parent,<:territoire:champ_iso_parent_label:>,ajax})]</th> |
|
<th class="iso secondaire" scope="col">[(#TRI{iso_continent,<:territoire:champ_iso_continent_label:>,ajax})]</th> |
|
<th class="iso secondaire" scope="col">[(#TRI{iso_pays,<:territoire:champ_iso_pays_label:>,ajax})]</th> |
|
<th class="id" scope="col">[(#TRI{id_territoire,<:info_numero_abbreviation:>,ajax})]</th> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
<BOUCLE_liste_territoires(TERRITOIRES) |
|
{id_?}{type?}{categorie?}{iso_parent?}{iso_continent?}{iso_pays?}{edite?}{where?}{recherche?} |
|
{tri #ENV{par, 'multi nom_usage'},#GET{defaut_tri}} |
|
{pagination #ENV{nb,10}} |
|
> |
|
<tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]"> |
|
<td class="titre principale">[(#LOGO_TERRITOIRE|image_reduire{20,26})]<a href="[(#ID_TERRITOIRE|generer_url_entite{territoire})]">#NOM_USAGE</a></td> |
|
<td class="categorie">[(#VAL{territoire:categorie_}|concat{#CATEGORIE}|_T)]</td> |
|
<td class="iso">#ISO_TERRITOIRE</td> |
|
<td class="iso">#ISO_PARENT</td> |
|
<td class="iso secondaire">#ISO_CONTINENT</td> |
|
<td class="iso secondaire">#ISO_PAYS</td> |
|
<td class="id">[(#AUTORISER{modifier,territoire,#ID_TERRITOIRE}|?{ |
|
<a href="[(#URL_ECRIRE{territoire_edit,id_territoire=#ID_TERRITOIRE})]">#ID_TERRITOIRE</a>, |
|
#ID_TERRITOIRE |
|
})]</td> |
|
</tr> |
|
</BOUCLE_liste_territoires> |
|
</tbody> |
|
</table> |
|
[<p class="pagination">(#PAGINATION{#ENV{pagination,prive}})</p>] |
|
</div> |
|
</B_liste_territoires>[ |
|
<div class="liste-objets territoires caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div> |
|
]<//B_liste_territoires>
|
|
|