[%# 1.0@bugzilla.org %] [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): Myk Melez #%] [% PROCESS global/variables.none.tmpl %] [%# Define strings that will serve as the title and header of this page %] [% title = BLOCK %]Create New Attachment for [% terms.Bug %] #[% bugid %][% END %] [% h1 = BLOCK %]Create New Attachment for [%+ GetBugLink(bugid, "$terms.Bug $bugid") %][% END %] [% h2 = BLOCK %][% bugsummary FILTER html %][% END %] [% PROCESS global/header.html.tmpl 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; } " onload="setContentTypeDisabledState();" %]
[% IF (Param("insidergroup") && UserInGroup(Param("insidergroup"))) %] [% END %] [% IF (user.id != bugassignee_id) AND user.groups.editbugs %] [% END %]
File: Enter the path to the file on your computer.
Description: Describe the attachment briefly.
Content Type: If the attachment is a patch, check the box below.


Otherwise, choose a method for determining the content type.


Privacy: If the attachment is private, check the box below.
Obsoletes: (optional) Check each existing attachment made obsolete by your new attachment.
[% IF attachments.size %] [% FOREACH attachment = attachments %] [% IF ((attachment.isprivate == 0) || (Param("insidergroup") && UserInGroup(Param("insidergroup")))) %] [% attachment.id %]: [% attachment.description FILTER html %]
[% END %] [% END %] [% ELSE %] [no attachments can be made obsolete] [% END %]
Reassignment: If you want to assign this [% terms.bug %] to yourself, check the box below.
Comment: (optional) Add a comment about this attachment to the [% terms.bug %].
 
[% PROCESS global/footer.html.tmpl %]