From d3a7e9fd04067726dd333a8b54e7c70895fbb799 Mon Sep 17 00:00:00 2001 From: Deltacms Date: Sun, 4 Dec 2022 08:19:08 +0100 Subject: [PATCH] tous les h4 remplaces par blockTitle --- core/core.php | 33 ++++++------ core/layout/common.css | 5 +- core/module/addon/view/import/import.php | 4 +- core/module/addon/view/upload/upload.php | 2 +- core/module/config/view/backup/backup.php | 2 +- .../view/bodyheadscript/bodyheadscript.php | 4 +- core/module/config/view/connect/connect.php | 8 +-- core/module/config/view/locale/locale.php | 30 +++++------ core/module/config/view/network/network.php | 10 ++-- core/module/config/view/restore/restore.php | 2 +- core/module/config/view/setup/setup.php | 26 ++++----- core/module/config/view/social/social.php | 16 +++--- .../database_en/base/content/barre.html | 2 +- .../database_fr/base/content/barre.html | 2 +- core/module/page/view/edit/edit.php | 26 ++++----- core/module/theme/view/addFonts/addFonts.php | 6 +-- core/module/theme/view/admin/admin.php | 6 +-- core/module/theme/view/body/body.php | 4 +- .../module/theme/view/editFonts/editFonts.php | 4 +- core/module/theme/view/footer/footer.php | 22 ++++---- core/module/theme/view/header/header.php | 26 ++++----- core/module/theme/view/manage/manage.php | 8 +-- core/module/theme/view/menu/menu.php | 10 ++-- core/module/theme/view/site/site.php | 22 ++++---- core/module/translate/view/copy/copy.php | 10 ++-- core/module/translate/view/index/index.php | 20 +++---- core/module/user/view/add/add.php | 10 ++-- core/module/user/view/edit/edit.php | 8 +-- core/module/user/view/import/import.php | 4 +- module/agenda/view/categorie/categorie.php | 10 ++-- module/agenda/view/config/config.php | 44 +++++++-------- module/agenda/view/creation/creation.php | 42 +++++++-------- module/agenda/view/edition/edition.php | 38 ++++++------- module/agenda/view/vuesimple/vuesimple.php | 12 ++--- module/blog/view/add/add.php | 8 +-- module/blog/view/article/article.php | 18 +++---- module/blog/view/config/config.php | 2 +- module/blog/view/edit/edit.php | 10 ++-- module/blog/view/texts/texts.php | 10 ++-- module/form/view/config/config.php | 10 ++-- module/gallery/gallery.php | 6 +-- module/gallery/view/config/config.php | 6 +-- module/gallery/view/edit/edit.php | 2 +- module/gallery/view/theme/theme.php | 18 +++---- module/news/view/add/add.php | 8 +-- module/news/view/config/config.php | 10 ++-- module/news/view/edit/edit.php | 8 +-- module/redirection/view/config/config.php | 8 +-- module/search/view/config/config.php | 16 +++--- module/search/view/index/index.php | 4 +- module/slider/view/config/config.help_en.html | 2 +- module/slider/view/config/config.php | 38 ++++++------- module/statislite/view/advanced/advanced.php | 22 ++++---- module/statislite/view/config/config.php | 34 ++++++------ module/statislite/view/index/index.php | 54 +++++++++---------- 55 files changed, 385 insertions(+), 387 deletions(-) diff --git a/core/core.php b/core/core.php index 0a0b00b..7a4b85a 100644 --- a/core/core.php +++ b/core/core.php @@ -268,7 +268,7 @@ class common { if($this->user === []) { $this->user = $this->getData(['user', $this->getInput('DELTA_USER_ID')]); } - + /** * Discrimination humain robot pour shuntage des Captchas * Initialisation à 'bot' ou 'human' en fonction des données $_SERVER : à développer ! @@ -1085,7 +1085,7 @@ class common { $mail->Body = $layout; $mail->AltBody = strip_tags($content); if($file_name !== '') $mail->addAttachment( self::FILE_DIR.'uploads/'.$file_name); - + if($mail->send()) { return true; } @@ -1185,7 +1185,7 @@ class common { public function showCookies() { // Gestion des cookies intégrée - if ($this->getData(['config', 'cookieConsent']) === true ) + if ($this->getData(['config', 'cookieConsent']) === true ) { // Détermine si le bloc doit être affiché selon la validité du cookie // L'URL du serveur faut TRUE @@ -1612,15 +1612,15 @@ class common { // Met en forme les items du menu $itemsLeft = ''; $currentPageId = $this->getData(['page', $this->getUrl(0)]) ? $this->getUrl(0) : $this->getUrl(2); - ?> + ?> - getHierarchy() as $parentPageId => $childrenPageIds) { // Passer les entrées masquées // Propriétés de l'item $active = ($parentPageId === $currentPageId OR in_array($currentPageId, $childrenPageIds)) ? 'active ' : ''; $targetBlank = $this->getData(['page', $parentPageId, 'targetBlank']) ? ' target="_blank"' : ''; - + // Tableaux des pages parent et de toutes les pages utilisés par core.js.php pour régler la largeur minimale des onglets et la largeur des sous-menus if( $childrenPageIds !== [] ){ ?> @@ -1647,8 +1647,8 @@ class common { $heightLogo = 0; $widthLogo = 0; $fileLogo = './site/file/source/'. $this->getData(['page', $parentPageId, 'iconUrl']); - if ( ($this->getData(['page', $parentPageId, 'typeMenu']) === 'icon' - || $this->getData(['page', $parentPageId, 'typeMenu']) === 'icontitle' ) + if ( ($this->getData(['page', $parentPageId, 'typeMenu']) === 'icon' + || $this->getData(['page', $parentPageId, 'typeMenu']) === 'icontitle' ) && $this->getData(['page', $parentPageId, 'iconUrl']) != "" && file_exists( $fileLogo)) { $fontsize = $this->getData(['theme', 'text', 'fontSize']); @@ -1671,7 +1671,7 @@ class common { $widthLogo = 30; } } - + switch ($this->getData(['page', $parentPageId, 'typeMenu'])) { case '' : $itemsLeft .= $this->getData(['page', $parentPageId, 'shortTitle']); @@ -1797,7 +1797,7 @@ class common { $itemsRight .= '
  • ' . template::ico('logout') . '
  • '; } // Retourne les items du menu suivant l'alignement du contenu - + // Les drapeaux d'abord en petit écran echo '