첨부파일의 본문 삽입시 상대경로로 저장하게 하고 출력시 Rewrite mod에 영향을 받지 않게 절대경로로 변경함

git-svn-id: http://xe-core.googlecode.com/svn/trunk@1961 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-07-19 23:01:37 +00:00
parent a522a2207e
commit d9dc99c577
8 changed files with 12 additions and 9 deletions

View file

@ -72,6 +72,7 @@ function insertImage(obj) {
return;
}
url = url.replace(request_uri,'');
var text = "<img editor_component=\"image_link\" src=\""+url+"\" border=\""+border+"\" ";
if(alt) text+= " alt=\""+alt+"\"";
if(align) text+= " align=\""+align+"\" ";