Commit 6ec682ac authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 252856: HTML charts don't validate - Patch by victory(_RSZ_) <bmo@rsz.jp> r=gerv a=myk

parent 4b92f274
...@@ -123,7 +123,6 @@ ...@@ -123,7 +123,6 @@
], ],
'reports/report-table.html.tmpl' => [ 'reports/report-table.html.tmpl' => [
'buglistbase',
'"&amp;$tbl_vals" IF tbl_vals', '"&amp;$tbl_vals" IF tbl_vals',
'"&amp;$col_vals" IF col_vals', '"&amp;$col_vals" IF col_vals',
'"&amp;$row_vals" IF row_vals', '"&amp;$row_vals" IF row_vals',
......
...@@ -37,10 +37,10 @@ ...@@ -37,10 +37,10 @@
[% row_field_disp = field_descs.$row_field || row_field %] [% row_field_disp = field_descs.$row_field || row_field %]
[% IF tbl == "-total-" %] [% IF tbl == "-total-" %]
[% urlbase = BLOCK %]buglist.cgi?[% buglistbase %] [% urlbase = BLOCK %]buglist.cgi?[% buglistbase FILTER html %]
[% "&amp;$tbl_vals" IF tbl_vals %][% END %] [% "&amp;$tbl_vals" IF tbl_vals %][% END %]
[% ELSE %] [% 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 %] [% tbl_field FILTER url_quote %]=[% tbl FILTER url_quote %][% END %]
[% END %] [% END %]
...@@ -154,7 +154,6 @@ ...@@ -154,7 +154,6 @@
[% col_field FILTER url_quote %]=[% col FILTER url_quote %] [% col_field FILTER url_quote %]=[% col FILTER url_quote %]
[% "&amp;$row_vals" IF row_vals %]"> [% "&amp;$row_vals" IF row_vals %]">
[% col_totals.$col %]</a> [% col_totals.$col %]</a>
<strong>
</td> </td>
[% END %] [% END %]
<td class="ttotal" align="right"> <td class="ttotal" align="right">
......
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
[% tbl_field_disp = field_descs.$tbl_field || tbl_field %] [% tbl_field_disp = field_descs.$tbl_field || tbl_field %]
[% col_field_disp = field_descs.$col_field || col_field %] [% col_field_disp = field_descs.$col_field || col_field %]
[% row_field_disp = field_descs.$row_field || row_field %] [% row_field_disp = field_descs.$row_field || row_field %]
[% switchbase = switchbase FILTER html %]
[% title = BLOCK %] [% title = BLOCK %]
Report: Report:
...@@ -125,8 +126,8 @@ ...@@ -125,8 +126,8 @@
{ name => "line", description => "Line" }, { name => "line", description => "Line" },
{ name => "table", description => "Table" } ] %] { name => "table", description => "Table" } ] %]
[% formaturl = "report.cgi?$switchbase&width=$width&height=$height" _ [% formaturl = "report.cgi?$switchbase&amp;width=$width" _
"&action=wrap" %] "&amp;height=$height&amp;action=wrap" %]
[% FOREACH other_format = formats %] [% FOREACH other_format = formats %]
[% NEXT IF other_format.name == "pie" AND row_field AND col_field %] [% NEXT IF other_format.name == "pie" AND row_field AND col_field %]
[% UNLESS other_format.name == format %] [% UNLESS other_format.name == format %]
...@@ -157,7 +158,7 @@ ...@@ -157,7 +158,7 @@
[% height - 100 %]">Shorter</a><br> [% height - 100 %]">Shorter</a><br>
</td> </td>
[% END %] [% END %]
<tr> </tr>
</table> </table>
<p> <p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment