X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions_highlight.php;h=381a4322b749b3d2cbe8af721e5300eb1f93cce3;hb=ea1b860459eed3b4ff49cd1e432d617facd33843;hp=55ab27cc6b684e3da296d9c776216b908bd9889f;hpb=bd9bbfefba8fa274260a37c965f7510bb6670599;p=squirrelmail.git diff --git a/src/options_highlight.php b/src/options_highlight.php index 55ab27cc..381a4322 100644 --- a/src/options_highlight.php +++ b/src/options_highlight.php @@ -3,7 +3,7 @@ /** * options_highlight.php * - * Copyright (c) 1999-2002 The SquirrelMail Project Team + * Copyright (c) 1999-2003 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * Displays message highlighting options @@ -11,12 +11,45 @@ * $Id$ */ -require_once('../src/validate.php'); -require_once('../functions/display_messages.php'); -require_once('../functions/imap.php'); -require_once('../functions/array.php'); -require_once('../functions/plugin.php'); +/* Path for SquirrelMail required files. */ +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'); + +/* get globals */ +if (isset($_GET['action'])) { + $action = $_GET['action']; +} +if (isset($_GET['theid'])) { + $theid = $_GET['theid']; +} +if (isset($_GET['identname'])) { + $identname = $_GET['identname']; +} +if (isset($_GET['newcolor_choose'])) { + $newcolor_choose = $_GET['newcolor_choose']; +} +if (isset($_GET['newcolor_input'])) { + $newcolor_input = $_GET['newcolor_input']; +} +if (isset($_GET['color_type'])) { + $color_type = $_GET['color_type']; +} +if (isset($_GET['match_type'])) { + $match_type = $_GET['match_type']; +} +if (isset($_GET['value'])) { + $value = $_GET['value']; +} + +/* end of get globals */ + function oh_opt( $val, $sel, $tit ) { echo "