make sure new CSS is applied to create form too
authorTom Gilder <tomgilder@users.mediawiki.org>
Fri, 2 Dec 2005 02:44:12 +0000 (02:44 +0000)
committerTom Gilder <tomgilder@users.mediawiki.org>
Fri, 2 Dec 2005 02:44:12 +0000 (02:44 +0000)
includes/templates/Userlogin.php

index d00851e..8e6fcda 100644 (file)
@@ -91,7 +91,10 @@ class UsercreateTemplate extends QuickTemplate {
        function execute() {
                if( $this->data['message'] ) {
 ?>
-       <div class="<?php $this->text('messageclass') ?>">
+       <div class="<?php $this->text('messagetype') ?>box">
+               <?php if ( $this->data['messagetype'] == 'error' ) { ?>
+                       <h2><?php $this->msg('loginerror') ?>:</h2>
+               <?php } ?>
                <?php $this->html('message') ?>
        </div>
        <div class="visualClear"></div>