r72980 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72979‎ | r72980 | r72981 >
Date:15:49, 14 September 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Add new lines to the output and fixed unmatched </tr> tags
Modified paths:
  • /trunk/extensions/Translate/utils/MessageTable.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/utils/MessageTable.php
@@ -112,7 +112,7 @@
113113 $tableheader .= Xml::closeElement( 'tr' );
114114 }
115115
116 - return $tableheader;
 116+ return $tableheader ."\n";
117117 }
118118
119119 public function contents() {
@@ -179,8 +179,7 @@
180180 );
181181
182182 $output .= Xml::tags( 'tr', array( 'class' => 'new' ),
183 - Xml::tags( 'td', null, TranslateUtils::convertWhiteSpaceToHTML( $message ) ) .
184 - Xml::closeElement( 'tr' )
 183+ Xml::tags( 'td', null, TranslateUtils::convertWhiteSpaceToHTML( $message ) )
185184 );
186185 } else {
187186 $output .= Xml::tags( 'tr', array( 'class' => 'def' ),
@@ -188,6 +187,7 @@
189188 Xml::tags( 'td', $rclasses, TranslateUtils::convertWhiteSpaceToHTML( $message ) )
190189 );
191190 }
 191+ $output .= "\n";
192192 }
193193
194194 return $output;

Status & tagging log