X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions_order.php;h=56c8340a6f84fc48cc011eee2f559f2ee2fb0a24;hb=ce68b76bfdef63cbc85d7bc46f7f1d538db9b4a4;hp=7309da7b3a31423077d919e4ec820285a508cddb;hpb=1e12d1ffb4f54350932a17397d38917db21d64df;p=squirrelmail.git diff --git a/src/options_order.php b/src/options_order.php index 7309da7b..56c8340a 100644 --- a/src/options_order.php +++ b/src/options_order.php @@ -3,15 +3,19 @@ /** * options_order.php * - * Copyright (c) 1999-2003 The SquirrelMail Project Team + * Copyright (c) 1999-2004 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * Displays messagelist column order options * - * $Id$ + * @version $Id$ + * @package squirrelmail */ -/* Path for SquirrelMail required files. */ +/** + * Path for SquirrelMail required files. + * @ignore + */ define('SM_PATH','../'); /* SquirrelMail required files. */ @@ -21,6 +25,7 @@ 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'); +require_once(SM_PATH . 'functions/forms.php'); /* get globals */ sqgetGlobalVar('num', $num, SQ_GET); @@ -91,10 +96,10 @@ displayPageHeader($color, 'None'); echo html_tag( 'table', html_tag( 'tr', html_tag( 'td', - _("The index order is the order that the columns are arranged in the message index. You can add, remove, and move columns around to customize them to fit your needs.") + _("The index order is the order that the columns are arranged in the message index. You can add, remove, and move columns around to customize them to fit your needs.") ) ) , - '', '', '', 'width="65%" border="0" cellpadding="0" cellspacing="0"' ) . "
\n"; + '', '', '', 'width="65%" border="0" cellpadding="0" cellspacing="0"' ) . "
\n"; if (count($index_order)) { @@ -121,8 +126,8 @@ displayPageHeader($color, 'None'); } if (count($index_order) != count($available)) { - echo '
'; - echo ''; - echo ''; - echo ''; + + echo addForm('options_order.php', 'post', 'f'); + echo addSelect('add', $opts, '', TRUE); + echo addHidden('method', 'add'); + echo addSubmit(_("Add"), 'submit'); echo '
'; } - echo html_tag( 'p', '' . _("Return to options page") . '


' ); + echo html_tag( 'p', '' . _("Return to options page") . '


' ); ?>