From 6e726744ca897965441fa63aaade40b59d748e74 Mon Sep 17 00:00:00 2001 From: zero Date: Tue, 10 Apr 2007 10:23:38 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@1085 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/module/ModuleHandler.class.php | 1 + common/tpl/common_layout.html | 7 ++-- modules/board/board.view.php | 3 ++ modules/board/skins/default/header.html | 48 +++++++++++++++++++++++++ modules/board/skins/default/list.html | 45 ----------------------- 5 files changed, 55 insertions(+), 49 deletions(-) diff --git a/classes/module/ModuleHandler.class.php b/classes/module/ModuleHandler.class.php index 09c974759..6629abc12 100644 --- a/classes/module/ModuleHandler.class.php +++ b/classes/module/ModuleHandler.class.php @@ -82,6 +82,7 @@ $this->module_info = $module_info; Context::setBrowserTitle($module_info->browser_title); } + debugPrint($module_info); // 여기까지도 모듈 정보를 찾지 못했다면 깔끔하게 시스템 오류 표시 if(!$this->module) $this->error = 'msg_module_is_not_exists'; diff --git a/common/tpl/common_layout.html b/common/tpl/common_layout.html index 9a5c9684c..971464fee 100644 --- a/common/tpl/common_layout.html +++ b/common/tpl/common_layout.html @@ -4,10 +4,9 @@ - - - - + + + {Context::getBrowserTitle()} diff --git a/modules/board/board.view.php b/modules/board/board.view.php index 873979c8e..253244793 100644 --- a/modules/board/board.view.php +++ b/modules/board/board.view.php @@ -75,6 +75,9 @@ // 스킨 템플릿 경로 지정 $template_path = sprintf("%sskins/%s/",$this->module_path, $this->skin); $this->setTemplatePath($template_path); + + // rss url + if($this->grant->view) Context::set('rss_url', getUrl('mid',$this->mid,'act','dispBoardRss')); } /** diff --git a/modules/board/skins/default/header.html b/modules/board/skins/default/header.html index e2c4d53c2..d094b5e9f 100644 --- a/modules/board/skins/default/header.html +++ b/modules/board/skins/default/header.html @@ -1,2 +1,50 @@ {$module_info->header_text} + + + +
+ + + + + + + + + + + +
{$module_info->title}
{nl2br($module_info->desc)}
+
+ + + +
+ + {$lang->document_count} : {number_format($total_count)}, + {$lang->page_count} : {number_format($page)} / {number_format($total_page)} + + + + rss + + + + [ + {$lang->cmd_view_member_info} | + {$lang->cmd_logout} + ] + + + [ + {$lang->cmd_signup} | + {$lang->cmd_login} + ] + + + + [{$lang->cmd_management}] + +
+ diff --git a/modules/board/skins/default/list.html b/modules/board/skins/default/list.html index efe7adcbd..518d35746 100644 --- a/modules/board/skins/default/list.html +++ b/modules/board/skins/default/list.html @@ -1,51 +1,6 @@ - - -
- - - - - - - - - - - -
{$module_info->title}
{nl2br($module_info->desc)}
-
- - - -
- {$lang->document_count} : {number_format($total_count)}, - {$lang->page_count} : {number_format($page)} / {number_format($total_page)} - - - rss - - - - [ - {$lang->cmd_view_member_info} | - {$lang->cmd_logout} - ] - - - [ - {$lang->cmd_signup} | - {$lang->cmd_login} - ] - - - - [{$lang->cmd_management}] - -
-