From: David Lawrence Date: Mon, 8 Aug 2011 05:25:44 +0000 (-0400) Subject: Bug 341809 - bugzilla.dtd does not include any custom fields (automate DTD creation)) X-Git-Tag: bugzilla-4.3.1~308 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3a95ddecfea0ce531c125f6090082b7bf7b5bad;p=thirdparty%2Fbugzilla.git Bug 341809 - bugzilla.dtd does not include any custom fields (automate DTD creation)) r=mkanat, a=LpSolit --- diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 1d9d07a5b5..9dd8b76fbb 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -438,15 +438,16 @@ use constant LEGAL_CONTENT_TYPES => ('application', 'audio', 'image', 'message', use constant contenttypes => { - "html"=> "text/html" , - "rdf" => "application/rdf+xml" , - "atom"=> "application/atom+xml" , - "xml" => "application/xml" , - "js" => "application/x-javascript" , - "json"=> "application/json" , - "csv" => "text/csv" , - "png" => "image/png" , - "ics" => "text/calendar" , + "html" => "text/html" , + "rdf" => "application/rdf+xml" , + "atom" => "application/atom+xml" , + "xml" => "application/xml" , + "dtd" => "application/xml-dtd" , + "js" => "application/x-javascript" , + "json" => "application/json" , + "csv" => "text/csv" , + "png" => "image/png" , + "ics" => "text/calendar" , }; # Usage modes. Default USAGE_MODE_BROWSER. Use with Bugzilla->usage_mode. diff --git a/bugzilla.dtd b/bugzilla.dtd deleted file mode 100644 index 61d7969f65..0000000000 --- a/bugzilla.dtd +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/template/en/default/bug/show.xml.tmpl b/template/en/default/bug/show.xml.tmpl index dae207f266..c0f32d69e2 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 %] - + + # Dave Miller + # Bradley Baetz + # Myk Mylez + # Colin Ogilvie + # Joel Peshkin + # Frédéric Buclin + # Gervase Markham + # Max Kanat-Alexander + # David Lawrence + # + #%] +[% USE Bugzilla %] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +[% FOREACH field = Bugzilla.active_custom_fields %] + +[% END %] + + + + + + + + + + + + + + + + + + + + +