#127 #152 게시물의 복사 기능 추가 & 이동/복사시 카테고리 지정 가능하도록 변경 & 기본 게시판 스킨에서 페이지의 게시물 토글 기능 추가 & 관리 선택된 게시물의 목록 노출 & 기본 게시판 스킨의 항목 숨김/열람 기능 모두 적용

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2737 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-10-11 09:13:02 +00:00
parent 72dcf54069
commit 14550e198f
41 changed files with 678 additions and 396 deletions

View file

@ -40,8 +40,8 @@ Jeong, Chan Myeong 070601~070630
.boardList tr.bg2 { background:#fbfbfb;}
.boardList th a { color:#3e3f3e; text-decoration:none; }
.boardList th.num { background-position:-3px bottom; border-left:1px solid #ffffff; }
.boardList th.title { text-align:center; }
.boardList th.category { text-align:center; }
.boardList th.title { text-align:center; padding-left:1em; }
.boardList th.category { text-align:left; padding-left:1em; }
.boardList th.title select { vertical-align:middle; margin-left:.5em; }
.boardList th.reading { white-space:nowrap;}
.boardList th.recommend { white-space:nowrap;}

View file

@ -4,19 +4,6 @@
* @brief board 모듈의 javascript
**/
/* 관리자가 카트 선택시 세션에 넣음 */
function doAddCart(mid, obj) {
var srl = obj.value;
var check_flag = obj.checked?'add':'remove';
var params = new Array();
params["mid"] = mid;
params["srl"] = srl;
params["check_flag"] = check_flag;
exec_xml("board","procBoardAdminAddCart", params, null);
}
/* 글쓰기 작성후 */
function completeDocumentInserted(ret_obj) {
var error = ret_obj['error'];

View file

@ -10,21 +10,26 @@
<!--@end-->
<!-- 목록 출력 -->
<table cellspacing="0" summary="" class="boardList">
<!--@if($module_info->display_number!='N')--><col width="80" /><!--@end-->
<col />
<!--@if($module_info->display_author!='N')--><col width="120" /><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><col width="70" /><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><col width="70" /><!--@end-->
<!--@if($module_info->display_regdate != 'N')--><col width="90" /><!--@end-->
<!--@if($module_info->display_last_update == 'Y')--><col width="90" /><!--@end-->
<form action="./" method="get">
<table cellspacing="0" summary="" class="boardList">
<!--@if($module_info->display_number!='N')--><col width="80" /><!--@end-->
<col />
<!--@if($module_info->display_author!='N')--><col width="120" /><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><col width="70" /><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><col width="70" /><!--@end-->
<!--@if($module_info->display_regdate != 'N')--><col width="90" /><!--@end-->
<!--@if($module_info->display_last_update == 'Y')--><col width="90" /><!--@end-->
<thead>
<tr>
<!--@if($module_info->display_number!='N')--><th scope="col" class="num">{$lang->no}</th><!--@end-->
<th scope="col" class="title <!--@if($module_info->use_category == 'Y')-->category<!--@end-->">
<th scope="col" class="<!--@if($module_info->use_category == 'Y')-->category<!--@else-->title<!--@end-->">
<!--@if($grant->is_admin)-->
<input type="checkbox" onclick="checkboxSelectAll(this.form, 'cart'); return false;" />
<!--@end-->
<!--@if($module_info->use_category == "Y")-->
<!-- 카테고리 사용시 카테고리 선택 표시 -->
<form action="./" method="get">
<select name="category" id="board_category">
<option value="">{$lang->category}</option>
<!--@foreach($category_list as $val)-->
@ -32,7 +37,6 @@
<!--@end-->
</select>
<input type="button" name="go_button" id="go_button" value="GO" onclick="doChangeCategory(); return false;" class="buttonTypeGo" />
</form>
<!--@else-->
{$lang->title}
<!--@end-->
@ -83,7 +87,7 @@
<td class="title">
<!--@if($grant->is_admin)-->
<input type="checkbox" value="{$document->document_srl}" onclick="doAddCart('{$mid}',this)" <!--@if($check_list[$document->document_srl])-->checked="checked"<!--@end--> />
<input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> />
<!--@end-->
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
@ -114,7 +118,8 @@
</tr>
<!--@end-->
</tbody>
</table>
</table>
</form>
<div class="clear">
@ -130,7 +135,7 @@
<!--@if($grant->is_admin)-->
<!-- 문서 관리 버튼 -->
<div class="gap1 fl">
<a href="{getUrl('act','dispBoardAdminManageDocument')}" onclick="popopen(this.href,'manageDocument'); return false;" class="button"><span>{$lang->cmd_manage_document}</span></a>
<a href="{getUrl('','module','document','act','dispDocumentAdminManageDocument')}" onclick="popopen(this.href,'manageDocument'); return false;" class="button"><span>{$lang->cmd_manage_document}</span></a>
</div>
<!--@end-->