From 444a1dabc6381a304abe3141f045f8049802d017 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 5 Nov 2024 15:15:48 +0100 Subject: [PATCH] Use grid view filters for exception log filtering --- .../templates/shared_exceptionLogDetails.tpl | 4 + .../files/acp/templates/exceptionLogView.tpl | 33 --- .../acp/page/ExceptionLogViewPage.class.php | 227 +----------------- .../system/view/grid/ArrayGridView.class.php | 26 +- .../view/grid/ExceptionLogGridView.class.php | 131 ++++++---- 5 files changed, 109 insertions(+), 312 deletions(-) diff --git a/com.woltlab.wcf/templates/shared_exceptionLogDetails.tpl b/com.woltlab.wcf/templates/shared_exceptionLogDetails.tpl index 0f8df80d2d..2e87d96359 100644 --- a/com.woltlab.wcf/templates/shared_exceptionLogDetails.tpl +++ b/com.woltlab.wcf/templates/shared_exceptionLogDetails.tpl @@ -5,6 +5,10 @@ +
+
{lang}wcf.acp.exceptionLog.search.exceptionID{/lang}
+
{$exceptionID}
+
{lang}wcf.acp.exceptionLog.exception.date{/lang}
{$exception[date]|plainTime}
diff --git a/wcfsetup/install/files/acp/templates/exceptionLogView.tpl b/wcfsetup/install/files/acp/templates/exceptionLogView.tpl index 88c1702b72..b877695007 100644 --- a/wcfsetup/install/files/acp/templates/exceptionLogView.tpl +++ b/wcfsetup/install/files/acp/templates/exceptionLogView.tpl @@ -14,39 +14,6 @@ {/hascontent} -{include file='shared_formError'} - -{if !$logFiles|empty} -
-
-

{lang}wcf.acp.exceptionLog.search{/lang}

- -
-
-
-
- -
-
- -
-
-
- -
-
-
-
- -
- -
-
-{/if} - {unsafe:$gridView->render()}