All this document.write stuff is overkill when we already have checkForJavascript...
[squirrelmail.git] / plugins / translate / options.php
index be76be2f0f4c71b862f5267056d7bff0664f8c9c..7974d6ff02c612bff90d4bd9c000fa274cf87782 100644 (file)
@@ -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
  */
 
 /**
- * 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');