Compare commits

...

9 Commits

Author SHA1 Message Date
Fred Tempez 9bfa8280fd 13.2.02 warning blog vide 2024-04-22 15:35:33 +02:00
Fred Tempez 55b4e7335d old layout 2024-04-22 14:20:05 +02:00
Fred Tempez f7c2aab390 Revert "13.2.01 section par main"
This reverts commit fc69015448.
2024-04-22 14:17:21 +02:00
Fred Tempez cdab4659a6 Revert "13.2.01 supprime la balise section"
This reverts commit 9e656294a6.
2024-04-22 14:17:11 +02:00
Fred Tempez fc69015448 13.2.01 section par main 2024-04-22 10:56:51 +02:00
Fred Tempez 9e656294a6 13.2.01 supprime la balise section 2024-04-21 15:55:11 +02:00
Fred Tempez 8e91faf2d2 13.2.01 2024-04-18 07:56:11 +02:00
Fred Tempez 36c8619b63 alignement de boutons 2024-04-17 16:42:01 +02:00
Fred Tempez d77afce37b Bug génération des pages TinyMCE 2024-04-17 16:27:22 +02:00
6 changed files with 15 additions and 9 deletions

View File

@ -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

View File

@ -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.

View File

@ -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.

View File

@ -151,7 +151,7 @@ class layout extends common
}
echo '</div>';
}
echo '</main></section>';
echo '</section></main>';
}
/**

View File

@ -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) {

View File

@ -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'