r64331 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64330‎ | r64331 | r64332 >
Date:11:41, 29 March 2010
Author:demon
Status:ok
Tags:
Comment:
Better yet, use the non-scary warning box
Modified paths:
  • /branches/new-installer/phase3/includes/installer/InstallerDBType.php (modified) (history)

Diff [purge]

Index: branches/new-installer/phase3/includes/installer/InstallerDBType.php
@@ -294,7 +294,7 @@
295295 $this->getPasswordBox( 'wgDBpassword', 'config-db-password' ) .
296296 $this->parent->getHelpBox( 'config-db-web-help' );
297297 if ( $noCreateMsg ) {
298 - $s .= Xml::element( 'span', array( 'class' => 'error' ), wfMsg( $noCreateMsg ) );
 298+ $s .= $this->parent->getWarningBox( wfMsgNoTrans( $noCreateMsg ) );
299299 } else {
300300 $s .= $this->getCheckBox( '_CreateDBAccount', 'config-db-web-create' );
301301 }

Status & tagging log