r84256 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84255‎ | r84256 | r84257 >
Date:18:55, 18 March 2011
Author:yaron
Status:deferred
Tags:
Comment:
Small PHP fix
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_TemplateField.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_TemplateField.php
@@ -139,14 +139,14 @@
140140 // A CSS style can't be used, unfortunately, since most
141141 // MediaWiki setups don't have an 'infobox' or
142142 // comparable CSS class.
143 - $tableText .= <<<END
 143+ $tableText = <<<END
144144 {| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
145145 ! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
146146 |-
147147
148148 END;
149149 } else {
150 - $tableText .= '{| class="wikitable"' . "\n";
 150+ $tableText = '{| class="wikitable"' . "\n";
151151 }
152152
153153 foreach ( $template_fields as $i => $field ) {