From 1a75c3c3e188aecebbf1dd452632cc28ecb4257d Mon Sep 17 00:00:00 2001
From: hufangzhou <746775970@qq.com>
Date: Tue, 9 Mar 2021 13:25:16 +0800
Subject: [PATCH] * Finish task #36433.
---
module/action/control.php | 2 +
module/action/view/trash.html.php | 14 ++-
module/admin/view/checkweak.html.php | 67 ++++++-----
module/admin/view/safe.html.php | 97 +++++++++-------
module/backup/control.php | 2 +
module/backup/view/index.html.php | 163 ++++++++++++++-------------
module/common/lang/de.php | 10 +-
module/common/lang/en.php | 10 +-
module/common/lang/fr.php | 10 +-
module/common/lang/menuOrder.php | 10 +-
module/common/lang/vi.php | 10 +-
module/common/lang/zh-cn.php | 10 +-
module/common/lang/zh-tw.php | 10 +-
13 files changed, 219 insertions(+), 196 deletions(-)
diff --git a/module/action/control.php b/module/action/control.php
index 677c13c296..2d67b28ee0 100755
--- a/module/action/control.php
+++ b/module/action/control.php
@@ -24,6 +24,8 @@ class action extends control
*/
public function trash($type = 'all', $orderBy = 'id_desc', $recTotal = 0, $recPerPage = 20, $pageID = 1)
{
+ $this->loadModel('backup');
+
/* Save session. */
$uri = $this->app->getURI(true);
$this->session->set('productList', $uri);
diff --git a/module/action/view/trash.html.php b/module/action/view/trash.html.php
index aa52c3176e..9f41580d6d 100755
--- a/module/action/view/trash.html.php
+++ b/module/action/view/trash.html.php
@@ -12,14 +12,24 @@
?>
-
+
goback, '', "class='btn'");?>
" . $lang->action->dynamic->hidden, '', "class='btn btn-danger'");?>
-