Last change
on this file since 117771 was
87427,
checked in by maieul@…, 6 years ago
|
modèles de zippage par articles/albums : l'afficher même quand l'article est encore en cours de rédaction
|
File size:
990 bytes
|
Line | |
---|
1 | #SET{doc,#ARRAY} |
---|
2 | #SET{id_album,#ENV{id_zip_doc_album,#ENV{id_album}}} |
---|
3 | #SET{cmd,#ENV{cmd,#CONFIG{zippeur/zippeur_cmd}}} |
---|
4 | <BOUCLE_doc(DOCUMENTS){tout}{id_album}{mode?}> |
---|
5 | [(#SET{doc,#GET{doc}|push{#FICHIER|copie_locale}})] |
---|
6 | </BOUCLE_doc> |
---|
7 | <BOUCLE_date(DOCUMENTS){tout}{!par maj}{id_album=#GET{id_album}}{0,1}{mode?}> |
---|
8 | [(#SET{nomdoc,album_#GET{id_album}[_(#ENV{mode})]})] |
---|
9 | [(#SET{urlzip,#GET{doc}|zippeur{#MAJ,#GET{cmd},#GET{nomdoc}}})] |
---|
10 | <dl class='spip_documents'> |
---|
11 | <dt> |
---|
12 | <a type="application/zip" href="[(#GET{urlzip})]" title="<:zippeur:ensemble_fichier:> [(#GET{urlzip}|filesize|taille_en_octets)])"> |
---|
13 | <img src='[(#CHEMIN{prive/vignettes/zip.png}|sinon{#CHEMIN{vignettes/zip.png}})]' alt="<:zippeur:ensemble_fichier:> [(#GET{urlzip}|filesize|taille_en_octets)])" /></a> |
---|
14 | </dt> |
---|
15 | <dt class='spip_doc_titre'><strong>(<BOUCLE_album(ALBUMS){id_album}>[(#TITRE) -] <:zippeur:ensemble_fichier:></BOUCLE_album> - [(#GET{urlzip}|filesize|taille_en_octets)])</strong></dt> |
---|
16 | </dl> |
---|
17 | </BOUCLE_date> |
---|
18 | </B_doc> |
---|
19 | |
---|
20 | |
---|
Note: See
TracBrowser
for help on using the repository browser.