From d3b3cda70ab5432635f6056294068f6282ae0a84 Mon Sep 17 00:00:00 2001 From: thomppj Date: Thu, 6 Sep 2001 05:29:25 +0000 Subject: [PATCH] Fixed the position of the + or - for collapsable folders. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1488 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/left_main.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/left_main.php b/src/left_main.php index ab918351..db51de27 100644 --- a/src/left_main.php +++ b/src/left_main.php @@ -34,7 +34,7 @@ } else if (! sqimap_mailbox_is_subscribed($imapConnection, $trash_folder)) { sqimap_subscribe($imapConnection, $trash_folder); } - } + } $auto_create_done = true; session_register('auto_create_done'); } @@ -45,7 +45,7 @@ global $unseen_notify, $unseen_type, $collapse_folders; $real_box = $box_array['unformatted']; - $mailbox = $box_array['formatted']; + $mailbox = str_replace(' ',' ',$box_array['formatted']); $mailboxURL = urlencode($real_box); $unseen = 0; @@ -86,11 +86,11 @@ else $line .= '  '; } - + $line .= ""; if ($special_color == true) $line .= ""; - $line .= str_replace(' ', ' ', $mailbox); + $line .= str_replace(' ',' ',$mailbox); if ($special_color == true) $line .= ""; $line .= ""; @@ -189,13 +189,14 @@ function FoldLink($mailbox, $folded) { $mailbox = urlencode($mailbox); - echo '+"; + $link .= "unfold=$mailbox\">+"; else - echo "fold=$mailbox\">-"; - echo ' '; + $link .= "fold=$mailbox\">-"; + $link .= ' '; + return ($link); } ?> -- 2.25.1