mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 15:19:57 +09:00
ticket:347, fixed bug that spring note module does not display template image.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3415 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
87c9e06fec
commit
13aa12e77f
1 changed files with 3 additions and 0 deletions
|
|
@ -100,6 +100,9 @@
|
||||||
// 첨부파일의 경로를 변경
|
// 첨부파일의 경로를 변경
|
||||||
$page->source = preg_replace('/="\/pages\/([0-9]+)\/attachments\/([0-9]+)"/is','="'.$page->uri.'/attachments/\\2"', $page->source);
|
$page->source = preg_replace('/="\/pages\/([0-9]+)\/attachments\/([0-9]+)"/is','="'.$page->uri.'/attachments/\\2"', $page->source);
|
||||||
|
|
||||||
|
// Change path of the template images
|
||||||
|
$page->source = preg_replace('/="\/images\/template\/([^"]+)"/is','="http://zbxe.springnote.com/images/template/\\1"', $page->source);
|
||||||
|
|
||||||
$uri = preg_replace('/pages(.*)$/i','',$page->uri);
|
$uri = preg_replace('/pages(.*)$/i','',$page->uri);
|
||||||
$page->css_files = array(
|
$page->css_files = array(
|
||||||
sprintf('%sstylesheets/xhtmlContent.css?%d', $uri, time()),
|
sprintf('%sstylesheets/xhtmlContent.css?%d', $uri, time()),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue