위젯 검출 정규 표현식을 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2892 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-11-01 10:28:42 +00:00
parent f9896fe51a
commit 90aa62a6ac
993 changed files with 9190 additions and 10457 deletions

View file

@ -111,6 +111,24 @@
$this->setTemplateFile('blog_insert');
}
/**
* @brief 블로그 추가 설정 보여줌
* 추가설정은 서비스형 모듈들에서 다른 모듈과의 연계를 위해서 설정하는 페이지임
**/
function dispBlogAdminBlogAdditionSetup() {
// content는 다른 모듈에서 call by reference로 받아오기에 미리 변수 선언만 해 놓음
$content = '';
// 추가 설정을 위한 트리거 호출
// 블로그 모듈이지만 차후 다른 모듈에서의 사용도 고려하여 trigger 이름을 공용으로 사용할 수 있도록 하였음
$output = ModuleHandler::triggerCall('module.dispAdditionSetup', 'before', $content);
$output = ModuleHandler::triggerCall('module.dispAdditionSetup', 'after', $content);
Context::set('setup_content', $content);
// 템플릿 파일 지정
$this->setTemplateFile('addition_setup');
}
/**
* @brief 블로그 삭제 화면 출력
**/
@ -177,10 +195,10 @@
$module_srl = $this->module_info->module_srl;
// 카테고리 정보를 가져옴
$oBlogModel = &getModel('blog');
$category_info = $oBlogModel->getCategory($module_srl);
$oDocumentModel = &getModel('document');
$category_xml_file = $oDocumentModel->getCategoryXmlFile($module_srl);
Context::set('category_info', $category_info);
Context::set('category_xml_file', $category_xml_file);
Context::addJsFile('./common/js/tree_menu.js');
Context::set('layout','none');