diff --git a/CHANGES.md b/CHANGES.md index 50b3c9ff..adc49837 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,9 @@ - Améliorations : - Mise en page petits écrans, modification des marges - Configuration du site : scripts dans header et body + - Nouvel écran de configuration +- Corrections : + - Déclaration de localisation manquante dans mail.php ## Version 9.1.08 - Corrections : diff --git a/core/core.php b/core/core.php index 74a1e4f6..c31a895c 100644 --- a/core/core.php +++ b/core/core.php @@ -1907,7 +1907,7 @@ class layout extends common { $items .= ''; // Affichage du lien de connexion $items .= 'getData(['theme','footer','displaySiteMap']) === false? 'class="displayNone"' : ''; + $items .= $this->getData(['theme','footer','displaySiteMap']) === false? ' class="displayNone"' : ''; $items .= '> | Plan du site'; $items .= ''; if( diff --git a/core/layout/mail.php b/core/layout/mail.php index dd17d233..6638ee19 100755 --- a/core/layout/mail.php +++ b/core/layout/mail.php @@ -1,5 +1,5 @@ - + diff --git a/core/module/config/view/index/index.php b/core/module/config/view/index/index.php index bc913a97..db8b0ede 100755 --- a/core/module/config/view/index/index.php +++ b/core/module/config/view/index/index.php @@ -16,15 +16,21 @@

Informations générales

- getData(['page']), '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.' - ]); ?> +
+
+ getData(['page']), '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.' + ]); ?> +
+
'Description du site', 'value' => $this->getData(['config', 'metaDescription']), @@ -34,9 +40,9 @@
-
+
-

Options avancées

+

Options

- 'Saisissez l\'ID de suivi.', - 'label' => 'Google Analytics', - 'placeholder' => 'UA-XXXXXXXX-X', - 'value' => $this->getData(['config', 'analyticsId']) + 'Articles par page', + 'selected' => $this->getData(['config', 'itemsperPage']), + 'help' => 'Modules Blog et News' ]); ?>
@@ -62,56 +67,51 @@ 'checked' => helper::checkRewrite(), 'help' => 'Vérifiez d\'abord que votre serveur l\'autorise : ce n\'est pas le cas chez Free.' ]); ?> - 'Articles par page ("Blog" et "News")', - 'selected' => $this->getData(['config', 'itemsperPage']) - ]); ?> +
-
+

Réseaux sociaux

-
+
'Saisissez votre ID : https://www.facebook.com/[ID].', 'label' => 'Facebook', 'value' => $this->getData(['config', 'social', 'facebookId']) ]); ?>
-
+
'Saisissez votre ID : https://www.instagram.com/[ID].', 'label' => 'Instagram', 'value' => $this->getData(['config', 'social', 'instagramId']) ]); ?>
-
-
-
+
'Saisissez votre ID : https://www.youtube.com/channel/[ID].', 'label' => 'Youtube', 'value' => $this->getData(['config', 'social', 'youtubeId']) ]); ?> -
-
+
+
+
+
'Saisissez votre ID : https://twitter.com/[ID].', 'label' => 'Twitter', 'value' => $this->getData(['config', 'social', 'twitterId']) ]); ?>
-
-
-
+
'Saisissez votre ID : https://pinterest.com/[ID].', 'label' => 'Pinterest', 'value' => $this->getData(['config', 'social', 'pinterestId']) ]); ?>
-
+
'Saisissez votre ID Linkedin : https://fr.linkedin.com/in/[CETTE PARTIE].', 'label' => 'Linkedin', @@ -125,18 +125,24 @@
-

Système

- 'Fuseau horaire', - 'selected' => $this->getData(['config', 'timezone']) - ]); ?> - $this->getData(['config', 'maintenance']) - ]); ?> - $this->getData(['config', 'autoBackup']), - 'help' => 'Le fichier de données est copié quotidiennement dans le dossier \'site/backup\'. La sauvegarde est conservée pendant 30 jours.' - ]); ?> +

Système et sauvegardes

+
+
+ 'Fuseau horaire', + 'selected' => $this->getData(['config', 'timezone']) + ]); ?> +
+
+ $this->getData(['config', 'maintenance']) + ]); ?> + $this->getData(['config', 'autoBackup']), + 'help' => 'Le fichier de données est copié quotidiennement dans le dossier \'site/backup\'. La sauvegarde est conservée pendant 30 jours.' + ]); ?> +
+
-

Copie d'écran OpenGraph

-
-
- ' /> -
+

Aide au référencement

'Rafraîchir la capture d\'écran' ]); ?>
-
+

Cette capture d'écran est nécessaire aux partages sur les réseaux sociaux. Elle est régénérée lorsque le fichier "screenshot.png" est effacé du gestionnaire de fichiers.

+
+
+ ' /> +
-
-

Scripts HTML à insérer dans la page

- 'Head', - 'value' => $headerFile - ]); ?> - 'Body', - 'value' => $bodyFile - ]); ?> +

Options avancées

+
+
+ 'Saisissez l\'ID de suivi.', + 'label' => 'Google Analytics', + 'placeholder' => 'UA-XXXXXXXX-X', + 'value' => $this->getData(['config', 'analyticsId']) + ]); ?> +
+
+
+
+ 'Script dans Head', + 'value' => $headerFile + ]); ?> +
+
+ 'Script dans Body', + 'value' => $bodyFile + ]); ?> +
+
-

Information sur les versions

+

Numéros de version

-
+
'ZwiiCMS', 'readonly' => true, 'value' => common::ZWII_VERSION ]); ?>
-
+
'Module "Redirection"', + 'label' => 'Redirection', 'readonly' => true, 'value' => redirection::REDIRECTION_VERSION ]); ?>
-
+
'Module "Form"', + 'label' => 'Form', 'readonly' => true, 'value' => form::FORM_VERSION ]); ?>
-
-
-
+
'Module "Gallery"', + 'label' => 'Gallery', 'readonly' => true, 'value' => gallery::GALLERY_VERSION ]); ?>
-
+
'Module "News"', + 'label' => 'News', 'readonly' => true, 'value' => news::NEWS_VERSION ]); ?>
-
+
'Module "Blog"', + 'label' => 'Blog', 'readonly' => true, 'value' => blog::BLOG_VERSION ]); ?>