From 2addcaadedfe714bd0502911cc85cdab24736465 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sun, 18 Jul 2010 19:17:26 +0200 Subject: Bug 119703: Create an attachment by pasting it into a text field r/a=mkanat --- template/en/default/attachment/edit.html.tmpl | 44 ++++++++------------------- 1 file changed, 12 insertions(+), 32 deletions(-) (limited to 'template/en/default/attachment/edit.html.tmpl') diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 6a98a7f05..d1861a7d3 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -68,19 +68,17 @@ (edit) [% END %] - [% IF NOT attachment.isurl %] -
- [% attachment.filename FILTER html %] ([% attachment.contenttype FILTER html %]) - [% IF attachment.datasize %] - [%+ attachment.datasize FILTER unitconvert %] - [% ELSE %] - deleted - [% END %], created by [%+ INCLUDE global/user.html.tmpl who = attachment.attacher %] - [% IF attachment.isprivate %] - Only visible to [% Param('insidergroup') FILTER html %] - [% END %] -
- [% END %] +
+ [% attachment.filename FILTER html %] ([% attachment.contenttype FILTER html %]) + [% IF attachment.datasize %] + [%+ attachment.datasize FILTER unitconvert %] + [% ELSE %] + deleted + [% END %], created by [%+ INCLUDE global/user.html.tmpl who = attachment.attacher %] + [% IF attachment.isprivate %] + Only visible to [% Param('insidergroup') FILTER html %] + [% END %] +
@@ -99,12 +97,6 @@ %]
- [% IF attachment.isurl %] - - - [% ELSE %]
- [% END %] +
@@ -168,18 +160,6 @@
[% IF !attachment.datasize %]
The content of this attachment has been deleted.
- [% ELSIF attachment.isurl %] - [% ELSIF !Param("allow_attachment_display") %]

-- cgit v1.2.3-24-g4f1b