summaryrefslogtreecommitdiffstats
path: root/template/default/buglist
diff options
context:
space:
mode:
authorjake%acutex.net <>2002-02-01 05:12:47 +0100
committerjake%acutex.net <>2002-02-01 05:12:47 +0100
commitaba13714d24f0ab260b61eebba2e0be75df1019d (patch)
tree7467a5d432ddb10179eb6210506a4d6dd3fa49ca /template/default/buglist
parent3cf287879c86a0b38049823235aa306e5269f1a7 (diff)
downloadbugzilla-aba13714d24f0ab260b61eebba2e0be75df1019d.tar.gz
bugzilla-aba13714d24f0ab260b61eebba2e0be75df1019d.tar.xz
Bug 122636 - Templatise colchange.cgi
Patch by David Lawrence <dkl@redhat.com> and Christian Reis <kiko@async.com.br> r= kiko, jake
Diffstat (limited to 'template/default/buglist')
-rw-r--r--template/default/buglist/colchange.tmpl50
1 files changed, 50 insertions, 0 deletions
diff --git a/template/default/buglist/colchange.tmpl b/template/default/buglist/colchange.tmpl
new file mode 100644
index 000000000..5ef71aa52
--- /dev/null
+++ b/template/default/buglist/colchange.tmpl
@@ -0,0 +1,50 @@
+[%# 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): Dave Lawrence <dkl@redhat.com>
+ #%]
+
+[% INCLUDE global/header
+ title = "Change Columns"
+%]
+
+Check which columns you wish to appear on the list, and then click
+on submit. (Cookies are required.)
+<p>
+<form action="colchange.cgi">
+<input type="hidden" name="rememberedquery" value="[% buffer FILTER uri %]">
+[% FOREACH column = masterlist %]
+ <input type="checkbox" id="[% column %]" name="column_[% column %]" [% "CHECKED" IF lsearch(collist, column) != -1 %]>
+ <label for="[% column %]">[% desc.${column} %]</label><br>
+[% END %]
+</p><p>
+<input id="nosplitheader" type="radio" name="splitheader" value="0" [% "CHECKED" IF ! splitheader %]>
+<label for="nosplitheader">Normal headers (prettier)</label><br>
+<input id="splitheader" type="radio" name="splitheader" value="1" [% "CHECKED" IF splitheader %]>
+<label for="splitheader">Stagger headers (often makes list more compact)</label>
+</p><p>
+<input type="submit" value="Submit">
+</form>
+<form action="colchange.cgi">
+<input type="hidden" name="rememberedquery" value="[% buffer FILTER uri %]">
+<input type="hidden" name="resetit" value="1">
+<input type="submit" value="Reset to Bugzilla default">
+</form>
+</p>
+
+[% INCLUDE global/footer %]
+