From 2484e4ca75b94faf00659415bbc518768935c111 Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Thu, 11 Jan 2007 15:42:55 +0000 Subject: add option to scan for usage of a given attachment id in content --- templates/attachments.tpl | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'templates/attachments.tpl') diff --git a/templates/attachments.tpl b/templates/attachments.tpl index 7bbe745..e4e3db8 100644 --- a/templates/attachments.tpl +++ b/templates/attachments.tpl @@ -23,6 +23,26 @@ {/form} {/if} + {formfeedback warning="Checking for attachment usage in content can take a while depending on the amount of content on this site - if there is a lot of content, it might not be possible at all."} + + {if $smarty.request.attachment_id} + + {/if} + @@ -37,6 +57,7 @@ {$attachment.filename} + - {foreachelse} -- cgit v1.3
{tr}Liberty Attachments{/tr}
{tr}Owner{/tr}: {displayname hash=$attachment}
@@ -44,7 +65,9 @@
{tr}Wiki plugin link{/tr}: {$attachment.wiki_plugin_link}
+ + + {smartlink ititle="Check Attachment Usage" ibiticon="icons/format-justify-fill" attachment_id=$attachment.attachment_id}