diff --git a/CHANGES.md b/CHANGES.md index 39013f5d..2a187d48 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -15,6 +15,11 @@ - Nombre d'éléments ou d'articles par page : l'option devient propre aux modules et n'est plus gérées dans la configuration du CMS. - Module News : présentation des articles en colonnes. +## version 10.5.02 +- Corrections : + - Erreur de positionnement de marge dans le thème du site. + - Erreur de syntaxe html dans les liens des flux RSS. S'ouvrent désormais dans un nouvel onglet. + ## version 10.5.01 - Modifications : - Rechargement du fichier de style common.css et du jeu d'icônes du système après une mise à jour. diff --git a/core/core.php b/core/core.php index 4fbaf6a6..37081758 100755 --- a/core/core.php +++ b/core/core.php @@ -1612,9 +1612,13 @@ class common { } - // Version 10.4.05 - if ($this->getData(['core', 'dataVersion']) < 10405) { - $this->setData(['core', 'dataVersion', 10405]); + // Version 10.5.02 + if ($this->getData(['core', 'dataVersion']) < 10502) { + // Forcer la régénération du thème + if (file_exists(self::DATA_DIR.'theme.css')) { + unlink (self::DATA_DIR.'theme.css'); + } + $this->setData(['core', 'dataVersion', 10502]); } // Version 11.0.00 @@ -1768,7 +1772,7 @@ class core extends common { $marginBottomLarge = $margin; } $css .= $this->getData(['theme', 'site', 'width']) === '100%' - ? '@media (min-width: 769px) {#site{margin:0 auto 0 ' . $marginBottomLarge . ' !important;}}@media (max-width: 768px) {#site{margin:0 auto 0 ' . $marginBottomSmall . ' !important;}}#site.light{margin:5% auto !important;} body{margin:0 auto !important;} #bar{margin:0 auto !important;} body > header{margin:0 auto !important;} body > nav {margin: 0 auto !important;} body > footer {margin:0 auto !important;}' + ? '@media (min-width: 769px) {#site{margin:0 auto ' . $marginBottomLarge . ' 0 !important;}}@media (max-width: 768px) {#site{margin:0 auto ' . $marginBottomSmall . ' 0 !important;}}#site.light{margin:5% auto !important;} body{margin:0 auto !important;} #bar{margin:0 auto !important;} body > header{margin:0 auto !important;} body > nav {margin: 0 auto !important;} body > footer {margin:0 auto !important;}' : '@media (min-width: 769px) {#site{margin: ' . $margin . ' auto ' . $marginBottomLarge . ' auto !important;}}@media (max-width: 768px) {#site{margin: ' . $margin . ' auto ' . $marginBottomSmall . ' auto !important;}}#site.light{margin: 5% auto !important;} body{margin:0px 10px;} #bar{margin: 0 -10px;} body > header{margin: 0 -10px;} body > nav {margin: 0 -10px;} body > footer {margin: 0 -10px;} '; $css .= $this->getData(['theme', 'site', 'width']) === '750px' ? '.button, button{font-size:0.8em;}' diff --git a/module/blog/view/article/article.php b/module/blog/view/article/article.php index 62263c9a..98cafbac 100755 --- a/module/blog/view/article/article.php +++ b/module/blog/view/article/article.php @@ -53,7 +53,7 @@ getData(['module',$this->getUrl(0), 'config', 'feeds'])): ?>
- + ' . $this->getData(['module',$this->getUrl(0), 'config', 'feedsLabel']) . '

' ; diff --git a/module/blog/view/index/index.php b/module/blog/view/index/index.php index 7beeb709..319d7a54 100755 --- a/module/blog/view/index/index.php +++ b/module/blog/view/index/index.php @@ -52,7 +52,7 @@ getData(['module',$this->getUrl(0), 'config', 'feeds'])): ?>
- + ' . $this->getData(['module',$this->getUrl(0), 'config', 'feedsLabel']) . '

' ; diff --git a/module/download/view/index/index.php b/module/download/view/index/index.php index 9c3faf31..c177964e 100644 --- a/module/download/view/index/index.php +++ b/module/download/view/index/index.php @@ -54,7 +54,7 @@ getData(['module',$this->getUrl(0), 'config', 'feeds'])): ?>