Changeset 2438 in subversion


Ignore:
Timestamp:
May 1, 2009 12:07:03 PM (4 years ago)
Author:
thomasb
Message:

Add pspell option to installer script (patch from #1485588)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/installer/config.php

    r2094 r2438  
    113113<dd> 
    114114<?php 
    115  
    116 $check_caching = new html_checkbox(array('name' => '_enable_spellcheck', 'id' => "cfgspellcheck")); 
    117 echo $check_caching->show(intval($RCI->getprop('enable_spellcheck')), array('value' => 1)); 
    118  
    119 ?> 
    120 <label for="cfgspellcheck">Make use of the built-in spell checker</label><br /> 
    121  
    122 <p class="hint">It is based on GoogieSpell what implies that the message content will be sent to Google in order to check the spelling.</p> 
     115$check_spell = new html_checkbox(array('name' => '_enable_spellcheck', 'id' => "cfgspellcheck")); 
     116echo $check_spell->show(intval($RCI->getprop('enable_spellcheck')), array('value' => 1)); 
     117?> 
     118<label for="cfgspellcheck">Make use of the spell checker</label><br /> 
     119</dd> 
     120 
     121<dt class="propname">spellcheck_engine</dt> 
     122<dd> 
     123<?php 
     124$select_spell = new html_select(array('name' => '_spellcheck_engine', 'id' => "cfgspellcheckengine")); 
     125if (extension_loaded('pspell')) 
     126  $select_spell->add('pspell', 'pspell'); 
     127$select_spell->add('Googlie', 'googlie'); 
     128 
     129echo $select_spell->show($RCI->is_post ? $_POST['_spellcheck_engine'] : 'pspell'); 
     130 
     131?> 
     132<label for="cfgspellcheckengine">Which spell checker to use</label><br /> 
     133 
     134<p class="hint">GoogieSpell implies that the message content will be sent to Google in order to check the spelling.</p> 
    123135</dd> 
    124136 
     
    256268echo '<label for="cfgdbtype">Database type</label><br />'; 
    257269echo $input_dbhost->show($RCI->is_post ? $_POST['_dbhost'] : $dsnw['hostspec']); 
    258 echo '<label for="cfgdbhost">Database server</label><br />'; 
     270echo '<label for="cfgdbhost">Database server (omit for sqlite)</label><br />'; 
    259271echo $input_dbname->show($RCI->is_post ? $_POST['_dbname'] : $dsnw['database']); 
    260272echo '<label for="cfgdbname">Database name</label><br />'; 
    261273echo $input_dbuser->show($RCI->is_post ? $_POST['_dbuser'] : $dsnw['username']); 
    262 echo '<label for="cfgdbuser">Database user name (needs write permissions)</label><br />'; 
     274echo '<label for="cfgdbuser">Database user name (needs write permissions)(omit for sqlite)</label><br />'; 
    263275echo $input_dbpass->show($RCI->is_post ? $_POST['_dbpass'] : $dsnw['password']); 
    264 echo '<label for="cfgdbpass">Database password</label><br />'; 
     276echo '<label for="cfgdbpass">Database password (omit for sqlite)</label><br />'; 
    265277 
    266278?> 
     
    418430 
    419431?> 
    420 <div>SMTP port (default is 25; 465 for SSL)</div> 
     432<div>SMTP port (default is 25; 465 for SSL; 587 for submission)</div> 
    421433</dd> 
    422434 
Note: See TracChangeset for help on using the changeset viewer.