Changeset 798764c in github
- Timestamp:
- Feb 18, 2011 4:54:19 AM (2 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 2b3a8e8
- Parents:
- 4d982d3
- File:
-
- 1 edited
-
program/include/rcube_html_page.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/include/rcube_html_page.php
rba3377f r798764c 267 267 } 268 268 269 $this->base_path = $base_path;269 $this->base_path = $base_path; 270 270 271 271 // correct absolute paths in images and other tags 272 // add timestamp to .js and .css filename272 // add timestamp to .js and .css filename 273 273 $output = preg_replace_callback( 274 274 '!(src|href|background)=(["\']?)([a-z0-9/_.-]+)(["\'\s>])!i', 275 array($this, 'file_callback'), $output);275 array($this, 'file_callback'), $output); 276 276 $output = str_replace('$__skin_path', $base_path, $output); 277 277 278 if ($this->charset != RCMAIL_CHARSET) 279 echo rcube_charset_convert($output, RCMAIL_CHARSET, $this->charset); 280 else 281 echo $output; 278 // trigger hook with final HTML content to be sent 279 $hook = rcmail::get_instance()->plugins->exec_hook("send_page", array('content' => $output)); 280 if (!$hook['abort']) { 281 if ($this->charset != RCMAIL_CHARSET) 282 echo rcube_charset_convert($hook['content'], RCMAIL_CHARSET, $this->charset); 283 else 284 echo $hook['content']; 285 } 282 286 } 283 287
Note: See TracChangeset
for help on using the changeset viewer.
