mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 13:19:56 +09:00
플래닛의 권한 관리 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4891 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
36d8d97ad9
commit
dee1a23dc1
4 changed files with 14 additions and 2 deletions
|
|
@ -37,6 +37,9 @@
|
|||
if($this->planet->isHome() && !in_array($this->act, array('dispPlanetCreate','dispPlanetLogin','dispPlanetTagSearch','dispPlanetContentSearch','dispPlanetContentTagSearch')) ) {
|
||||
Context::set('act',$this->act = 'dispPlanetHome');
|
||||
}
|
||||
|
||||
$this->grant->access = $oPlanetModel->isAccessGranted();
|
||||
$this->grant->create = $oPlanetModel->isCreateGranted();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -347,6 +350,13 @@
|
|||
Context::set('reply_list',$output->data);
|
||||
}
|
||||
|
||||
function dispPlanetMessage($msg_code) {
|
||||
$msg = Context::getLang($msg_code);
|
||||
if(!$msg) $msg = $msg_code;
|
||||
Context::set('message', $msg);
|
||||
$this->setTemplateFile('message');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue