X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions_highlight.php;h=e4803c5477f9d9774f5677c22cd97ca91aeed37d;hb=6f927fceb563eb7461ac9fd3604e9efe14fdf9ad;hp=ceebe2f46c858edc92bb33a6b7747c7e33248888;hpb=b74b4148edbca7761a8a9ec92348a13fa68c13b7;p=squirrelmail.git diff --git a/src/options_highlight.php b/src/options_highlight.php index ceebe2f4..e4803c54 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,13 +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'); -require_once('../functions/strings.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 "