[SPIP] v3.2.12 -> v3.2.12 - Reinstallation avec le spip_loader
[lhc/web/www.git] / www / prive / objets / liste / articles_associer.html
1 [(#SET{defaut_tri,#ARRAY{
2 date,#ENV{date_sens,-1},
3 num titre,1,
4 id_article,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 articles">
13 <table class='spip liste'>
14 [<caption><span class="caption"><strong>(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{info_1_article,info_nb_articles}})</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='statut' 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_article,<:info_numero_abbreviation:>,ajax})]</th>
28 <th class='action' scope='col'>&nbsp;</th>
29 </tr>
30 </thead>
31 <tbody>
32 <BOUCLE_liste_rub(ARTICLES){!id_article 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="statut">[(#STATUT|puce_statut{article})]</td>
35 <td class='titre principale'>[(#LOGO_ARTICLE|image_reduire{20,26})
36 ]<a href="[(#ID_ARTICLE|generer_url_entite{article})]"
37 [hreflang="(#ENV{lang}|=={#LANG}|non|?{#LANG})"]
38 title="<:info_numero_abbreviation|attribut_html:> #ID_ARTICLE">[(#RANG). ]#TITRE</a></td>
39 <td class='date secondaire'>[(#DATE|affdate_jourcourt)]</td>
40 <td class='id'>#ID_ARTICLE</td>
41 <td class='action'><button type="submit" class="button" name="ajouter_lien[article-#ID_ARTICLE-#OBJET-#ID_OBJET]" value="+"><:lien_ajouter_un_article:> [(#CHEMIN_IMAGE{ajouter-12.png}|balise_img{'+'})]</button></td>
42 </tr>
43 </BOUCLE_liste_rub>
44 </tbody>
45 </table>
46 [<p class='pagination'>(#PAGINATION{prive})</p>]
47 </div>
48 </B_liste_rub>
49 [(#ENV{recherche}|oui)
50 <div class="liste-objets liste-objets-associer articles caption-wrap">
51 <span class="caption"><strong>[(#VAL{info_recherche_auteur_zero}|_T{#ARRAY{cherche_auteur,#ENV{recherche}}})]</strong>
52 <span class="recherche">
53 <label for="recherche-#ENV{id}"><:info_rechercher_02:></label>
54 <input type="text" class="recherche" name="recherche" id="recherche-#ENV{id}" value="#ENV{recherche}" />
55 <input type="submit" class="tout_voir" name="tout_voir" value="<:info_tout_afficher:>" />
56 </span>
57 </span>
58 </div>
59 ]<//B_liste_rub>