mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 23:29:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1085 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1dcf686d69
commit
6e726744ca
5 changed files with 55 additions and 49 deletions
|
|
@ -82,6 +82,7 @@
|
||||||
$this->module_info = $module_info;
|
$this->module_info = $module_info;
|
||||||
Context::setBrowserTitle($module_info->browser_title);
|
Context::setBrowserTitle($module_info->browser_title);
|
||||||
}
|
}
|
||||||
|
debugPrint($module_info);
|
||||||
|
|
||||||
// 여기까지도 모듈 정보를 찾지 못했다면 깔끔하게 시스템 오류 표시
|
// 여기까지도 모듈 정보를 찾지 못했다면 깔끔하게 시스템 오류 표시
|
||||||
if(!$this->module) $this->error = 'msg_module_is_not_exists';
|
if(!$this->module) $this->error = 'msg_module_is_not_exists';
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,9 @@
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||||
<meta name="generator" content="zeroboard xe (http://www.zeroboard.com)" />
|
<meta name="generator" content="zeroboard xe (http://www.zeroboard.com)" />
|
||||||
<!--@if($module_info->module)--><meta name="module" content="{$module_info->module}" />
|
<!--@if($module_info->module)--><meta name="module" content="{$module_info->module}" />
|
||||||
<!--@end-->
|
<!--@end--><!--@if($rss_url)--><link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="{getUrl('act','dispRss')}" />
|
||||||
<!--@if($module_info->skin)--><meta name="skin" content="{$module_info->skin}" />
|
<!--@end--><!--@if($module_info->skin)--><meta name="skin" content="{$module_info->skin}" />
|
||||||
<!--@end-->
|
<!--@end--><!--@if($layout_info)--><meta name="layout" content="{$layout_info->title} ({$layout_info->layout})" />
|
||||||
<!--@if($layout_info)--><meta name="layout" content="{$layout_info->title} ({$layout_info->layout})" />
|
|
||||||
<meta name="layout_maker" content="{$layout_info->author->name} ({$layout_info->author->homepage})" />
|
<meta name="layout_maker" content="{$layout_info->author->name} ({$layout_info->author->homepage})" />
|
||||||
<!--@end--><meta http-equiv="imagetoolbar" content="no" />
|
<!--@end--><meta http-equiv="imagetoolbar" content="no" />
|
||||||
<title>{Context::getBrowserTitle()}</title>
|
<title>{Context::getBrowserTitle()}</title>
|
||||||
|
|
|
||||||
|
|
@ -75,6 +75,9 @@
|
||||||
// 스킨 템플릿 경로 지정
|
// 스킨 템플릿 경로 지정
|
||||||
$template_path = sprintf("%sskins/%s/",$this->module_path, $this->skin);
|
$template_path = sprintf("%sskins/%s/",$this->module_path, $this->skin);
|
||||||
$this->setTemplatePath($template_path);
|
$this->setTemplatePath($template_path);
|
||||||
|
|
||||||
|
// rss url
|
||||||
|
if($this->grant->view) Context::set('rss_url', getUrl('mid',$this->mid,'act','dispBoardRss'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,50 @@
|
||||||
<!--%import("js/board.js")-->
|
<!--%import("js/board.js")-->
|
||||||
{$module_info->header_text}
|
{$module_info->header_text}
|
||||||
|
|
||||||
|
<!-- 게시판 제목/ 설명 -->
|
||||||
|
<!--@if($module_info->title || $module_info->desc)-->
|
||||||
|
<div>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>{$module_info->title}</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<!--@if($module_info->desc)-->
|
||||||
|
<tr>
|
||||||
|
<td>{nl2br($module_info->desc)}</td>
|
||||||
|
</tr>
|
||||||
|
<!--@end-->
|
||||||
|
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!--@end-->
|
||||||
|
|
||||||
|
<!-- 게시판 정보 -->
|
||||||
|
<div>
|
||||||
|
<!--@if($total_count)-->
|
||||||
|
{$lang->document_count} : {number_format($total_count)},
|
||||||
|
{$lang->page_count} : {number_format($page)} / {number_format($total_page)}
|
||||||
|
<!--@end-->
|
||||||
|
|
||||||
|
<!--@if($rss_url)-->
|
||||||
|
<a href="{$rss_url}">rss</a>
|
||||||
|
<!--@end-->
|
||||||
|
|
||||||
|
<!--@if($is_logged)-->
|
||||||
|
[
|
||||||
|
<a href="{getUrl('act','dispMemberInfo')}">{$lang->cmd_view_member_info}</a> |
|
||||||
|
<a href="{getUrl('act','dispMemberLogout')}">{$lang->cmd_logout}</a>
|
||||||
|
]
|
||||||
|
|
||||||
|
<!--@else-->
|
||||||
|
[
|
||||||
|
<a href="{getUrl('act','dispMemberSignUpForm')}">{$lang->cmd_signup}</a> |
|
||||||
|
<a href="{getUrl('act','dispMemberLoginForm')}">{$lang->cmd_login}</a>
|
||||||
|
]
|
||||||
|
<!--@end-->
|
||||||
|
|
||||||
|
<!--@if($logged_info->is_admin =='Y')-->
|
||||||
|
<a href="{getUrl('act','dispBoardAdminBoardInfo')}">[{$lang->cmd_management}]</a>
|
||||||
|
<!--@end-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,51 +1,6 @@
|
||||||
<!--%import("filter/search.xml")-->
|
<!--%import("filter/search.xml")-->
|
||||||
<!--#include("header.html")-->
|
<!--#include("header.html")-->
|
||||||
|
|
||||||
<!-- 게시판 제목/ 설명 -->
|
|
||||||
<!--@if($module_info->title || $module_info->desc)-->
|
|
||||||
<div>
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td>{$module_info->title}</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<!--@if($module_info->desc)-->
|
|
||||||
<tr>
|
|
||||||
<td>{nl2br($module_info->desc)}</td>
|
|
||||||
</tr>
|
|
||||||
<!--@end-->
|
|
||||||
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!--@end-->
|
|
||||||
|
|
||||||
<!-- 게시판 정보 -->
|
|
||||||
<div>
|
|
||||||
{$lang->document_count} : {number_format($total_count)},
|
|
||||||
{$lang->page_count} : {number_format($page)} / {number_format($total_page)}
|
|
||||||
|
|
||||||
<!--@if($grant->view)-->
|
|
||||||
<a href="{getUrl('act','dispBoardRss')}">rss</a>
|
|
||||||
<!--@end-->
|
|
||||||
|
|
||||||
<!--@if($is_logged)-->
|
|
||||||
[
|
|
||||||
<a href="{getUrl('act','dispMemberInfo')}">{$lang->cmd_view_member_info}</a> |
|
|
||||||
<a href="{getUrl('act','dispMemberLogout')}">{$lang->cmd_logout}</a>
|
|
||||||
]
|
|
||||||
|
|
||||||
<!--@else-->
|
|
||||||
[
|
|
||||||
<a href="{getUrl('act','dispMemberSignUpForm')}">{$lang->cmd_signup}</a> |
|
|
||||||
<a href="{getUrl('act','dispMemberLoginForm')}">{$lang->cmd_login}</a>
|
|
||||||
]
|
|
||||||
<!--@end-->
|
|
||||||
|
|
||||||
<!--@if($logged_info->is_admin =='Y')-->
|
|
||||||
<a href="{getUrl('act','dispBoardAdminBoardInfo')}">[{$lang->cmd_management}]</a>
|
|
||||||
<!--@end-->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- 게시물 내용 include -->
|
<!-- 게시물 내용 include -->
|
||||||
<!--@if($document && $grant->view)-->
|
<!--@if($document && $grant->view)-->
|
||||||
<!--#include("./view_document.html")-->
|
<!--#include("./view_document.html")-->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue