X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Foptions_order.php;h=77f2b4ad13ff4d7327c4897e2d4b3cb127eb237c;hp=f58456b9e0eff402b8bb4b0bfea81fd2a2556723;hb=176dafe188b2c2486db9889d1c8b56c7f4ebe18a;hpb=ca479ad18c00a6a4ff2ddfb58a2f0af40bc81379 diff --git a/src/options_order.php b/src/options_order.php index f58456b9..77f2b4ad 100644 --- a/src/options_order.php +++ b/src/options_order.php @@ -1,34 +1,24 @@ assign('fields', $available); +$oTemplate->assign('current_order', $index_order); +$oTemplate->assign('not_used', $opts); +$oTemplate->assign('always_show', array(SQM_COL_SUBJ, SQM_COL_FLAGS)); -viewOrderForm($available, $index_order,$opts,urldecode($mailbox)); - - -// FOOD for html designers -function viewOrderForm($aColumns, $aOrder, $aOpts, $mailbox) { - global $color; -?> - - - - -
- - - - - -
- - - - -
- -
-
- - - - $iCol) { - $sQuery = "&num=$iCol"; - if (isset($mailbox) && $mailbox) { - $sQuery .= '&mailbox='.urlencode($mailbox); - } - -?> - - - - - - - - - - - - - - - - - - - - - - -
  |    |    | 
+$oTemplate->assign('move_up', $PHP_SELF .'?method=move&positions=-1'. $x .'&num='); +$oTemplate->assign('move_down', $PHP_SELF .'?method=move&positions=1'. $x .'&num='); +$oTemplate->assign('remove', $PHP_SELF .'?method=remove'. $x .'&num='); +$oTemplate->assign('addField_action', $PHP_SELF); -'; - } -?> -


-
-
- +$oTemplate->display('options_order.tpl'); -display('footer.tpl'); ?> \ No newline at end of file