X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Foptions_highlight.php;h=efbcc74cb0dde712cecfaf00e7c1b8f08f9737dd;hp=c6d558d5022ac73111c04208d4e1b26047f4d9c8;hb=d4e46166df04792c6b939356ea5dfda8e47bba7b;hpb=e1728a7ada03ba597fc2f8a800773cb427a711ce diff --git a/src/options_highlight.php b/src/options_highlight.php index c6d558d5..efbcc74c 100644 --- a/src/options_highlight.php +++ b/src/options_highlight.php @@ -3,28 +3,24 @@ /** * 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-2009 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail + * @subpackage prefs */ +/** This is the options_highlight page */ +define('PAGE_NAME', 'options_highlight'); + /** - * 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 +34,7 @@ sqGetGlobalVar('match_type', $match_type); sqGetGlobalVar('value', $value); /* end of get globals */ - + function oh_opt( $val, $sel, $tit ) { echo "