$newmsgs = array();
if ($mode == 'imp') {
- $mbox_url = Horde::applicationUrl('mailbox.php', true);
+ $mbox_url = Horde::applicationUrl('mailbox.php');
}
foreach ($poll as $folder) {
$anyUnseen = true;
}
- $html .= (($mode == 'imp') ? Horde::link($url) : '<a>') . IMP::displayFolder($folder) . '</a>';
+ $html .= (($mode == 'imp') ? Horde::link($mbox_url) : '<a>') . IMP::displayFolder($folder) . '</a>';
if (!empty($status[$folder]['unseen'])) {
$html .= '</strong>';
}
}
- $html .= '</table>';
-
if (!empty($newmsgs)) {
/* Open the mailbox R/W to ensure the 'recent' flags are cleared
* from the current mailbox. */