Index: trunk/extensions/Drafts/Drafts.classes.php |
— | — | @@ -200,20 +200,13 @@ |
201 | 201 | $wgOut->addHTML( Xml::openElement( 'tr' ) ); |
202 | 202 | $wgOut->addHTML( |
203 | 203 | Xml::element( 'th', |
204 | | - array( |
205 | | - 'align' => 'left', |
206 | | - 'width' => '75%', |
207 | | - 'nowrap' => 'nowrap' |
208 | | - ), |
| 204 | + array( 'width' => '75%', 'nowrap' => 'nowrap' ), |
209 | 205 | wfMsg( 'drafts-view-article' ) |
210 | 206 | ) |
211 | 207 | ); |
212 | 208 | $wgOut->addHTML( |
213 | 209 | Xml::element( 'th', |
214 | | - array( |
215 | | - 'align' => 'left', |
216 | | - 'nowrap' => 'nowrap' |
217 | | - ), |
| 210 | + array( 'nowrap' => 'nowrap' ), |
218 | 211 | wfMsg( 'drafts-view-saved' ) |
219 | 212 | ) |
220 | 213 | ); |
— | — | @@ -260,12 +253,7 @@ |
261 | 254 | // Build XML |
262 | 255 | $wgOut->addHTML( Xml::openElement( 'tr' ) ); |
263 | 256 | $wgOut->addHTML( |
264 | | - Xml::openElement( 'td', |
265 | | - array( |
266 | | - 'align' => 'left', |
267 | | - 'nowrap' => 'nowrap' |
268 | | - ) |
269 | | - ) |
| 257 | + Xml::openElement( 'td', array( 'nowrap' => 'nowrap' ) ) |
270 | 258 | ); |
271 | 259 | $wgOut->addHTML( |
272 | 260 | Xml::element( 'a', |
— | — | @@ -283,19 +271,13 @@ |
284 | 272 | $wgOut->addHTML( Xml::closeElement( 'td' ) ); |
285 | 273 | $wgOut->addHTML( |
286 | 274 | Xml::element( 'td', |
287 | | - array( |
288 | | - 'align' => 'left', |
289 | | - 'nowrap' => 'nowrap' |
290 | | - ), |
| 275 | + array( 'nowrap' => 'nowrap' ), |
291 | 276 | $wgLang->timeanddate( $draft->getSaveTime() ) |
292 | 277 | ) |
293 | 278 | ); |
294 | 279 | $wgOut->addHTML( |
295 | 280 | Xml::openElement( 'td', |
296 | | - array( |
297 | | - 'align' => 'left', |
298 | | - 'nowrap' => 'nowrap' |
299 | | - ) |
| 281 | + array( 'nowrap' => 'nowrap' ) |
300 | 282 | ) |
301 | 283 | ); |
302 | 284 | $jsClick = "if( wgDraft.getState() !== 'unchanged' )" . |
Index: trunk/extensions/Drafts/Drafts.css |
— | — | @@ -10,4 +10,12 @@ |
11 | 11 | #drafts-list-table { |
12 | 12 | margin-left: -5px; |
13 | 13 | margin-right:-5px; |
| 14 | +} |
| 15 | + |
| 16 | +#drafts-list-table td, #drafts-list-table th { |
| 17 | + text-align: left; |
| 18 | +} |
| 19 | + |
| 20 | +.rtl #drafts-list-table td, .rtl #drafts-list-table th { |
| 21 | + text-align: right; |
14 | 22 | } |
\ No newline at end of file |