summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2008-06-10 18:54:00 +0000
committerMax Kremmel <xing@synapse.plus.com>2008-06-10 18:54:00 +0000
commit1d1006ee43aba6411d2abe33a67185267523891d (patch)
treed4b5ae3bff2f7581584027e5367fb50c69cacf09 /templates
parent3825d5183fedd98fd55e06ee093904fb03040063 (diff)
downloadliberty-1d1006ee43aba6411d2abe33a67185267523891d.tar.gz
liberty-1d1006ee43aba6411d2abe33a67185267523891d.tar.bz2
liberty-1d1006ee43aba6411d2abe33a67185267523891d.zip
some pretty url stuff
Diffstat (limited to 'templates')
-rw-r--r--templates/edit_storage_list.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/edit_storage_list.tpl b/templates/edit_storage_list.tpl
index 4dba1c9..8a7d4f1 100644
--- a/templates/edit_storage_list.tpl
+++ b/templates/edit_storage_list.tpl
@@ -61,7 +61,7 @@
</a>
{else}
{if $storage.is_mime}
- <a href="{$smarty.const.LIBERTY_PKG_URL}view_file.php?attachment_id={$attachmentId}">{biticon ipackage="icons" iname="document-open" iexplain="View"}</a>
+ <a href="{$storage.display_url}">{biticon ipackage="icons" iname="document-open" iexplain="View"}</a>
{/if}
<a href="{$smarty.server.PHP_SELF}?{$smarty.capture.urlArgs}&amp;deleteAttachment={$attachmentId}">{biticon ipackage="icons" iname="edit-delete" iexplain="Delete"}</a>
{/if}