r59985 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59984‎ | r59985 | r59986 >
Date:23:35, 11 December 2009
Author:yaron
Status:ok
Tags:
Comment:
Removed some unnecessary quotes
Modified paths:
  • /trunk/extensions/TemplateInfo/TemplateInfo.classes.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TemplateInfo/TemplateInfo.classes.php
@@ -49,7 +49,7 @@
5050 $data_type = htmlspecialchars($data_type);
5151 $content = is_null($value) ? $data_type : "$data_type: " . HTML::element('span', array('class' => 'rowValue'), $value);
5252 $cell = HTML::rawElement('td', array('colspan' => 2), $content);
53 - $text = HTML::rawElement('tr', array('class' => "$css_class"), $cell);
 53+ $text = HTML::rawElement('tr', array('class' => $css_class), $cell);
5454 $text .= "\n";
5555 return $text;
5656 }
@@ -57,7 +57,7 @@
5858 static function tableMessageRowHTML($css_class, $name, $value) {
5959 $cell1 = HTML::element('td', array(), $name);
6060 $cell2 = HTML::element('td', array('class' => 'msg'), $value);
61 - $text = HTML::rawElement('tr', array('class' => "$css_class"), $cell1 . "\n" . $cell2);
 61+ $text = HTML::rawElement('tr', array('class' => $css_class), $cell1 . "\n" . $cell2);
6262 $text .= "\n";
6363 return $text;
6464 }

Status & tagging log