Changeset 31ecc4f in github


Ignore:
Timestamp:
Feb 1, 2008 9:23:01 PM (5 years ago)
Author:
till <till@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
c658edb
Parents:
611a6a7
Message:
  • added @todo
  • fixed more cs (in switch())
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/lib/imap.inc

    r611a6a7 r31ecc4f  
    5454********************************************************/ 
    5555 
     56/** 
     57 * @todo Possibly clean up more CS. 
     58 * @todo Split this file into smaller files. 
     59 * @todo Refactor code. 
     60 */ 
    5661 
    5762// changed path to work within roundcube webmail 
     
    15711576                                                $ctype_parts = explode(";", $string); 
    15721577                                                $result[$id]->ctype = array_shift($ctype_parts); 
    1573                                                 foreach ($ctype_parts as $ctype_add) 
     1578                                                foreach ($ctype_parts as $ctype_add) { 
    15741579                            if (preg_match('/charset="?([a-z0-9\-\.\_]+)"?/i', 
    15751580                                $ctype_add, $regs)) { 
    15761581                                $result[$id]->charset = $regs[1]; 
    15771582                                                        } 
    1578                             break; 
     1583                        } 
     1584                        break; 
    15791585                                        case 'in-reply-to': 
    15801586                                                $result[$id]->in_reply_to = ereg_replace("[\n<>]", '', $string); 
     
    15831589                                                $result[$id]->references = $string; 
    15841590                                                break; 
    1585                                                 case 'return-receipt-to': 
    1586                                                 case 'disposition-notification-to': 
    1587                                                 case 'x-confirm-reading-to': 
    1588                                                         $result[$id]->mdn_to = str_replace("\n", " ", $string); 
    1589                                                         break; 
     1591                                        case 'return-receipt-to': 
     1592                                        case 'disposition-notification-to': 
     1593                                        case 'x-confirm-reading-to': 
     1594                                                $result[$id]->mdn_to = str_replace("\n", " ", $string); 
     1595                                                break; 
    15901596                                        case 'message-id': 
    15911597                                                $result[$id]->messageID = $string; 
Note: See TracChangeset for help on using the changeset viewer.