]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 252856: HTML charts don't validate - Patch by victory(_RSZ_) <bmo@rsz.jp> r=gerv...
authorlpsolit%gmail.com <>
Sat, 19 Aug 2006 00:43:41 +0000 (00:43 +0000)
committerlpsolit%gmail.com <>
Sat, 19 Aug 2006 00:43:41 +0000 (00:43 +0000)
template/en/default/filterexceptions.pl
template/en/default/reports/report-table.html.tmpl
template/en/default/reports/report.html.tmpl

index 062408a090a877b5889da1e9ffb153fe5d28db13..2723b8dd9dcbd8fa6e2215586e05a35cbf430065 100644 (file)
 ],
 
 'reports/report-table.html.tmpl' => [
-  'buglistbase', 
   '"&amp;$tbl_vals" IF tbl_vals', 
   '"&amp;$col_vals" IF col_vals', 
   '"&amp;$row_vals" IF row_vals', 
index 679eb1c1dd9b3f302ba440aac6023fc997ec89f7..60965d5021107f216ca2ef8d3db9988370317014 100644 (file)
 [% row_field_disp = field_descs.$row_field || row_field %]
   
 [% IF tbl == "-total-" %]
-  [% urlbase = BLOCK %]buglist.cgi?[% buglistbase %]
+  [% urlbase = BLOCK %]buglist.cgi?[% buglistbase FILTER html %]
   [% "&amp;$tbl_vals" IF tbl_vals %][% END %]
 [% ELSE %]
-  [% urlbase = BLOCK %]buglist.cgi?[% buglistbase %]&amp;
+  [% urlbase = BLOCK %]buglist.cgi?[% buglistbase FILTER html %]&amp;
   [% tbl_field FILTER url_quote %]=[% tbl FILTER url_quote %][% END %]
 [% END %]
 
           [% col_field FILTER url_quote %]=[% col FILTER url_quote %]
           [% "&amp;$row_vals" IF row_vals %]">
         [% col_totals.$col %]</a>
-      <strong>
       </td> 
     [% END %]
     <td class="ttotal" align="right">
index 29157842f730fdfe26e030a26ecfb205c238c47f..cf4dda8277d03bad172cb78afdcd08aa6e8136b9 100644 (file)
@@ -51,6 +51,7 @@
 [% tbl_field_disp = field_descs.$tbl_field || tbl_field %]
 [% col_field_disp = field_descs.$col_field || col_field %]
 [% row_field_disp = field_descs.$row_field || row_field %]
+[% switchbase     = switchbase FILTER html %]
 
 [% title = BLOCK %]
   Report: 
                        { name => "line",  description => "Line" },
                        { name => "table", description => "Table" } ] %]
 
-        [% formaturl = "report.cgi?$switchbase&width=$width&height=$height" _ 
-                       "&action=wrap" %]
+        [% formaturl = "report.cgi?$switchbase&amp;width=$width" _ 
+                       "&amp;height=$height&amp;action=wrap" %]
         [% FOREACH other_format = formats %]
           [% NEXT IF other_format.name == "pie" AND row_field AND col_field %]
           [% UNLESS other_format.name == format %]
                    [% height - 100 %]">Shorter</a><br>
         </td>
       [% END %]
-    <tr>
+    </tr>
   </table>
 
   <p>