mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 00:32:15 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@304 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
38ccebe5b5
commit
a97f265837
6 changed files with 87 additions and 41 deletions
|
|
@ -161,10 +161,17 @@
|
|||
* @brief 특정 menu_srl의 정보를 이용하여 템플릿을 구한후 return
|
||||
**/
|
||||
function getMenuInfo() {
|
||||
// 해당 메뉴의 정보를 가져오기 위한 변수 설정
|
||||
$menu_id = Context::get('menu_id');
|
||||
$menu_srl = Context::get('menu_srl');
|
||||
$layuot = Context::get('layout');
|
||||
|
||||
// 회원 그룹의 목록을 가져옴
|
||||
$oMemberModel = &getModel('member');
|
||||
$group_list = $oMemberModel->getGroups();
|
||||
Context::set('group_list', $group_list);
|
||||
|
||||
// template 파일을 직접 컴파일한후 tpl변수에 담아서 return한다.
|
||||
require_once("./classes/template/TemplateHandler.class.php");
|
||||
$oTemplate = new TemplateHandler();
|
||||
$tpl = $oTemplate->compile($this->module_path.'tpl.admin', 'layout_menu_info');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue