diff --git a/module/agenda/agenda.php b/module/agenda/agenda.php index baf0052..84bc8cf 100644 --- a/module/agenda/agenda.php +++ b/module/agenda/agenda.php @@ -116,9 +116,9 @@ class agenda extends common { copy( './module/agenda/ressource/file/source/agenda/adresses/.htaccess', './site/file/source/agenda/adresses/.htaccess'); $this->setData(['module', $this->getUrl(0), 'config', 'versionData','5.2']); } - // Mise à jour vers la version 5.4 - if (version_compare($this->getData(['module', $this->getUrl(0), 'config', 'versionData']), '5.4', '<') ) { - $this->setData(['module', $this->getUrl(0), 'config', 'versionData','5.4']); + // Mise à jour vers la version 5.5 + if (version_compare($this->getData(['module', $this->getUrl(0), 'config', 'versionData']), '5.5', '<') ) { + $this->setData(['module', $this->getUrl(0), 'config', 'versionData','5.5']); } } diff --git a/module/blog/blog.php b/module/blog/blog.php index 8e3a1ee..fdedbff 100644 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -123,6 +123,10 @@ class blog extends common { $this->setData(['module', $this->getUrl(0), 'texts', 'ReadMore', 'Lire la suite']); $this->setData(['module', $this->getUrl(0), 'config', 'versionData','6.3']); } + // Version 6.5 + if (version_compare($this->getData(['module', $this->getUrl(0), 'config', 'versionData']), '6.5', '<') ) { + $this->setData(['module', $this->getUrl(0), 'config', 'versionData','6.5']); + } } diff --git a/module/blog/view/config/config.php b/module/blog/view/config/config.php index a115041..e268c6a 100644 --- a/module/blog/view/config/config.php +++ b/module/blog/view/config/config.php @@ -14,11 +14,11 @@ echo template::formOpen('blogConfig'); ?> ]); ?>
- getUser('group') >= self::GROUP_MODERATOR) { echo template::button('blogConfigTexts', [ 'href' => helper::baseUrl() . $this->getUrl(0) . '/texts', 'ico' => '', 'value' => $text['blog_view']['config'][13] - ]); ?> + ]); } ?>
]); ?>
-
+
getUser('group') < self::GROUP_MODERATOR) { echo 'style="display: none;"'; } ?> >