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

This commit is contained in:
zero 2007-03-08 10:07:48 +00:00
parent aa6f3b6bf6
commit c8eb86356e
18 changed files with 61 additions and 27 deletions

View file

@ -162,6 +162,12 @@
}
}
// 현재 페이지의 정보를 $zbfe_url이라는 변수로 등록 (common/tpl/common_header.tpl에서 javascript 변수로 설정함)
if($_REQUEST['mid']) $zbfe_url = sprintf('mid=%s',$_REQUEST['mid']);
elseif($_REQUEST['module']) $zbfe_url = sprintf('module=%s',$_REQUEST['module']);
else $zbfe_url = Context::getRequestUri();
Context::set('zbfe_url', $zbfe_url);
// 해당 모듈에 layout_srl이 있는지 확인
if($oModule->module_info->layout_srl) {
// layout_srl이 있으면 해당 레이아웃 정보를 가져와 layout_path/ layout_file 위치 변경
@ -191,12 +197,6 @@
$oModule->setLayoutFile('layout');
}
// 현재 페이지의 정보를 $zbfe_url이라는 변수로 등록 (common/tpl/common_header.tpl에서 javascript 변수로 설정함)
if($_REQUEST['mid']) $zbfe_url = sprintf('mid=%s',$_REQUEST['mid']);
elseif($_REQUEST['module']) $zbfe_url = sprintf('module=%s',$_REQUEST['module']);
else $zbfe_url = Context::getRequestUri();
Context::set('zbfe_url', $zbfe_url);
// 컨텐츠 출력
$oDisplayHandler = new DisplayHandler();
$oDisplayHandler->printContent($oModule);