podcast/prive/objets/liste/chapitres.html

35 lines
1.5 KiB
HTML

[(#SET{defaut_tri,#ARRAY{
titre,1,
id_chapitre,1,
points,-1
}})]<B_liste_chapitres>
#ANCRE_PAGINATION
<div class="liste-objets chapitres">
<table class="spip liste">
[<caption><strong class="caption">(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{chapitre:info_1_chapitre,chapitre:info_nb_chapitres}})</strong></caption>]
<thead>
<tr class="first_row">
<th class="picto" scope="col"></th>
<th class="titre" scope="col">[(#TRI{titre,<:chapitre:champ_titre_label:/>,ajax})]</th>
<th class="id" scope="col">[(#TRI{id_chapitre,<:info_numero_abbreviation:/>,ajax})]</th>
</tr>
</thead>
<tbody>
<BOUCLE_liste_chapitres(CHAPITRES){id_podcast?}{id_mot?}{id_auteur?}{where?}{recherche?}{tri #ENV{par,num titre},#GET{defaut_tri}}{par titre}{pagination #ENV{nb,10}}>
<tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
<td class="picto">[(#CHEMIN_IMAGE{chapitre-16.png}|balise_img)]</td>
<td class="titre principale">[(#LOGO_CHAPITRE|image_reduire{20,26})]<a href="[(#ID_CHAPITRE|generer_url_entite{chapitre})]" title="<:info_numero_abbreviation|attribut_html:/> #ID_CHAPITRE">[(#RANG). ]#TITRE</a></td>
<td class="id">[(#AUTORISER{modifier,chapitre,#ID_CHAPITRE}|?{
<a href="[(#URL_ECRIRE{chapitre_edit,id_chapitre=#ID_CHAPITRE})]">#ID_CHAPITRE</a>,
#ID_CHAPITRE
})]</td>
</tr>
</BOUCLE_liste_chapitres>
</tbody>
</table>
[<p class="pagination">(#PAGINATION{prive})</p>]
</div>
</B_liste_chapitres>[
<div class="liste-objets chapitres caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div>
]<//B_liste_chapitres>