mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-11 23:01:41 +09:00
issue 226 when board 1.3 + core 1.5
temp status document not show in module display only showing in admin document list git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9441 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
679f0e4673
commit
cdeb47bb10
1 changed files with 11 additions and 2 deletions
|
|
@ -199,8 +199,17 @@
|
|||
$args->start_date = $obj->start_date?$obj->start_date:null;
|
||||
$args->end_date = $obj->end_date?$obj->end_date:null;
|
||||
$args->member_srl = $obj->member_srl;
|
||||
$args->statusList = $obj->statusList?$obj->statusList:array($this->getConfigStatus('secret'), $this->getConfigStatus('public'));
|
||||
if($logged_info->is_admin == 'Y') $args->statusList = array($this->getConfigStatus('secret'), $this->getConfigStatus('public'), $this->getConfigStatus('temp'));
|
||||
|
||||
// only admin document list, temp document showing
|
||||
if($obj->statusList) $args->statusList;
|
||||
else
|
||||
{
|
||||
if($logged_info->is_admin == 'Y' && !$obj->module_srl)
|
||||
$args->statusList = array($this->getConfigStatus('secret'), $this->getConfigStatus('public'), $this->getConfigStatus('temp'));
|
||||
else
|
||||
$args->statusList = array($this->getConfigStatus('secret'), $this->getConfigStatus('public'));
|
||||
}
|
||||
|
||||
// Category is selected, further sub-categories until all conditions
|
||||
if($args->category_srl) {
|
||||
$category_list = $this->getCategoryList($args->module_srl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue