mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 14:19:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1061 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
99021b62fa
commit
8833885ea0
16 changed files with 186 additions and 65 deletions
35
modules/board/tpl/checked_list.html
Normal file
35
modules/board/tpl/checked_list.html
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<!--%import("filter/delete_checked_document.xml")-->
|
||||
<!--%import("filter/move_checked_document.xml")-->
|
||||
<!--%import("js/board_admin.js")-->
|
||||
|
||||
<div style="width:400px">
|
||||
|
||||
<div>{$lang->cmd_manage_document}</div>
|
||||
|
||||
<!--@if(count($document_list))-->
|
||||
|
||||
<form action="./" method="get">
|
||||
<div>{$lang->checked_count} : {count($document_list)}</div>
|
||||
|
||||
<div><a href="#" onclick="delete_checked_document(); return false;">{$lang->cmd_delete}</a></div>
|
||||
<div>
|
||||
<select name="board_list">
|
||||
<!--@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>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<!--@else-->
|
||||
|
||||
<div>{$lang->msg_no_checked_document}</div>
|
||||
|
||||
<!--@end-->
|
||||
|
||||
<div><a href="#" onclick="window.close(); return false;">{$lang->cmd_close}</a></div>
|
||||
|
||||
</div>
|
||||
7
modules/board/tpl/filter/delete_checked_document.xml
Normal file
7
modules/board/tpl/filter/delete_checked_document.xml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<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>
|
||||
7
modules/board/tpl/filter/move_checked_document.xml
Normal file
7
modules/board/tpl/filter/move_checked_document.xml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<filter name="move_checked_document" module="board" act="procBoardAdminMoveCheckedDocument" confirm_msg_code="confirm_move">
|
||||
<form />
|
||||
<response callback_func="completeManageDocument">
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
</response>
|
||||
</filter>
|
||||
|
|
@ -99,3 +99,9 @@ function doChangeCategory(sel_obj, url) {
|
|||
if(!module_category_srl) location.href=url;
|
||||
else location.href=url+'&module_category_srl='+module_category_srl;
|
||||
}
|
||||
|
||||
/* 선택된 글의 삭제 또는 이동 후 */
|
||||
function completeManageDocument(ret_obj) {
|
||||
alert(ret_obj['message']);
|
||||
window.close();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue