From 7884e6c4db03cf2c316fdcc256ae0e4f62186f60 Mon Sep 17 00:00:00 2001 From: stekkel Date: Fri, 17 May 2002 12:29:49 +0000 Subject: [PATCH] rollback git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2839 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/page_header.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/functions/page_header.php b/functions/page_header.php index d297506e..7e63f0af 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -12,6 +12,8 @@ */ require_once('../functions/strings.php'); +require_once('../functions/imap_utf7_decode_local.php'); + /* Always set up the language before calling these functions */ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE ) { @@ -110,7 +112,8 @@ function displayPageHeader($color, $mailbox, $xtra='') { echo "\n\n"; /** Here is the header and wrapping table **/ - $shortBoxName = readShortMailboxName($mailbox, $delimiter); + $shortBoxName = imap_utf7_decode_local(readShortMailboxName($mailbox, $delimiter)); + if ( $shortBoxName == 'INBOX' ) { $shortBoxName = _("INBOX"); } -- 2.25.1