|
@@ -12,7 +12,6 @@
|
|
require_once('../src/validate.php');
|
|
require_once('../src/validate.php');
|
|
require_once('../functions/imap.php');
|
|
require_once('../functions/imap.php');
|
|
require_once('../functions/imap_search.php');
|
|
require_once('../functions/imap_search.php');
|
|
-require_once('../functions/imap_utf7_decode_local.php');
|
|
|
|
require_once('../functions/array.php');
|
|
require_once('../functions/array.php');
|
|
require_once('../functions/strings.php');
|
|
require_once('../functions/strings.php');
|
|
|
|
|
|
@@ -181,8 +180,11 @@ if ($mailbox == 'All Folders') {
|
|
$search_all = 'all';
|
|
$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 */
|
|
/* See how the page was called and fire off correct function */
|
|
if ((!isset($submit) || empty($submit)) && !empty($what)) {
|
|
if ((!isset($submit) || empty($submit)) && !empty($what)) {
|
|
$submit = _("Search");
|
|
$submit = _("Search");
|
|
@@ -308,8 +310,7 @@ echo '<B>' . _("Current Search") . '</B>'
|
|
for ($i = 0; $i < count($boxes); $i++) {
|
|
for ($i = 0; $i < count($boxes); $i++) {
|
|
if (!in_array('noselect', $boxes[$i]['flags'])) {
|
|
if (!in_array('noselect', $boxes[$i]['flags'])) {
|
|
$box = $boxes[$i]['unformatted'];
|
|
$box = $boxes[$i]['unformatted'];
|
|
- $box2 = imap_utf7_decode_local(
|
|
|
|
- str_replace(' ', ' ', $boxes[$i]['unformatted-disp']));
|
|
|
|
|
|
+ $box2 = str_replace(' ', ' ', $boxes[$i]['unformatted-disp']);
|
|
if( $box2 == 'INBOX' ) {
|
|
if( $box2 == 'INBOX' ) {
|
|
$box2 = _("INBOX");
|
|
$box2 = _("INBOX");
|
|
}
|
|
}
|