improved to each display the document and comment.

This commit is contained in:
BJRambo 2016-05-17 08:21:05 +09:00
parent 46350581ab
commit d43dbed217
2 changed files with 7 additions and 1 deletions

View file

@ -15,7 +15,12 @@ var no_text_comment = '{$lang->no_text_comment}';
</p>
<table id="trashListTable" class="x_table x_table-striped x_table-hover">
<caption>
<strong>{$lang->all}({number_format($total_count)})</strong>
<strong></strong>
<a href="{getUrl('', 'module', 'admin', 'act', 'dispTrashAdminList', 'originModule', '')}" class="active"|cond="$originModule == ''">{$lang->all}({number_format($total_count)})</a>
<i>|</i>
<a href="{getUrl('originModule', 'document')}" class="active"|cond="$originModule == 'document'">{$lang->document}</a>
<i>|</i>
<a href="{getUrl('originModule', 'comment')}" class="active"|cond="$originModule == 'comment'">{$lang->comment}</a>
<div class="x_pull-right x_btn-group">
<a href="#fo_list" class="x_btn modalAnchor" data-name="is_all" data-value="false">{$lang->delete}</a>
<a href="#fo_list" class="x_btn modalAnchor" data-name="act" data-value="procTrashAdminRestore">{$lang->restore}</a>

View file

@ -31,6 +31,7 @@ class trashAdminView extends trash
$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->originModule = Context::get('originModule');
$args->search_target = Context::get('search_target'); // /< search (title, contents ...)
$args->search_keyword = Context::get('search_keyword'); // /< keyword to search