summaryrefslogtreecommitdiffstats
path: root/template/default
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-04-05 17:09:24 +0200
committergerv%gerv.net <>2002-04-05 17:09:24 +0200
commit57f2b020a59aa96376f87eabaaccc64f1e90931c (patch)
treec5234591b62a36cb50fa90da9de12953f7f467d8 /template/default
parent6b54434eb4162a84694a87243d095c4b09b21ac7 (diff)
downloadbugzilla-57f2b020a59aa96376f87eabaaccc64f1e90931c.tar.gz
bugzilla-57f2b020a59aa96376f87eabaaccc64f1e90931c.tar.xz
Bug 124920 - Templatise post_bug.cgi. Patch by gerv, r=myk, bbaetz.
Diffstat (limited to 'template/default')
-rw-r--r--template/default/entry/create-template.html.tmpl33
-rw-r--r--template/default/entry/post-bug.html.tmpl47
2 files changed, 80 insertions, 0 deletions
diff --git a/template/default/entry/create-template.html.tmpl b/template/default/entry/create-template.html.tmpl
new file mode 100644
index 000000000..c5e017529
--- /dev/null
+++ b/template/default/entry/create-template.html.tmpl
@@ -0,0 +1,33 @@
+<!-- 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): Gervase Markham <gerv@gerv.net>
+ #%]
+
+[% INCLUDE global/header
+ title = "Bookmarks are your friend"
+ h1 = "Template constructed"
+%]
+
+<p>
+If you bookmark <a href="enter_bug.cgi?[% url %]">this link</a>,
+going to the bookmark will bring up the enter bug page with the fields
+initialized as you've requested.
+</p>
+
+[% INCLUDE global/footer %]
diff --git a/template/default/entry/post-bug.html.tmpl b/template/default/entry/post-bug.html.tmpl
new file mode 100644
index 000000000..9eba2edf5
--- /dev/null
+++ b/template/default/entry/post-bug.html.tmpl
@@ -0,0 +1,47 @@
+<!-- 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): Gervase Markham <gerv@gerv.net>
+ #%]
+
+[% INCLUDE global/header
+ title = "Bug $bug_id Submitted"
+%]
+
+<table border="1">
+ <tr>
+ <td>
+ <h2>Bug [% bug_id %] has been added to the database.</h2>
+
+ [% mailresults %]
+
+ </td>
+ <td>
+ <a href="show_bug.cgi?id=[% bug_id %]">Back To Bug# [% bug_id %]</a>
+ </td>
+ </tr>
+</table>
+
+<p>
+<a href="attachment.cgi?bugid=[% bug_id %]&amp;action=enter">
+ Attach a file to this bug</a>.
+</p>
+
+[% INCLUDE show/navigate.html.tmpl %]
+
+[% INCLUDE global/footer %]