diff --git a/core/module/config/view/index/index.css b/core/module/config/view/index/index.css
index e9fa2971..c7999362 100755
--- a/core/module/config/view/index/index.css
+++ b/core/module/config/view/index/index.css
@@ -14,7 +14,7 @@
@import url("site/data/admin.css");
-.blockContainer:not(#info) {
+.blockContainer {
display : none;
}
diff --git a/core/module/config/view/index/index.js.php b/core/module/config/view/index/index.js.php
index 34bcfe51..01f717ec 100755
--- a/core/module/config/view/index/index.js.php
+++ b/core/module/config/view/index/index.js.php
@@ -39,7 +39,7 @@ $( document).ready(function() {
* Initialisation des blocs
*/
- var i = ["info", "setup", "social", "ceo", "network", "smtp", "login", "logs", "script", "system" ];
+ var i = [ "social", "ceo", "network", "smtp", "login", "logs", "script", "system" ];
$.each(i,function(e) {
if (getCookie(i[e]) === "true") {
$("#" + i[e]).find(".zwiico-plus").hide();
@@ -62,7 +62,7 @@ $( document).ready(function() {
* true = bloc déplié
*/
document.cookie = $(this).attr('id') + "=" + $(this).find(".zwiico-minus").is(":visible");
- }).on("click", "span > input, input, textarea, label, option, button, a, .blockContainer", function(e) {
+ }).on("click", "span > input, input, textarea, label, option, button, a:not(.inputFile), .blockContainer", function(e) {
// Empêcher les déclenchements dans les blocs
e.stopPropagation();
});
diff --git a/core/module/config/view/index/index.php b/core/module/config/view/index/index.php
index ff650a42..168b4ad6 100755
--- a/core/module/config/view/index/index.php
+++ b/core/module/config/view/index/index.php
@@ -28,43 +28,38 @@
-
-
Informations générales
-
-
-
- getData(['page']);
- foreach($pages as $page => $pageId) {
- if ($this->getData(['page',$page,'block']) === 'bar' ||
- $this->getData(['page',$page,'disable']) === true) {
- unset($pages[$page]);
- }
+
+
Informations générales
+
+
+ getData(['page']);
+ foreach($pages as $page => $pageId) {
+ if ($this->getData(['page',$page,'block']) === 'bar' ||
+ $this->getData(['page',$page,'disable']) === true) {
+ unset($pages[$page]);
}
- echo template::select('configHomePageId', helper::arrayCollumn($pages, 'title', 'SORT_ASC'), [
- 'label' => 'Page d\'accueil',
- 'selected' =>$this->getData(['config', 'homePageId'])
- ]); ?>
-
-
- 'Titre du site',
- 'value' => $this->getData(['config', 'title']),
- 'help' => 'Il apparaît dans la barre de titre et les partages sur les réseaux sociaux.'
- ]); ?>
-
+ }
+ echo template::select('configHomePageId', helper::arrayCollumn($pages, 'title', 'SORT_ASC'), [
+ 'label' => 'Page d\'accueil',
+ 'selected' =>$this->getData(['config', 'homePageId'])
+ ]); ?>
-
-
- 'Description du site',
- 'value' => $this->getData(['config', 'metaDescription']),
- 'help' => 'Elle apparaît dans les partages sur les réseaux sociaux.'
- ]); ?>
-
+
+ 'Titre du site',
+ 'value' => $this->getData(['config', 'title']),
+ 'help' => 'Il apparaît dans la barre de titre et les partages sur les réseaux sociaux.'
+ ]); ?>
+
+
+
+
+ 'Description du site',
+ 'value' => $this->getData(['config', 'metaDescription']),
+ 'help' => 'Elle apparaît dans les partages sur les réseaux sociaux.'
+ ]); ?>
@@ -72,104 +67,99 @@
-
-
Paramètres
-
-
-
-
- 1,
- 'help' => 'Pensez à supprimer le cache de votre navigateur si la favicon ne change pas.',
- 'label' => 'Favicon',
- '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.',
- 'label' => 'Favicon thème sombre',
- 'value' => $this->getData(['config', 'faviconDark'])
- ]); ?>
-
-
- 'Articles par page',
- 'selected' => $this->getData(['config', 'itemsperPage']),
- 'help' => 'Modules Blog et News'
- ]); ?>
-
+
+
Paramètres
+
+
+
+ 1,
+ 'help' => 'Pensez à supprimer le cache de votre navigateur si la favicon ne change pas.',
+ 'label' => 'Favicon',
+ 'value' => $this->getData(['config', 'favicon'])
+ ]); ?>
-
-
- 'Fuseau horaire',
- 'selected' => $this->getData(['config', 'timezone']),
- 'help' => 'Le fuseau horaire est utile au bon référencement'
- ]); ?>
-
-
- 'Sélectionner'] , helper::arrayCollumn($this->getData(['page']), 'title', 'SORT_ASC') );
- ?>
- 'Mentions légales',
- 'selected' => $this->getData(['config', 'legalPageId']),
- 'help' => 'Les mentions légales sont obligatoires en France'
- ]); ?>
-
-
- $this->getData(['config', 'cookieConsent'])
- ]); ?>
-
+
+ 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.',
+ 'label' => 'Favicon thème sombre',
+ 'value' => $this->getData(['config', 'faviconDark'])
+ ]); ?>
-
-
- helper::checkRewrite(),
- 'help' => 'Vérifiez d\'abord que votre serveur l\'autorise : ce n\'est pas le cas chez Free.'
+
+ 'Articles par page',
+ 'selected' => $this->getData(['config', 'itemsperPage']),
+ 'help' => 'Modules Blog et News'
+ ]); ?>
+
+
+
+
+ 'Fuseau horaire',
+ 'selected' => $this->getData(['config', 'timezone']),
+ 'help' => 'Le fuseau horaire est utile au bon référencement'
+ ]); ?>
+
+
+ 'Sélectionner'] , helper::arrayCollumn($this->getData(['page']), 'title', 'SORT_ASC') );
+ ?>
+ 'Mentions légales',
+ 'selected' => $this->getData(['config', 'legalPageId']),
+ 'help' => 'Les mentions légales sont obligatoires en France'
+ ]); ?>
+
+
+ $this->getData(['config', 'cookieConsent'])
+ ]); ?>
+
+
+
+
+ helper::checkRewrite(),
+ 'help' => 'Vérifiez d\'abord que votre serveur l\'autorise : ce n\'est pas le cas chez Free.'
+ ]); ?>
+
+
+ $this->getData(['config', 'maintenance'])
+ ]); ?>
+
+
+ $this->getData(['config', 'autoBackup']),
+ 'help' => '
Une archive contenant le dossier /site/data est copiée dans le dossier \'site/backup\'. La sauvegarde est conservée pendant 30 jours.
Les fichiers du site ne sont pas sauvegardés automatiquement.
'
]); ?>
-
-
- $this->getData(['config', 'maintenance'])
+
+
+
+
+ $this->getData(['config', 'autoUpdate']),
+ 'help' => 'Vérifie une fois par jour l\'existence d\'une mise à jour.',
+ 'disabled' => !$error
]); ?>
-
-
- $this->getData(['config', 'autoBackup']),
- 'help' => '
Une archive contenant le dossier /site/data est copiée dans le dossier \'site/backup\'. La sauvegarde est conservée pendant 30 jours.
Les fichiers du site ne sont pas sauvegardés automatiquement.
'
- ]); ?>
-
-
-
- $this->getData(['config', 'autoUpdate']),
- 'help' => 'Vérifie une fois par jour l\'existence d\'une mise à jour.',
- 'disabled' => !$error
- ]); ?>
-
-
- $this->getData(['config', 'autoUpdateHtaccess']),
- 'help' => 'Lors d\'une mise à jour automatique, conserve le fichier htaccess de la racine du site.',
- 'disabled' => !$error
- ]); ?>
-
-
- 'download-cloud',
- 'href' => helper::baseUrl() . 'install/update',
- 'value' => 'Mise à jour manuelle',
- 'class' => 'buttonRed',
+
+ $this->getData(['config', 'autoUpdateHtaccess']),
+ 'help' => 'Lors d\'une mise à jour automatique, conserve le fichier htaccess de la racine du site.',
'disabled' => !$error
]); ?>
-
+
+
+ 'download-cloud',
+ 'href' => helper::baseUrl() . 'install/update',
+ 'value' => 'Mise à jour manuelle',
+ 'class' => 'buttonRed',
+ 'disabled' => !$error
+ ]); ?>