mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 12:02:24 +09:00
레벨이 변경될때 소속 그룹도 변경되도록 포인트 모듈 기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3505 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bf1c149c3d
commit
89466e6e0e
12 changed files with 136 additions and 1 deletions
|
|
@ -30,6 +30,18 @@
|
|||
$level_icon_list = FileHandler::readDir("./modules/point/icons");
|
||||
Context::set('level_icon_list', $level_icon_list);
|
||||
|
||||
// 그룹 목록 가져오기
|
||||
$oMemberModel = &getModel('member');
|
||||
$group_list = $oMemberModel->getGroups();
|
||||
$selected_group_list = array();
|
||||
if(count($group_list)) {
|
||||
foreach($group_list as $key => $val) {
|
||||
if($val->is_admin == 'Y' || $val->is_default == 'Y') continue;
|
||||
$selected_group_list[$key] = $val;
|
||||
}
|
||||
}
|
||||
Context::set('group_list', $selected_group_list);
|
||||
|
||||
// 템플릿 지정
|
||||
$this->setTemplateFile('config');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue