summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/show.xml.tmpl
diff options
context:
space:
mode:
authorDavid Lawrence <dlawrence@mozilla.com>2011-08-08 07:25:44 +0200
committerDavid Lawrence <dlawrence@mozilla.com>2011-08-08 07:25:44 +0200
commitc3a95ddecfea0ce531c125f6090082b7bf7b5bad (patch)
tree7194ad44deb216ed66d9f3b6cd1974f29554ed40 /template/en/default/bug/show.xml.tmpl
parent326354d6358d4ea13571155ef04c78503b5f8903 (diff)
downloadbugzilla-c3a95ddecfea0ce531c125f6090082b7bf7b5bad.tar.gz
bugzilla-c3a95ddecfea0ce531c125f6090082b7bf7b5bad.tar.xz
Bug 341809 - bugzilla.dtd does not include any custom fields (automate DTD creation))
r=mkanat, a=LpSolit
Diffstat (limited to 'template/en/default/bug/show.xml.tmpl')
-rw-r--r--template/en/default/bug/show.xml.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/en/default/bug/show.xml.tmpl b/template/en/default/bug/show.xml.tmpl
index dae207f26..c0f32d69e 100644
--- a/template/en/default/bug/show.xml.tmpl
+++ b/template/en/default/bug/show.xml.tmpl
@@ -20,8 +20,10 @@
#
#%]
[% PROCESS bug/time.html.tmpl %]
+[% USE Bugzilla %]
+[% cgi = Bugzilla.cgi %]
<?xml version="1.0" [% IF Param('utf8') %]encoding="UTF-8" [% END %]standalone="yes" ?>
-<!DOCTYPE bugzilla SYSTEM "[% urlbase FILTER html %]bugzilla.dtd">
+<!DOCTYPE bugzilla [% IF cgi.param('dtd') %][[% PROCESS pages/bugzilla.dtd.tmpl %]][% ELSE %]SYSTEM "[% urlbase FILTER xml %]page.cgi?id=bugzilla.dtd"[% END %]>
<bugzilla version="[% constants.BUGZILLA_VERSION %]"
urlbase="[% urlbase FILTER xml %]"