"Your domain" appearance fixes for new forms
authorS Page <spage@wikimedia.org>
Thu, 6 Jun 2013 01:47:04 +0000 (18:47 -0700)
committerS Page <spage@wikimedia.org>
Thu, 6 Jun 2013 01:51:00 +0000 (18:51 -0700)
* Restore lost id=mw-user-domain-section (so wikitech can hide it).
* Remove obsolete pos-above class.
* Fix message key.

Bug: 49225
Change-Id: I73bcd44eff10a4fd2d1a392e82427e42e92fc3bf

includes/templates/UsercreateVForm.php
includes/templates/UserloginVForm.php

index 2f90d3c..9258881 100644 (file)
@@ -121,8 +121,8 @@ class UsercreateTemplateVForm extends BaseTemplate {
                        $doms .= "<option>" . htmlspecialchars( $dom ) . "</option>";
                }
        ?>
-               <div>
-                       <label><?php $this->msg( 'yourdomainname' ); ?></label>
+               <div id="mw-user-domain-section">
+                       <label for="wpDomain"><?php $this->msg( 'yourdomainname' ); ?></label>
                        <div class="mw-input">
                                <select name="wpDomain" value="<?php $this->text( 'domain' ); ?>"
                                        tabindex="4">
index 4f44209..5b2504e 100644 (file)
@@ -130,7 +130,7 @@ class UserloginTemplateVForm extends BaseTemplate {
                }
        ?>
                <div id="mw-user-domain-section">
-                       <label for='wpDomain' class="pos-above"><?php $this->msg( 'yourdomain' ); ?></label>
+                       <label for='wpDomain'><?php $this->msg( 'yourdomainname' ); ?></label>
                                <select name="wpDomain" value="<?php $this->text( 'domain' ); ?>"
                                        tabindex="3">
                                        <?php echo $doms ?>