From 4cc52108558b2a9491144eb685fbc077f70dacb8 Mon Sep 17 00:00:00 2001 From: Simon L Date: Wed, 22 Nov 2023 12:49:03 +0100 Subject: [PATCH] do not show lgobal credentials section if you cannot create mounts Signed-off-by: Simon L --- apps/files_external/templates/settings.php | 38 ++++++++++++---------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php index d715e5946f1d0..753ddc1a21e2b 100644 --- a/apps/files_external/templates/settings.php +++ b/apps/files_external/templates/settings.php @@ -216,21 +216,23 @@ function writeParameterInput($parameter, $options, $classes = []) { -
-
-

t('Global credentials')); ?>

-

t('Global credentials can be used to authenticate with multiple external storages that have the same credentials.')); ?>

- - - - -
-
+ +
+
+

t('Global credentials')); ?>

+

t('Global credentials can be used to authenticate with multiple external storages that have the same credentials.')); ?>

+ + + + +
+
+