mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 12:02:24 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@723 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
328e37d822
commit
c21c7c32e1
8 changed files with 38 additions and 47 deletions
|
|
@ -33,11 +33,14 @@
|
||||||
$content = $oContext->transContent($content);
|
$content = $oContext->transContent($content);
|
||||||
Context::set('content', $content);
|
Context::set('content', $content);
|
||||||
|
|
||||||
// content 래핑 (common/tpl/default.html)
|
// 레이아웃을 컴파일
|
||||||
require_once("./classes/template/TemplateHandler.class.php");
|
require_once("./classes/template/TemplateHandler.class.php");
|
||||||
|
|
||||||
$oTemplate = new TemplateHandler();
|
$oTemplate = new TemplateHandler();
|
||||||
$output = $oTemplate->compile($oModule->getLayoutPath(), $oModule->getLayoutFile());
|
$zbxe_final_content = $oTemplate->compile($oModule->getLayoutPath(), $oModule->getLayoutFile());
|
||||||
|
|
||||||
|
// 최종 결과를 common_layout에 넣어버림
|
||||||
|
Context::set('zbxe_final_content', $zbxe_final_content);
|
||||||
|
$output = $oTemplate->compile('./common/tpl', 'common_layout');
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$output = $content;
|
$output = $content;
|
||||||
|
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
{Context::getHtmlFooter()}
|
|
||||||
<div id="waitingforserverresponse">{$lang->msg_call_server}</div>
|
|
||||||
<div id="fororiginalimagearea">
|
|
||||||
<img src="./images/original_image_box_close.gif" alt="close original image" border="0" onclick="closeOriginalImage()" id="closeOriginalImageBtn"/>
|
|
||||||
<img src="./images/blank.gif" alt="original image" border="0" id="fororiginalimage" />
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html lang="{Context::getLangType()}" xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
||||||
<title>{Context::getBrowserTitle()}</title>
|
|
||||||
<script type="text/javascript" src="./common/js/x.js"></script>
|
|
||||||
<script type="text/javascript" src="./common/js/common.js"></script>
|
|
||||||
<script type="text/javascript" src="./common/js/xml_handler.js"></script>
|
|
||||||
<script type="text/javascript" src="./common/js/xml_js_filter.js"></script>
|
|
||||||
<script type="text/javascript" src="./common/js/tree_menu.js"></script>
|
|
||||||
<!--@foreach(Context::getJsFile() as $key => $js_file)-->
|
|
||||||
<script type="text/javascript" src="{$js_file}"></script>
|
|
||||||
<!--@end-->
|
|
||||||
<link rel="stylesheet" HREF="./common/css/default.css" type="text/css" />
|
|
||||||
<!--@foreach(Context::getCssFile() as $key => $css_file)-->
|
|
||||||
<link rel="stylesheet" HREF="{$css_file}" type="text/css" />
|
|
||||||
<!--@end-->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var zbxe_url = "{$zbxe_url}";
|
|
||||||
</script>
|
|
||||||
{Context::getHtmlHeader()}
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
32
common/tpl/common_layout.html
Normal file
32
common/tpl/common_layout.html
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html lang="{Context::getLangType()}" xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<title>{Context::getBrowserTitle()}</title>
|
||||||
|
<script type="text/javascript" src="./common/js/x.js"></script>
|
||||||
|
<script type="text/javascript" src="./common/js/common.js"></script>
|
||||||
|
<script type="text/javascript" src="./common/js/xml_handler.js"></script>
|
||||||
|
<script type="text/javascript" src="./common/js/xml_js_filter.js"></script>
|
||||||
|
<script type="text/javascript" src="./common/js/tree_menu.js"></script>
|
||||||
|
<!--@foreach(Context::getJsFile() as $key => $js_file)-->
|
||||||
|
<script type="text/javascript" src="{$js_file}"></script>
|
||||||
|
<!--@end-->
|
||||||
|
<link rel="stylesheet" HREF="./common/css/default.css" type="text/css" />
|
||||||
|
<!--@foreach(Context::getCssFile() as $key => $css_file)-->
|
||||||
|
<link rel="stylesheet" HREF="{$css_file}" type="text/css" />
|
||||||
|
<!--@end-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
var zbxe_url = "{$zbxe_url}";
|
||||||
|
</script>
|
||||||
|
{Context::getHtmlHeader()}
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{$zbxe_final_content}
|
||||||
|
{Context::getHtmlFooter()}
|
||||||
|
<div id="waitingforserverresponse">{$lang->msg_call_server}</div>
|
||||||
|
<div id="fororiginalimagearea">
|
||||||
|
<img src="./images/original_image_box_close.gif" alt="close original image" border="0" onclick="closeOriginalImage()" id="closeOriginalImageBtn"/>
|
||||||
|
<img src="./images/blank.gif" alt="original image" border="0" id="fororiginalimage" />
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -1,3 +1 @@
|
||||||
<!--#include("./common/tpl/common_header.html")-->
|
|
||||||
{$content}
|
{$content}
|
||||||
<!--#include("./common/tpl/common_footer.html")-->
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,6 @@
|
||||||
<!--%import("css/popup.css")-->
|
<!--%import("css/popup.css")-->
|
||||||
|
|
||||||
<!--#include("./common/tpl/common_header.html")-->
|
|
||||||
<div id="popup_content" style="float:right;">{$content}</div>
|
<div id="popup_content" style="float:right;">{$content}</div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
xAddEventListener(window, 'load', setFixedPopupSize);
|
xAddEventListener(window, 'load', setFixedPopupSize);
|
||||||
</script>
|
</script>
|
||||||
<!--#include("./common/tpl/common_footer.html")-->
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
<!--#include("./common/tpl/common_header.html")-->
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
loadTreeMenu("{$main_menu->xml_file}", "main_menu", "menu", "{$layout_info->main_menu_name}");
|
loadTreeMenu("{$main_menu->xml_file}", "main_menu", "menu", "{$layout_info->main_menu_name}");
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -103,6 +102,3 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!--#include("./common/tpl/common_footer.html")-->
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
<!--%import("css/admin.css")-->
|
<!--%import("css/admin.css")-->
|
||||||
<!--%import("js/admin.js")-->
|
<!--%import("js/admin.js")-->
|
||||||
|
|
||||||
<!--#include("./common/tpl/common_header.html")-->
|
|
||||||
|
|
||||||
<div id="admin_title">
|
<div id="admin_title">
|
||||||
<a href="./?module=admin">zeroboard XE</a>
|
<a href="./?module=admin">zeroboard XE</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -32,5 +30,3 @@
|
||||||
<div id="admin_content">
|
<div id="admin_content">
|
||||||
{$content}
|
{$content}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--#include("./common/tpl/common_footer.html")-->
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue