From b749a9be2ee69e3cec8339e6e620710a869de033 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Thu, 15 Oct 2020 15:46:43 +0200 Subject: [PATCH] add option: show link to settings --- lib/Settings/Admin.php | 1 + src/l10n/fixtures/de.yaml | 1 + src/l10n/fixtures/fr.yaml | 1 + templates/settings/admin-form.php | 16 ++++++++++++++++ 4 files changed, 19 insertions(+) diff --git a/lib/Settings/Admin.php b/lib/Settings/Admin.php index ce93966..75cf96e 100644 --- a/lib/Settings/Admin.php +++ b/lib/Settings/Admin.php @@ -82,6 +82,7 @@ class Admin implements ISettings 'opener-position' => $this->config->getAppValue('opener-position', 'before'), 'opener-hover' => $this->config->getAppValue('opener-hover', '0'), 'opener-only' => $this->config->getAppValue('opener-only', '0'), + 'show-settings' => $this->config->getAppValue('show-settings', '0'), 'hide-when-no-apps' => $this->config->getAppValue('hide-when-no-apps', '0'), 'size-icon' => $this->config->getAppValue('size-icon', 'normal'), 'size-text' => $this->config->getAppValue('size-text', 'normal'), diff --git a/src/l10n/fixtures/de.yaml b/src/l10n/fixtures/de.yaml index c35fc3f..305598f 100644 --- a/src/l10n/fixtures/de.yaml +++ b/src/l10n/fixtures/de.yaml @@ -61,3 +61,4 @@ "Force this configuration to users": "Erzwingen Sie diese Konfiguration für Benutzer" "Export the configuration": "Exportieren Sie die Konfiguration" "Purge the cache": "Leeren Sie den Cache" +"Show the link to settings": "Zeigen Sie den Link zu den Einstellungen an" diff --git a/src/l10n/fixtures/fr.yaml b/src/l10n/fixtures/fr.yaml index 45ce523..646b8b2 100644 --- a/src/l10n/fixtures/fr.yaml +++ b/src/l10n/fixtures/fr.yaml @@ -61,3 +61,4 @@ "Force this configuration to users": "Forcer cette configuration aux utilisateurs" "Export the configuration": "Exporter la configuration" "Purge the cache": "Purger le cache" +"Show the link to settings": "Afficher le lien vers les paramètres" diff --git a/templates/settings/admin-form.php b/templates/settings/admin-form.php index b5c57c1..c76be02 100644 --- a/templates/settings/admin-form.php +++ b/templates/settings/admin-form.php @@ -361,6 +361,22 @@ $choicesSizes = [ +
+ +
+ +
+ +
+