X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Ftranslate%2Foptions.php;h=7e18ef2532ea9abb9fa45e356b74bf88e46f6b20;hb=1f8459ebe8c95c2a4e5d3686d0d6e2539a7b8da2;hp=be76be2f0f4c71b862f5267056d7bff0664f8c9c;hpb=f265009a3bf872cf6c9d9aaefe7949e1688555a0;p=squirrelmail.git diff --git a/plugins/translate/options.php b/plugins/translate/options.php index be76be2f..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-2006 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,17 +13,14 @@ */ /** - * 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 +