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

This commit is contained in:
zero 2007-03-08 04:23:27 +00:00
parent a2d979b50f
commit 0b91f1dda9
8 changed files with 41 additions and 5 deletions

View file

@ -432,7 +432,7 @@
**/
function procInsertBoard() {
// 일단 입력된 값들을 모두 받아서 db 입력항목과 그외 것으로 분리
$args = Context::gets('module_srl','board_name','skin','browser_title','description','is_default','header_text','footer_text','admin_id');
$args = Context::gets('module_srl','layout_srl','board_name','skin','browser_title','description','is_default','header_text','footer_text','admin_id');
$args->module = 'board';
$args->mid = $args->board_name;
unset($args->board_name);

View file

@ -445,7 +445,12 @@
$oModuleModel = &getModel('module');
$skin_list = $oModuleModel->getSkins($this->module_path);
Context::set('skin_list',$skin_list);
// 레이아웃 목록을 구해옴
$oLayoutMode = &getModel('layout');
$layout_list = $oLayoutMode->getLayoutList();
Context::set('layout_list', $layout_list);
// 템플릿 파일 지정
$this->setTemplateFile('board_insert');
}

View file

@ -57,7 +57,7 @@
$lang->about_list_count = "한페이지에 표시될 글의 수를 지정하실 수 있습니다. (기본 20개)";
$lang->about_page_count = "목록 하단 페이지 이동 하는 링크의 수를 지정하실 수 있습니다. (기본 10개)";
$lang->about_admin_id = "해당 모듈에 대해 최고 권한을 가지는 관리자를 지정할 수 있습니다. ,(콤마)로 다수 아이디 지정이 가능합니다. (관리자페이지 접근은 불가능)";
$lang->about_admin_id = "해당 모듈에 대해 최고 권한을 가지는 관리자를 지정할 수 있습니다.<br />,(콤마)로 다수 아이디 지정이 가능합니다. (관리자페이지 접근은 불가능)";
$lang->about_grant = "특정 권한의 대상을 모두 해제하시면 로그인하지 않은 회원까지 권한을 가질 수 있습니다";
$lang->msg_new_module = "모듈 생성";

View file

@ -1,6 +1,16 @@
<!--#include("header.html")-->
<table>
<tr>
<th>{$lang->layout}</th>
<td>
<!--@if($module_info->layout_srl)-->
{$module_info->layout_title} ({$module_info->layout})
<!--@else-->
{$lang->not_exists}
<!--@end-->
</td>
</tr>
<tr>
<th>{$lang->skin}</th>
<td>{$module_info->skin}</td>

View file

@ -34,6 +34,20 @@
<tr>
<td>{$lang->about_browser_title}</td>
</tr>
<tr>
<th rowspan="2">{$lang->layout}</th>
<td>
<select name="layout_srl">
<option value="0">{$lang->notuse}</option>
<!--@foreach($layout_list as $key => $val)-->
<option value="{$val->layout_srl}" <!--@if($module_info->layout_srl==$val->layout_srl)-->selected="true"<!--@end-->>{$val->title} ({$val->layout})</option>
<!--@end-->
</select>
</td>
</tr>
<tr>
<td>{$lang->about_layout}</td>
</tr>
<tr>
<th rowspan="2">{$lang->skin}</th>
<td>

View file

@ -8,6 +8,7 @@
<parameter>
<param name="board_name" target="mid" />
<param name="module_srl" target="module_srl" />
<param name="layout_srl" target="layout_srl" />
<param name="skin" target="skin" />
<param name="browser_title" target="browser_title" />
<param name="use_category" target="use_category" />