1. 게시글 이동시 같은 게시판으로 이동할때 첨부파일이 사라지는 버그 수정 2. 게시판 카테고리를 모두 제거해도 하나가 남아 있던 버그 수정 3. 게시판 신규 생성시 xe_board 스킨이 기본으로 선택되도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3864 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-02-27 17:55:01 +00:00
parent 9a6f01ba25
commit bda171d266
5 changed files with 9 additions and 7 deletions

View file

@ -71,7 +71,7 @@
<td>
<select name="skin">
<!--@foreach($skin_list as $key=>$val)-->
<option value="{$key}" <!--@if($module_info->skin==$key)-->selected="selected"<!--@end-->>{$val->title}</option>
<option value="{$key}" <!--@if($module_info->skin==$key ||(!$module_info->skin && $key=='xe_board'))-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
<p>{$lang->about_skin}</p>

View file

@ -149,8 +149,8 @@
unset($obj);
$obj = $oDocument->getObjectVars();
// 첨부파일 이동
if($oDocument->hasUploadedFiles()) {
// 대상 모듈이 다를 경우 첨부파일 이동
if($module_srl != $obj->module_srl && $oDocument->hasUploadedFiles()) {
$oFileController = &getController('file');
$files = $oDocument->getUploadedFiles();

View file

@ -156,7 +156,7 @@
// 모듈 카테고리 목록과 모듈 목록의 조합
Context::set('module_list', $module_categories);
if(count($module_list)>1) Context::set('module_list', $module_categories);
// 팝업 레이아웃 선택
$this->setLayoutPath('./common/tpl');

View file

@ -731,7 +731,10 @@
$category_list = $output->data;
if(!$category_list) return false;
if(!$category_list) {
@unlink($xml_file);
@unlink($php_file);
}
if(!is_array($category_list)) $category_list = array($category_list);
$category_count = count($category_list);

View file

@ -1,7 +1,6 @@
<!--%import("filter/manage_checked_document.xml")-->
<!--%import("js/document_admin.js")-->
<!--%import("css/document.css")-->
<div id="popHeadder">
<h3>{$lang->cmd_manage_document}</h3>
</div>
@ -28,7 +27,7 @@
<!--@end-->
</td>
</tr>
<!--@if(count($document_list) && count($module_list)>1)-->
<!--@if(count($document_list) && $module_list)-->
<tr>
<th scope="row">{$lang->move_target_module}</th>
<td>