r45279 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45278‎ | r45279 | r45280 >
Date:13:29, 1 January 2009
Author:raymond
Status:ok
Tags:
Comment:
Add a space between input field and button. Looks smarter :)
Modified paths:
  • /trunk/extensions/InputBox/InputBox.classes.php (modified) (history)

Diff [purge]

Index: trunk/extensions/InputBox/InputBox.classes.php
@@ -470,13 +470,13 @@
471471 $this->$var = $values[$name];
472472 }
473473 }
474 -
 474+
475475 // Insert a line break if configured to do so
476 - $this->mBR = ( strtolower( $this->mBR ) == "no" ) ? '' : '<br />';
 476+ $this->mBR = ( strtolower( $this->mBR ) == "no" ) ? ' ' : '<br />';
477477
478478 // Validate the width; make sure it's a valid, positive integer
479479 $this->mWidth = intval( $this->mWidth <= 0 ? 50 : $this->mWidth );
480 -
 480+
481481 wfProfileOut( __METHOD__ );
482482 }
483483

Status & tagging log