From b1108e5929b790b304ce91c2e50436ee1e1e85bd Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Sun, 10 Jun 2007 10:52:55 +0000 Subject: use popup to avoid data loss when clicking on an attachment --- templates/edit_storage_list.tpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'templates/edit_storage_list.tpl') diff --git a/templates/edit_storage_list.tpl b/templates/edit_storage_list.tpl index cc2b10a..435ed5f 100644 --- a/templates/edit_storage_list.tpl +++ b/templates/edit_storage_list.tpl @@ -21,12 +21,12 @@ {foreach from=$gContent->mStorage item=storage key=attachmentId} - {$storage.filename} + + {jspopup href=$storage.source_url title=$storage.title notra=1 img=$storage.thumbnail_url.avatar} + - Attachment ID: {$attachmentId} -
- Filename: {$storage.filename} -
+ Attachment ID: {$attachmentId}
+ Filename: {$storage.filename}
Actions: {if ($gBitUser->isAdmin() || $gBitUser->hasPermission( 'p_liberty_detach_attachment' ) || $storage.user_id == $gBitUser->mUserId) && !empty($gContent->mContentId)} {if $attachmentBrowser} -- cgit v1.3