From: jocuri%softhome.net <> Date: Mon, 17 Jan 2005 04:34:51 +0000 (+0000) Subject: Patch for bug 171478: XML bug output should include attachment flags; patch by Colin... X-Git-Tag: bugzilla-2.19.3~391 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ce889ad699125ad4cab16404b40f0df8fd3bf5b;p=thirdparty%2Fbugzilla.git Patch for bug 171478: XML bug output should include attachment flags; patch by Colin S. Ogilvie , r=wurblzap, a=myk. --- diff --git a/bugzilla.dtd b/bugzilla.dtd index 82ccfff18c..f9ced933b6 100644 --- a/bugzilla.dtd +++ b/bugzilla.dtd @@ -47,9 +47,20 @@ - + + + + diff --git a/template/en/default/bug/show.xml.tmpl b/template/en/default/bug/show.xml.tmpl index 8b29537a43..6c950a2bf7 100644 --- a/template/en/default/bug/show.xml.tmpl +++ b/template/en/default/bug/show.xml.tmpl @@ -65,10 +65,29 @@ [% IF displayfields.attachment %] [% FOREACH a = bug.attachments %] [% NEXT IF a.isprivate && !UserInGroup(Param("insidergroup")) %] - + [% a.attachid %] [% a.date FILTER time FILTER xml %] [% a.description FILTER xml %] + [% a.contenttype FILTER xml %] + [% FOREACH flag = a.flags %] + + [% END %] [% END %] [% END %]