Changeset 7bbd5f6 in github


Ignore:
Timestamp:
Mar 2, 2007 12:42:04 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:
02479770
Parents:
ff52bee1
Message:

Show localized text for missing subjects (closes #1484243)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    rff52bee1 r7bbd5f6  
    22--------------------------- 
    33 
    4 2007/03/01 (thomasb) 
    5 ---------- 
     42007/03/02 (thomasb) 
     5---------- 
     6- Show "no subject" in message list if subject is missing (closes #1484243) 
    67- Solved page caching of message preview (closes #1484153) 
    78- Only use gzip compression if configured (closes #1484236) 
  • program/steps/mail/func.inc

    rb3ce791 r7bbd5f6  
    451451        { 
    452452        $cont = Q($IMAP->decode_header($header->$col)); 
     453        if (!$cont) $cont = Q(rcube_label('nosubject')); 
    453454        // firefox/mozilla temporary workaround to pad subject with content so that whitespace in rows responds to drag+drop 
    454455        $cont .= '<img src="./program/blank.gif" height="5" width="1000" alt="" />'; 
     
    536537        $cont = Q(rcmail_address_string($header->$col, 3), 'show'); 
    537538      else if ($col=='subject') 
     539        { 
    538540        $cont = Q($IMAP->decode_header($header->$col)); 
     541        if (!$cont) $cont = Q(rcube_label('nosubject')); 
     542        } 
    539543      else if ($col=='size') 
    540544        $cont = show_bytes($header->$col); 
Note: See TracChangeset for help on using the changeset viewer.