git-svn-id: http://xe-core.googlecode.com/svn/trunk@722 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-27 10:16:27 +00:00
parent ef1f759a87
commit 328e37d822
3 changed files with 42 additions and 7 deletions

View file

@ -75,6 +75,10 @@
$buff = FileHandler::readFile($tpl_file);
if(!$buff) return;
// 플러그인 변경
$oContext = &Context::getInstance();
$buff = preg_replace_callback('!<img([^\>]*)plugin=([^\>]*?)\>!is', array($oContext,'transPluginCode'), $buff);
// 이미지 태그 img의 src의 값이 http:// 나 / 로 시작하지 않으면 제로보드의 root경로부터 시작하도록 변경
$buff = preg_replace_callback('!img([^>]*)src=[\'"]{1}(.*?)[\'"]{1}!is', array($this, '_compileImgPath'), $buff);