X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Ftranslate%2Foptions.php;h=7e18ef2532ea9abb9fa45e356b74bf88e46f6b20;hp=e503114986cbe6d9cac52e83bfed248ceb65a56b;hb=7f0dbd10f69bc6e80ae98f86bca0b970e2131f1a;hpb=4b4abf93a9624311afef0c385023724ee46a2b60 diff --git a/plugins/translate/options.php b/plugins/translate/options.php index e5031149..7e18ef25 100644 --- a/plugins/translate/options.php +++ b/plugins/translate/options.php @@ -5,7 +5,7 @@ * * Pick your translator to translate the body of incoming mail messages * - * @copyright © 1999-2005 The SquirrelMail Project Team + * @copyright © 1999-2007 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins @@ -13,21 +13,18 @@ */ /** - * Path for SquirrelMail required files. - * @ignore + * Include the SquirrelMail initialization file. */ -define('SM_PATH','../../'); +require('../../include/init.php'); -/** SquirrelMail required files. */ -include_once(SM_PATH . 'include/validate.php'); /** Plugin functions */ include_once(SM_PATH . 'plugins/translate/functions.php'); -displayPageHeader($color, 'None'); +displayPageHeader($color); ?>
-
+

@@ -81,4 +78,4 @@ if (!$disable_compose_translate) { - \ No newline at end of file +