diff --git a/core/layout/main.php b/core/layout/main.php index 5a1317a4..64920ab8 100644 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -1,196 +1,203 @@ - - - - - showMetaTitle(); ?> - showMetaDescription(); ?> - showMetaType(); ?> - showMetaImage(); ?> - showFavicon(); ?> - showVendor(); ?> - - - + - - getData(['page', $this->getUrl(0), 'moduleId']) === 'blog' - OR $this->getData(['page', $this->getUrl(0), 'moduleId']) === 'news' ) - AND $this->getData(['module', $this->getUrl(0), 'config', 'feeds']) === TRUE ): ?> - - - showStyle(); ?> - - - - - - getUser('group') > self::GROUP_MEMBER): ?> - showBar(); ?> - + + + + showMetaTitle(); ?> + showMetaDescription(); ?> + showMetaType(); ?> + showMetaImage(); ?> + showFavicon(); ?> + showVendor(); ?> + + + - - showNotification(); ?> + + getData(['page', $this->getUrl(0), 'moduleId']) === 'blog' + or $this->getData(['page', $this->getUrl(0), 'moduleId']) === 'news') + and $this->getData(['module', $this->getUrl(0), 'config', 'feeds']) === TRUE + ) : ?> + + + showStyle(); ?> + + '; + include(self::DATA_DIR . 'head.inc.html'); + echo ''; + } ?> + - - getData(['theme', 'menu', 'position']) === 'body-first' || $this->getData(['theme', 'menu', 'position']) === 'top' ): ?> - - getData(['theme', 'menu', 'position']) === 'top' - AND $this->getData(['theme', 'menu', 'fixed']) === true - AND $this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD') - AND $this->getUser('group') > self::GROUP_MEMBER) { - echo '