mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
신고된 게시글/댓글을 신고 취소 시키는 관리자 기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3192 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7728d75d1f
commit
5cb4cf3d23
15 changed files with 80 additions and 2 deletions
|
|
@ -60,6 +60,9 @@
|
|||
</table>
|
||||
|
||||
<!-- 버튼 -->
|
||||
<div class="fl gap1">
|
||||
<a href="#" onclick="doCancelDeclare();return false;" class="button"><span>{$lang->cmd_cancel_declare}</span></a>
|
||||
</div>
|
||||
<div class="fr gap1">
|
||||
<a href="{getUrl('','module','document','act','dispDocumentAdminManageDocument')}" onclick="popopen(this.href,'manageDocument'); return false;" class="button"><span>{$lang->cmd_manage_document}</span></a>
|
||||
</div>
|
||||
|
|
@ -67,6 +70,7 @@
|
|||
</form>
|
||||
|
||||
<!-- 페이지 네비게이션 -->
|
||||
<div class="clear"></div>
|
||||
<div class="pageNavigation">
|
||||
<a href="{getUrl('page','','module_srl','')}" class="goToFirst"><img src="../../admin/tpl/images/bottomGotoFirst.gif" alt="{$lang->first_page}" width="7" height="5" /></a>
|
||||
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||
|
|
|
|||
|
|
@ -69,3 +69,21 @@ function completeGetCategoryFromModules(ret_obj, response_tags) {
|
|||
obj.options[obj.options.length] = opt;
|
||||
}
|
||||
}
|
||||
|
||||
function doCancelDeclare() {
|
||||
var fo_obj = xGetElementById('fo_list');
|
||||
var document_srl = new Array();
|
||||
for(var i=0;i<fo_obj.cart.length;i++) {
|
||||
if(fo_obj.cart[i].checked) document_srl[document_srl.length] = fo_obj.cart[i].value;
|
||||
}
|
||||
if(document_srl.length<1) return;
|
||||
|
||||
var params = new Array();
|
||||
params['document_srl'] = document_srl.join(',');
|
||||
|
||||
exec_xml('document','procDocumentAdminCancelDeclare', params, completeCancelDeclare);
|
||||
}
|
||||
|
||||
function completeCancelDeclare(ret_obj) {
|
||||
location.reload();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue