From 0ad1934afc6303d744931057ae8efd72ef235d11 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 19 Dec 2022 13:25:44 -0700 Subject: [PATCH] Show "EPL Only" for quota in edit account & group dialogs --- admin/inc/class.admin_account.inc.php | 2 ++ admin/src/Groups.php | 1 + admin/templates/default/account.xet | 4 ++-- admin/templates/default/group.edit.xet | 4 ++-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/admin/inc/class.admin_account.inc.php b/admin/inc/class.admin_account.inc.php index 05511fcd07..76176e9ef9 100644 --- a/admin/inc/class.admin_account.inc.php +++ b/admin/inc/class.admin_account.inc.php @@ -91,6 +91,8 @@ class admin_account 'loginshell' => $GLOBALS['egw_info']['server']['ldap_account_shell'], ); } + + $account['default_quota'] = lang('(EPL Only)'); // should we show extra ldap attributes home-directory and login-shell $account['ldap_extra_attributes'] = $GLOBALS['egw_info']['server']['ldap_extra_attributes'] && get_class($GLOBALS['egw']->accounts->backend) === 'EGroupware\\Api\\Accounts\\Ldap'; diff --git a/admin/src/Groups.php b/admin/src/Groups.php index 7d5c00b616..0aaeb6f0fb 100644 --- a/admin/src/Groups.php +++ b/admin/src/Groups.php @@ -217,6 +217,7 @@ class Groups } $run_rights = $content['account_id'] ? $this->acl->get_user_applications($content['account_id'], false, false) : array(); $content['apps'] = $content['old_run'] = array(); + $content['default_quota'] = lang('(EPL Only)'); foreach($GLOBALS['egw_info']['apps'] as $app => $data) { if (!$data['enabled'] || !$data['status'] || $data['status'] == 3) diff --git a/admin/templates/default/account.xet b/admin/templates/default/account.xet index e224144053..756e799aeb 100644 --- a/admin/templates/default/account.xet +++ b/admin/templates/default/account.xet @@ -55,8 +55,8 @@ - - + + diff --git a/admin/templates/default/group.edit.xet b/admin/templates/default/group.edit.xet index e09b3abaae..19294e380b 100644 --- a/admin/templates/default/group.edit.xet +++ b/admin/templates/default/group.edit.xet @@ -42,8 +42,8 @@ - - + +