Last change
on this file since 106228 was
106228,
checked in by peetdu@…, 3 years ago
|
Prendre en compte la recherche sur l’id de la table spip_pays.
Bonus : éviter de faire du bruit (afficher toutes les occurrences de la table) lors d’une recherche d’un id dans le B.O.
|
File size:
1.4 KB
|
Line | |
---|
1 | [(#SET{defaut_tri,#ARRAY{ |
---|
2 | nom,1, |
---|
3 | id_pays,1, |
---|
4 | points,-1 |
---|
5 | }})]<B_liste_pays> |
---|
6 | #ANCRE_PAGINATION |
---|
7 | <div class="liste-objets pays"> |
---|
8 | <table class='spip liste'> |
---|
9 | [<caption><strong class="caption">(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{pays:info_1_pays,pays:info_nb_pays}})</strong></caption>] |
---|
10 | <thead> |
---|
11 | <tr class='first_row'> |
---|
12 | <th class='picto' scope='col'></th> |
---|
13 | <th class='nom' scope='col'>[(#TRI{nom,<:pays:label_nom:>,ajax})]</th> |
---|
14 | <th class='id' scope='col'>[(#TRI{id_pays,<:info_numero_abbreviation:>,ajax})]</th> |
---|
15 | </tr> |
---|
16 | </thead> |
---|
17 | <tbody> |
---|
18 | <BOUCLE_liste_pays(PAYS){id_pays?}{id_mot?}{id_auteur?}{where?}{recherche?}{tri #ENV{par,num nom},#GET{defaut_tri}}{par nom}{pagination #ENV{nb,10}}> |
---|
19 | <tr class='[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]'> |
---|
20 | <td class='picto'>[(#CHEMIN_IMAGE{pays-16.png}|balise_img)]</td> |
---|
21 | <td class='nom principale'>[(#LOGO_PAYS|image_reduire{20,26})]<a href="[(#ID_PAYS|generer_url_entite{pays})]" title="<:info_numero_abbreviation|attribut_html:> #ID_PAYS">[(#RANG). ]#NOM</a></td> |
---|
22 | <td class='id'>[(#AUTORISER{modifier,pays,#ID_PAYS}|?{ |
---|
23 | <a href="[(#URL_ECRIRE{pays_edit,id_pays=#ID_PAYS})]">#ID_PAYS</a>, |
---|
24 | #ID_PAYS |
---|
25 | })]</td> |
---|
26 | </tr> |
---|
27 | </BOUCLE_liste_pays> |
---|
28 | </tbody> |
---|
29 | </table> |
---|
30 | [<p class='pagination'>(#PAGINATION{prive})</p>] |
---|
31 | </div> |
---|
32 | </B_liste_pays>[ |
---|
33 | <div class="liste-objets pays caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div> |
---|
34 | ]<//B_liste_pays> |
---|
Note: See
TracBrowser
for help on using the repository browser.