summaryrefslogtreecommitdiff
path: root/edition_edit.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-04-13 10:34:33 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-04-13 10:34:33 +0000
commit5a11c5220d2238a205d40dec913d967eabbcef0c (patch)
treec7ff17af373a232e065315c888e68d1cfd40353d /edition_edit.php
parentf2b8c31fc6f3c141a74bbf4cb739967ffa6e7682 (diff)
downloadnewsletters-5a11c5220d2238a205d40dec913d967eabbcef0c.tar.gz
newsletters-5a11c5220d2238a205d40dec913d967eabbcef0c.tar.bz2
newsletters-5a11c5220d2238a205d40dec913d967eabbcef0c.zip
remove outdated spellchecker code that calls non-existent functions
Diffstat (limited to 'edition_edit.php')
-rw-r--r--edition_edit.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/edition_edit.php b/edition_edit.php
index 13310c7..c5b057c 100644
--- a/edition_edit.php
+++ b/edition_edit.php
@@ -58,17 +58,7 @@ if (isset($_REQUEST["preview"])) {
$gBitSmarty->assign( 'title',!empty( $_REQUEST["title"] ) ? $_REQUEST["title"]:$gContent->mPageName );
$parsed = $gContent->parseData( $formInfo['data'],( !empty( $_REQUEST['format_guid'] ) ? $_REQUEST['format_guid'] :
-( isset( $gContent->mInfo['format_guid'] ) ? $gContent->mInfo['format_guid'] : 'tikiwiki' ) ) );
- /* SPELLCHECKING INITIAL ATTEMPT */
- //This nice function does all the job!
- if( $gBitSystem->isFeatureActive( 'wiki_spellcheck' )) {
- if( isset( $_REQUEST["spellcheck"] ) && $_REQUEST["spellcheck"] == 'on' ) {
- $parsed = $gBitSystem->spellcheckreplace( $edit_data, $parsed, $gBitLanguage->mLanguage, 'editwiki' );
- $gBitSmarty->assign( 'spellcheck', 'y' );
- } else {
- $gBitSmarty->assign( 'spellcheck', 'n' );
- }
- }
+ ( isset( $gContent->mInfo['format_guid'] ) ? $gContent->mInfo['format_guid'] : 'tikiwiki' ) ) );
$gBitSmarty->assign_by_ref( 'parsed', $parsed );
$gContent->invokeServices( 'content_preview_function' );