git-svn-id: http://xe-core.googlecode.com/svn/trunk@383 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-13 02:25:20 +00:00
parent c901dde372
commit dde0f9611d
8 changed files with 57 additions and 39 deletions

View file

@ -101,6 +101,8 @@
$lang->search_keyword = '검색어';
$lang->is_default = "기본";
$lang->skin = "스킨";
$lang->board_manager = '게시판 관리';
$lang->member_manager = '회원 관리';
$lang->layout_manager = '레이아웃 관리';

View file

@ -0,0 +1,10 @@
<?php
/**
* @file : modules/message/lang/ko.lang.php
* @author : zero <zero@nzeo.com>
* @desc : 한국어 언어팩 (기본적인 내용만 수록)
**/
// 설명문
$lang->about_skin = "메세지 출력시 스킨을 지정하실 수 있습니다.";
?>

View file

@ -22,5 +22,24 @@
Context::set('system_message', $this->getMessage());
$this->setTemplateFile('system_message');
}
/**
* @brief 설정
**/
function dispConfig() {
// 설정 정보를 받아옴 (module model 객체를 이용)
$oModuleModel = &getModel('module');
$config = $oModuleModel->getModuleConfig('rss');
Context::set('skin',$config);
// 스킨 목록을 구해옴
$skin_list = $oModuleModel->getskins($this->module_path);
Context::set('skin_list', $skin_list);
// 템플릿 파일 지정
$this->setTemplatePath($this->module_path.'tpl.admin/');
$this->setTemplateFile('config');
}
}
?>

View file

@ -0,0 +1,25 @@
<!--%import("filter/insert_config.xml")-->
<form action="./" method="get" onsubmit="return procFilter(this, insert_config)">
<table border="1">
<tr>
<th rowspan="2">{$lang->skin}</th>
<td>
<select name="skin">
<!--@foreach($skin_list as $key => $val)-->
<option value="{$key}" <!--@if($key==$config->skin)-->selected="true"<!--@end-->>{$val}</option>
<!--@end-->
</select>
</td>
</tr>
<tr>
<td>{$lang->about_skin}</td>
</tr>
<tr>
<td colspan="2">
<input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{getUrl('act','')}'" />
<input type="submit" value="{$lang->cmd_registration}" accesskey="s" />
</td>
</tr>
</table>
</form>

View file

@ -1,6 +0,0 @@
{'<?xml version="1.0" encoding="utf-8" ?>'}
<response>
<error>{$error}</error>
<message><![CDATA[{$message}]]></message>
</response>

View file

@ -1,4 +1,4 @@
<filter name="insert_config" module="rss" act="procInsertConfig" confirm_msg_code="confirm_submit">
<filter name="insert_config" module="message" act="procInsertConfig" confirm_msg_code="confirm_submit">
<form />
<response>
<tag name="error" />

View file

@ -1,32 +0,0 @@
<!--%import("filter/insert_config.xml")-->
<form action="./" method="get" onsubmit="return procFilter(this, insert_config)">
<table border="1">
<tr>
<th rowspan="2">{$lang->rss_disable}</th>
<td><input type="checkbox" name="rss_disable" value="Y" <!--@if($config->rss_disable=="Y")-->checked="true"<!--@end--> />
</tr>
<tr>
<td>{$lang->about_rss_disable}</td>
</tr>
<tr>
<th rowspan="2">{$lang->rss_type}</th>
<td>
<select name="rss_type">
<!--@foreach($rss_types as $key => $val)-->
<option value="{$key}" <!--@if($key==$config->rss_type)-->selected="true"<!--@end-->>{$val}</option>
<!--@end-->
</select>
</td>
</tr>
<tr>
<td>{$lang->about_rss_type}</td>
</tr>
<tr>
<td colspan="2">
<input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{getUrl('act','')}'" />
<input type="submit" value="{$lang->cmd_registration}" accesskey="s" />
</td>
</tr>
</table>
</form>