From 05fe02cdd0cf84e61df2f89afec751c279d30f35 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 18 Jun 2006 06:24:34 +0000 Subject: Bug 5179: Need to be able to put attachment on new bug - Patch by Marc Schumann r=LpSolit a=justdave --- template/en/default/attachment/create.html.tmpl | 210 ++---------------------- 1 file changed, 17 insertions(+), 193 deletions(-) (limited to 'template/en/default/attachment/create.html.tmpl') diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index 6da5b0c19..180fc5c49 100644 --- a/template/en/default/attachment/create.html.tmpl +++ b/template/en/default/attachment/create.html.tmpl @@ -19,6 +19,7 @@ # Contributor(s): Myk Melez # Joel Peshkin # Erik Stambaugh + # Marc Schumann #%] [% PROCESS global/variables.none.tmpl %] @@ -33,180 +34,19 @@ title = title h1 = h1 h2 = h2 - style = " - table.attachment_entry th { - text-align: right; - vertical-align: baseline; - white-space: nowrap; - } - - table.attachment_entry td { - text-align: left; - vertical-align: baseline; - padding-bottom: 5px; - } - - table#flags th, table#flags td { - text-align: left; - vertical-align: baseline; - font-size: small; - } - " - onload="setContentTypeDisabledState();" + onload="setContentTypeDisabledState(document.entryform);" + style_urls = [ 'skins/standard/create_attachment.css' ] + javascript_urls = [ "js/attachment.js" ] %] -[% IF Param("allow_attach_url") %] - -[% END %] - - -
- - - - - [% IF Param("maxlocalattachment") %] - - - - - [% END %] - [% IF Param("allow_attach_url") %] - - - - - [% END %] - - - - - - - - - - - - - [% IF (Param("insidergroup") && UserInGroup(Param("insidergroup"))) %] - - - - - [% END %] + [%# Additional fields for attachments on existing bugs: %] [% END %] - - - - + [% IF (Param("insidergroup") && UserInGroup(Param("insidergroup"))) %] + + + + + [% END %] @@ -267,23 +110,4 @@ - - [% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b
- Enter the path to the file on your computer.
- -
BigFile: - - -
- URL to be attached instead.
- -
- Describe the attachment briefly.
- -
-
Content Type: - If the attachment is a patch, check the box below.
- -

+ [% PROCESS attachment/createformcontents.html.tmpl %] - Otherwise, choose a method for determining the content type.
- -
- - -
- - - -
Privacy: - If the attachment is private, check the box below.
- - -
Obsoletes: @@ -237,14 +77,6 @@
- [% IF flag_types.size > 0 %] - [% PROCESS "flag/list.html.tmpl" bug_id=bugid attach_id=attachid %]
- [% END %] -
@@ -259,6 +91,17 @@ %]
Privacy: + If the attachment is private, check the box below.
+ + +