mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 20:44:28 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3848 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4ce8c4aa8f
commit
a30805c65a
3 changed files with 36 additions and 1 deletions
|
|
@ -45,7 +45,7 @@
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
|
|
||||||
<!--@if($mid == $layout_info->target_mid)-->
|
<!--@if($mid == $layout_info->target_mid)-->
|
||||||
<li class="skin_info"><a href="{getUrl('','module','module','act','dispModuleSkinInfo','selected_module',$module_info->module, 'skin', $module_info->skin)}" onclick="popopen(this.href,'skinInfo'); return false;"><img src="./images/buttonHelp.gif" alt="Skin Info" width="13" height="13"/></a></li>
|
<li class="skin_info"><a href="{getUrl('','module','layout','act','dispLayoutInfo','selected_layout','xe_blog')}" onclick="popopen(this.href,'layoutSkinInfo'); return false;"><img src="./images/buttonHelp.gif" alt="Skin Info" width="13" height="13"/></a></li>
|
||||||
<li><a href="{getUrl('act','dispBoardTagList')}"><img src="./images/iconAllTags.gif" alt="Tag list" width="13" height="13"/></a></li>
|
<li><a href="{getUrl('act','dispBoardTagList')}"><img src="./images/iconAllTags.gif" alt="Tag list" width="13" height="13"/></a></li>
|
||||||
<!--@if($rss_url)-->
|
<!--@if($rss_url)-->
|
||||||
<li><a href="{$rss_url}"><img src="./images/{$layout_info->colorset}/btn_rss.gif" alt="rss" width="36" height="12" /></a></li>
|
<li><a href="{$rss_url}"><img src="./images/{$layout_info->colorset}/btn_rss.gif" alt="rss" width="36" height="12" /></a></li>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<module>
|
<module>
|
||||||
<actions>
|
<actions>
|
||||||
|
<action name="dispLayoutInfo" type="view" standalone="true" />
|
||||||
<action name="dispLayoutAdminContent" type="view" admin_index="true" standalone="true" />
|
<action name="dispLayoutAdminContent" type="view" admin_index="true" standalone="true" />
|
||||||
<action name="dispLayoutAdminInsert" type="view" standalone="true" />
|
<action name="dispLayoutAdminInsert" type="view" standalone="true" />
|
||||||
<action name="dispLayoutAdminModify" type="view" standalone="true" />
|
<action name="dispLayoutAdminModify" type="view" standalone="true" />
|
||||||
|
|
|
||||||
34
modules/layout/layout.view.php
Normal file
34
modules/layout/layout.view.php
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @class layoutView
|
||||||
|
* @author zero (zero@nzeo.com)
|
||||||
|
* @brief layout 모듈의 admin view class
|
||||||
|
**/
|
||||||
|
|
||||||
|
class layoutView extends layout {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 초기화
|
||||||
|
**/
|
||||||
|
function init() {
|
||||||
|
$this->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');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue