**/
include('../src/validate.php');
- include ("../functions/i18n.php");
- include("../functions/strings.php");
- include("../config/config.php");
include("../functions/array.php");
include("../functions/imap.php");
include("../functions/page_header.php");
$numMessages = sqimap_get_num_messages($imapConnection, $real_box);
if ($numMessages > 0)
- {
+ {
$urlMailbox = urlencode($real_box);
$line .= "\n<small>\n";
$line .= " (<B><A HREF=\"empty_trash.php\" style=\"text-decoration:none\">"._("purge")."</A></B>)";
$line .= "\n</small>\n";
- }
+ }
}
$line .= "</NOBR>";
return $line;
if (in_array('noselect', $boxes[$i]['flags'])) {
$line .= "<FONT COLOR=\"$color[10]\">";
- if (ereg("^( *)([^ ]*)$", $mailbox, $regs)) {
- $line .= str_replace(' ', ' ', $regs[1]);
+ if (ereg("^( *)([^ ]*)", $mailbox, $regs)) {
+ $line .= str_replace(' ', ' ', $mailbox);
if (isset($boxes[$i]['parent']))
- $line .= FoldLink($boxes[$i]['unformatted'],
- $boxes[$i]['parent']);
+ $line .= FoldLink($boxes[$i]['unformatted'], $boxes[$i]['parent']);
elseif ($collapse_folders)
$line .= '<tt> </tt> ';
- $line .= str_replace(' ', ' ', $regs[2]);
}
$line .= '</FONT>';
} else {