/**
* 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$
*/
-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 '<br>' .
- html_tag( 'table', '', 'center', '', 'width="95%" border="0" cellpadding="2" cellspacing="0"' ) .
+ echo
+ html_tag( 'table', '', 'center', '', 'width="95%" border="0" cellpadding="1" cellspacing="0"' ) .
html_tag( 'tr' ) .
html_tag( 'td', '', 'center', $color[0] ) .
'<b>' . _("Options") . ' - ' . _("Index Order") . '</b>' .
- html_tag( 'table', '', '', '', 'width="100%" border="0" cellpadding="1" cellspacing="1"' ) .
+ html_tag( 'table', '', '', '', 'width="100%" border="0" cellpadding="8" cellspacing="0"' ) .
html_tag( 'tr' ) .
html_tag( 'td', '', 'center', $color[4] );