Changeset 7e0ec7e in github


Ignore:
Timestamp:
Dec 1, 2006 12:49:06 PM (6 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
740e9ec
Parents:
0a020ca
Message:

Fixed folder name encoding in subscription list (Bug #1484113)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/steps/settings/manage_folders.inc

    rb6677bf9 r7e0ec7e  
    166166    $protected = ($CONFIG['protect_default_folders'] == TRUE && in_array($folder,$CONFIG['default_imap_folders'])); 
    167167    $zebra_class = $i%2 ? 'even' : 'odd'; 
    168     if (in_array($folder, $CONFIG['default_imap_folders'])) 
    169       $folder = rcube_label(strtolower($folder)); 
    170168    $folder_js = rep_specialchars_output($folder, 'js'); 
    171169    $folder_js_enc = rep_specialchars_output(rcube_charset_convert($folder, 'UTF-7'), 'js'); 
     170    $folder_html = $CONFIG['protect_default_folders'] && in_array($folder, $CONFIG['default_imap_folders']) ? rcube_label(strtolower($folder)) : rcube_charset_convert($folder, 'UTF-7'); 
    172171     
    173172    if (!$protected) 
     
    177176                    $i+1, 
    178177                    $zebra_class, 
    179                     rep_specialchars_output(rcube_charset_convert($folder, 'UTF-7'), 'html', 'all')); 
     178                    rep_specialchars_output($folder_html, 'html', 'all')); 
    180179                     
    181180    if ($protected) 
Note: See TracChangeset for help on using the changeset viewer.