projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small html fix
[squirrelmail.git]
/
src
/
left_main.php
diff --git
a/src/left_main.php
b/src/left_main.php
index b6b2c12bb735b68a7e24607d5c50f318c3ad50b6..b65d839332e077dcb4c2dec64d240b12ffb592d7 100644
(file)
--- a/
src/left_main.php
+++ b/
src/left_main.php
@@
-44,18
+44,15
@@
function formatMailboxName($imapConnection, $box_array) {
$mailbox = $regs[2];
}
$unseen = 0;
$mailbox = $regs[2];
}
$unseen = 0;
- $status = array();
+ $status = array(
'',''
);
if (($unseen_notify == 2 && $real_box == 'INBOX') ||
$unseen_notify == 3) {
if (($unseen_notify == 2 && $real_box == 'INBOX') ||
$unseen_notify == 3) {
- $status = create_unseen_string($real_box, $box_array, $imapConnection, $unseen_type );
+ $
tmp_
status = create_unseen_string($real_box, $box_array, $imapConnection, $unseen_type );
if ($status !== false) {
if ($status !== false) {
- list($unseen_string, $unseen) = $status;
- } else {
- list($unseen_string, $unseen) = array(_("Not available"),'');
- }
- } else {
- list($unseen_string, $unseen) = array('','');
+ $status = $tmp_status;
+ }
}
}
+ list($unseen_string, $unseen) = $status;
$special_color = ($use_special_folder_color && isSpecialMailbox($real_box));
/* Start off with a blank line. */
$special_color = ($use_special_folder_color && isSpecialMailbox($real_box));
/* Start off with a blank line. */
@@
-290,7
+287,7
@@
function listBoxes ($boxes, $j=0 ) {
$mailbox = $boxes->mailboxname_full;
$leader = '';
for ($k = 0; $k < $j; $k++) {
$mailbox = $boxes->mailboxname_full;
$leader = '';
for ($k = 0; $k < $j; $k++) {
- $leader.= ' 
  
';
+ $leader.= ' 
;
';
}
$mailboxURL = urlencode($mailbox);
}
$mailboxURL = urlencode($mailbox);
@@
-313,14
+310,14
@@
function listBoxes ($boxes, $j=0 ) {
$link = '<a target="left" style="text-decoration:none" ' .'href="left_main.php?';
if ($collapse) {
$link = '<a target="left" style="text-decoration:none" ' .'href="left_main.php?';
if ($collapse) {
- $link .= "unfold=$mailboxURL\">$leader + ";
+ $link .= "unfold=$mailboxURL\">$leader + 
;
";
} else {
} else {
- $link .= "fold=$mailboxURL\">$leader - ";
+ $link .= "fold=$mailboxURL\">$leader - 
;
";
}
$link .= '</a>';
$pre .= $link;
} else {
}
$link .= '</a>';
$pre .= $link;
} else {
- $pre.= $leader . ' 
  
';
+ $pre.= $leader . ' 
;
';
}
}