Changeset 1023 in subversion for trunk/roundcubemail/program/steps/mail/show.inc
- Timestamp:
- Feb 6, 2008 2:41:11 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/steps/mail/show.inc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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.
