70ed81a14b50ea2930b5a6c0a4da7bdb3323dfe1
[ptitvelo/web/www.git] / www / plugins-dist / urls_etendues / prive / objets / liste / urls.html
1 [(#SET{defaut_tri,#ARRAY{
2 date,#ENV{date_sens,-1},
3 url,1,
4 id_objet,1
5 type,1
6 }})
7 ]<B_liste_urls>
8 #ANCRE_PAGINATION
9 <div class="liste-objets urls">
10 <table class='spip liste'>
11 [<caption><strong class="caption">(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{urls:info_1_url,urls:info_nb_urls}})</strong></caption>]
12 <thead>
13 <tr class='first_row'>
14 <th class='perma' scope='col'></th>
15 <th class='url principale' scope='col'>[(#TRI{url,<:urls:label_tri_url:>,ajax})]</th>
16 <th class='objet' scope='col'>[(#TRI{type,<:urls:info_objet:>,ajax})]</th>
17 <th class='id' scope='col'><:info_numero_abbreviation:></th>
18 <th class='parent' scope='col'><:urls:info_id_parent:></th>
19 <th class='date secondaire' scope='col'>[(#TRI{date,<:date:>,ajax})]</th>
20 <th class="action"></th>
21 </tr>
22 </thead>
23 <tbody>
24 <BOUCLE_liste_urls(spip_urls){id_objet?}{type?}{where?}{url like #ENV{recherche,%}}{tri #ENV{par,perma},#GET{defaut_tri}}{!par date}{pagination #ENV{nb,10}}>
25 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
26 <td class='perma'>[(#PERMA|?{#CHEMIN_IMAGE{cadenas-16.png}|balise_img})]</td>
27 <td class='url principale'>#URL</td>
28 <td class='objet'>[(#TYPE|objet_info{texte_objet}|_T)]</td>
29 <td class='id'>#ID_OBJET</td>
30 <td class='parent'>[(#ID_PARENT|?{#ID_PARENT})]</td>
31 <td class='date secondaire'>[(#DATE|affdate_jourcourt)]</td>
32 <td class='action'>[(#AUTORISER{modifier,#TYPE,#ID_OBJET})[(#BOUTON_ACTION{[(#CHEMIN_IMAGE{supprimer-12}|balise_img{<:urls:bouton_supprimer_url:>})],[(#URL_ACTION_AUTEUR{supprimer_url,[(#ID_PARENT)-#URL],#SELF})],ajax})]]</td>
33 </tr>
34 </BOUCLE_liste_urls>
35 </tbody>
36 </table>
37 [<p class='pagination'>(#PAGINATION{prive})</p>]
38 </div>
39 </B_liste_urls>[
40 <div class="liste-objets urls caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div>
41 ]<//B_liste_urls>
42 [(#VAL{_AJAX}|defined|oui)
43 <script type="text/javascript">if (window.jQuery) jQuery(function(){jQuery('#url-#TYPE-#ID_OBJET').html('[(#ID_OBJET|generer_url_entite{#TYPE,'','',#EVAL{true}}|url_absolue|texte_script)]');})</script>
44 ]