1.9.01 supprime la balise section

This commit is contained in:
Fred Tempez 2024-04-21 15:54:15 +02:00
parent 6e53ca8766
commit 04a6d86999
2 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ class layout extends common
*/ */
public function showMain() public function showMain()
{ {
echo '<main><section>'; echo '<main>';
// Récupérer la config de la page courante // Récupérer la config de la page courante
$blocks = is_null($this->getData(['page', $this->getUrl(0), 'block'])) ? '12' : $this->getData(['page', $this->getUrl(0), 'block']); $blocks = is_null($this->getData(['page', $this->getUrl(0), 'block'])) ? '12' : $this->getData(['page', $this->getUrl(0), 'block']);
$blocks = explode('-', $blocks); $blocks = explode('-', $blocks);
@ -151,7 +151,7 @@ class layout extends common
} }
echo '</div>'; echo '</div>';
} }
echo '</main></section>'; echo '</main>';
} }
/** /**

View File

@ -51,7 +51,7 @@ class common
const ACCESS_TIMER = 1800; const ACCESS_TIMER = 1800;
// Numéro de version // Numéro de version
const ZWII_VERSION = '1.9.00'; const ZWII_VERSION = '1.9.01';
// URL autoupdate // URL autoupdate
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/'; const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/';