alecpl
2010-04-22 0a19215ae32c9afbf273970b08a7f999d9e40e8a
- make sure INBOX is allways displayed as Inbox (per recent discussion)


1 files modified
6 ■■■■ changed files
program/include/main.inc 6 ●●●● patch | view | raw | blame | history
program/include/main.inc
@@ -1459,15 +1459,15 @@
{
  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';
}