<{php}>
$this->assign( 'common_fck_installed' , file_exists( XOOPS_ROOT_PATH.'/common/fckeditor/fckeditor.js' ) ) ;
<{/php}>
<{if $mod_config.body_editor != "common_fckeditor" and $common_fck_installed }><{/if}> |
<{*<{if $body_wysiwyg && ! $content.filter_infos.eval.enabled}>*}>
<{*<{$body_wysiwyg}>*}>
<{if $content.filter_infos.eval.enabled or $content.filter_infos.htmlspecialchars.enabled or $content.filter_infos.wraps.enabled or $content.filter_infos.textwiki.enabled}>
<{xoopsdhtmltarea name="body" cols="60" rows="15" value=$content.body pre_style="display:none;" post_style="display:none;"}>
<{else}>
<{if $content.filter_infos.xcode.enabled or $content.filter_infos.nl2br.enabled or $content.filter_infos.smiley.enabled }>
<{php}>
$_makescript = & xoops_getmodulehandler('makescript','myckeditor');
$params = array('id'=>'body','editor'=>'bbcode','myckeditor'=>'on');
if (@is_object( $_makescript )){
$this->assign( 'common_myck_installed' , true ) ;
$_makescript->makeheader($params);
}
<{/php}>
<{else}>
<{php}>
$_makescript = & xoops_getmodulehandler('makescript','myckeditor');
$params = array('id'=>'body','editor'=>'html','myckeditor'=>'on');
if (@is_object( $_makescript )){
$this->assign( 'common_myck_installed' , true ) ;
$_makescript->makeheader($params);
}
<{/php}>
<{/if}>
<{if $common_myck_installed}>
<{/if}>
<{xoopsdhtmltarea name="body" cols="60" rows="15" value=$content.body pre_style="display:none;" post_style="display:none;"}>
<{/if}>
|
<{if $content.body_waiting && $page != 'makecontent'}>