Index: trunk/phase3/skins/common/shared.css |
— | — | @@ -46,3 +46,16 @@ |
47 | 47 | table.filehistory th.mw-imagepage-filesize { |
48 | 48 | white-space:nowrap; |
49 | 49 | } |
| 50 | + |
| 51 | +/** |
| 52 | + * Forms |
| 53 | + */ |
| 54 | +body.ltr td.mw-label { text-align: right; } |
| 55 | +body.ltr td.mw-input { text-align: left; } |
| 56 | +body.ltr td.mw-submit { text-align: left; } |
| 57 | +body.rtl td.mw-label { text-align: left; } |
| 58 | +body.rtl td.mw-input { text-align: right; } |
| 59 | +body.rtl td.mw-submit { text-align: right; } |
| 60 | + |
| 61 | +td.mw-label { vertical-align: top; } |
| 62 | +td.mw-submit { white-space: nowrap; } |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -1214,7 +1214,7 @@ |
1215 | 1215 | * to ensure that client-side caches don't keep obsolete copies of global |
1216 | 1216 | * styles. |
1217 | 1217 | */ |
1218 | | -$wgStyleVersion = '97'; |
| 1218 | +$wgStyleVersion = '98'; |
1219 | 1219 | |
1220 | 1220 | |
1221 | 1221 | # Server-side caching: |
Index: trunk/phase3/includes/templates/Userlogin.php |
— | — | @@ -33,16 +33,16 @@ |
34 | 34 | <?php if( @$this->haveData( 'languages' ) ) { ?><div id="languagelinks"><p><?php $this->html( 'languages' ); ?></p></div><?php } ?> |
35 | 35 | <table> |
36 | 36 | <tr> |
37 | | - <td align='right'><label for='wpName1'><?php $this->msg('yourname') ?></label></td> |
38 | | - <td align='left'> |
| 37 | + <td class="mw-label"><label for='wpName1'><?php $this->msg('yourname') ?></label></td> |
| 38 | + <td class="mw-input"> |
39 | 39 | <input type='text' class='loginText' name="wpName" id="wpName1" |
40 | 40 | tabindex="1" |
41 | 41 | value="<?php $this->text('name') ?>" size='20' /> |
42 | 42 | </td> |
43 | 43 | </tr> |
44 | 44 | <tr> |
45 | | - <td align='right'><label for='wpPassword1'><?php $this->msg('yourpassword') ?></label></td> |
46 | | - <td align='left'> |
| 45 | + <td class="mw-label"><label for='wpPassword1'><?php $this->msg('yourpassword') ?></label></td> |
| 46 | + <td class="mw-input"> |
47 | 47 | <input type='password' class='loginPassword' name="wpPassword" id="wpPassword1" |
48 | 48 | tabindex="2" |
49 | 49 | value="" size='20' /> |
— | — | @@ -55,8 +55,8 @@ |
56 | 56 | } |
57 | 57 | ?> |
58 | 58 | <tr> |
59 | | - <td align='right'><?php $this->msg( 'yourdomainname' ) ?></td> |
60 | | - <td align='left'> |
| 59 | + <td class="mw-label"><?php $this->msg( 'yourdomainname' ) ?></td> |
| 60 | + <td class="mw-input"> |
61 | 61 | <select name="wpDomain" value="<?php $this->text( 'domain' ) ?>" |
62 | 62 | tabindex="3"> |
63 | 63 | <?php echo $doms ?> |
— | — | @@ -66,7 +66,7 @@ |
67 | 67 | <?php } ?> |
68 | 68 | <tr> |
69 | 69 | <td></td> |
70 | | - <td align='left'> |
| 70 | + <td class="mw-input"> |
71 | 71 | <input type='checkbox' name="wpRemember" |
72 | 72 | tabindex="4" |
73 | 73 | value="1" id="wpRemember" |
— | — | @@ -76,7 +76,7 @@ |
77 | 77 | </tr> |
78 | 78 | <tr> |
79 | 79 | <td></td> |
80 | | - <td align='left' style="white-space:nowrap"> |
| 80 | + <td class="mw-submit"> |
81 | 81 | <input type='submit' name="wpLoginattempt" id="wpLoginattempt" tabindex="5" value="<?php $this->msg('login') ?>" /> <?php if( $this->data['useemail'] && $this->data['canreset']) { ?><input type='submit' name="wpMailmypassword" id="wpMailmypassword" |
82 | 82 | tabindex="6" |
83 | 83 | value="<?php $this->msg('mailmypassword') ?>" /> |
— | — | @@ -117,16 +117,16 @@ |
118 | 118 | <?php if( @$this->haveData( 'languages' ) ) { ?><div id="languagelinks"><p><?php $this->html( 'languages' ); ?></p></div><?php } ?> |
119 | 119 | <table> |
120 | 120 | <tr> |
121 | | - <td align='right'><label for='wpName2'><?php $this->msg('yourname') ?></label></td> |
122 | | - <td align='left'> |
| 121 | + <td class="mw-label"><label for='wpName2'><?php $this->msg('yourname') ?></label></td> |
| 122 | + <td class="mw-input"> |
123 | 123 | <input type='text' class='loginText' name="wpName" id="wpName2" |
124 | 124 | tabindex="1" |
125 | 125 | value="<?php $this->text('name') ?>" size='20' /> |
126 | 126 | </td> |
127 | 127 | </tr> |
128 | 128 | <tr> |
129 | | - <td align='right'><label for='wpPassword2'><?php $this->msg('yourpassword') ?></label></td> |
130 | | - <td align='left'> |
| 129 | + <td class="mw-label"><label for='wpPassword2'><?php $this->msg('yourpassword') ?></label></td> |
| 130 | + <td class="mw-input"> |
131 | 131 | <input type='password' class='loginPassword' name="wpPassword" id="wpPassword2" |
132 | 132 | tabindex="2" |
133 | 133 | value="" size='20' /> |
— | — | @@ -139,8 +139,8 @@ |
140 | 140 | } |
141 | 141 | ?> |
142 | 142 | <tr> |
143 | | - <td align='right'><?php $this->msg( 'yourdomainname' ) ?></td> |
144 | | - <td align='left'> |
| 143 | + <td class="mw-label"><?php $this->msg( 'yourdomainname' ) ?></td> |
| 144 | + <td class="mw-input"> |
145 | 145 | <select name="wpDomain" value="<?php $this->text( 'domain' ) ?>" |
146 | 146 | tabindex="3"> |
147 | 147 | <?php echo $doms ?> |
— | — | @@ -149,8 +149,8 @@ |
150 | 150 | </tr> |
151 | 151 | <?php } ?> |
152 | 152 | <tr> |
153 | | - <td align='right'><label for='wpRetype'><?php $this->msg('yourpasswordagain') ?></label></td> |
154 | | - <td align='left'> |
| 153 | + <td class="mw-label"><label for='wpRetype'><?php $this->msg('yourpasswordagain') ?></label></td> |
| 154 | + <td class="mw-input"> |
155 | 155 | <input type='password' class='loginPassword' name="wpRetype" id="wpRetype" |
156 | 156 | tabindex="4" |
157 | 157 | value="" |
— | — | @@ -159,8 +159,8 @@ |
160 | 160 | </tr> |
161 | 161 | <tr> |
162 | 162 | <?php if( $this->data['useemail'] ) { ?> |
163 | | - <td align='right' style='vertical-align: top'><label for='wpEmail'><?php $this->msg('youremail') ?></label></td> |
164 | | - <td align='left'> |
| 163 | + <td class="mw-label"><label for='wpEmail'><?php $this->msg('youremail') ?></label></td> |
| 164 | + <td class="mw-input"> |
165 | 165 | <input type='text' class='loginText' name="wpEmail" id="wpEmail" |
166 | 166 | tabindex="5" |
167 | 167 | value="<?php $this->text('email') ?>" size='20' /> |
— | — | @@ -172,8 +172,8 @@ |
173 | 173 | <?php if( $this->data['userealname'] ) { ?> |
174 | 174 | </tr> |
175 | 175 | <tr> |
176 | | - <td align='right' style='vertical-align: top'><label for='wpRealName'><?php $this->msg('yourrealname') ?></label></td> |
177 | | - <td align='left'> |
| 176 | + <td class="mw-label"><label for='wpRealName'><?php $this->msg('yourrealname') ?></label></td> |
| 177 | + <td class="mw-input"> |
178 | 178 | <input type='text' class='loginText' name="wpRealName" id="wpRealName" |
179 | 179 | tabindex="6" |
180 | 180 | value="<?php $this->text('realname') ?>" size='20' /> |
— | — | @@ -185,7 +185,7 @@ |
186 | 186 | </tr> |
187 | 187 | <tr> |
188 | 188 | <td></td> |
189 | | - <td align='left'> |
| 189 | + <td class="mw-input"> |
190 | 190 | <input type='checkbox' name="wpRemember" |
191 | 191 | tabindex="7" |
192 | 192 | value="1" id="wpRemember" |
— | — | @@ -195,7 +195,7 @@ |
196 | 196 | </tr> |
197 | 197 | <tr> |
198 | 198 | <td></td> |
199 | | - <td align='left'> |
| 199 | + <td class="mw-submit"> |
200 | 200 | <input type='submit' name="wpCreateaccount" id="wpCreateaccount" |
201 | 201 | tabindex="8" |
202 | 202 | value="<?php $this->msg('createaccount') ?>" /> |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -30,6 +30,7 @@ |
31 | 31 | ImageMagick, diff3 et al. during installation [patch by Jan Reininghaus] |
32 | 32 | * (bug 7027) Shift handling of deletion permissions-checking to |
33 | 33 | getUserPermissionsErrors. |
| 34 | +* Login and signup forms are now more correct for right-to-left languages. |
34 | 35 | |
35 | 36 | === API changes in 1.12 === |
36 | 37 | |