mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 20:59:55 +09:00
merge with 1.4.5 branch(1.4.5.10)
git-svn-id: http://xe-core.googlecode.com/svn/trunk@9269 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
92332c8ebb
commit
a0d57a320f
98 changed files with 970 additions and 432 deletions
|
|
@ -24,7 +24,11 @@
|
|||
// 모듈 카테고리 목록을 구함
|
||||
$module_category = $oModuleModel->getModuleCategories();
|
||||
Context::set('module_category', $module_category);
|
||||
|
||||
|
||||
//Security
|
||||
$security = new Security();
|
||||
$security->encodeHTML('module_category..title');
|
||||
|
||||
// 템플릿 경로 구함 (opage의 경우 tpl에 관리자용 템플릿 모아놓음)
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
}
|
||||
|
|
@ -45,8 +49,12 @@
|
|||
Context::set('total_page', $output->total_page);
|
||||
Context::set('page', $output->page);
|
||||
Context::set('opage_list', $output->data);
|
||||
Context::set('page_navigation', $output->page_navigation);
|
||||
Context::set('page_navigation', $output->page_navigation);
|
||||
|
||||
//Security
|
||||
$security = new Security();
|
||||
$security->encodeHTML('opage_list..');
|
||||
|
||||
// 템플릿 파일 지정
|
||||
$this->setTemplateFile('index');
|
||||
}
|
||||
|
|
@ -77,15 +85,29 @@
|
|||
unset($module_srl);
|
||||
}
|
||||
}
|
||||
|
||||
// 레이아웃 목록을 구해옴
|
||||
|
||||
// 레이아웃 목록을 구해옴
|
||||
$oLayoutModel = &getModel('layout');
|
||||
$layout_list = $oLayoutModel->getLayoutList();
|
||||
Context::set('layout_list', $layout_list);
|
||||
|
||||
$mobile_layout_list = $oLayoutModel->getLayoutList(0,"M");
|
||||
Context::set('mlayout_list', $mobile_layout_list);
|
||||
|
||||
|
||||
//Security
|
||||
$security = new Security();
|
||||
$security->encodeHTML('module_info.');
|
||||
$security->encodeHTML('layout_list..layout');
|
||||
$security->encodeHTML('layout_list..title');
|
||||
$security->encodeHTML('mlayout_list..layout');
|
||||
$security->encodeHTML('mlayout_list..title');
|
||||
//group_list 및 grant는 사용되는 곳을 모르겠음.
|
||||
/*
|
||||
$security->encodeHTML('group_list..title');
|
||||
$security->encodeHTML('group_list..description');
|
||||
$security->encodeHTML('grant_list..');
|
||||
*/
|
||||
|
||||
// 템플릿 파일 지정
|
||||
$this->setTemplateFile('opage_insert');
|
||||
}
|
||||
|
|
@ -102,6 +124,12 @@
|
|||
$module_info = $oModuleModel->getModuleInfoByModuleSrl($module_srl);
|
||||
Context::set('module_info',$module_info);
|
||||
|
||||
//Security
|
||||
$security = new Security();
|
||||
$security->encodeHTML('module_info.module');
|
||||
$security->encodeHTML('module_info.mid');
|
||||
$security->encodeHTML('module_info.browser_title');
|
||||
|
||||
// 템플릿 파일 지정
|
||||
$this->setTemplateFile('opage_delete');
|
||||
}
|
||||
|
|
@ -110,8 +138,6 @@
|
|||
* @brief 권한 목록 출력
|
||||
**/
|
||||
function dispOpageAdminGrantInfo() {
|
||||
|
||||
|
||||
// GET parameter에서 module_srl을 가져옴
|
||||
$module_srl = Context::get('module_srl');
|
||||
|
||||
|
|
@ -133,6 +159,10 @@
|
|||
$grant_content = $oModuleAdminModel->getModuleGrantHTML($this->module_info->module_srl, $this->xml_info->grant);
|
||||
Context::set('grant_content', $grant_content);
|
||||
|
||||
//Security
|
||||
$security = new Security();
|
||||
$security->encodeHTML('module_info..');
|
||||
|
||||
$this->setTemplateFile('grant_list');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue