Modifications pour le document Download Attachments
Modifié par Paul Libbrecht (admin) le 2021/12/12 21:39
<
>
modifié par Paul Libbrecht (admin)
sur 2016/08/19 23:02
sur 2016/08/19 23:02
modifié par Paul Libbrecht (admin)
sur 2016/08/19 21:39
sur 2016/08/19 21:39
Commentaire de modification :
Il n'y a aucun commentaire pour cette version
Résumé
Détails
- Propriétés de la Page
-
- Titre
-
... ... @@ -1,1 +1,1 @@ 1 -Download 1 +DownloadAttachments - Parent
-
... ... @@ -1,1 +1,0 @@ 1 -Macros.WebHome - Langue par defaut
-
... ... @@ -1,0 +1,1 @@ 1 +fr - Masqué
-
... ... @@ -1,1 +1,1 @@ 1 - true1 +false - Contenu
-
... ... @@ -34,6 +34,7 @@ 34 34 else 35 35 out.setLevel(9); 36 36 entry.setTime(att.getDate().getTime()); 37 + System.err.println("Size: " + att.filesize); 37 37 entry.setSize(att.filesize); 38 38 39 39 out.putNextEntry(entry);
- XWiki.WikiMacroClass[0]
-
- Code de la macro
-
... ... @@ -1,4 +1,4 @@ 1 1 {{velocity}} 2 2 #set($url=$xwiki.getURL("Macros.DownloadAttachments","view","page=$doc.fullName")) 3 -{{html clean=false}}<a href="$url"> {{/html}}{{translation key="rendering.macro.downloadAttachments.label"/}}{{html clean=false}}</a>{{/html}}3 +{{html clean=false}}<a href="$url">Download page attachments</a>{{/html}} 4 4 {{/velocity}} - Description du contenu (non applicable en cas de macro "Sans contenu")
-
... ... @@ -1,0 +1,2 @@ 1 + 2 + - Description de la macro
-
... ... @@ -1,1 +1,1 @@ 1 -Displays a link to downloadall attachments of a pageas a zip archive.1 +Displays a link to a zip archive of all attachments of a page. - Nom de la macro
-
... ... @@ -1,1 +1,1 @@ 1 -Download attachments1 +Download Attachments - Visibilité de la macro
-
... ... @@ -1,1 +1,1 @@ 1 - Global1 +Current User