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 20:57
sur 2016/08/19 20:57
modifié par Paul Libbrecht (admin)
sur 2016/08/19 20:52
sur 2016/08/19 20:52
Commentaire de modification :
Il n'y a aucun commentaire pour cette version
Résumé
Détails
- Propriétés de la Page
-
- Contenu
-
... ... @@ -30,9 +30,8 @@ 30 30 System.err.println("Outputting " + att.filename); 31 31 ZipEntry entry = new ZipEntry(att.filename); 32 32 entry.setTime(att.getDate().getTime()); 33 - System.err.println("Size: " + att.filesize); 34 34 entry.setSize(att.filesize); 35 - if(uncompressedMimes.contain s(att.mimeType))34 + if(uncompressedMimes.contain(att.mimeType)) 36 36 entry.setMethod(ZipEntry.STORED); 37 37 else 38 38 entry.setMethod(ZipEntry.DEFLATED); ... ... @@ -50,7 +50,7 @@ 50 50 } else { 51 51 println(""" 52 52 = Download Attachments Macro = 53 -Use as ((({{downloadAttachments/}})))so see a list of attachments.52 +Use as ~{~{downloadAttachments/~}~} to see a link to a zip of all attachments. 54 54 """); 55 55 } 56 56