Merge "Reapplying r45820 to support the NewSignupPage extension."
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sat, 15 Mar 2014 18:48:34 +0000 (18:48 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 15 Mar 2014 18:48:34 +0000 (18:48 +0000)
1  2 
includes/templates/Usercreate.php

@@@ -58,23 -58,15 +58,23 @@@ class UsercreateTemplate extends BaseTe
                        <section class="mw-form-header">
                                <?php $this->html( 'header' ); /* extensions such as ConfirmEdit add form HTML here */ ?>
                        </section>
 +                      <!-- This element is used by the mediawiki.special.userlogin.signup.js module. -->
 +                      <div
 +                              id="mw-createacct-status-area"
 +                              <?php if ( $this->data['message'] ) { ?>
 +                                      class="<?php echo $this->data['messagetype']; ?>box"
 +                              <?php } else { ?>
 +                                      style="display: none;"
 +                              <?php } ?>
 +                      >
                        <?php if ( $this->data['message'] ) { ?>
 -                              <div class="<?php $this->text( 'messagetype' ); ?>box">
                                        <?php if ( $this->data['messagetype'] == 'error' ) { ?>
                                                <strong><?php $this->msg( 'createacct-error' ); ?></strong>
                                                <br />
                                        <?php } ?>
                                        <?php $this->html( 'message' ); ?>
 -                              </div>
                        <?php } ?>
 +                      </div>
  
                        <div>
                                <label for='wpName2'>
                                                                                echo 'checked="checked"';
                                                                        } ?>
                                                                >
-                                                               <?php $this->msg( $inputItem['msg'] ); ?>
+                                                               <?php $this->msgHtml( $inputItem['msg'] ); ?>
                                                        </label>
                                                <?php
                                                } else {