X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions_highlight.php;h=aa6fae03e5a241cc9dbc555be44dbca2e43738c5;hb=1ce76674256f43e3daf0a08b81d134dd646121c8;hp=1481db3bc9ab4b902764f3d1fd70b20abb9995b9;hpb=4b4abf93a9624311afef0c385023724ee46a2b60;p=squirrelmail.git diff --git a/src/options_highlight.php b/src/options_highlight.php index 1481db3b..aa6fae03 100644 --- a/src/options_highlight.php +++ b/src/options_highlight.php @@ -5,7 +5,7 @@ * * Displays message highlighting options * - * @copyright © 1999-2005 The SquirrelMail Project Team + * @copyright © 1999-2006 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -13,19 +13,12 @@ */ /** - * Path for SquirrelMail required files. - * @ignore + * Include the SquirrelMail initialization file. */ -define('SM_PATH','../'); +require('../include/init.php'); -/* SquirrelMail required files. */ -require_once(SM_PATH . 'include/validate.php'); -include_once(SM_PATH . 'functions/display_messages.php'); -include_once(SM_PATH . 'functions/imap.php'); -include_once(SM_PATH . 'functions/plugin.php'); -include_once(SM_PATH . 'functions/strings.php'); -include_once(SM_PATH . 'functions/html.php'); -include_once(SM_PATH . 'functions/forms.php'); +// include_once(SM_PATH . 'functions/imap.php'); +require_once(SM_PATH . 'functions/forms.php'); /* get globals */ sqGetGlobalVar('action', $action); @@ -116,15 +109,15 @@ displayPageHeader($color, 'None'); echo html_tag( 'table', "\n" . html_tag( 'tr', "\n" . - html_tag( 'td', '