diff --git a/core/module/config/view/index/index.css b/core/module/config/view/index/index.css index a3e7fba7..f125f340 100755 --- a/core/module/config/view/index/index.css +++ b/core/module/config/view/index/index.css @@ -15,4 +15,4 @@ /** NE PAS EFFACER * admin.css -*/ +*/ diff --git a/core/module/config/view/network/network.js.php b/core/module/config/view/index/index.js.php similarity index 100% rename from core/module/config/view/network/network.js.php rename to core/module/config/view/index/index.js.php diff --git a/core/module/config/view/index/index.php b/core/module/config/view/index/index.php index 9b88bb5a..34708200 100644 --- a/core/module/config/view/index/index.php +++ b/core/module/config/view/index/index.php @@ -1,7 +1,4 @@ - -
- -
+
-
-
-
-
- helper::baseUrl() . 'config/index', - 'value' => 'Paramètres' - ]); ?> -
-
- helper::baseUrl() . 'config/locale', - 'value' => 'Localisation' - ]); ?> -
-
- helper::baseUrl() . 'config/social', - 'value' => 'Référencement' - ]); ?> -
-
- helper::baseUrl() . 'config/safety', - 'value' => 'Sécurité' - ]); ?> -
-
- helper::baseUrl() . 'config/network', - 'value' => 'Réseau' - ]); ?> -
-
-
+
+
+
+ helper::baseUrl() . 'config/index', + 'value' => 'Paramètres' + ]); ?> +
+
+ helper::baseUrl() . 'config/locale', + 'value' => 'Localisation' + ]); ?> +
+
+ helper::baseUrl() . 'config/social', + 'value' => 'Référencement' + ]); ?> +
+
+ helper::baseUrl() . 'config/safety', + 'value' => 'Sécurité' + ]); ?> +
+
+ helper::baseUrl() . 'config/network', + 'value' => 'Réseau' + ]); ?> +
+
+
-
-
-
-

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']) - ]); ?> -
-
- 'Fuseau horaire', - 'selected' => $this->getData(['config', 'timezone']), - 'help' => 'Le fuseau horaire est utile au bon référencement' - ]); ?> -
-
-
-
- $this->getData(['config', 'cookieConsent']), - 'help' => 'Activation obligatoire selon les lois françaises sauf si vous utilisez votre propre système de consentement.' - ]); ?> -
-
- helper::checkRewrite(), - 'help' => 'Vérifiez d\'abord que votre serveur autorise l\'URL rewriting (ce qui n\'est pas le cas chez Free).' - ]); ?> -
-
-
-
-
-
-
-
-

Mises à jour automatisée

- -
-
- $this->getData(['config', 'autoUpdate']), - 'help' => 'La vérification est quotidienne. Option désactivée si la configuration du serveur ne le permet pas.', - 'disabled' => !$updateError - ]); ?> -
-
- $this->getData(['config', 'autoUpdateHtaccess']), - 'help' => 'Lors d\'une mise à jour automatique, conserve le fichier htaccess de la racine du site.', - 'disabled' => !$updateError - ]); ?> -
-
- 'download-cloud', - 'href' => helper::baseUrl() . 'install/update', - 'value' => 'Mise à jour manuelle', - 'class' => 'buttonRed', - 'disabled' => !$updateError - ]); ?> -
-
-
-
-
-
-
-
-

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. Activation recommandée.' - ]); ?> -

-
- $this->getData(['config', 'maintenance']) - ]); ?> -
-
-
-
- helper::baseUrl() . 'config/backup', - 'value' => 'Sauvegarder', - 'ico' => 'download-cloud' - ]); ?> -
-
- helper::baseUrl() . 'config/restore', - 'value' => 'Restaurer', - 'ico' => 'upload-cloud' - ]); ?> -
-
- helper::baseUrl() . 'config/copyBackups', - 'value' => 'Backups Auto ➜ FileManager' - ]); ?> -
-
-
-
-
- + + + + + + + \ No newline at end of file diff --git a/core/module/config/view/locale/locale.css b/core/module/config/view/locale/locale.css deleted file mode 100644 index f125f340..00000000 --- a/core/module/config/view/locale/locale.css +++ /dev/null @@ -1,18 +0,0 @@ -/** - * This file is part of Zwii. - * - * For full copyright and license information, please see the LICENSE - * file that was distributed with this source code. - * - * @author Rémi Jean - * @copyright Copyright (C) 2008-2018, Rémi Jean - * @author Frédéric Tempez - * @copyright Copyright (C) 2018-2021, Frédéric Tempez - * @license GNU General Public License, version 3 - * @link http://zwiicms.fr/ - */ - - -/** NE PAS EFFACER -* admin.css -*/ diff --git a/core/module/config/view/locale/locale.php b/core/module/config/view/locale/locale.php index a149bd4b..e0dd66c6 100644 --- a/core/module/config/view/locale/locale.php +++ b/core/module/config/view/locale/locale.php @@ -1,191 +1,131 @@ - - -
- -
-
-
- 'buttonGrey', - 'href' => helper::baseUrl(false), - 'ico' => 'home', - 'value' => 'Accueil' - ]); ?> -
-
- 'buttonHelp', - 'ico' => 'help', - 'value' => 'Aide' - ]); ?> -
-
- -
-
-
-
-
-
- helper::baseUrl() . 'config/index', - 'value' => 'Paramètres' - ]); ?> -
-
- helper::baseUrl() . 'config/locale', - 'value' => 'Localisation' - ]); ?> -
-
- helper::baseUrl() . 'config/social', - 'value' => 'Référencement' - ]); ?> -
-
- helper::baseUrl() . 'config/safety', - 'value' => 'Sécurité' - ]); ?> -
-
- helper::baseUrl() . 'config/network', - 'value' => 'Réseau' - ]); ?> -
-
-
-
-
-
-
-

Langues étrangères

-
-
- $this->getData(['config', 'i18n', 'enable']), - 'help'=> 'Une nouvelle icône apparaîtra dans la barre d\'administration. Consultez l\'aide de la page concernée pour en apprendre plus.' - ]); ?> +
+
+
+
+

Langues étrangères

+
+
+ $this->getData(['config', 'i18n', 'enable']), + 'help'=> 'Une nouvelle icône apparaîtra dans la barre d\'administration. Consultez l\'aide de la page concernée pour en apprendre plus.' + ]); ?> +
-
-
-
-
-

Identité du site (en langue )

-

Cette page doit être adaptée à chaque traduction rédigée.

-
-
- 'Titre du site' , - 'value' => $this->getData(['locale', 'title']), - 'help' => 'Il apparaît dans la barre de titre et les partages sur les réseaux sociaux.' - ]); ?> +
+
+
+

Identité du site (en langue )

+

Cette page doit être adaptée à chaque traduction rédigée.

+
+
+ 'Titre du site' , + 'value' => $this->getData(['locale', 'title']), + 'help' => 'Il apparaît dans la barre de titre et les partages sur les réseaux sociaux.' + ]); ?> +
+
+ 'ZwiiCMS Version', + 'value' => common::ZWII_VERSION, + 'readonly' => true + ]); ?> +
-
- 'ZwiiCMS Version', - 'value' => common::ZWII_VERSION, - 'readonly' => true - ]); ?> +
+
+ 'Description du site', + 'value' => $this->getData(['locale', 'metaDescription']), + 'help' => 'La description d\'une page participe à son référencement, chaque page doit disposer d\'une description différente.' + ]); ?> +
-
-
-
- 'Description du site', - 'value' => $this->getData(['locale', 'metaDescription']), - 'help' => 'La description d\'une page participe à son référencement, chaque page doit disposer d\'une description différente.' - ]); ?> -
-
-
-
-
-

Etiquettes des pages spéciales

-
-
- 'Mentions légales', - 'placeholder' => 'Mentions légales', - 'value' => $this->getData(['locale', 'legalPageLabel']) - ]); ?> -
-
- 'Rechercher', - 'placeholder' => 'Rechercher', - 'value' => $this->getData(['locale', 'searchPageLabel']) - ]); ?> -
-
- 'Plan du site', - 'placeholder' => 'Plan du site', - 'value' => $this->getData(['locale', 'sitemapPageLabel']), - ]); ?> +
+
+
+

Etiquettes des pages spéciales

+
+
+ 'Mentions légales', + 'placeholder' => 'Mentions légales', + 'value' => $this->getData(['locale', 'legalPageLabel']) + ]); ?> +
+
+ 'Rechercher', + 'placeholder' => 'Rechercher', + 'value' => $this->getData(['locale', 'searchPageLabel']) + ]); ?> +
+
+ 'Plan du site', + 'placeholder' => 'Plan du site', + 'value' => $this->getData(['locale', 'sitemapPageLabel']), + ]); ?> +
-
-
-
-
-

Assignation des pages spéciales

-
-
- 'Accueil du site', - 'selected' =>$this->getData(['locale', 'homePageId']), - 'help' => 'La première page que vos visiteurs verront.' - ]); ?> -
-
- 'Page par défaut'],helper::arrayCollumn($module::$orphansList, 'title', 'SORT_ASC')), [ - 'label' => 'Accès interdit, erreur 403', - 'selected' =>$this->getData(['locale', 'page403']), - 'help' => 'Cette page ne doit pas apparaître dans l\'arborescence du menu. Créez une page orpheline.' +
+
+
+

Assignation des pages spéciales

+
+
+ 'Accueil du site', + 'selected' =>$this->getData(['locale', 'homePageId']), + 'help' => 'La première page que vos visiteurs verront.' ]); ?> +
+
+ 'Page par défaut'],helper::arrayCollumn($module::$orphansList, 'title', 'SORT_ASC')), [ + 'label' => 'Accès interdit, erreur 403', + 'selected' =>$this->getData(['locale', 'page403']), + 'help' => 'Cette page ne doit pas apparaître dans l\'arborescence du menu. Créez une page orpheline.' + ]); ?> +
+
+ 'Page par défaut'],helper::arrayCollumn($module::$orphansList, 'title', 'SORT_ASC')), [ + 'label' => 'Page inexistante, erreur 404', + 'selected' =>$this->getData(['locale', 'page404']), + 'help' => 'Cette page ne doit pas apparaître dans l\'arborescence du menu. Créez une page orpheline.' + ]); ?> +
-
- 'Page par défaut'],helper::arrayCollumn($module::$orphansList, 'title', 'SORT_ASC')), [ - 'label' => 'Page inexistante, erreur 404', - 'selected' =>$this->getData(['locale', 'page404']), - 'help' => 'Cette page ne doit pas apparaître dans l\'arborescence du menu. Créez une page orpheline.' +
+
+ 'Aucune'] , helper::arrayCollumn($module::$pagesList, 'title', 'SORT_ASC') ) , [ + 'label' => 'Mentions légales', + 'selected' => $this->getData(['locale', 'legalPageId']), + 'help' => 'Les mentions légales sont obligatoires en France. Une option du pied de page ajoute un lien discret vers cette page.' ]); ?> -
-
-
-
- 'Aucune'] , helper::arrayCollumn($module::$pagesList, 'title', 'SORT_ASC') ) , [ - 'label' => 'Mentions légales', - 'selected' => $this->getData(['locale', 'legalPageId']), - 'help' => 'Les mentions légales sont obligatoires en France. Une option du pied de page ajoute un lien discret vers cette page.' - ]); ?> -
-
- 'Aucune'] , helper::arrayCollumn($module::$pagesList, 'title', 'SORT_ASC') ) , [ - 'label' => 'Recherche dans le site', - 'selected' => $this->getData(['locale', 'searchPageId']), - 'help' => 'Sélectionnez une page contenant le module \'Recherche\'. Une option du pied de page ajoute un lien discret vers cette page.' - ]); ?> -
-
- 'Page par défaut'],helper::arrayCollumn($module::$orphansList, 'title', 'SORT_ASC')), [ - 'label' => 'Site en maintenance', - 'selected' =>$this->getData(['locale', 'page302']), - 'help' => 'Cette page ne doit pas apparaître dans l\'arborescence du menu. Créez une page orpheline.' +
+
+ 'Aucune'] , helper::arrayCollumn($module::$pagesList, 'title', 'SORT_ASC') ) , [ + 'label' => 'Recherche dans le site', + 'selected' => $this->getData(['locale', 'searchPageId']), + 'help' => 'Sélectionnez une page contenant le module \'Recherche\'. Une option du pied de page ajoute un lien discret vers cette page.' ]); ?> +
+
+ 'Page par défaut'],helper::arrayCollumn($module::$orphansList, 'title', 'SORT_ASC')), [ + 'label' => 'Site en maintenance', + 'selected' =>$this->getData(['locale', 'page302']), + 'help' => 'Cette page ne doit pas apparaître dans l\'arborescence du menu. Créez une page orpheline.' + ]); ?> +
-
- +
\ No newline at end of file diff --git a/core/module/config/view/network/network.css b/core/module/config/view/network/network.css deleted file mode 100644 index a3e7fba7..00000000 --- a/core/module/config/view/network/network.css +++ /dev/null @@ -1,18 +0,0 @@ -/** - * This file is part of Zwii. - * - * For full copyright and license information, please see the LICENSE - * file that was distributed with this source code. - * - * @author Rémi Jean - * @copyright Copyright (C) 2008-2018, Rémi Jean - * @author Frédéric Tempez - * @copyright Copyright (C) 2018-2021, Frédéric Tempez - * @license GNU General Public License, version 3 - * @link http://zwiicms.fr/ - */ - - -/** NE PAS EFFACER -* admin.css -*/ diff --git a/core/module/config/view/network/network.php b/core/module/config/view/network/network.php index c78de792..c9cc5bfd 100644 --- a/core/module/config/view/network/network.php +++ b/core/module/config/view/network/network.php @@ -1,154 +1,93 @@ - -
-
- 'buttonGrey', - 'href' => helper::baseUrl(false), - 'ico' => 'home', - 'value' => 'Accueil' - ]); ?> -
-
- 'buttonHelp', - 'ico' => 'help', - 'value' => 'Aide' - ]); ?> -
-
- -
-
- -
- -
-
-
-
-
- helper::baseUrl() . 'config/index', - 'value' => 'Paramètres' - ]); ?> -
-
- helper::baseUrl() . 'config/locale', - 'value' => 'Localisation' - ]); ?> -
-
- helper::baseUrl() . 'config/social', - 'value' => 'Référencement' - ]); ?> -
-
- helper::baseUrl() . 'config/safety', - 'value' => 'Sécurité' - ]); ?> -
-
- helper::baseUrl() . 'config/network', - 'value' => 'Réseau' - ]); ?> -
-
-
-
-
-
-
-

Réseau

-
-
- 'Type de proxy', - 'selected' => $this->getData(['config', 'proxyType']) - ]); ?> -
-
- 'Adresse du proxy', - 'placeholder' => 'cache.proxy.fr', - 'value' => $this->getData(['config', 'proxyUrl']) - ]); ?> -
-
- 'Port du proxy', - 'placeholder' => '6060', - 'value' => $this->getData(['config', 'proxyPort']) - ]); ?> -
-
-
-
-
-
-
-
-

SMTP

-
-
- $this->getData(['config', 'smtp','enable']), - 'help' => 'Paramètres à utiliser lorsque votre hébergeur ne propose pas la fonctionnalité d\'envoi de mail.' - ]); ?> -
-
-
+
+
+
+
+

Réseau

-
- 'Adresse SMTP', - 'placeholder' => 'smtp.fr', - 'value' => $this->getData(['config', 'smtp','host']) - ]); ?> -
-
- 'Port SMTP', - 'placeholder' => '589', - 'value' => $this->getData(['config', 'smtp','port']) - ]); ?> -
-
- 'Authentification', - 'selected' => $this->getData(['config', 'smtp','auth']) - ]); ?> -
-
-
-
-
- 'Nom utilisateur', - 'value' => $this->getData(['config', 'smtp','username' ]) +
+ 'Type de proxy', + 'selected' => $this->getData(['config', 'proxyType']) ]); ?>
-
- 'Mot de passe', - 'autocomplete' => 'off', - 'value' => $this->getData(['config', 'smtp','username' ]) ? helper::decrypt ($this->getData(['config', 'smtp','username' ]),$this->getData(['config','smtp','password'])) : '' +
+ 'Adresse du proxy', + 'placeholder' => 'cache.proxy.fr', + 'value' => $this->getData(['config', 'proxyUrl']) + ]); ?> +
+
+ 'Port du proxy', + 'placeholder' => '6060', + 'value' => $this->getData(['config', 'proxyPort']) + ]); ?> +
+
+
+
+
+
+
+
+

SMTP

+
+
+ $this->getData(['config', 'smtp','enable']), + 'help' => 'Paramètres à utiliser lorsque votre hébergeur ne propose pas la fonctionnalité d\'envoi de mail.' + ]); ?> +
+
+
+
+
+ 'Adresse SMTP', + 'placeholder' => 'smtp.fr', + 'value' => $this->getData(['config', 'smtp','host']) ]); ?>
- 'Sécurité', - 'selected' => $this->getData(['config', 'smtp','secure']) + 'Port SMTP', + 'placeholder' => '589', + 'value' => $this->getData(['config', 'smtp','port']) ]); ?>
+
+ 'Authentification', + 'selected' => $this->getData(['config', 'smtp','auth']) + ]); ?> +
+
+
+
+
+ 'Nom utilisateur', + 'value' => $this->getData(['config', 'smtp','username' ]) + ]); ?> +
+
+ 'Mot de passe', + 'autocomplete' => 'off', + 'value' => $this->getData(['config', 'smtp','username' ]) ? helper::decrypt ($this->getData(['config', 'smtp','username' ]),$this->getData(['config','smtp','password'])) : '' + ]); ?> +
+
+ 'Sécurité', + 'selected' => $this->getData(['config', 'smtp','secure']) + ]); ?> +
+
- - diff --git a/core/module/config/view/safety/safety.css b/core/module/config/view/safety/safety.css deleted file mode 100644 index fdc5d676..00000000 --- a/core/module/config/view/safety/safety.css +++ /dev/null @@ -1,37 +0,0 @@ -/** - * This file is part of Zwii. - * - * For full copyright and license information, please see the LICENSE - * file that was distributed with this source code. - * - * @author Rémi Jean - * @copyright Copyright (C) 2008-2018, Rémi Jean - * @author Frédéric Tempez - * @copyright Copyright (C) 2018-2021, Frédéric Tempez - * @license GNU General Public License, version 3 - * @link http://zwiicms.fr/ - */ - - -/** NE PAS EFFACER -* admin.css -*/ - -.blockContainer { - display : none; -} - -#info .zwiico-plus-circled { - display: inline; -} - -.zwiico-minus-circled, -#info .zwiico-minus-circled { - display: none; -} - - -.zwiico-minus-circled, -.zwiico-plus-circled { - cursor: pointer; -} \ No newline at end of file diff --git a/core/module/config/view/safety/safety.php b/core/module/config/view/safety/safety.php index 9b9cd75d..746bded3 100644 --- a/core/module/config/view/safety/safety.php +++ b/core/module/config/view/safety/safety.php @@ -1,159 +1,99 @@ - -
-
- 'buttonGrey', - 'href' => helper::baseUrl(false), - 'ico' => 'home', - 'value' => 'Accueil' - ]); ?> -
-
- 'buttonHelp', - 'ico' => 'help', - 'value' => 'Aide' - ]); ?> -
-
- -
-
- -
- -
-
-
-
-
- helper::baseUrl() . 'config/index', - 'value' => 'Paramètres' - ]); ?> -
-
- helper::baseUrl() . 'config/locale', - 'value' => 'Localisation' - ]); ?> -
-
- helper::baseUrl() . 'config/social', - 'value' => 'Référencement' - ]); ?> -
-
- helper::baseUrl() . 'config/safety', - 'value' => 'Sécurité' - ]); ?> -
-
- helper::baseUrl() . 'config/network', - 'value' => 'Réseau' - ]); ?> -
-
-
-
-
-
-
-

Sécurité de la connexion

-
-
- $this->getData(['config', 'connect','captcha']) - ]); ?> -
-
- $this->getData(['config','captchaStrong']), - 'help' => 'Option recommandée pour sécuriser la connexion. S\'applique à tous les captchas du site. Le captcha simple se limite à une addition de nombres de 0 à 10. Le captcha complexe utilise quatre opérations de nombres de 0 à 20. Activation recommandée.' - ]); ?> -
-
- $this->getData(['config','autoDisconnect']), - 'help' => 'Déconnecte les sessions ouvertes précédemment sur d\'autres navigateurs ou terminaux. Activation recommandée.' +
+
+
+
+

Sécurité de la connexion

+
+
+ $this->getData(['config', 'connect','captcha']) ]); ?> -
-
-
-
- 'Connexions successives', - 'selected' => $this->getData(['config', 'connect', 'attempt']) - ]); ?> -
-
- 'Blocage après échecs', - 'selected' => $this->getData(['config', 'connect', 'timeout']) - ]); ?> -
-
- - helper::baseUrl() . 'config/blacklistDownload', - 'value' => 'Télécharger la liste', - 'ico' => 'download' - ]); ?> -
-
- 'buttonRed', - 'href' => helper::baseUrl() . 'config/blacklistReset', - 'value' => 'Réinitialiser la liste', - 'ico' => 'cancel' - ]); ?> -
-
-
-
-
-
-
-
-

Journalisation

-
-
- $this->getData(['config', 'connect', 'log']) - ]); ?> -
-
- 'Anonymat des adresses IP', - 'selected' => $this->getData(['config', 'connect', 'anonymousIp']), - 'help' => 'La réglementation française impose un anonymat de niveau 2' +
+
+ $this->getData(['config','captchaStrong']), + 'help' => 'Option recommandée pour sécuriser la connexion. S\'applique à tous les captchas du site. Le captcha simple se limite à une addition de nombres de 0 à 10. Le captcha complexe utilise quatre opérations de nombres de 0 à 20. Activation recommandée.' ]); ?> +
+
+ $this->getData(['config','autoDisconnect']), + 'help' => 'Déconnecte les sessions ouvertes précédemment sur d\'autres navigateurs ou terminaux. Activation recommandée.' + ]); ?> +
-
- helper::baseUrl() . 'config/logDownload', - 'value' => 'Télécharger le journal', - 'ico' => 'download' - ]); ?> +
+
+ 'Connexions successives', + 'selected' => $this->getData(['config', 'connect', 'attempt']) + ]); ?> +
+
+ 'Blocage après échecs', + 'selected' => $this->getData(['config', 'connect', 'timeout']) + ]); ?> +
+
+ + helper::baseUrl() . 'config/blacklistDownload', + 'value' => 'Télécharger la liste', + 'ico' => 'download' + ]); ?> +
+
+ 'buttonRed', + 'href' => helper::baseUrl() . 'config/blacklistReset', + 'value' => 'Réinitialiser la liste', + 'ico' => 'cancel' + ]); ?> +
-
- 'buttonRed', - 'href' => helper::baseUrl() . 'config/logReset', - 'value' => 'Réinitialiser le journal', - 'ico' => 'cancel' - ]); ?> +
+
+
+
+
+
+

Journalisation

+
+
+ $this->getData(['config', 'connect', 'log']) + ]); ?> +
+
+ 'Anonymat des adresses IP', + 'selected' => $this->getData(['config', 'connect', 'anonymousIp']), + 'help' => 'La réglementation française impose un anonymat de niveau 2' + ]); ?> +
+
+ helper::baseUrl() . 'config/logDownload', + 'value' => 'Télécharger le journal', + 'ico' => 'download' + ]); ?> +
+
+ 'buttonRed', + 'href' => helper::baseUrl() . 'config/logReset', + 'value' => 'Réinitialiser le journal', + 'ico' => 'cancel' + ]); ?> +
- diff --git a/core/module/config/view/index/index.help.html b/core/module/config/view/setup/setup.help.html similarity index 100% rename from core/module/config/view/index/index.help.html rename to core/module/config/view/setup/setup.help.html diff --git a/core/module/config/view/setup/setup.php b/core/module/config/view/setup/setup.php new file mode 100644 index 00000000..b9394d5c --- /dev/null +++ b/core/module/config/view/setup/setup.php @@ -0,0 +1,123 @@ +
+
+
+
+

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']) + ]); ?> +
+
+ 'Fuseau horaire', + 'selected' => $this->getData(['config', 'timezone']), + 'help' => 'Le fuseau horaire est utile au bon référencement' + ]); ?> +
+
+
+
+ $this->getData(['config', 'cookieConsent']), + 'help' => 'Activation obligatoire selon les lois françaises sauf si vous utilisez votre propre système de consentement.' + ]); ?> +
+
+ helper::checkRewrite(), + 'help' => 'Vérifiez d\'abord que votre serveur autorise l\'URL rewriting (ce qui n\'est pas le cas chez Free).' + ]); ?> +
+
+
+
+
+
+
+
+

Mises à jour automatisée

+ +
+
+ $this->getData(['config', 'autoUpdate']), + 'help' => 'La vérification est quotidienne. Option désactivée si la configuration du serveur ne le permet pas.', + 'disabled' => !$updateError + ]); ?> +
+
+ $this->getData(['config', 'autoUpdateHtaccess']), + 'help' => 'Lors d\'une mise à jour automatique, conserve le fichier htaccess de la racine du site.', + 'disabled' => !$updateError + ]); ?> +
+
+ 'download-cloud', + 'href' => helper::baseUrl() . 'install/update', + 'value' => 'Mise à jour manuelle', + 'class' => 'buttonRed', + 'disabled' => !$updateError + ]); ?> +
+
+
+
+
+
+
+
+

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. Activation recommandée.' + ]); ?> +

+
+ $this->getData(['config', 'maintenance']) + ]); ?> +
+
+
+
+ helper::baseUrl() . 'config/backup', + 'value' => 'Sauvegarder', + 'ico' => 'download-cloud' + ]); ?> +
+
+ helper::baseUrl() . 'config/restore', + 'value' => 'Restaurer', + 'ico' => 'upload-cloud' + ]); ?> +
+
+ helper::baseUrl() . 'config/copyBackups', + 'value' => 'Backups Auto ➜ FileManager' + ]); ?> +
+
+
+
+
+
diff --git a/core/module/config/view/social/social.css b/core/module/config/view/social/social.css deleted file mode 100644 index a302df10..00000000 --- a/core/module/config/view/social/social.css +++ /dev/null @@ -1,18 +0,0 @@ -/** - * This file is part of Zwii. - * - * For full copyright and license information, please see the LICENSE - * file that was distributed with this source code. - * - * @author Rémi Jean - * @copyright Copyright (C) 2008-2018, Rémi Jean - * @author Frédéric Tempez - * @copyright Copyright (C) 2018-2021, Frédéric Tempez - * @license GNU General Public License, version 3 - * @link http://zwiicms.fr/ - */ - - -/** NE PAS EFFACER -* admin.css -*/ \ No newline at end of file diff --git a/core/module/config/view/social/social.php b/core/module/config/view/social/social.php index 6a8fce99..465c283f 100644 --- a/core/module/config/view/social/social.php +++ b/core/module/config/view/social/social.php @@ -1,204 +1,143 @@ - - -
- -
-
-
- 'buttonGrey', - 'href' => helper::baseUrl(false), - 'ico' => 'home', - 'value' => 'Accueil' - ]); ?> -
-
- 'buttonHelp', - 'ico' => 'help', - 'value' => 'Aide' - ]); ?> -
-
- -
-
-
-
-
-
- helper::baseUrl() . 'config/index', - 'value' => 'Paramètres' - ]); ?> -
-
- helper::baseUrl() . 'config/locale', - 'value' => 'Localisation' - ]); ?> -
-
- helper::baseUrl() . 'config/social', - 'value' => 'Référencement' - ]); ?> -
-
- helper::baseUrl() . 'config/safety', - 'value' => 'Sécurité' - ]); ?> -
-
- helper::baseUrl() . 'config/network', - 'value' => 'Réseau' - ]); ?> -
-
-
-
-
-
-
-

Paramètres

-
-
-
-
- helper::baseUrl() . 'config/configMetaImage', - 'value' => 'Générer une capture Open Graph' - ]); ?> -
-
-
-
- helper::baseUrl() . 'config/generateFiles', - 'value' => 'Générer sitemap.xml et robots.txt' - ]); ?> -
-
-
-
- $this->getData(['config', 'seo','robots']) - ]); ?> -
-
-
-
- +
+
+
+
+

Paramètres

+
+
-
- +
+ helper::baseUrl() . 'config/configMetaImage', + 'value' => 'Générer une capture Open Graph' + ]); ?>
+
+
+
+ helper::baseUrl() . 'config/generateFiles', + 'value' => 'Générer sitemap.xml et robots.txt' + ]); ?> +
+
+
+
+ $this->getData(['config', 'seo','robots']) + ]); ?> +
+
+
+
+ +
+
+ +
+
+
-
-
-
-
-
-

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']) - ]); ?> -
-
- 'ID de la chaîne : https://www.youtube.com/channel/[ID].', - 'label' => 'Chaîne Youtube', - 'value' => $this->getData(['config', 'social', 'youtubeId']) - ]); ?> -
-
- 'Saisissez votre ID Utilisateur : https://www.youtube.com/user/[ID].', - 'label' => 'Youtube', - 'value' => $this->getData(['config', 'social', 'youtubeUserId']) - ]); ?> -
-
-
-
- '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/[ID].', - 'label' => 'Linkedin', - 'value' => $this->getData(['config', 'social', 'linkedinId']) - ]); ?> -
-
- 'Saisissez votre ID Github : https://github.com/[ID].', - 'label' => 'Github', - 'value' => $this->getData(['config', 'social', 'githubId']) +
+
+
+

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']) + ]); ?> +
+
+ 'ID de la chaîne : https://www.youtube.com/channel/[ID].', + 'label' => 'Chaîne Youtube', + 'value' => $this->getData(['config', 'social', 'youtubeId']) + ]); ?> +
+
+ 'Saisissez votre ID Utilisateur : https://www.youtube.com/user/[ID].', + 'label' => 'Youtube', + 'value' => $this->getData(['config', 'social', 'youtubeUserId']) + ]); ?> +
+
+
+
+ '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/[ID].', + 'label' => 'Linkedin', + 'value' => $this->getData(['config', 'social', 'linkedinId']) + ]); ?> +
+
+ 'Saisissez votre ID Github : https://github.com/[ID].', + 'label' => 'Github', + 'value' => $this->getData(['config', 'social', 'githubId']) + ]); ?> +
+
+
+
+
+
+
+
+

Scripts externes

+
+
+ 'Saisissez l\'ID de suivi.', + 'label' => 'Google Analytics', + 'placeholder' => 'UA-XXXXXXXX-X', + 'value' => $this->getData(['config', 'analyticsId']) + ]); ?> +
+
+ helper::baseUrl() . 'config/script/head', + 'value' => 'Script dans head', + 'ico' => 'pencil' + ]); ?> +
+
+ helper::baseUrl() . 'config/script/body', + 'value' => 'Script dans body', + 'ico' => 'pencil' + ]); ?> +
-
-
-
-

Scripts externes

-
-
- 'Saisissez l\'ID de suivi.', - 'label' => 'Google Analytics', - 'placeholder' => 'UA-XXXXXXXX-X', - 'value' => $this->getData(['config', 'analyticsId']) - ]); ?> -
-
- helper::baseUrl() . 'config/script/head', - 'value' => 'Script dans head', - 'ico' => 'pencil' - ]); ?> -
-
- helper::baseUrl() . 'config/script/body', - 'value' => 'Script dans body', - 'ico' => 'pencil' - ]); ?> -
-
-
-
-
- -