From d16e22171c86b320956ca5197d4d5ad02687f632 Mon Sep 17 00:00:00 2001 From: Bugo Date: Tue, 20 Feb 2024 21:30:04 +0500 Subject: [PATCH 1/2] Move hooks filter above table Signed-off-by: Bugo --- Sources/ManageMaintenance.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Sources/ManageMaintenance.php b/Sources/ManageMaintenance.php index c26f811240..a8dd686d8e 100644 --- a/Sources/ManageMaintenance.php +++ b/Sources/ManageMaintenance.php @@ -818,7 +818,7 @@ function AdminBoardRecount() validateToken(!isset($_REQUEST['step']) ? 'admin-maint' : 'admin-boardrecount'); $context['not_done_token'] = 'admin-boardrecount'; createToken($context['not_done_token']); - + $context['page_title'] = $txt['not_done_title']; $context['continue_post_data'] = ''; $context['continue_countdown'] = 3; @@ -1867,13 +1867,6 @@ function($hook) use ($current_filter) foreach ($hooks as $hook => $functions) $hooks_filters[] = '' . $hook . ''; - if (!empty($hooks_filters)) - $context['insert_after_template'] .= ' - '; - if (!empty($_REQUEST['do']) && isset($_REQUEST['hook']) && isset($_REQUEST['function'])) { checkSession('request'); @@ -2019,6 +2012,15 @@ function($accumulator, $functions)
  • ' . $txt['hooks_disable_legend_temp_missing'] . '
  • ' ), + array( + 'position' => 'above_column_headers', + 'value' => ' + ', + 'class' => 'floatright', + ), ), ); From ef1f81b4cd09308f74d7078a1c33a431c7150cf2 Mon Sep 17 00:00:00 2001 From: Bugo Date: Wed, 21 Feb 2024 00:19:28 +0500 Subject: [PATCH 2/2] Update index.css Signed-off-by: Bugo --- Themes/default/css/index.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Themes/default/css/index.css b/Themes/default/css/index.css index e488c35dad..85c76b5676 100644 --- a/Themes/default/css/index.css +++ b/Themes/default/css/index.css @@ -1441,7 +1441,8 @@ ul li.greeting { #display_jump_to_select, #message_index_jump_to_select, #search_jump_to_select, -#quick_mod_jump_to_select { +#quick_mod_jump_to_select, +#list_integration_hooks select { width: 29ch; overflow: hidden; }