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

This commit is contained in:
zero 2007-03-02 04:32:48 +00:00
parent e1e39b63ac
commit d9a04bed3a
4 changed files with 11 additions and 21 deletions

View file

@ -557,12 +557,11 @@
**/
function procInsertConfig() {
// 기본 정보를 받음
$args = Context::gets('enable_join','redirect_url','agreement');
if($args->enable_join!='Y') $args->enable_join = 'N';
$args = Context::gets('test');
// module Controller 객체 생성하여 입력
$oModuleController = &getController('module');
$output = $oModuleController->insertModuleConfig('member',$args);
$output = $oModuleController->insertModuleConfig('board',$args);
return $output;
}
}

View file

@ -6,6 +6,7 @@
**/
// 버튼에 사용되는 언어
$lang->cmd_board_list = "게시판 목록";
$lang->cmd_module_config = "게시판 공통 설정";
$lang->cmd_view_info = "게시판 정보";
$lang->cmd_manage_category = "분류관리";
@ -28,6 +29,10 @@
$lang->colorset = "컬러셋";
$lang->extra_vars = "확장변수";
$lang->test = "테스트";
$lang->about_test = "테스트는 블라블라...";
// 권한의 명칭
$lang->grant_title = array(
'list' => "목록 접근 권한",

View file

@ -4,25 +4,11 @@
<form action="./" method="get" onsubmit="return procFilter(this, insert_config)">
<table border="1">
<tr>
<th rowspan="2">{$lang->enable_join}</th>
<td><input type="checkbox" name="enable_join" value="Y" <!--@if($config->enable_join=='Y')-->checked="true"<!--@end-->/></td>
<th rowspan="2">{$lang->test}</th>
<td><input type="text" name="test" value="{$config->test}" /></td>
</tr>
<tr>
<td>{$lang->about_enable_join}</td>
</tr>
<tr>
<th rowspan="2">{$lang->redirect_url}</th>
<td><input type="text" name="redirect_url" value="{$config->redirect_url}" /></td>
</tr>
<tr>
<td>{$lang->about_redirect_url}</td>
</tr>
<tr>
<th rowspan="2">{$lang->agreement}</th>
<td><textarea name="agreement">{$config->agreement}</textarea></td>
</tr>
<tr>
<td>{$lang->about_agreement}</td>
<td>{$lang->about_test}</td>
</tr>
<tr>
<td colspan="2">

View file

@ -1,7 +1,7 @@
<!--%import("js/admin.js")-->
<div style="margin-bottom:20px;">
<span <!--@if($act=='dispAdminContent')-->style="font-weight:bold"<!--@end-->>[<a href="{getUrl('act','dispAdminContent','module_srl','')}">{$lang->cmd_list}</a>]</span>
<span <!--@if($act=='dispAdminContent')-->style="font-weight:bold"<!--@end-->>[<a href="{getUrl('act','dispAdminContent','module_srl','')}">{$lang->cmd_board_list}</a>]</span>
<span <!--@if($act=='dispAdminModuleConfig')-->style="font-weight:bold"<!--@end-->>[<a href="{getUrl('act','dispAdminModuleConfig','module_srl','')}">{$lang->cmd_module_config}</a>]</span>
</div>