/**
* options_order.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
+ * Displays messagelist column order options
*
* $Id$
+ * @package squirrelmail
*/
-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/html.php');
+/** Path for SquirrelMail required files. */
+define('SM_PATH','../');
+
+/* SquirrelMail required files. */
+require_once(SM_PATH . 'include/validate.php');
+require_once(SM_PATH . 'functions/global.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/html.php');
+
+/* get globals */
+sqgetGlobalVar('num', $num, SQ_GET);
+sqgetGlobalVar('add', $add, SQ_POST);
+
+sqgetGlobalVar('submit', $submit);
+sqgetGlobalVar('method', $method);
+/* end of get globals */
-if (! isset($action)) { $action = ''; }
-if ($action == 'delete' && isset($theid)) {
- removePref($data_dir, $username, "highlight$theid");
-} elseif ($action == 'save') {
-}
displayPageHeader($color, 'None');
echo