From 1bb554069a2baabd0b2986c79dca3e97215f7292 Mon Sep 17 00:00:00 2001 From: Antoine Le Gonidec Date: Fri, 26 Jul 2024 12:06:20 +0200 Subject: [PATCH] Remove the "quick edit" button from messages --- index.template.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.template.php b/index.template.php index 5b67808..b60d43f 100644 --- a/index.template.php +++ b/index.template.php @@ -768,6 +768,9 @@ function template_quickbuttons($list_items, $list_class = null, $output_method = foreach ($list_items as $key => $li) { + // Do not include the "quick edit" button. + if ( $li['class'] == 'quick_edit' ) continue; + // Handle the sublist if ($key == 'more') {