기본 게시판 변경

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4793 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-11-07 10:51:35 +00:00
parent fbd6020d07
commit b331f1668b
4 changed files with 65 additions and 2 deletions

View file

@ -50,7 +50,7 @@
$args->board_name = 'board';
$args->browser_title = 'test module';
$args->is_default = 'Y';
$args->skin = 'xe_board';
$args->skin = 'xe_default';
// board 라는 이름의 모듈이 있는지 확인
$module_info = $oModuleModel->getModuleInfoByMid($args->board_name);

View file

@ -48,7 +48,7 @@
// 만약 스킨 경로가 없다면 xe_board로 변경
if(!is_dir($template_path)) {
$this->module_info->skin = 'xe_board';
$this->module_info->skin = 'xe_default';
$template_path = sprintf("%sskins/%s/",$this->module_path, $this->module_info->skin);
}

View file

@ -7,6 +7,26 @@
Front-end : Jeong, Chan Myeong (http://naradesign.net/)
Back-end : Kim, Ye Sol (http://ngleader.com/)
</description>
<description xml:lang="jp">
XE 預設面板。
Front-end : Jeong, Chan Myeong (http://naradesign.net/)
Back-end : Kim, Ye Sol (http://ngleader.com/)
</description>
<description xml:lang="zh-CN">
XE 預設面板。
Front-end : Jeong, Chan Myeong (http://naradesign.net/)
Back-end : Kim, Ye Sol (http://ngleader.com/)
</description>
<description xml:lang="en">
XE 預設面板。
Front-end : Jeong, Chan Myeong (http://naradesign.net/)
Back-end : Kim, Ye Sol (http://ngleader.com/)
</description>
<description xml:lang="es">
XE 預設面板。
Front-end : Jeong, Chan Myeong (http://naradesign.net/)
Back-end : Kim, Ye Sol (http://ngleader.com/)
</description>
<description xml:lang="zh-TW">
XE 預設面板。
Front-end : Jeong, Chan Myeong (http://naradesign.net/)
@ -22,6 +42,28 @@
<name xml:lang="ko">sol</name>
</author>
<license>GPL</license>
<colorset>
<color name="white" src="screenshot/white.gif">
<title xml:lang="ko">하얀색(기본)</title>
<title xml:lang="jp">白(デフォルト)</title>
<title xml:lang="zh-CN">白色(基本)</title>
<title xml:lang="en">White (default)</title>
<title xml:lang="es">Blanco (por defecto)</title>
<title xml:lang="zh-TW">白色(預設)</title>
</color>
<color name="black" src="screenshot/black.gif">
<title xml:lang="ko">검은색</title>
<title xml:lang="jp"></title>
<title xml:lang="en">Black</title>
<title xml:lang="ru">Черного</title>
<title xml:lang="es">Negro</title>
<title xml:lang="zh-CN">黑色</title>
<title xml:lang="zh-TW">黑色</title>
</color>
</colorset>
<extra_vars>
<var name="default_style" type="select">
<title xml:lang="ko">기본 형태</title>

View file

@ -48,6 +48,27 @@
<table cellspacing="0" class="adminTable">
<caption>{$lang->extra_vars}</caption>
<tr valign="top">
<th scope="row"><div>{$lang->colorset}</div></th>
<td class="wide">
<!--@foreach($skin_info->colorset as $key => $val)-->
<!--@if($val->screenshot)-->
{@ $_img_info = getImageSize($val->screenshot); $_height = $_img_info[1]+40; $_width = $_img_info[0]+20; $_talign = "center"; }
<!--@else-->
{@ $_width = 200; $_height = 20; $_talign = "left"; }
<!--@end-->
<div style="float:left;text-align:{$_talign};margin-bottom:1em;width:{$_width}px;height:{$_height}px;margin-right:10px;">
<input type="radio" name="colorset" value="{$val->name}" id="colorset_{$key}" <!--@if($module_info->colorset==$val->name)-->checked="checked"<!--@end-->/>
<label for="colorset_{$key}">{$val->title}</label>
<!--@if($val->screenshot)-->
<br />
<img src="{$val->screenshot}" alt="{$val->title}" style="border:1px solid #888888;padding:2px;margin:2px;"/>
<!--@end-->
</div>
<!--@end-->
</td>
</tr>
<!--@foreach($skin_info->extra_vars as $key => $val)-->