#19575712 Textyle에서 Data Backup시 Admin이 Backup하는 경우 embed tag를 못봐서 Backup 결과물인 xml에서도 안나오는 문제 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8133 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-03-04 07:48:11 +00:00
parent 77bc5b65bf
commit 6f9e3269f4

View file

@ -253,7 +253,7 @@
return htmlspecialchars($content);
}
function getContent($add_popup_menu = true, $add_content_info = true, $resource_realpath = false, $add_xe_content_class = true) {
function getContent($add_popup_menu = true, $add_content_info = true, $resource_realpath = false, $add_xe_content_class = true, $stripEmbedTagException = false) {
if(!$this->document_srl) return;
if($this->isSecret() && !$this->isGranted() && !$this->isAccessible()) return Context::getLang('msg_is_secret');
@ -261,7 +261,7 @@
$_SESSION['accessible'][$this->document_srl] = true;
$content = $this->get('content');
stripEmbedTagForAdmin($content, $this->get('member_srl'));
if(!$stripEmbedTagException) stripEmbedTagForAdmin($content, $this->get('member_srl'));
// rewrite모듈을 사용하면 링크 재정의
$oContext = &Context::getInstance();