projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed spelling in comment.
[squirrelmail.git]
/
plugins
/
squirrelspell
/
sqspell_interface.php
diff --git
a/plugins/squirrelspell/sqspell_interface.php
b/plugins/squirrelspell/sqspell_interface.php
index 4d3cf5e2c83a76ca664030ac785aad70fd12fb9f..56ad35659328d859014218129330309f53242677 100644
(file)
--- a/
plugins/squirrelspell/sqspell_interface.php
+++ b/
plugins/squirrelspell/sqspell_interface.php
@@
-9,13
+9,18
@@
* SquirrelSpell.
*
* @author Konstantin Riabitsev <icon at duke.edu>
* SquirrelSpell.
*
* @author Konstantin Riabitsev <icon at duke.edu>
- * @copyright © 1999-200
6
The SquirrelMail Project Team
+ * @copyright © 1999-200
7
The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
* @subpackage squirrelspell
*/
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
* @subpackage squirrelspell
*/
+/**
+ * Include the SquirrelMail initialization file.
+ */
+require('../../include/init.php');
+
/**
* Set up a couple of non-negotiable constants and
* defaults. Don't change these, * the setuppable stuff is in
/**
* Set up a couple of non-negotiable constants and
* defaults. Don't change these, * the setuppable stuff is in
@@
-24,12
+29,6
@@
$SQSPELL_DIR='plugins/squirrelspell/';
$SQSPELL_CRYPTO=FALSE;
$SQSPELL_DIR='plugins/squirrelspell/';
$SQSPELL_CRYPTO=FALSE;
-
-/**
- * Include the SquirrelMail initialization file.
- */
-require('../../include/init.php');
-
include_once(SM_PATH . $SQSPELL_DIR . 'sqspell_functions.php');
/**
include_once(SM_PATH . $SQSPELL_DIR . 'sqspell_functions.php');
/**
@@
-46,7
+45,7
@@
sqspell_ckMOD($MOD);
if (file_exists(SM_PATH . $SQSPELL_DIR . "modules/$MOD.mod")) {
require_once(SM_PATH . $SQSPELL_DIR . "modules/$MOD.mod");
} else {
if (file_exists(SM_PATH . $SQSPELL_DIR . "modules/$MOD.mod")) {
require_once(SM_PATH . $SQSPELL_DIR . "modules/$MOD.mod");
} else {
- error_box(_("Invalid SquirrelSpell module."),$color);
- echo '</body></html>';
+ error_box(_("Invalid SquirrelSpell module."));
+ // display sm footer (closes html tags)
+ $oTemplate->display('footer.tpl');
}
}
-?>
\ No newline at end of file