#17641849 이미지 마진 설정 가능하게, Feed에서 에디터 컴포넌트 코드 치환

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5380 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-01-16 06:06:14 +00:00
parent 098d763755
commit a7a5b73d7a
13 changed files with 48 additions and 24 deletions

View file

@ -4,7 +4,7 @@
* @author zero (zero@nzeo.com)
* @brief rss module의 view class
*
* RSS 2.0형식으로 문서 출력
* Feed 문서 출력
*
**/
@ -132,13 +132,10 @@
$file = 'rss20';
break;
}
$oTemplate = new TemplateHandler();
$oContext = &Context::getInstance();
$content = $oTemplate->compile($path, $file);
$content = $oContext->transContent($content);
Context::set('content', $content);
// 템플릿 파일 지정
@ -146,6 +143,7 @@
$this->setTemplateFile('display');
}
/** @brief ATOM 출력 **/
function atom() {
Context::set('format', 'atom');
$this->rss();