summaryrefslogtreecommitdiffstats
path: root/template/default/buglist/buglist-rdf.rdf.tmpl
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-03-12 22:54:53 +0100
committermyk%mozilla.org <>2002-03-12 22:54:53 +0100
commit496013d2cc0586cde9db0ace761292594fcae995 (patch)
tree619f2c7f7f253ce069595b09865d1bfb3c33e0f0 /template/default/buglist/buglist-rdf.rdf.tmpl
parent38551035718d027fb8794f56a15fe1bf5a63676b (diff)
downloadbugzilla-496013d2cc0586cde9db0ace761292594fcae995.tar.gz
bugzilla-496013d2cc0586cde9db0ace761292594fcae995.tar.xz
Fix for bug 103778: Rewrites and templatizes buglist.cgi.
Patch by Myk Melez <myk@mozilla.org>. r=bbaetz,gerv
Diffstat (limited to 'template/default/buglist/buglist-rdf.rdf.tmpl')
-rw-r--r--template/default/buglist/buglist-rdf.rdf.tmpl52
1 files changed, 52 insertions, 0 deletions
diff --git a/template/default/buglist/buglist-rdf.rdf.tmpl b/template/default/buglist/buglist-rdf.rdf.tmpl
new file mode 100644
index 000000000..4cf480dcc
--- /dev/null
+++ b/template/default/buglist/buglist-rdf.rdf.tmpl
@@ -0,0 +1,52 @@
+[%# 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 <myk@mozilla.org>
+ #%]
+
+<?xml version="1.0"?>
+<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:bz="http://www.bugzilla.org/rdf#">
+
+<bz:result about="[% Param('urlbase') %]buglist.cgi?[% urlquerypart FILTER html %]">
+
+ <bz:bugs>
+ <Seq>
+ [% FOREACH bug = bugs %]
+ <li>
+
+ <bz:bug about="[% Param('urlbase') %]show_bug.cgi?id=[% bug.id %]">
+
+ <bz:id>[% bug.id %]</bz:id>
+
+ [% FOREACH column = displaycolumns %]
+ <bz:[% column %]>[% bug.$column FILTER html %]</bz:[% column %]>
+ [% END %]
+
+ </bz:bug>
+
+ </li>
+
+ [% END %]
+
+ </Seq>
+
+ </bz:bugs>
+
+</bz:result>
+
+</RDF>