* Change <h2> to <strong> for message 'loginerror' because this message is always...
authorRaimond Spekking <raymond@users.mediawiki.org>
Mon, 14 Dec 2009 20:08:13 +0000 (20:08 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Mon, 14 Dec 2009 20:08:13 +0000 (20:08 +0000)
No other error message using these boxes has an 'h2' in it.

includes/templates/Userlogin.php

index 96713ff..1be844c 100644 (file)
@@ -16,7 +16,7 @@ class UserloginTemplate extends QuickTemplate {
 ?>
        <div class="<?php $this->text('messagetype') ?>box">
                <?php if ( $this->data['messagetype'] == 'error' ) { ?>
-                       <h2><?php $this->msg('loginerror') ?></h2>
+                       <?php $this->msg( 'loginerror' )?></strong><br />
                <?php } ?>
                <?php $this->html('message') ?>
        </div>
@@ -138,7 +138,7 @@ class UsercreateTemplate extends QuickTemplate {
 ?>
        <div class="<?php $this->text('messagetype') ?>box">
                <?php if ( $this->data['messagetype'] == 'error' ) { ?>
-                       <h2><?php $this->msg('loginerror') ?></h2>
+                       <strong><?php $this->msg( 'loginerror' )?></strong><br />
                <?php } ?>
                <?php $this->html('message') ?>
        </div>