mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
#181 page, opage 모듈에서는 '작성글 보기'메뉴를 출력하지 않도록 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2684 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ff17cebf52
commit
f16e2c17e8
1 changed files with 5 additions and 1 deletions
|
|
@ -29,6 +29,10 @@
|
|||
$logged_info = Context::get('logged_info');
|
||||
$act = Context::get('cur_act');
|
||||
|
||||
// 호출된 모듈의 정보 구함
|
||||
$oModuleModel = &getModel('module');
|
||||
$cur_module_info = $oModuleModel->getModuleInfoByMid($mid);
|
||||
|
||||
// 자신의 아이디를 클릭한 경우
|
||||
if($member_srl == $logged_info->member_srl) {
|
||||
$member_info = $logged_info;
|
||||
|
|
@ -63,7 +67,7 @@
|
|||
}
|
||||
|
||||
// 게시판이나 블로그등일 경우는 특별 옵션 지정
|
||||
if($mid && !ereg('Member', $act)) {
|
||||
if($mid && !ereg('Member', $act) && !in_array($cur_module_info->module, array('page', 'opage'))) {
|
||||
// 아이디로 검색
|
||||
$menu_str = Context::getLang('cmd_view_own_document');
|
||||
$menu_url = sprintf('./?mid=%s&search_target=user_id&search_keyword=%s', $mid, $user_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue