Use checkForJavascript() instead of $javascript_on. Not well tested. PLEASE HELP...
[squirrelmail.git] / plugins / abook_take / take.php
index c3f9dc334b9d6eae3691f1709dbde227424e4644..045c6224a7bd8cc3cacf8d8b02439d9ba56580ec 100644 (file)
@@ -1,26 +1,26 @@
 <?php
+
 /**
  * take.php
  *
- * Copyright (c) 1999-2004 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * Address Take -- steals addresses from incoming email messages. Searches
  * the To, Cc, From and Reply-To headers.
  *
- * $Id$
+ * @copyright &copy; 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
  * @package plugins
  * @subpackage abook_take
  */
 
 /**
- * Path for SquirrelMail required files.
- * @ignore */
-define('SM_PATH','../../');
+ * Include the SquirrelMail initialization file.
+ */
+require('../../include/init.php');
 
 /* SquirrelMail required files. */
-require_once(SM_PATH . 'include/validate.php');
-require_once(SM_PATH . 'functions/addressbook.php');
+require(SM_PATH . 'functions/forms.php');
+require(SM_PATH . 'functions/addressbook.php');
 
 displayPageHeader($color, 'None');