게시판 권한이 없을 경우 권한이 없다는 메세지 출력 및 로그인 버튼이 나타나도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5799 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-03-09 00:47:41 +00:00
parent 83ec3f18be
commit 519ba53c0f

View file

@ -63,7 +63,7 @@
/**
* 목록보기 권한 체크 (모든 권한은 ModuleObject에서 xml 정보와 module_info의 grant 값을 비교하여 미리 설정하여 놓음)
**/
if(!$this->grant->access) return $this->dispBoardMessage('msg_not_permitted');
if(!$this->grant->access || !$this->grant->list) return $this->dispBoardMessage('msg_not_permitted');
/**
* 카테고리를 사용하는지 확인후 사용시 카테고리 목록을 구해와서 Context에 세팅
@ -86,7 +86,6 @@
// 게시글을 가져옴
$this->dispBoardContentView();
// if(!$output->toBool()) return;
// 공지사항 목록을 구해서 context set (공지사항을 매페이지 제일 상단에 위치하기 위해서)
$this->dispBoardNoticeList();