From 6b2c44c3fc1a91d488db6d14a13ce976b01bb49a Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 5 Jun 2020 07:23:36 +0200 Subject: [PATCH] =?UTF-8?q?10.2.dev28=20config=20blocs=20pliables=20-=20op?= =?UTF-8?q?timisation=20JS=20=C3=A0=20r=C3=A9aliser.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 2 +- core/module/config/view/index/index.css | 34 +- core/module/config/view/index/index.js.php | 129 ++++ core/module/config/view/index/index.php | 857 +++++++++++---------- 4 files changed, 622 insertions(+), 400 deletions(-) diff --git a/core/core.php b/core/core.php index 0d3ae3b7..2c0562c9 100755 --- a/core/core.php +++ b/core/core.php @@ -39,7 +39,7 @@ class common { const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '10.2.00.dev27'; + const ZWII_VERSION = '10.2.00.dev28'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; diff --git a/core/module/config/view/index/index.css b/core/module/config/view/index/index.css index 6faa3a6a..c18f978a 100755 --- a/core/module/config/view/index/index.css +++ b/core/module/config/view/index/index.css @@ -12,4 +12,36 @@ * @link http://zwiicms.com/ */ -@import url("site/data/admin.css"); \ No newline at end of file +@import url("site/data/admin.css"); + +#parameter .blockContainer, +#social .blockContainer, +#ceo .blockContainer, +#network .blockContainer, +#smtp .blockContainer, +#login .blockContainer, +#log .blockContainer , +#script .blockContainer, + +#parameter .zwiico-minus, +#social .zwiico-minus, +#ceo .zwiico-minus, +#network .zwiico-minus, +#smtp .zwiico-minus, +#login .zwiico-minus, +#log .zwiico-minus, +#script .zwiico-minus + { + display: none; +} + + +#info .zwiico-plus, +#version .zwiico-plus { + display: none; +} + +.zwiico-minus, +.zwiico-plus { + cursor: pointer; +} \ No newline at end of file diff --git a/core/module/config/view/index/index.js.php b/core/module/config/view/index/index.js.php index 5e09f549..8d3d450c 100755 --- a/core/module/config/view/index/index.js.php +++ b/core/module/config/view/index/index.js.php @@ -85,3 +85,132 @@ $("select[name=configConnectTimeout]").on("change", function() { } }); +/** + * Affichage et masquage des blocs + */ +// Informations générales +$("#info .zwiico-plus").click(function() { + $("#info .blockContainer").slideDown(); + $("#info .zwiico-plus").hide(); + $("#info .zwiico-minus").show(); + /* var _this = $(this); + console.log(_this.parent());*/ +}); +$("#info .zwiico-minus").click(function() { + $("#info .blockContainer").slideUp(); + $("#info .zwiico-plus").show(); + $("#info .zwiico-minus").hide(); +}); + +// Paramètres +$("#parameter .zwiico-plus").click(function() { + $("#parameter .blockContainer").slideDown(); + $("#parameter .zwiico-plus").hide(); + $("#parameter .zwiico-minus").show(); +}); +$("#parameter .zwiico-minus").click(function() { + $("#parameter .blockContainer").slideUp(); + $("#parameter .zwiico-plus").show(); + $("#parameter .zwiico-minus").hide(); +}); + +// Sociaux +$("#social .zwiico-plus").click(function() { + $("#social .blockContainer").slideDown(); + $("#social .zwiico-plus").hide(); + $("#social .zwiico-minus").show(); +}); +$("#social .zwiico-minus").click(function() { + $("#social .blockContainer").slideUp(); + $("#social .zwiico-plus").show(); + $("#social .zwiico-minus").hide(); +}); + +// Référencement +$("#ceo .zwiico-plus").click(function() { + $("#ceo .blockContainer").slideDown(); + $("#ceo .zwiico-plus").hide(); + $("#ceo .zwiico-minus").show(); +}); +$("#ceo .zwiico-minus").click(function() { + $("#ceo .blockContainer").slideUp(); + $("#ceo .zwiico-plus").show(); + $("#ceo .zwiico-minus").hide(); +}); + +// Réseau +$("#network .zwiico-plus").click(function() { + $("#network .blockContainer").slideDown(); + $("#network .zwiico-plus").hide(); + $("#network .zwiico-minus").show(); +}); +$("#network .zwiico-minus").click(function() { + $("#network .blockContainer").slideUp(); + $("#network .zwiico-plus").show(); + $("#network .zwiico-minus").hide(); +}); + +// smtp +$("#smtp .zwiico-plus").click(function() { + $("#smtp .blockContainer").slideDown(); + $("#smtp .zwiico-plus").hide(); + $("#smtp .zwiico-minus").show(); +}); +$("#smtp .zwiico-minus").click(function() { + $("#smtp .blockContainer").slideUp(); + $("#smtp .zwiico-plus").show(); + $("#smtp .zwiico-minus").hide(); +}); + +// sécurité login +$("#login .zwiico-plus").click(function() { + $("#login .blockContainer").slideDown(); + $("#login .zwiico-plus").hide(); + $("#login .zwiico-minus").show(); +}); +$("#login .zwiico-minus").click(function() { + $("#login .blockContainer").slideUp(); + $("#login .zwiico-plus").show(); + $("#login .zwiico-minus").hide(); +}); + +// journaux +$("#log .zwiico-plus").click(function() { + $("#log .blockContainer").slideDown(); + $("#log .zwiico-plus").hide(); + $("#log .zwiico-minus").show(); +}); +$("#log .zwiico-minus").click(function() { + $("#log .blockContainer").slideUp(); + $("#log .zwiico-plus").show(); + $("#log .zwiico-minus").hide(); +}); + +// script +$("#script .zwiico-plus").click(function() { + $("#script .blockContainer").slideDown(); + $("#script .zwiico-plus").hide(); + $("#script .zwiico-minus").show(); +}); +$("#script .zwiico-minus").click(function() { + $("#script .blockContainer").slideUp(); + $("#script .zwiico-plus").show(); + $("#script .zwiico-minus").hide(); +}); + +// version +$("#version .zwiico-plus").click(function() { + $("#version .blockContainer").slideDown(); + $("#version .zwiico-plus").hide(); + $("#version .zwiico-minus").show(); +}); +$("#version .zwiico-minus").click(function() { + $("#version .blockContainer").slideUp(); + $("#version .zwiico-plus").show(); + $("#version .zwiico-minus").hide(); +}); + + + + + diff --git a/core/module/config/view/index/index.php b/core/module/config/view/index/index.php index 5e5a5be5..386f0c5c 100755 --- a/core/module/config/view/index/index.php +++ b/core/module/config/view/index/index.php @@ -28,258 +28,145 @@
-
-

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']) - ]); ?> + 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.' + ]); ?> +
-
- '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.' + ]); ?> +
- 'Description du site', - 'value' => $this->getData(['config', 'metaDescription']), - 'help' => 'Elle apparaît dans les partages sur les réseaux sociaux.' - ]); ?>
-
-

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' - ]); ?> -
-
-
-
- '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', '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.

' +
+

Paramètres

+
+ + + + +
+
+ 1, + 'help' => 'Pensez à supprimer le cache de votre navigateur si la favicon ne change pas.', + 'label' => 'Favicon', + 'value' => $this->getData(['config', 'favicon']) ]); ?> -
-
- $this->getData(['config', 'maintenance']) +
+
+ 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']) ]); ?>
-
-
-
- $this->getData(['config', 'autoUpdate']), - 'help' => 'Vérifie une fois par jour l\'existence d\'une mise à jour.', +
+ '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', '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 + ]); ?> +
+
+ 'download-cloud', + 'href' => helper::baseUrl() . 'install/update', + 'value' => 'Mise à jour manuelle', 'disabled' => !$error ]); ?> -
-
- 'download-cloud', - 'href' => helper::baseUrl() . 'install/update', - 'value' => 'Mise à jour manuelle', - 'disabled' => !$error - ]); ?> -
-
-
-
-
-
-
-
-

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éférencement

-
-
- helper::baseUrl() . 'config/configMetaImage', - 'value' => 'Capture Open Graph', - 'ico' => 'pencil' - ]); ?> -
-
- helper::baseUrl() . 'config/generateFiles', - 'value' => 'Sitemap.xml / Robots.txt', - 'ico' => 'pencil' - ]); ?> -
-
- -
-
-
-
- -
-
-
- -
-
-
-

Paramètres réseaux

-
-
- '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']) - ]); ?>
@@ -287,60 +174,214 @@
-
-

Paramètres de messagerie SMTP

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

Réseaux sociaux

+
-
- 'Adresse SMTP', - 'placeholder' => 'smtp.fr', - 'value' => $this->getData(['config', 'smtp','host']) +
+ 'Saisissez votre ID : https://www.facebook.com/[ID].', + 'label' => 'Facebook', + 'value' => $this->getData(['config', 'social', 'facebookId']) ]); ?>
-
- 'Port SMTP', - 'placeholder' => '589', - 'value' => $this->getData(['config', 'smtp','port']) +
+ 'Saisissez votre ID : https://www.instagram.com/[ID].', + 'label' => 'Instagram', + 'value' => $this->getData(['config', 'social', 'instagramId']) ]); ?>
-
- 'Authentification', - 'selected' => $this->getData(['config', 'smtp','auth']) +
+ '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']) ]); ?>
-
-
-
- 'Nom utilisateur', - 'value' => $this->getData(['config', 'smtp','username' ]) +
+
+ '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éférencement

+
+
+
+
+
+ helper::baseUrl() . 'config/configMetaImage', + 'value' => 'Capture Open Graph', + 'ico' => 'pencil' + ]); ?> +
-
- 'Mot de passe', - 'autocomplete' => 'off', - 'value' => $this->getData(['config', 'smtp','username' ]) ? helper::decrypt ($this->getData(['config', 'smtp','username' ]),$this->getData(['config','smtp','password'])) : '' +
+
+ helper::baseUrl() . 'config/generateFiles', + 'value' => 'Sitemap.xml / Robots.txt', + 'ico' => 'pencil' + ]); ?> +
+
+
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+
+

Paramètres réseaux

+
+
+
+ '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']) + ]); ?> +
+
+
+
+
+
+
+
+
+

Paramètres de messagerie 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']) + ]); ?> +
+
@@ -349,41 +390,46 @@
-
-

Sécurité de la connexion

-
-
- '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 liste noire', - 'ico' => 'download' - ]); ?> -
-
- 'buttonRed', - 'href' => helper::baseUrl() . 'config/blacklistReset', - 'value' => 'Réinitialiser liste', - 'ico' => 'cancel' - ]); ?> +
+

Sécurité de la connexion

+
+
+
+ '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 liste noire', + 'ico' => 'download' + ]); ?> +
+
+ 'buttonRed', + 'href' => helper::baseUrl() . 'config/blacklistReset', + 'value' => 'Réinitialiser liste', + 'ico' => 'cancel' + ]); ?> +
@@ -391,28 +437,33 @@
-
-

Journalisation

-
-
- $this->getData(['config', 'connect', 'log']) - ]); ?> -
-
- helper::baseUrl() . 'config/logDownload', - 'value' => 'Télécharger journal', - 'ico' => 'download' - ]); ?> -
-
- 'buttonRed', - 'href' => helper::baseUrl() . 'config/logReset', - 'value' => 'Réinitialiser journal', - 'ico' => 'cancel' - ]); ?> +
+

Journalisation

+
+
+
+ $this->getData(['config', 'connect', 'log']) + ]); ?> +
+
+ helper::baseUrl() . 'config/logDownload', + 'value' => 'Télécharger journal', + 'ico' => 'download' + ]); ?> +
+
+ 'buttonRed', + 'href' => helper::baseUrl() . 'config/logReset', + 'value' => 'Réinitialiser journal', + 'ico' => 'cancel' + ]); ?> +
@@ -420,30 +471,35 @@
-
-

Options de script

-
-
- 'Saisissez l\'ID de suivi.', - 'label' => 'Google Analytics', - 'placeholder' => 'UA-XXXXXXXX-X', - 'value' => $this->getData(['config', 'analyticsId']) +
+

Options de script

+
+
+
+ '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' ]); ?> -
-
- helper::baseUrl() . 'config/script/head', - 'value' => 'Script dans head', - 'ico' => 'pencil' - ]); ?> -
-
- helper::baseUrl() . 'config/script/body', - 'value' => 'Script dans body', - 'ico' => 'pencil' - ]); ?> +
@@ -451,50 +507,55 @@
-
-

Versions système

-
-
- 'ZwiiCMS', - 'readonly' => true, - 'value' => common::ZWII_VERSION - ]); ?> -
-
- 'Blog', +
+

Versions système

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