X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fsquirrelspell%2Fsqspell_options.php;h=2054b57eea2921cc3b5ef4a442377d721d549111;hp=a477575b86a6105f0ff0cdaa93e02e440d406938;hb=170883a4a7c0b4c2ba10d9dfb65cc8b9007337d3;hpb=202bcbcc2b67c7c153db1b09b608b62beeba0496 diff --git a/plugins/squirrelspell/sqspell_options.php b/plugins/squirrelspell/sqspell_options.php index a477575b..2054b57e 100644 --- a/plugins/squirrelspell/sqspell_options.php +++ b/plugins/squirrelspell/sqspell_options.php @@ -13,6 +13,11 @@ * @subpackage squirrelspell */ +/** + * Include the SquirrelMail initialization file. + */ +require('../../include/init.php'); + /** * Set a couple of constants and defaults. Don't change these, * the configurable stuff is in sqspell_config.php @@ -22,10 +27,6 @@ $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'); @@ -43,7 +44,7 @@ sqspell_ckMOD($MOD); 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 ''; + error_box(_("Invalid SquirrelSpell module.")); + // display footer (closes html tags) + $oTemplate->display('footer.tpl'); } -?> \ No newline at end of file