[SPIP] ~maj v3.0.14-->v3.0.17
[ptitvelo/web/www.git] / www / prive / objets / liste / rubriques_associer.html
1 [(#SET{defaut_tri,#ARRAY{
2 date,#ENV{date_sens,-1},
3 num titre,1,
4 id_rubrique,1,
5 points,-1
6 }})
7 ]
8 #SET{exclus,#ENV{objet_source}|lister_objets_lies{#ENV{objet},#ENV{id_objet},#ENV{_objet_lien}}}
9 <B_liste_rub>
10 #ANCRE_PAGINATION
11 [<h3><:info_resultat_recherche:> &laquo;(#ENV{recherche})&raquo;</h3>]
12 <div class="liste-objets liste-objets-associer rubriques">
13 <table class='spip liste'>
14 [<caption><span class="caption"><strong>(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{info_1_rubrique,info_nb_rubriques}})</strong>
15 <span class="recherche">
16 <label for="recherche-#ENV{id}"><:info_rechercher_02:></label>
17 <input type="text" class="recherche" name="recherche" id="recherche-#ENV{id}" value="#ENV{recherche}" />
18 <input type="submit" class="tout_voir" name="tout_voir" value="<:info_tout_afficher:>" />
19 </span>
20 </span>
21 </caption>]
22 <thead>
23 <tr class='first_row'>
24 <th class='picto' scope='col'></th>
25 <th class='titre' scope='col'>[(#TRI{num titre,<:info_titre:>,ajax})]</th>
26 <th class='date' scope='col'>[(#TRI{date,<:date:>,ajax})]</th>
27 <th class='id' scope='col'>[(#TRI{id_rubrique,<:info_numero_abbreviation:>,ajax})]</th>
28 <th class='action' scope='col'>&nbsp;</th>
29 </tr>
30 </thead>
31 <tbody>
32 <BOUCLE_liste_rub(RUBRIQUES){!id_rubrique IN #GET{exclus}}{tout}{where?}{statut?}{recherche?}{tri #ENV{par,num titre},#GET{defaut_tri}}{par titre}{pagination #ENV{nb,10}}>
33 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})][ (#EXPOSE|unique)]">
34 <td class='picto'>[(#CHEMIN_IMAGE{rubrique-16.png}|balise_img)]</td>
35 <td class='titre principale'>[(#LOGO_RUBRIQUE|image_reduire{20,26})]<a href="[(#ID_RUBRIQUE|generer_url_entite{rubrique})]"
36 title="<:info_numero_abbreviation|attribut_html:> #ID_RUBRIQUE">[(#RANG). ]#TITRE</a></td>
37 <td class='date secondaire'>[(#DATE|affdate_jourcourt)]</td>
38 <td class='id'>#ID_RUBRIQUE</td>
39 <td class='action'><button type="submit" class="button" name="ajouter_lien[rubrique-#ID_RUBRIQUE-#OBJET-#ID_OBJET]" value="+"><:lien_ajouter_une_rubrique:> [(#CHEMIN_IMAGE{ajouter-12.png}|balise_img{'+'})]</button></td>
40 </tr>
41 </BOUCLE_liste_rub>
42 </tbody>
43 </table>
44 [<p class='pagination'>(#PAGINATION{prive})</p>]
45 </div>
46 </B_liste_rub>
47 [(#ENV{recherche}|oui)
48 <div class="liste-objets liste-objets-associer rubriques caption-wrap">
49 <span class="caption"><strong>[(#VAL{info_recherche_auteur_zero}|_T{#ARRAY{cherche_auteur,#ENV{recherche}}})]</strong>
50 <span class="recherche">
51 <label for="recherche-#ENV{id}"><:info_rechercher_02:></label>
52 <input type="text" class="recherche" name="recherche" id="recherche-#ENV{id}" value="#ENV{recherche}" />
53 <input type="submit" class="tout_voir" name="tout_voir" value="<:info_tout_afficher:>" />
54 </span>
55 </span>
56 </div>
57 ]<//B_liste_rub>