Aleksander Machniak
2014-05-02 c76e49239241a62117c34a2bb0fbb9632c6750a1
Add all possible options in spellcheck_engine selector
1 files modified
3 ■■■■■ changed files
installer/config.php 3 ●●●●● patch | view | raw | blame | history
installer/config.php
@@ -153,7 +153,10 @@
$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');