From d3018c7beb7d7638f775ee4ff006ec107c645418 Mon Sep 17 00:00:00 2001 From: stekkel Date: Fri, 15 Apr 2005 09:39:22 +0000 Subject: [PATCH] html cleanups git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9297 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/left_main.php | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/src/left_main.php b/src/left_main.php index 1c292e94..79aa3da2 100644 --- a/src/left_main.php +++ b/src/left_main.php @@ -124,40 +124,29 @@ function ListBoxes ($boxes, $j=0 ) { if (! isset($boxes->total)) { $boxes->total = sqimap_status_messages($imapConnection, $mailbox); } - if ($unseen > 0) { - $pre .= ''; - } $pre .= ""; - $end .= ''; if ($unseen > 0) { + $pre .= ''; $end .= ''; } + $end .= ''; if ($boxes->total > 0) { - if ($unseen > 0) { - $pre .= ''; - } - $pre .= ""; - if ($unseen > 0) { - $end .= ''; - } /* Print unseen information. */ if ($unseen_found) { $end .= " $unseen_string"; } + $end .= "\n\t" . + '  ['._("Purge").']'. + ''; } - $end .= "\n\t" . - '  ['._("Purge").']'. - ''; } else { if (!$boxes->is_noselect) { - if ($unseen > 0) { - $pre .= ''; - } $pre .= ""; - $end .= ''; if ($unseen > 0) { + $pre .= ''; $end .= ''; } + $end .= ''; } /* Print unseen information. */ if ($unseen_found) { -- 2.25.1