mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Fix typo of dispDocumentAdminList
This commit is contained in:
parent
aa78a03b99
commit
7185fb8c85
1 changed files with 9 additions and 9 deletions
|
|
@ -40,7 +40,7 @@ class documentAdminView extends document
|
|||
$args->page = Context::get('page'); // /< Page
|
||||
$args->list_count = 30; // /< the number of posts to display on a single page
|
||||
$args->page_count = 5; // /< the number of pages that appear in the page navigation
|
||||
|
||||
|
||||
$args->search_target = Context::get('search_target'); // /< search (title, contents ...)
|
||||
$args->search_keyword = Context::get('search_keyword'); // /< keyword to search
|
||||
if ($args->search_target === 'member_srl')
|
||||
|
|
@ -56,7 +56,7 @@ class documentAdminView extends document
|
|||
$args->sort_index = 'list_order'; // /< sorting value
|
||||
$args->module_srl = Context::get('module_srl');
|
||||
$args->statusList = array($this->getConfigStatus('public'), $this->getConfigStatus('secret'), $this->getConfigStatus('temp'));
|
||||
|
||||
|
||||
// get a list
|
||||
$oDocumentModel = getModel('document');
|
||||
$columnList = array('document_srl', 'module_srl', 'category_srl', 'member_srl', 'title', 'nick_name', 'comment_count', 'trackback_count', 'readed_count', 'voted_count', 'blamed_count', 'regdate', 'ipaddress', 'status');
|
||||
|
|
@ -104,7 +104,7 @@ class documentAdminView extends document
|
|||
}
|
||||
}
|
||||
Context::set('module_list', $module_list);
|
||||
|
||||
|
||||
// Get anonymous nicknames
|
||||
$anonymous_member_srls = array();
|
||||
foreach($output->data as $oDocument)
|
||||
|
|
@ -121,14 +121,14 @@ class documentAdminView extends document
|
|||
$member_output = executeQueryArray('member.getMembers', $member_args);
|
||||
if($member_output)
|
||||
{
|
||||
$member_nick_neme = array();
|
||||
$member_nick_name = array();
|
||||
foreach($member_output->data as $member)
|
||||
{
|
||||
$member_nick_neme[$member->member_srl] = $member->nick_name;
|
||||
$member_nick_name[$member->member_srl] = $member->nick_name;
|
||||
}
|
||||
}
|
||||
}
|
||||
Context::set('member_nick_name', $member_nick_neme);
|
||||
Context::set('member_nick_name', $member_nick_name);
|
||||
|
||||
$security = new Security();
|
||||
$security->encodeHTML('search_target', 'search_keyword');
|
||||
|
|
@ -176,7 +176,7 @@ class documentAdminView extends document
|
|||
$args->list_count = 20; // /< the number of posts to display on a single page
|
||||
$args->page_count = 10; // /< the number of pages that appear in the page navigation
|
||||
$args->order_type = strtolower(Context::get('order_type')) === 'asc' ? 'asc' : 'desc';
|
||||
|
||||
|
||||
// select sort method
|
||||
$sort_index = Context::get('sort_index');
|
||||
if (!in_array($sort_index, array('declared_latest', 'declared_count', 'regdate')))
|
||||
|
|
@ -184,7 +184,7 @@ class documentAdminView extends document
|
|||
$sort_index = 'declared_latest';
|
||||
}
|
||||
Context::set('sort_index', $sort_index);
|
||||
|
||||
|
||||
// get latest declared list
|
||||
if ($sort_index === 'declared_latest')
|
||||
{
|
||||
|
|
@ -325,7 +325,7 @@ class documentAdminView extends document
|
|||
}
|
||||
else
|
||||
{
|
||||
$aliases = $output->data;
|
||||
$aliases = $output->data;
|
||||
}
|
||||
|
||||
Context::set('aliases', $aliases);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue