X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Foptions_highlight.php;h=cfbf445029df3b1a5628fc2f5e49a057db9666cb;hb=c4faef335b2362c81b8ebf026d4066c12d70536c;hp=33de157de9338f41919a690805184b6545a917fa;hpb=134e4174c8919790bcc463587e90ac37cabc2f90;p=squirrelmail.git diff --git a/src/options_highlight.php b/src/options_highlight.php index 33de157d..cfbf4450 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-2020 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 */ @@ -36,9 +32,10 @@ sqGetGlobalVar('newcolor_input', $newcolor_input); sqGetGlobalVar('color_type', $color_type); sqGetGlobalVar('match_type', $match_type); sqGetGlobalVar('value', $value); +sqgetGlobalVar('smtoken', $submitted_token, SQ_FORM, ''); /* end of get globals */ - + function oh_opt( $val, $sel, $tit ) { echo "