summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-04-11 00:08:21 +0200
committerjocuri%softhome.net <>2004-04-11 00:08:21 +0200
commitb9c3dbad825ee0936d1687aff9fdf122d88d6dac (patch)
treee81f9a900167b74ce8e5dfd6c79b981e337f4f69 /template/en/default
parent2cb580b5c21df6924b9fb7b16331421267462b6e (diff)
downloadbugzilla-b9c3dbad825ee0936d1687aff9fdf122d88d6dac.tar.gz
bugzilla-b9c3dbad825ee0936d1687aff9fdf122d88d6dac.tar.xz
Patch for bug 87770: make attachment.cgi work with no parameters; patch by GavinS <bugzilla@chimpychompy.org>; r=kiko; a=myk.
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/attachment/choose.html.tmpl43
1 files changed, 43 insertions, 0 deletions
diff --git a/template/en/default/attachment/choose.html.tmpl b/template/en/default/attachment/choose.html.tmpl
new file mode 100644
index 000000000..b48664653
--- /dev/null
+++ b/template/en/default/attachment/choose.html.tmpl
@@ -0,0 +1,43 @@
+[%# 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): Gavin Shelley <bugzilla@chimpychompy.org>
+ #%]
+
+[% PROCESS global/variables.none.tmpl %]
+
+[% PROCESS global/header.html.tmpl
+ title = "Locate attachment"
+ %]
+
+<form method="get" action="attachment.cgi">
+ <p>Access an attachment by entering its ID into the form below:</p>
+ <p>Attachment ID: <input name="id" size="6">
+ <input type="submit" name="action" value="Edit">
+ <input type="submit" name="action" value="View">
+ </p>
+</form>
+
+<form method="get" action="show_bug.cgi">
+ <p>Or, access it from the list of attachments in its associated [% terms.bug %] report:</p>
+ <p>[% terms.Bug %] ID: <input name="id" size="6">
+ <input type="submit" name="action" value="View">
+ </p>
+</form>
+
+[% PROCESS global/footer.html.tmpl %]