Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 * 권한에 관계없이 링크 메뉴가 보이는 부분 수정
  • Loading branch information
inureyes committed Mar 25, 2008
1 parent 01c48b4 commit a874129
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions lib/piece/owner/contentMenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,20 @@
}
break;
case 'communication':
if(Acl::check('group.administrators')) {
$blogContentMenuItem = array(
array('menu'=>'comment','title'=>_t('소통 기록'),'link'=>'/owner/communication/comment'),
array('menu'=>'trash','title'=>_t('휴지통'),'link'=>'/owner/communication/trash/comment'),
array('menu'=>'add','title'=>_t('링크 추가'),'link'=>'/owner/communication/link/add'),
array('menu'=>'link','title'=>_t('링크 목록'),'link'=>'/owner/communication/link'),
array('menu'=>'xfn','title'=>_t('친구 링크 관리'),'link'=>'/owner/communication/xfn')
);
}
if(Acl::check('group.administrators')) {
$blogContentMenuItem = array(
array('menu'=>'comment','title'=>_t('소통 기록'),'link'=>'/owner/communication/comment'),
array('menu'=>'trash','title'=>_t('휴지통'),'link'=>'/owner/communication/trash/comment'),
array('menu'=>'add','title'=>_t('링크 추가'),'link'=>'/owner/communication/link/add'),
array('menu'=>'link','title'=>_t('링크 목록'),'link'=>'/owner/communication/link'),
array('menu'=>'xfn','title'=>_t('친구 링크 관리'),'link'=>'/owner/communication/xfn')
);
} else {
$blogContentMenuItem = array(
array('menu'=>'comment','title'=>_t('소통 기록'),'link'=>'/owner/communication/comment'),
array('menu'=>'trash','title'=>_t('휴지통'),'link'=>'/owner/communication/trash/comment')
);
}
break;
case 'skin':
if(Acl::check('group.administrators')) {
Expand Down

0 comments on commit a874129

Please sign in to comment.