mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +09:00
#520 모바일에서 카테고리가 보이지 않는 현상 고침
This commit is contained in:
parent
875c8dc964
commit
e88b8f9425
1 changed files with 21 additions and 3 deletions
|
|
@ -24,11 +24,29 @@ class boardMobile extends boardView
|
||||||
$this->module_info->secret = 'Y';
|
$this->module_info->secret = 'Y';
|
||||||
}
|
}
|
||||||
|
|
||||||
//If category are exsist, set value 'use_category' to 'Y'
|
// use_category <=1.5.x, hide_category >=1.7.x
|
||||||
if(count($oDocumentModel->getCategoryList($this->module_info->module_srl)))
|
$count_category = count($oDocumentModel->getCategoryList($this->module_info->module_srl));
|
||||||
$this->module_info->use_category = 'Y';
|
if($count_category)
|
||||||
|
{
|
||||||
|
if($this->module_info->hide_category)
|
||||||
|
{
|
||||||
|
$this->module_info->use_category = ($this->module_info->hide_category == 'Y') ? 'N' : 'Y';
|
||||||
|
}
|
||||||
|
else if($this->module_info->use_category)
|
||||||
|
{
|
||||||
|
$this->module_info->hide_category = ($this->module_info->use_category == 'Y') ? 'N' : 'Y';
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
$this->module_info->hide_category = 'N';
|
||||||
|
$this->module_info->use_category = 'Y';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->module_info->hide_category = 'Y';
|
||||||
$this->module_info->use_category = 'N';
|
$this->module_info->use_category = 'N';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* check the consultation function, if the user is admin then swich off consultation function
|
* check the consultation function, if the user is admin then swich off consultation function
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue