From 82475f4b16987bdd4539303c305d389d8fe82b07 Mon Sep 17 00:00:00 2001 From: thomascube Date: Fri, 1 May 2009 16:07:03 +0000 Subject: Add pspell option to installer script (patch from #1485588) --- installer/config.php | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/installer/config.php b/installer/config.php index fef222d8a..f72a0e820 100644 --- a/installer/config.php +++ b/installer/config.php @@ -112,14 +112,26 @@ echo $check_caching->show(intval($RCI->getprop('enable_caching')), array('value'
enable_spellcheck
'_enable_spellcheck', 'id' => "cfgspellcheck")); +echo $check_spell->show(intval($RCI->getprop('enable_spellcheck')), array('value' => 1)); +?> +
+
+ +
spellcheck_engine
+
+ '_spellcheck_engine', 'id' => "cfgspellcheckengine")); +if (extension_loaded('pspell')) + $select_spell->add('pspell', 'pspell'); +$select_spell->add('Googlie', 'googlie'); -$check_caching = new html_checkbox(array('name' => '_enable_spellcheck', 'id' => "cfgspellcheck")); -echo $check_caching->show(intval($RCI->getprop('enable_spellcheck')), array('value' => 1)); +echo $select_spell->show($RCI->is_post ? $_POST['_spellcheck_engine'] : 'pspell'); ?> -
+
-

It is based on GoogieSpell what implies that the message content will be sent to Google in order to check the spelling.

+

GoogieSpell implies that the message content will be sent to Google in order to check the spelling.

identities_level
@@ -255,13 +267,13 @@ $dsnw = MDB2::parseDSN($RCI->getprop('db_dsnw')); echo $select_dbtype->show($RCI->is_post ? $_POST['_dbtype'] : $dsnw['phptype']); echo '
'; echo $input_dbhost->show($RCI->is_post ? $_POST['_dbhost'] : $dsnw['hostspec']); -echo '
'; +echo '
'; echo $input_dbname->show($RCI->is_post ? $_POST['_dbname'] : $dsnw['database']); echo '
'; echo $input_dbuser->show($RCI->is_post ? $_POST['_dbuser'] : $dsnw['username']); -echo '
'; +echo '
'; echo $input_dbpass->show($RCI->is_post ? $_POST['_dbpass'] : $dsnw['password']); -echo '
'; +echo '
'; ?> @@ -417,7 +429,7 @@ $text_smtpport = new html_inputfield(array('name' => '_smtp_port', 'size' => 6, echo $text_smtpport->show($RCI->getprop('smtp_port')); ?> -
SMTP port (default is 25; 465 for SSL)
+
SMTP port (default is 25; 465 for SSL; 587 for submission)
smtp_user/smtp_pass
-- cgit v1.2.3