Add all possible options in spellcheck_engine selector

pull/181/head
Aleksander Machniak 10 years ago
parent a88f241250
commit 4765b261f8

@ -153,7 +153,10 @@ echo $check_spell->show(intval($RCI->getprop('enable_spellcheck')), array('value
$select_spell = new html_select(array('name' => '_spellcheck_engine', 'id' => "cfgspellcheckengine"));
if (extension_loaded('pspell'))
$select_spell->add('pspell', 'pspell');
if (extension_loaded('enchant'))
$select_spell->add('Enchant', 'enchant');
$select_spell->add('Googie', 'googie');
$select_spell->add('ATD', 'atd');
echo $select_spell->show($RCI->is_post ? $_POST['_spellcheck_engine'] : 'pspell');

Loading…
Cancel
Save