' ); } //Style sheet, pretty obvious function fxsp_css() { echo ( '' ); } //Print the check spelling option and create status span for messages function fxsp_print() { echo( 'SpellCheck
' ); echo( '' ); } //WYSI plugin elite code - this adds the extra required divs to wordpress function admin_replace( $lookmanoqtags ) { $lookmanoqtags = preg_replace('/
', $lookmanoqtags); return $lookmanoqtags; } //Where to add the code if( stristr($_SERVER["PHP_SELF"],"post.php")||stristr($_SERVER["PHP_SELF"],"page-new.php") ) { include( ABSPATH . "/wp-content/plugins/fxsp/spell_checker.php" ); ob_start( 'admin_replace' ); add_action( 'admin_head', 'fxsp_css' ); add_action( 'admin_head', 'fxsp_script' ); add_action( 'edit_form_advanced', 'fxsp_print' ); add_action( 'simple_edit_form', 'fxsp_print' ); add_action( 'edit_page_form', 'fxsp_print' ); } ?>