mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 15:19:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1062 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8833885ea0
commit
bf19a8cf2a
15 changed files with 187 additions and 32 deletions
|
|
@ -1,5 +1,4 @@
|
|||
<!--%import("filter/delete_checked_document.xml")-->
|
||||
<!--%import("filter/move_checked_document.xml")-->
|
||||
<!--%import("filter/manage_checked_document.xml")-->
|
||||
<!--%import("js/board_admin.js")-->
|
||||
|
||||
<div style="width:400px">
|
||||
|
|
@ -8,19 +7,21 @@
|
|||
|
||||
<!--@if(count($document_list))-->
|
||||
|
||||
<form action="./" method="get">
|
||||
<form action="./" method="get" id="fo_management">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="type" value="" />
|
||||
<div>{$lang->checked_count} : {count($document_list)}</div>
|
||||
|
||||
<div><a href="#" onclick="delete_checked_document(); return false;">{$lang->cmd_delete}</a></div>
|
||||
<div><a href="#" onclick="doManageDocument('delete');return false;">{$lang->cmd_delete}</a></div>
|
||||
<div>
|
||||
<select name="board_list">
|
||||
<select name="target_board">
|
||||
<!--@foreach($board_list as $key => $val)-->
|
||||
<!--@if($module_srl != $val->module_srl)-->
|
||||
<option value="{$val->module_srl}">{$val->browser_title} ({$val->mid})</option>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</select>
|
||||
<a href="#" onclick="move_checked_document(); return false;">{$lang->cmd_move}</a>
|
||||
<a href="#" onclick="doManageDocument('move');return false;">{$lang->cmd_move}</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
<filter name="delete_checked_document" module="board" act="procBoardAdminDeleteCheckedDocument" confirm_msg_code="confirm_delete">
|
||||
<form />
|
||||
<response callback_func="completeManageDocument">
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
</response>
|
||||
</filter>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<filter name="move_checked_document" module="board" act="procBoardAdminMoveCheckedDocument" confirm_msg_code="confirm_move">
|
||||
<filter name="manage_checked_document" module="board" act="procBoardAdminManageCheckedDocument">
|
||||
<form />
|
||||
<response callback_func="completeManageDocument">
|
||||
<tag name="error" />
|
||||
|
|
@ -100,8 +100,17 @@ function doChangeCategory(sel_obj, url) {
|
|||
else location.href=url+'&module_category_srl='+module_category_srl;
|
||||
}
|
||||
|
||||
/* 선택된 글의 삭제 또는 이동 */
|
||||
function doManageDocument(type, mid) {
|
||||
var fo_obj = xGetElementById("fo_management");
|
||||
fo_obj.type.value = type;
|
||||
|
||||
procFilter(fo_obj, manage_checked_document);
|
||||
}
|
||||
|
||||
/* 선택된 글의 삭제 또는 이동 후 */
|
||||
function completeManageDocument(ret_obj) {
|
||||
if(opener) opener.location.href = opener.location.href;
|
||||
alert(ret_obj['message']);
|
||||
window.close();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue