$search_all = 'all';
}
-displayPageHeader($color, $mailbox);
-
+if (isset($composenew) && $composenew) {
+ displayPageHeader($color, $mailbox, 'comp_in_new();');
+} else {
+ displayPageHeader($color, $mailbox);
+}
/* See how the page was called and fire off correct function */
if ((!isset($submit) || empty($submit)) && !empty($what)) {
$submit = _("Search");
*/
$old_value = 0;
-if ($allow_thread_sort == true) {
+if ($allow_thread_sort == TRUE) {
$old_value = $allow_thread_sort;
- $allow_thread_sort = false;
+ $allow_thread_sort = FALSE;
}
if ($search_all == 'all') {
}
for ($i=0;$i<count($perbox_count);$i++) {
if ($perbox_count[$i] != "") {
- break;
+ $count_all = "found";
+ break;
}
- $count_all = "none";
}
- if ($count_all == "none") {
+ if ($count_all != "found") {
echo '<br><b>' .
_("No Messages found") .
'</b><br>';