diff --git a/layouts/xe_blog/layout.html b/layouts/xe_blog/layout.html index f19c4001e..4c0e4db1e 100644 --- a/layouts/xe_blog/layout.html +++ b/layouts/xe_blog/layout.html @@ -45,7 +45,7 @@ -
  • Skin Info
  • +
  • Skin Info
  • Tag list
  • rss
  • diff --git a/modules/layout/conf/module.xml b/modules/layout/conf/module.xml index 4c4ea1050..8ea2e15d9 100644 --- a/modules/layout/conf/module.xml +++ b/modules/layout/conf/module.xml @@ -1,6 +1,7 @@ + diff --git a/modules/layout/layout.view.php b/modules/layout/layout.view.php new file mode 100644 index 000000000..4d7c78978 --- /dev/null +++ b/modules/layout/layout.view.php @@ -0,0 +1,34 @@ +setTemplatePath($this->module_path.'tpl'); + } + + /** + * @brief 레이아웃의 상세 정보(conf/info.xml)를 팝업 출력 + **/ + function dispLayoutInfo() { + // 선택된 레이아웃 정보를 구함 + $oLayoutModel = &getModel('layout'); + $layout_info = $oLayoutModel->getLayoutInfo(Context::get('selected_layout')); + if(!$layout_info) exit(); + Context::set('layout_info', $layout_info); + + // 레이아웃을 팝업으로 지정 + $this->setLayoutFile('popup_layout'); + + // 템플릿 파일 지정 + $this->setTemplateFile('layout_detail_info'); + } + } +?>