1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
<?php
/**
* options_main.mod
* ----------------
* Squirrelspell module
* Copyright (c) 1999-2002 The SquirrelMail development team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Default page called when accessing SquirrelSpell's options.
*
* $Id: options_main.mod,v 1.2 2002/01/31 03:00:55 graf25 Exp $
*
* @author Konstantin Riabitsev <icon@duke.edu> ($Author: graf25 $)
* @version $Date: 2002/01/31 03:00:55 $
*/
global $SQSPELL_APP;
$msg = '<p>'
. _("Please choose which options you wish to set up:")
. '</p>'
. '<ul>'
. '<li><a href="sqspell_options.php?MOD=edit_dic">'
. _("Edit your personal dictionary") . '</a></li>';
/**
* See if more than one dictionary is defined system-wide.
* If so, let the user choose his preferred ones.
*/
if (sizeof($SQSPELL_APP)>1) {
$msg .= '<li><a href="sqspell_options.php?MOD=lang_setup">'
. _("Set up international dictionaries")
. "</a></li>\n";
}
/**
* See if MCRYPT is available.
* If so, let the user choose whether s/he wants to encrypt the
* personal dictionary file.
*/
if (function_exists("mcrypt_generic")) {
$msg .= '<li><a href="sqspell_options.php?MOD=enc_setup">'
. _("Encrypt or decrypt your personal dictionary")
. "</a></li>\n";
} else {
$msg .= '<li>'
. _("Encrypt or decrypt your personal dictionary") . ' <em>('
. _("not available") . ')</em></li>';
}
$msg .= "</ul>\n";
sqspell_makePage( _("SquirrelSpell Options Menu"), null, $msg);
/**
* For Emacs weenies:
* Local variables:
* mode: php
* End:
*/
?>
|