From 0fba4d30d140ce0f4b72925403c17fd4494acd77 Mon Sep 17 00:00:00 2001 From: fidian Date: Wed, 18 Oct 2000 16:15:11 +0000 Subject: [PATCH] Removed "remove" for subject column -- that's the only way we'll view the message, so it has to be there, right? git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@808 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/options_order.php | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/src/options_order.php b/src/options_order.php index c8813a70..8a16d239 100644 --- a/src/options_order.php +++ b/src/options_order.php @@ -44,12 +44,12 @@
1) { $prev = $num-1; @@ -86,12 +86,26 @@ } } - for ($i=1; $i <= count($index_order); $i++) { - $tmp = $index_order[$i]; - echo "up | "; - echo "down | "; - echo "remove - "; - echo $available[$tmp] . "
"; + if (count($index_order)) + { + echo "\n"; + for ($i=1; $i <= count($index_order); $i++) { + $tmp = $index_order[$i]; + echo ""; + echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; + } + echo "
up | down | "; + // Always show the subject + if ($tmp != 4) + echo "remove"; + echo " - " . $available[$tmp] . "
\n"; } if (count($index_order) != count($available)) { -- 2.25.1