mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 21:59:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1249 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4a60415cab
commit
35ea1c4bbc
4 changed files with 61 additions and 16 deletions
|
|
@ -88,14 +88,9 @@
|
|||
if($this->grant->list) Context::set('rss_url', getUrl('','mid',$this->mid,'act','dispBlogRss'));
|
||||
|
||||
// 카테고리 목록을 가져오고 선택된 카테고리의 값을 설정
|
||||
$oBlogModel = &getModel('blog');
|
||||
$category_list = $oBlogModel->getCategoryList($this->module_info->module_srl);
|
||||
if(count($category_list)) {
|
||||
foreach($category_list as $key => $val) {
|
||||
$this->category_list[$val->category_srl] = $val;
|
||||
}
|
||||
Context::set('category_list', $this->category_list);
|
||||
}
|
||||
$oDocumentModel = &getModel('document');
|
||||
$this->category_list = $oDocumentModel->getCategoryList($this->module_srl);
|
||||
Context::set('category_list', $this->category_list);
|
||||
|
||||
$category_srl = Context::get('category');
|
||||
if($this->category_list[$category_srl]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue