From d43dbed217f2ce00eb90ea2a4639617ed232d6c7 Mon Sep 17 00:00:00 2001
From: BJRambo
Date: Tue, 17 May 2016 08:21:05 +0900
Subject: [PATCH] improved to each display the document and comment.
---
modules/trash/tpl/trash_list.html | 7 ++++++-
modules/trash/trash.admin.view.php | 1 +
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/modules/trash/tpl/trash_list.html b/modules/trash/tpl/trash_list.html
index 9ec67652a..8aa690460 100644
--- a/modules/trash/tpl/trash_list.html
+++ b/modules/trash/tpl/trash_list.html
@@ -15,7 +15,12 @@ var no_text_comment = '{$lang->no_text_comment}';
- {$lang->all}({number_format($total_count)})
+
+ {$lang->all}({number_format($total_count)})
+ |
+ {$lang->document}
+ |
+ {$lang->comment}
{$lang->delete}
{$lang->restore}
diff --git a/modules/trash/trash.admin.view.php b/modules/trash/trash.admin.view.php
index b21fcce4c..941b776fa 100644
--- a/modules/trash/trash.admin.view.php
+++ b/modules/trash/trash.admin.view.php
@@ -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