From 507402171ba3b6e7ee184bd7fa73e0d55e0cad7a Mon Sep 17 00:00:00 2001 From: slawkens Date: Tue, 12 Nov 2024 21:01:14 +0100 Subject: [PATCH] Patching from master some small adjustments (Account Logs typo + forum new thread show button by @anyeor) --- system/pages/forum/show_board.php | 4 ++-- system/templates/account.management.html.twig | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/system/pages/forum/show_board.php b/system/pages/forum/show_board.php index 5d61690a..a9896a53 100644 --- a/system/pages/forum/show_board.php +++ b/system/pages/forum/show_board.php @@ -44,7 +44,7 @@ for($i = 0; $i < $threads_count['threads_count'] / setting('core.forum_threads_p echo 'Boards >> '.$sections[$section_id]['name'].''; -if(!$sections[$section_id]['closed'] || Forum::isModerator()) { +if($logged && (!$sections[$section_id]['closed'] || Forum::isModerator())) echo '

'; } @@ -94,7 +94,7 @@ if(isset($last_threads[0])) { } echo ''; - if(!$sections[$section_id]['closed'] || Forum::isModerator()) { + if($logged && (!$sections[$section_id]['closed'] || Forum::isModerator())) echo '
'; } } diff --git a/system/templates/account.management.html.twig b/system/templates/account.management.html.twig index 87a33b6a..2db1e57c 100644 --- a/system/templates/account.management.html.twig +++ b/system/templates/account.management.html.twig @@ -149,7 +149,7 @@
{{ hook('HOOK_ACCOUNT_MANAGE_BEFORE_ACCOUNT_LOGS') }} -

Action Log

+

Account Logs

ActionDateIP