From 1b3f54e49b6637f920132d97603edc909417ab74 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 31 May 2019 23:25:31 +0200 Subject: [PATCH] [9.1.08] validation html --- core/core.php | 90 ++++++++----------- core/layout/common.css | 4 +- core/layout/main.php | 2 +- core/module/install/ressource/defaultdata.php | 4 +- core/module/page/page.php | 2 +- module/blog/view/article/article.css | 4 +- module/blog/view/article/article.php | 3 +- module/blog/view/index/index.css | 2 +- module/blog/view/index/index.php | 2 +- 9 files changed, 48 insertions(+), 65 deletions(-) diff --git a/core/core.php b/core/core.php index 53a05f38..f44d3a38 100644 --- a/core/core.php +++ b/core/core.php @@ -2030,13 +2030,13 @@ class layout extends common { $active = ($childKey === $currentPageId) ? ' class="active"' : ''; $targetBlank = $this->getData(['page', $childKey, 'targetBlank']) ? ' target="_blank"' : ''; // Mise en page du sous-item - + $items .= '
  • '; if ( $this->getData(['page',$childKey,'disable']) === true - AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD') ) - - {$items .= '
  • ';} - else { - $items .= '
  • '; } + AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD') ) { + $items .= ''; + } else { + $items .= ''; + } switch ($this->getData(['page', $childKey, 'typeMenu'])) { case '' : @@ -2069,11 +2069,9 @@ class layout extends common { } break; } - $items .= '
  • '; - } + $items .= ''; + } $items .= ''; - - } // Lien de connexion if( @@ -2114,16 +2112,13 @@ class layout extends common { } else { $filterCurrentPageId = $currentParentPageId; } - //if ($this->getData(['page',$filterCurrentPageId,'hideTitle']) == false) { - // echo ''; - //} - } - + } else { + $items .= '