mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 00:32:15 +09:00
issue 70 admin bug fix
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9078 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7f9777e3c7
commit
e024fad8a9
8 changed files with 17 additions and 9 deletions
|
|
@ -36,7 +36,7 @@ function getTrashList()
|
|||
{
|
||||
var trashListTable = jQuery('#trashListTable');
|
||||
var cartList = [];
|
||||
trashListTable.find(':checkbox[name=cart').each(function(){
|
||||
trashListTable.find(':checkbox[name=cart]').each(function(){
|
||||
if(this.checked) cartList.push(this.value);
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -82,13 +82,14 @@ var confirm_restore_msg = '{$lang->confirm_restore}';
|
|||
<input type="hidden" name="act" value="procTrashAdminEmptyTrash" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="is_all" value="false" />
|
||||
<input type="hidden" name="origin_module" value="{$origin_module}" />
|
||||
<h2 class="h2">선택한 글 관리</h2>
|
||||
<div class="table even">
|
||||
<table width="100%" border="1" cellspacing="0" id="trashManageListTable">
|
||||
<caption>선택한 글 <strong id="selectedTrashCount">8</strong></caption>
|
||||
<caption>선택한 글 <strong id="selectedTrashCount">0</strong></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="title">{$lang->document} ({$lang->trash_type})</th>
|
||||
<th scope="col" class="title">{$lang->document}</th>
|
||||
<th scope="col">{$lang->trash_nick_name}</th>
|
||||
<th scope="col">{$lang->ipaddress}</th>
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ class trashAdminController extends trash
|
|||
{
|
||||
global $lang;
|
||||
$isAll = Context::get('is_all');
|
||||
$originModule = Context::get('origin_module');
|
||||
$tmpTrashSrls = Context::get('cart');
|
||||
if(is_array($tmpTrashSrls)) $trashSrls = $tmpTrashSrls;
|
||||
else $trashSrls = explode('|@|', $tmpTrashSrls);
|
||||
|
|
@ -51,7 +52,7 @@ class trashAdminController extends trash
|
|||
|
||||
$this->setMessage('success_deleted', 'info');
|
||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispTrashAdminList');
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispTrashAdminList', 'origin_module', $originModule);
|
||||
$this->setRedirectUrl($returnUrl);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue