Index: trunk/extensions/OggHandler/OggHandler_body.php |
— | — | @@ -448,7 +448,7 @@ |
449 | 449 | } |
450 | 450 | |
451 | 451 | function setHeaders( $out ) { |
452 | | - global $wgOggScriptVersion, $wgCortadoJarFile, $wgServer; |
| 452 | + global $wgOggScriptVersion, $wgCortadoJarFile, $wgServer, $wgContLang; |
453 | 453 | |
454 | 454 | if ( $out->hasHeadItem( 'OggHandlerScript' ) && $out->hasHeadItem( 'OggHandlerInlineScript' ) && |
455 | 455 | $out->hasHeadItem( 'OggHandlerInlineCSS' ) ) { |
— | — | @@ -471,6 +471,7 @@ |
472 | 472 | } |
473 | 473 | $encCortadoUrl = Xml::encodeJsVar( $cortadoUrl ); |
474 | 474 | $encExtPathUrl = Xml::encodeJsVar( $scriptPath ); |
| 475 | + $alignStart = $wgContLang->alignStart(); |
475 | 476 | |
476 | 477 | $out->addHeadItem( 'OggHandlerScript' , Html::linkedScript( "{$scriptPath}/OggPlayer.js?$wgOggScriptVersion" ) ); |
477 | 478 | |
— | — | @@ -487,7 +488,7 @@ |
488 | 489 | .ogg-player-options { |
489 | 490 | border: solid 1px #ccc; |
490 | 491 | padding: 2pt; |
491 | | - text-align: left; |
| 492 | + text-align: $alignStart; |
492 | 493 | font-size: 10pt; |
493 | 494 | } |
494 | 495 | |