mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
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:
parent
9a6f01ba25
commit
bda171d266
5 changed files with 9 additions and 7 deletions
|
|
@ -71,7 +71,7 @@
|
||||||
<td>
|
<td>
|
||||||
<select name="skin">
|
<select name="skin">
|
||||||
<!--@foreach($skin_list as $key=>$val)-->
|
<!--@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-->
|
<!--@end-->
|
||||||
</select>
|
</select>
|
||||||
<p>{$lang->about_skin}</p>
|
<p>{$lang->about_skin}</p>
|
||||||
|
|
|
||||||
|
|
@ -149,8 +149,8 @@
|
||||||
unset($obj);
|
unset($obj);
|
||||||
$obj = $oDocument->getObjectVars();
|
$obj = $oDocument->getObjectVars();
|
||||||
|
|
||||||
// 첨부파일 이동
|
// 대상 모듈이 다를 경우 첨부파일 이동
|
||||||
if($oDocument->hasUploadedFiles()) {
|
if($module_srl != $obj->module_srl && $oDocument->hasUploadedFiles()) {
|
||||||
$oFileController = &getController('file');
|
$oFileController = &getController('file');
|
||||||
|
|
||||||
$files = $oDocument->getUploadedFiles();
|
$files = $oDocument->getUploadedFiles();
|
||||||
|
|
|
||||||
|
|
@ -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');
|
$this->setLayoutPath('./common/tpl');
|
||||||
|
|
|
||||||
|
|
@ -731,7 +731,10 @@
|
||||||
|
|
||||||
$category_list = $output->data;
|
$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);
|
if(!is_array($category_list)) $category_list = array($category_list);
|
||||||
|
|
||||||
$category_count = count($category_list);
|
$category_count = count($category_list);
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
<!--%import("filter/manage_checked_document.xml")-->
|
<!--%import("filter/manage_checked_document.xml")-->
|
||||||
<!--%import("js/document_admin.js")-->
|
<!--%import("js/document_admin.js")-->
|
||||||
<!--%import("css/document.css")-->
|
<!--%import("css/document.css")-->
|
||||||
|
|
||||||
<div id="popHeadder">
|
<div id="popHeadder">
|
||||||
<h3>{$lang->cmd_manage_document}</h3>
|
<h3>{$lang->cmd_manage_document}</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -28,7 +27,7 @@
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!--@if(count($document_list) && count($module_list)>1)-->
|
<!--@if(count($document_list) && $module_list)-->
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">{$lang->move_target_module}</th>
|
<th scope="row">{$lang->move_target_module}</th>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue