From bf9711896305d71c7ad4fc30187d264112fbdd30 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 16 Dec 2022 10:46:07 -0700 Subject: [PATCH] Show quota as disabled for non-stylite --- filemanager/inc/class.filemanager_admin.inc.php | 2 +- filemanager/templates/default/quota.xet | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/filemanager/inc/class.filemanager_admin.inc.php b/filemanager/inc/class.filemanager_admin.inc.php index 5aed710220..5b95899819 100644 --- a/filemanager/inc/class.filemanager_admin.inc.php +++ b/filemanager/inc/class.filemanager_admin.inc.php @@ -423,7 +423,7 @@ class filemanager_admin extends filemanager_ui { $content['check_oversize'] = true; } - $readonlys['quota'] = !($GLOBALS['egw_info']['apps']['stylite']); + $tpl = new Etemplate('filemanager.quota'); $GLOBALS['egw_info']['flags']['app_header'] = lang('Quota'); $tpl->exec('filemanager.filemanager_admin.quota', $content, $sel_options, $readonlys); diff --git a/filemanager/templates/default/quota.xet b/filemanager/templates/default/quota.xet index a2687cf00c..7941d253c0 100644 --- a/filemanager/templates/default/quota.xet +++ b/filemanager/templates/default/quota.xet @@ -4,8 +4,9 @@