Changeset 4488 in subversion for trunk/roundcubemail/program/steps/mail/func.inc
- Timestamp:
- Feb 3, 2011 4:12:35 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/steps/mail/func.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/func.inc
r4484 r4488 1195 1195 function rcmail_alter_html_link($matches) 1196 1196 { 1197 global $ EMAIL_ADDRESS_PATTERN;1197 global $RCMAIL, $EMAIL_ADDRESS_PATTERN; 1198 1198 1199 1199 $tag = $matches[1]; … … 1202 1202 1203 1203 if ($tag == 'link' && preg_match('/^https?:\/\//i', $attrib['href'])) { 1204 $attrib['href'] = "?_task=utils&_action=modcss&u=" . urlencode($attrib['href']) 1205 . "&c=" . urlencode($GLOBALS['rcmail_html_container_id']); 1204 $tempurl = 'tmp-' . md5($attrib['href']) . '.css'; 1205 $_SESSION['modcssurls'][$tempurl] = $attrib['href']; 1206 $attrib['href'] = $RCMAIL->url(array('task' => 'utils', 'action' => 'modcss', 'u' => $tempurl, 'c' => $GLOBALS['rcmail_html_container_id'])); 1206 1207 $end = ' />'; 1207 1208 }
Note: See TracChangeset
for help on using the changeset viewer.
