mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@583 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
faee1901c2
commit
68541b7822
3 changed files with 18 additions and 11 deletions
|
|
@ -47,22 +47,26 @@
|
|||
// 변수 정리
|
||||
$upload_target_srl = Context::get('upload_target_srl');
|
||||
$component = Context::get('component');
|
||||
$manual_url = Context::get('manual_url');
|
||||
|
||||
// component 객체를 받음
|
||||
$oComponent = &$this->getComponentObject($component, $upload_target_srl);
|
||||
if(!$oComponent->toBool()) return $oComponent;
|
||||
if(!$oComponent->toBool()) {
|
||||
Context::set('message', sprintf(Context::getLang('msg_component_is_not_founded'), $component));
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('component_not_founded');
|
||||
} else {
|
||||
|
||||
// 컴포넌트의 popup url을 출력하는 method실행후 결과를 받음
|
||||
$popup_content = $oComponent->getPopupContent();
|
||||
Context::set('popup_content', $popup_content);
|
||||
// 컴포넌트의 popup url을 출력하는 method실행후 결과를 받음
|
||||
$popup_content = $oComponent->getPopupContent();
|
||||
Context::set('popup_content', $popup_content);
|
||||
|
||||
// 레이아웃을 popup_layout으로 설정
|
||||
$this->setLayoutFile('popup_layout');
|
||||
// 레이아웃을 popup_layout으로 설정
|
||||
$this->setLayoutFile('popup_layout');
|
||||
|
||||
// 템플릿 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('popup');
|
||||
// 템플릿 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('popup');
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
4
modules/editor/tpl/component_not_founded.html
Normal file
4
modules/editor/tpl/component_not_founded.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<script type="text/javascript">
|
||||
alert("{$message}");
|
||||
window.close();
|
||||
</script>
|
||||
|
|
@ -35,7 +35,6 @@ div.editor_iconbox {
|
|||
}
|
||||
|
||||
div.editor_iconbox img {
|
||||
width : 16px;
|
||||
height : 16px;
|
||||
border : 1px solid #EEEEEE;
|
||||
background-color : #FFFFFF;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue