Index: trunk/extensions/Translate/specials/SpecialMessageGroupStats.php |
— | — | @@ -131,9 +131,11 @@ |
132 | 132 | $table->setMainColumnHeader( wfMessage( 'translate-mgs-column-language' ) ); |
133 | 133 | $out = $table->createHeader() . "\n" . $out; |
134 | 134 | $out .= Html::closeElement( 'tbody' ); |
135 | | - $out .= '<tfoot>'; |
| 135 | + |
| 136 | + $out .= Html::openElement( 'tfoot' ); |
136 | 137 | $out .= $table->makeTotalRow( wfMessage( 'translate-mgs-totals' ), $this->totals ); |
137 | | - $out .= '</tfoot>'; |
| 138 | + $out .= Html::closeElement( 'tfoot' ); |
| 139 | + |
138 | 140 | $out .= Html::closeElement( 'table' ); |
139 | 141 | return $out; |
140 | 142 | } else { |
Index: trunk/extensions/Translate/specials/SpecialLanguageStats.php |
— | — | @@ -289,10 +289,12 @@ |
290 | 290 | if ( $out ) { |
291 | 291 | $table->setMainColumnHeader( wfMessage( 'translate-ls-column-group' ) ); |
292 | 292 | $out = $table->createHeader() . "\n" . $out; |
293 | | - $out .= '<tfoot>'; |
| 293 | + $out .= Html::closeElement( 'tbody' ); |
| 294 | + |
| 295 | + $out .= Html::openElement( 'tfoot' ); |
294 | 296 | $out .= $table->makeTotalRow( wfMessage( 'translate-languagestats-overall' ), $this->totals ); |
295 | | - $out .= '</tfoot>'; |
296 | | - $out .= Html::closeElement( 'tbody' ); |
| 297 | + $out .= Html::closeElement( 'tfoot' ); |
| 298 | + |
297 | 299 | $out .= Html::closeElement( 'table' ); |
298 | 300 | return $out; |
299 | 301 | } else { |