summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-04-22 07:12:42 +0000
committeralecpl <alec@alec.pl>2010-04-22 07:12:42 +0000
commit0a19215ae32c9afbf273970b08a7f999d9e40e8a (patch)
treef74c21513d3a67ed4a8caefc09ac1aa0a28f82a8 /program/include/main.inc
parent684057f67b30bb5dbf0a012c2c28ecf47ec74808 (diff)
- make sure INBOX is allways displayed as Inbox (per recent discussion)
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 1dbf0d406..535fde18b 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -1459,15 +1459,15 @@ function rcmail_folder_classname($folder_id)
{
global $CONFIG;
+ if ($folder_id == 'INBOX')
+ return 'inbox';
+
// for these mailboxes we have localized labels and css classes
foreach (array('sent', 'drafts', 'trash', 'junk') as $smbx)
{
if ($folder_id == $CONFIG[$smbx.'_mbox'])
return $smbx;
}
-
- if ($folder_id == 'INBOX')
- return 'inbox';
}