Changeset 2117 in subversion


Ignore:
Timestamp:
Dec 4, 2008 9:10:47 AM (4 years ago)
Author:
alec
Message:

#1485602: fix INBOX folder localization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/main.inc

    r2114 r2117  
    11441144  global $CONFIG; 
    11451145 
    1146   $cname = null; 
    1147  
    11481146  // for these mailboxes we have localized labels and css classes 
    1149   foreach (array('inbox', 'sent', 'drafts', 'trash', 'junk') as $smbx) 
     1147  foreach (array('sent', 'drafts', 'trash', 'junk') as $smbx) 
    11501148  { 
    11511149    if ($folder_id == $CONFIG[$smbx.'_mbox']) 
    1152       $cname = $smbx; 
    1153   } 
    1154    
    1155   return $cname; 
     1150      return $smbx; 
     1151  } 
     1152 
     1153  if ($folder_id == 'INBOX') 
     1154    return 'inbox'; 
    11561155} 
    11571156 
Note: See TracChangeset for help on using the changeset viewer.