git-svn-id: http://xe-core.googlecode.com/svn/trunk@1234 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-19 06:22:10 +00:00
parent 98695f77fe
commit 870d528494
12 changed files with 123 additions and 202 deletions

View file

@ -83,7 +83,7 @@
$this->setTemplatePath($template_path);
// rss url
if($this->grant->view) Context::set('rss_url', getUrl('','mid',$this->mid,'act','dispBlogRss'));
if($this->grant->list) Context::set('rss_url', getUrl('','mid',$this->mid,'act','dispBlogRss'));
}
/**
@ -101,7 +101,7 @@
$oDocumentModel = &getModel('document');
// document_srl이 있다면 해당 글을 구해오자
if($this->grant->view && $document_srl) {
if($this->grant->list && $document_srl) {
// 글을 구함
$document = $oDocumentModel->getDocument($document_srl, $this->grant->manager, true);