Changeset 1023 in subversion
- Timestamp:
- Feb 6, 2008 2:41:11 AM (5 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 3 edited
-
CHANGELOG (modified) (2 diffs)
-
program/steps/mail/func.inc (modified) (3 diffs)
-
program/steps/mail/show.inc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r1021 r1023 1 1 CHANGELOG RoundCube Webmail 2 2 --------------------------- 3 4 2008/02/06 (thomasb) 5 ---------- 6 - Remember decision to display images for a certain message during session (#1484754) 3 7 4 8 2008/02/05 (thomasb) … … 9 13 - Applied patch for updating page title (#1484727, #1484650) 10 14 - Applied patch to prevent from purging inbox by uberlinuxguy (#1484449) 15 - Applied patch to prevent bad header delimiters (#1484751) 11 16 - Also send search request when deleting a contact (#1484620) 12 17 - Add CSS hack for Safari -
trunk/roundcubemail/program/steps/mail/func.inc
r1013 r1023 639 639 $a_return_parts[] = &$structure; 640 640 } 641 641 642 642 // message contains alternative parts 643 643 else if ($message_ctype_primary=='multipart' && $message_ctype_secondary=='alternative' && is_array($structure->parts)) … … 745 745 $a_attachments = array_merge($a_attachments, $attachmnts); 746 746 } 747 748 // ignore "virtual" protocol parts 749 else if ($primary_type=='protocol') 750 continue; 747 751 748 752 // part is file/attachment … … 862 866 $attrib['id'] = 'rcmailMsgBody'; 863 867 864 $safe_mode = intval($_GET['_safe']);868 $safe_mode = $MESSAGE['is_safe'] || intval($_GET['_safe']); 865 869 $attrib_str = create_attrib_string($attrib, array('style', 'class', 'id')); 866 870 $out = '<div '. $attrib_str . ">\n"; -
trunk/roundcubemail/program/steps/mail/show.inc
r1013 r1023 43 43 } 44 44 } 45 46 // check if safe flag is set 47 if ($MESSAGE['is_safe'] = intval($_GET['_safe'])) 48 $_SESSION['safe_messages'][$MESSAGE['UID']] = true; 49 else if ($_SESSION['safe_messages'][$MESSAGE['UID']]) 50 $MESSAGE['is_safe'] = 1; 45 51 46 52 // calculate Etag for this request … … 59 65 list($MESSAGE['parts'], $MESSAGE['attachments']) = rcmail_parse_message( 60 66 $MESSAGE['structure'], 61 array('safe' => intval($_GET['_safe']),67 array('safe' => $MESSAGE['is_safe'], 62 68 'prefer_html' => $CONFIG['prefer_html'], 63 69 'get_url' => $GET_URL.'&_part=%s') … … 73 79 // give message uid to the client 74 80 $OUTPUT->set_env('uid', $MESSAGE['UID']); 75 $OUTPUT->set_env('safemode', intval($_GET['_safe']));81 $OUTPUT->set_env('safemode', $MESSAGE['is_safe']); 76 82 77 83 // check for unset disposition notification
Note: See TracChangeset
for help on using the changeset viewer.
