From e7348012ba6267460826faa759805080f67f1f78 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Wed, 31 Mar 2021 16:52:18 +0200 Subject: [PATCH] config sans itemsperpage --- core/module/config/config.php | 8 -------- core/module/config/view/advanced/advanced.php | 15 +++------------ 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/core/module/config/config.php b/core/module/config/config.php index 20b56f9d..4671b859 100755 --- a/core/module/config/config.php +++ b/core/module/config/config.php @@ -146,13 +146,6 @@ class config extends common { 'Pacific/Fiji' => '(GMT+12:00) Fiji', 'Asia/Kamchatka' => '(GMT+12:00) Kamchatka' ]; - // Nombre d'objets par page - public static $ItemsList = [ - 5 => '5 articles', - 10 => '10 articles', - 15 => '15 articles', - 20 => '20 articles' - ]; // Type de proxy public static $proxyType = [ 'tcp://' => 'TCP', @@ -462,7 +455,6 @@ class config extends common { 'githubId' => $this->getInput('configAdvancedSocialGithubId') ], 'timezone' => $this->getInput('configAdvancedTimezone', helper::FILTER_STRING_SHORT, true), - 'itemsperPage' => $this->getInput('configAdvancedItemsperPage', helper::FILTER_INT,true), 'autoUpdate' => $this->getInput('configAdvancedAutoUpdate', helper::FILTER_BOOLEAN), 'autoUpdateHtaccess' => $this->getInput('configAdvancedAutoUpdateHtaccess', helper::FILTER_BOOLEAN), 'proxyType' => $this->getInput('configAdvancedProxyType'), diff --git a/core/module/config/view/advanced/advanced.php b/core/module/config/view/advanced/advanced.php index 463c604c..f306e3a7 100644 --- a/core/module/config/view/advanced/advanced.php +++ b/core/module/config/view/advanced/advanced.php @@ -44,7 +44,7 @@

Réglages

-
+
1, 'help' => 'Pensez à supprimer le cache de votre navigateur si la favicon ne change pas.', @@ -52,7 +52,7 @@ 'value' => $this->getData(['config', 'favicon']) ]); ?>
-
+
1, 'help' => 'Sélectionnez une icône adaptée à un thème sombre.
Pensez à supprimer le cache de votre navigateur si la favicon ne change pas.', @@ -60,16 +60,7 @@ 'value' => $this->getData(['config', 'faviconDark']) ]); ?>
-
-
-
- 'Articles par page', - 'selected' => $this->getData(['config', 'itemsperPage']), - 'help' => 'Modules Blog et News' - ]); ?> -
-
+
'Fuseau horaire', 'selected' => $this->getData(['config', 'timezone']),