diff --git a/core/core.php b/core/core.php index 25edd314..b5c2cb00 100644 --- a/core/core.php +++ b/core/core.php @@ -32,7 +32,7 @@ class common { const I18N_DIR = 'site/i18n/'; // Numéro de version - const ZWII_VERSION = '10.0.108.dev'; + const ZWII_VERSION = '10.0.109.dev'; public static $actions = []; public static $coreModuleIds = [ @@ -2202,7 +2202,13 @@ class layout extends common { OR $this->getData(['page', $this->getUrl(0), 'hideTitle']) === false ) ) { - echo '

' . $this->core->output['title'] . '

'; + $pattern = ['user','theme','i18n','config']; + if (in_array($this->getUrl(0),$pattern)) { + echo '

' . $this->core->output['title'] . '

'; + } else { + echo '

' . $this->core->output['title'] . '

'; + } + } echo '
' . $this->core->output['content'] . '
'; if ($this->getData(['config','i18n',$this->geti18n(),'autoTranslate']) === true) { @@ -2219,14 +2225,14 @@ class layout extends common { // Détermine si le menu est présent if ($this->getData(['page',$this->getData(['page',$this->getUrl(0),'barLeft']),'displayMenu']) === 'none') { // Pas de menu - echo $this->core->output['contentLeft']; + echo '
' . $this->core->output['contentLeft'] . '
'; } else { // $mark contient 0 le menu est positionné à la fin du contenu $contentLeft = str_replace ('[]','[MENU]',$this->core->output['contentLeft']); $contentLeft = str_replace ('[menu]','[MENU]',$contentLeft); $mark = strrpos($contentLeft,'[MENU]') !== false ? strrpos($contentLeft,'[MENU]') : strlen($contentLeft); echo substr($contentLeft,0,$mark); - echo '