Index: trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_EditPageAjax.php |
— | — | @@ -161,7 +161,7 @@ |
162 | 162 | $lTitle = Title::makeTitle( NS_SPECIAL, 'Userlogin' ); |
163 | 163 | $loginLink = $lTitle->getFullURL('returnto=' . MWNamespace::getCanonicalName( MV_NS_STREAM ) . ':' . $stream_name ); |
164 | 164 | |
165 | | - $wgOut->addWikiText( wfMsg( 'mv_user_cant_edit', $loginLink, $cancel ) ); |
| 165 | + $wgOut->addHTML( wfMsg( 'mv_user_cant_edit', $loginLink, $cancel ) ); |
166 | 166 | $wgOut->readOnlyPage( $this->mArticle->getContent(), true, $permErrors ); |
167 | 167 | $wgUser->setOption( 'rows', $non_ajax_rows ); |
168 | 168 | wfProfileOut( $fname ); |
Index: trunk/extensions/MetavidWiki/skins/mv_allpages.js |
— | — | @@ -165,8 +165,8 @@ |
166 | 166 | $j('#mvd_link_im_'+inx).replaceWith('<div style="height:300px;width:400px;">' + |
167 | 167 | '<video roe="'+base_roe_url + gMvd[inx]['sn']+'&t='+gMvd[inx]['st']+'/'+gMvd[inx]['et']+'" ' + |
168 | 168 | 'autoplay="true" id="mvd_vid_'+inx +'"></video>' + |
169 | | - '</div>'); |
170 | | - init_mv_embed(true); |
| 169 | + '</div><div style="height:10px;clear:both"/>'); |
| 170 | + rewrite_by_id('mvd_vid_'+inx ); |
171 | 171 | }); |
172 | 172 | $j('#mv_mvd_ex_'+inx).css('background', 'url(\''+wgScriptPath+'/extensions/MetavidWiki/skins/images/opened.png\')'); |
173 | 173 | $j('#mv_mvd_ex_'+inx).unbind(); |