Index: trunk/extensions/TimedMediaHandler/TimedTextPage.php |
— | — | @@ -41,7 +41,7 @@ |
42 | 42 | $wgOut->addHTML( |
43 | 43 | xml::tags( 'table', array( 'style'=> 'border:none' ), |
44 | 44 | xml::tags( 'tr', null, |
45 | | - xml::tags( 'td', array( 'width' => self::$videoWidth ), $this->getVideoHTML( $videoTitle ) ) . |
| 45 | + xml::tags( 'td', array( 'valign' => 'top', 'width' => self::$videoWidth ), $this->getVideoHTML( $videoTitle ) ) . |
46 | 46 | xml::tags( 'td', array( 'valign' => 'top' ) , $this->getSrtHTML( $languageName ) ) |
47 | 47 | ) |
48 | 48 | ) |
— | — | @@ -74,5 +74,6 @@ |
75 | 75 | if( !$this->exists() ){ |
76 | 76 | return wfMessage( 'timedmedia-subtitle-no-subtitles', $languageName ); |
77 | 77 | } |
| 78 | + return '<pre style="margin-top:0px;">'. $this->getContent() . "</pre>"; |
78 | 79 | } |
79 | 80 | } |
\ No newline at end of file |