From 28113048332c851691781c9d548c4662a9184336 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 23 Nov 2022 14:13:20 -0700 Subject: [PATCH] Filemanager: Remove uneeded buttons from anonymous share nextmatch --- filemanager/src/Sharing/AnonymousList.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/filemanager/src/Sharing/AnonymousList.php b/filemanager/src/Sharing/AnonymousList.php index fdda6c51a5..563c3ca0c1 100644 --- a/filemanager/src/Sharing/AnonymousList.php +++ b/filemanager/src/Sharing/AnonymousList.php @@ -57,6 +57,10 @@ class AnonymousList extends filemanager_ui // Override and take over get_rows so we can customize $content['nm']['get_rows'] = '.' . get_class($this) . '.get_rows'; $content['nm']['show_refresh'] = true; + $content['nm']['no_filter'] = true; + $content['nm']['favorites'] = false; + + $this->etemplate->setElementAttribute("nm", "header_right", ''); return parent::listview($content, $msg); }