r43648 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43647‎ | r43648 | r43649 >
Date:22:19, 17 November 2008
Author:yaron
Status:deferred
Tags:
Comment:
Slightly improved formatting
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc
@@ -242,12 +242,10 @@
243243 if (count($sub_components) == 2) {
244244 if ($sub_components[0] == 'label') {
245245 $template_label = $sub_components[1];
246 - }
247 - if ($sub_components[0] == 'chooser') {
 246+ } elseif ($sub_components[0] == 'chooser') {
248247 $allow_multiple = true;
249248 $chooser_name = $sub_components[1];
250 - }
251 - if ($sub_components[0] == 'chooser caption') {
 249+ } elseif ($sub_components[0] == 'chooser caption') {
252250 $chooser_caption = $sub_components[1];
253251 }
254252 }

Status & tagging log