Index: trunk/extensions/FCKeditor/FCKeditor.body.php |
— | — | @@ -233,8 +233,8 @@ |
234 | 234 | */ |
235 | 235 | public static function onGetPreferences( $user, &$preferences ){ |
236 | 236 | global $wgDefaultUserOptions; |
237 | | - |
238 | 237 | |
| 238 | + |
239 | 239 | $preferences['riched_disable'] = array( |
240 | 240 | 'type' => 'toggle', |
241 | 241 | 'section' => 'editing/fckeditor', |
— | — | @@ -374,7 +374,7 @@ |
375 | 375 | $showSource = true; |
376 | 376 | } |
377 | 377 | |
378 | | - |
| 378 | + |
379 | 379 | $script .= ' |
380 | 380 | <script type="text/javascript"> |
381 | 381 | var showFCKEditor = ' . $this->showFCKEditor . '; |
— | — | @@ -396,7 +396,7 @@ |
397 | 397 | oFCKeditor.Config["CustomConfigurationsPath"] = wgScriptPath + "/" + wgFCKEditorExtDir + "/fckeditor_config.js";'; |
398 | 398 | // Load fckeditor-rtl.css for right-to-left languages, but only fckeditor.css for other languages |
399 | 399 | if( $wgContLang->isRTL() ) { |
400 | | - $script .= 'oFCKeditor.Config["EditorAreaCSS"] = wgScriptPath + "/" + wgFCKEditorExtDir + "/css/fckeditor.css + wgScriptPath + "/" + wgFCKEditorExtDir + "/css/fckeditor-rtl.css";'; |
| 400 | + $script .= 'oFCKeditor.Config["EditorAreaCSS"] = wgScriptPath + "/" + wgFCKEditorExtDir + "/css/fckeditor.css," + wgScriptPath + "/" + wgFCKEditorExtDir + "/css/fckeditor-rtl.css";'; |
401 | 401 | } else { |
402 | 402 | $script .= 'oFCKeditor.Config["EditorAreaCSS"] = wgScriptPath + "/" + wgFCKEditorExtDir + "/css/fckeditor.css";'; |
403 | 403 | } |