moved aspell_path config to setup, vor obvious reasons

This commit is contained in:
Ralf Becker 2010-02-14 06:18:03 +00:00
commit 3221c6e8ba
18 changed files with 24 additions and 7 deletions

View File

@ -126,13 +126,6 @@
</td>
</tr>
<tr class="row_off">
<td>{lang_Complete_path_to_aspell_program}:</td>
<td>
<input name="newsettings[aspell_path]" value="{value_aspell_path}" size="40">
</td>
</tr>
<tr class="th">
<td colspan="2">&nbsp;<b>{lang_security}</b></td>
</tr>

View File

@ -215,6 +215,7 @@
}
$current_config['files_dir'] = '/var/lib/'.$egroupwareDirName.'/'.$GLOBALS['egw_setup']->ConfigDomain.'/files';
$current_config['backup_dir'] = '/var/lib/'.$egroupwareDirName.'/'.$GLOBALS['egw_setup']->ConfigDomain.'/backup';
$current_config['aspell_path'] = '/usr/bin/aspell';
} else {
if(@is_dir('c:\\windows\\temp')) {
$current_config['temp_dir'] = 'c:\\windows\\temp';
@ -223,6 +224,12 @@
}
$current_config['files_dir'] = 'c:\\Program files\\'.$egroupwareDirName.'\\'.$GLOBALS['egw_setup']->ConfigDomain.'\\files';
$current_config['backup_dir'] = 'c:\\Program files\\'.$egroupwareDirName.'\\'.$GLOBALS['egw_setup']->ConfigDomain.'\\backup';
$current_config['aspell_path'] = 'C:\\Program Files\\Aspell\\bin\\aspell.exe';
}
// only set aspell path, if it's installed
if (!is_executable($current_config['aspell_path']))
{
unset($current_config['aspell_path']);
}
$datetime =& CreateObject('phpgwapi.egw_datetime');
$current_config['tz_offset'] = $datetime->getbestguess();

View File

@ -671,3 +671,4 @@ your tables will be dropped and you will lose data setup cs Vaše tabulky budou
your temporary directory '%1' %2 setup cs Váš dočasný adresář '%1' %2
{db | php(default) | php-restore} setup cs {db | php(výchozí) | php-restore}
{off(default) | on} setup cs {off(výchozí) | on}
complete path to aspell program setup cs Celá cesta k programu aspell

0
setup/lang/egw_da.lang Normal file
View File

View File

@ -673,3 +673,4 @@ your tables will be dropped and you will lose data setup de Ihre Tabellen werden
your temporary directory '%1' %2 setup de Ihr temporäres Verzeichnis '%1' %2
{db | php(default) | php-restore} setup de {db | php(Vorgabe) | php-restore}
{off(default) | on} setup de {off(Vorgabe) | on}
complete path to aspell program setup de Vollständiger Pfad zum Programm ASPELL

0
setup/lang/egw_el.lang Normal file
View File

View File

@ -671,3 +671,4 @@ your tables will be dropped and you will lose data setup en Your tables will be
your temporary directory '%1' %2 setup en Your temporary directory '%1' %2
{db | php(default) | php-restore} setup en {db | php(default) | php-restore}
{off(default) | on} setup en {off(default) | on}
complete path to aspell program setup en Complete path to aspell program

View File

@ -673,3 +673,4 @@ your tables will be dropped and you will lose data setup es-es ¡¡Sus tablas se
your temporary directory '%1' %2 setup es-es Su directorio temporal '%1' %2
{db | php(default) | php-restore} setup es-es {db | php (predeterminado) | php-restore}
{off(default) | on} setup es-es {off (predeterminado) | on}
complete path to aspell program setup es-es Ruta completa al programa aspell

0
setup/lang/egw_eu.lang Normal file
View File

View File

@ -672,3 +672,4 @@ your tables will be dropped and you will lose data setup nl Uw tabellen worden v
your temporary directory '%1' %2 setup nl Uw tijdelijke directory '%1' %2
{db | php(default) | php-restore} setup nl {db | php(default) | php-restore}
{off(default) | on} setup nl {off(default) | on}
complete path to aspell program setup nl Volledige pad naar aspell programma

View File

@ -673,3 +673,4 @@ your tables will be dropped and you will lose data setup pt-br Suas tabelas ser
your temporary directory '%1' %2 setup pt-br Seu diretório temporário '%1' %2
{db | php(default) | php-restore} setup pt-br {db | php(default) | php-restore}
{off(default) | on} setup pt-br {off(default | on}
complete path to aspell program setup pt-br Caminho completo para o programa aspell

View File

@ -665,3 +665,4 @@ your tables will be dropped and you will lose data setup ru Ваши табли
your temporary directory '%1' %2 setup ru Ваша папка временных файлов '%1' %2
{db | php(default) | php-restore} setup ru {БД | php(по-умолчанию)| php-восстановление}
{off(default) | on} setup ru {выкл(по-умолчанию) | вкл}
complete path to aspell program setup ru Полный путь до программы проверки орфографии(?)

0
setup/lang/egw_rw.lang Normal file
View File

View File

@ -648,3 +648,4 @@ your tables will be dropped and you will lose data setup sk Vaše tabuľky budú
your temporary directory '%1' %2 setup sk Váš adresár dočasných súborov '%1' %2
{db | php(default) | php-restore} setup sk {db | php(predvolené) | php-restore}
{off(default) | on} setup sk {vypnúť(predvolené) | zapnúť}
complete path to aspell program setup sk Plná cesta ku programu aspell

0
setup/lang/egw_tr.lang Normal file
View File

0
setup/lang/egw_uk.lang Normal file
View File

View File

@ -646,3 +646,4 @@ your tables will be dropped and you will lose data setup zh 您的数据表将
your temporary directory '%1' %2 setup zh 您的暂存文件夹 '%1' %2
{db | php(default) | php-restore} setup zh {db | php(默认) | php-restore}
{off(default) | on} setup zh {off(默认) | on}
complete path to aspell program setup zh Aspell (拼写检查软件)程序的完整路径

View File

@ -74,6 +74,14 @@
</select>
</td>
</tr>
<tr class="row_on">
<td>{lang_Complete_path_to_aspell_program}:</td>
<td>
<input name="newsettings[aspell_path]" value="{value_aspell_path}" size="40">
</td>
</tr>
<tr class="row_off">
<td colspan="2">&nbsp;</td>
</tr>