Compare commits
9 Commits
Author | SHA1 | Date |
---|---|---|
Fred Tempez | 9bfa8280fd | |
Fred Tempez | 55b4e7335d | |
Fred Tempez | f7c2aab390 | |
Fred Tempez | cdab4659a6 | |
Fred Tempez | fc69015448 | |
Fred Tempez | 9e656294a6 | |
Fred Tempez | 8e91faf2d2 | |
Fred Tempez | 36c8619b63 | |
Fred Tempez | d77afce37b |
|
@ -1,6 +1,11 @@
|
|||
# Changelog
|
||||
|
||||
## Version 13.2.00
|
||||
## Version 13.2.02
|
||||
|
||||
Corrige un warning quand un module blog ou news ne contient pas d'article.
|
||||
|
||||
|
||||
## Version 13.2.01
|
||||
|
||||
### Correction
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# ZwiiCMS 13.2.00
|
||||
# ZwiiCMS 13.2.02
|
||||
|
||||
Zwii est un CMS sans base de données (flat-file) qui permet de créer et gérer facilement un site web sans aucune connaissance en programmation.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# ZwiiCMS 13.2.00
|
||||
# ZwiiCMS 13.2.02
|
||||
|
||||
Zwii is a database-less (flat-file) CMS that allows you to easily create and manage a web site without any programming knowledge.
|
||||
|
||||
|
|
|
@ -151,7 +151,7 @@ class layout extends common
|
|||
}
|
||||
echo '</div>';
|
||||
}
|
||||
echo '</main></section>';
|
||||
echo '</section></main>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -51,7 +51,7 @@ class common
|
|||
const ACCESS_TIMER = 1800;
|
||||
|
||||
// Numéro de version
|
||||
const ZWII_VERSION = '13.2.00';
|
||||
const ZWII_VERSION = '13.2.02';
|
||||
|
||||
// URL autoupdate
|
||||
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/cms-update/raw/branch/master/';
|
||||
|
@ -878,7 +878,7 @@ class common
|
|||
|
||||
// Enregistrement : 3 tentatives
|
||||
for ($i = 0; $i < 3; $i++) {
|
||||
if ($this->secure_file_put_contents('core/vendor/tinymce/link_list.json',$parents) !== false) {
|
||||
if (file_put_contents('core/vendor/tinymce/link_list.json', json_encode($parents, JSON_UNESCAPED_UNICODE), LOCK_EX) !== false) {
|
||||
break;
|
||||
}
|
||||
// Pause de 10 millisecondes
|
||||
|
@ -1119,8 +1119,9 @@ class common
|
|||
}
|
||||
// Articles du blog
|
||||
if (
|
||||
$this->getData(['page', $parentPageId, 'moduleId']) === 'blog' &&
|
||||
!empty($this->getData(['module', $parentPageId]))
|
||||
$this->getData(['page', $parentPageId, 'moduleId']) === 'blog'
|
||||
&& !empty($this->getData(['module', $parentPageId]))
|
||||
&& $this->getData(['module', $parentPageId, 'posts'])
|
||||
) {
|
||||
foreach ($this->getData(['module', $parentPageId, 'posts']) as $articleId => $article) {
|
||||
if ($this->getData(['module', $parentPageId, 'posts', $articleId, 'state']) === true) {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
'value' => template::ico('left')
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col2 offset8">
|
||||
<div class="col2 offset9">
|
||||
<?php echo template::submit('configManageSubmit', [
|
||||
'value' => 'Valider',
|
||||
'ico' => 'check'
|
||||
|
|
Loading…
Reference in New Issue