Changeset 2388 for MediaWiki/trunk/FCKeditorSajax.body.php
- Timestamp:
- 2008-08-27 16:58:27 (4 months ago)
- Files:
-
- 1 modified
-
MediaWiki/trunk/FCKeditorSajax.body.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
MediaWiki/trunk/FCKeditorSajax.body.php
r2077 r2388 156 156 $parser->setOutputType(OT_HTML); 157 157 158 wfSajaxToggleFCKeditor('show'); //FCKeditor was switched to visible 158 159 return $parser->parse($wiki, $wgTitle, $options)->getText(); 159 160 } 161 function wfSajaxToggleFCKeditor($data) { 162 global $wgFCKEditorSaveUserSetting; 163 164 if($data == 'show'){ 165 $_SESSION['showMyFCKeditor'] = RTE_VISIBLE; //visible last time 166 } 167 else { 168 $_SESSION['showMyFCKeditor'] = 0; //invisible 169 } 170 return "SUCCESS"; 171 } 172 173