Changeset 3217 in subversion for trunk/roundcubemail/program/steps/mail/show.inc
- Timestamp:
- Jan 22, 2010 3:07:45 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/steps/mail/show.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/show.inc
r2933 r3217 41 41 } 42 42 43 send_nocacheing_headers(); 44 43 45 $mbox_name = $IMAP->get_mailbox_name(); 44 46 45 47 // show images? 46 48 rcmail_check_safe($MESSAGE); 47 48 // calculate Etag for this request49 $etag = md5($MESSAGE->uid.$mbox_name.session_id()50 .intval($MESSAGE->headers->mdn_sent)51 .intval($MESSAGE->is_safe)52 .(!empty($MESSAGE->attachments) ? intval($CONFIG['inline_images']) : '')53 .intval($PRINT_MODE)54 .$_SESSION['sort_col'].$_SESSION['sort_order']55 .$IMAP->messagecount($mbox_name, 'ALL', true)56 );57 58 // allow caching, unless remote images are present59 if ((bool)$MESSAGE->is_safe)60 send_nocacheing_headers();61 else if (empty($CONFIG['devel_mode']))62 send_modified_header($_SESSION['login_time'], $etag, !$MESSAGE->headers->seen);63 49 64 50 // set message charset as default
Note: See TracChangeset
for help on using the changeset viewer.
