X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions_highlight.php;h=b71784e847db82233e4fdfa006e41ea1faf046cc;hb=de4d58cb7fdcda16e5129a26db1a6a3d46d6594f;hp=33de157de9338f41919a690805184b6545a917fa;hpb=134e4174c8919790bcc463587e90ac37cabc2f90;p=squirrelmail.git diff --git a/src/options_highlight.php b/src/options_highlight.php index 33de157d..b71784e8 100644 --- a/src/options_highlight.php +++ b/src/options_highlight.php @@ -3,28 +3,21 @@ /** * options_highlight.php * - * Copyright (c) 1999-2004 The SquirrelMail Project Team - * Licensed under the GNU GPL. For full terms see the file COPYING. - * * Displays message highlighting options * + * @copyright © 1999-2006 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail + * @subpackage prefs */ /** - * Path for SquirrelMail required files. - * @ignore + * Include the SquirrelMail initialization file. */ -define('SM_PATH','../'); - -/* SquirrelMail required files. */ -require_once(SM_PATH . 'include/validate.php'); -require_once(SM_PATH . 'functions/display_messages.php'); -require_once(SM_PATH . 'functions/imap.php'); -require_once(SM_PATH . 'functions/plugin.php'); -require_once(SM_PATH . 'functions/strings.php'); -require_once(SM_PATH . 'functions/html.php'); +require('../include/init.php'); + +// include_once(SM_PATH . 'functions/imap.php'); require_once(SM_PATH . 'functions/forms.php'); /* get globals */ @@ -38,7 +31,7 @@ sqGetGlobalVar('match_type', $match_type); sqGetGlobalVar('value', $value); /* end of get globals */ - + function oh_opt( $val, $sel, $tit ) { echo "