Fix top-link to attachement.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 23 Oct 2011 11:36:17 +0000 (13:36 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 23 Oct 2011 11:36:17 +0000 (13:36 +0200)
The url contained an url-encoded version of a html-encoded version of the
part name.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
banana/templates/banana-message.inc.tpl

index a11a644..dd4af09 100644 (file)
@@ -46,7 +46,7 @@
     <td class="hdr">{"Fichiers joints"|b}</td>
     <td colspan="2">
       {foreach from=$files item=file name=attachs}
-      {imglink img=save alt="Enregistrer"|b group=$group artid=$artid part=$file->getFilename() text=$file->getFilename()}{if !$smarty.foreach.attachs.last}, {/if}
+      {imglink img=save alt="Enregistrer"|b group=$group artid=$artid part=$file->getFilename()|smarty:nodefaults text=$file->getFilename()}{if !$smarty.foreach.attachs.last}, {/if}
       {/foreach}
     </td>
   </tr>