diff --git a/CHANGES.md b/CHANGES.md index e84f94f..c414e32 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,11 @@ # Changelog +## Version 4.4.07 de Deltacms +- Modifications : + - Thème / Gestion : possibilité de saisir un nom lors de la sauvegarde ou de l'export d'un thème, +- Corrections : + - + ## Version 4.4.06 de Deltacms - Modifications : - Thème / Footer : nouvelle option 'Qui est en ligne ?', affiche le nombre de visiteurs ou d'utilisateurs connectés, diff --git a/core/layout/main.php b/core/layout/main.php index 5291b9a..e4266f3 100644 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -35,68 +35,68 @@ else { echo ''; } if (file_exists(self::DATA_DIR .'head.inc.html')) include(self::DATA_DIR .'head.inc.html'); ?> - - getUser('group') > self::GROUP_MEMBER) $this->showBar(); ?> + getUser('group') > self::GROUP_MEMBER) $this->showBar(); - - showNotification(); + // Notifications + $this->showNotification(); // div screenshot - if( isset($_SESSION['screenshot'] ) && $_SESSION['screenshot'] === 'on' ) { ?>
+ if( isset($_SESSION['screenshot'] ) && $_SESSION['screenshot'] === 'on' ) { ?>
- getData(['theme', 'menu', 'position']) === 'top') $this->showMenu( 'top'); ?> + // Menu en dehors du site + if ( $this->getData(['theme', 'menu', 'position']) === 'top') $this->showMenu( 'top'); - - getData(['theme', 'menu', 'position']) === 'body-first') $this->showMenu( 'body-first'); ?> + //Menu avant la bannière, bannière au dessus du site + if($this->getData(['theme', 'menu', 'position']) === 'body-first') $this->showMenu( 'body-first'); - - getData(['theme', 'header', 'position']) === 'body') $this->showHeader('body'); ?> + //Bannière au dessus du site + if($this->getData(['theme', 'header', 'position']) === 'body') $this->showHeader('body'); - - getData(['theme', 'menu', 'position']) === 'body-second') $this->showMenu( 'body-second'); ?> + // Menu après la bannière, bannière au dessus du site + if($this->getData(['theme', 'menu', 'position']) === 'body-second') $this->showMenu( 'body-second'); - + // Site ?>
- - getData(['theme', 'menu', 'position']) === 'site-first') $this->showMenu( 'site-first'); ?> + getData(['theme', 'menu', 'position']) === 'site-first') $this->showMenu( 'site-first'); - - getData(['theme', 'header', 'position']) === 'site' + // Bannière dans le site + if( $this->getData(['theme', 'header', 'position']) === 'site' OR ( $this->getData(['theme', 'header', 'position']) === 'hide' AND $this->getUrl(0) === 'theme' ) ) - $this->showHeader( 'site' ); ?> + $this->showHeader( 'site' ); - - getData(['theme', 'menu', 'position']) === 'site-second' ) $this->showMenu( 'site-second'); ?> + // Menu après la bannière, bannière dans le site + if( $this->getData(['theme', 'menu', 'position']) === 'site-second' ) $this->showMenu( 'site-second'); - - getData(['theme', 'menu', 'position']) === 'site' ) $this->showMenu( 'site'); ?> + // Menu dans le site, bannière au dessus du site + if( $this->getData(['theme', 'menu', 'position']) === 'site' ) $this->showMenu( 'site'); - - getData(['theme', 'menu', 'position']) === 'hide') $this->showMenu( 'hide'); ?> + // Menu caché + if( $this->getData(['theme', 'menu', 'position']) === 'hide') $this->showMenu( 'hide'); - - showSection();?> + // Corps de page + $this->showSection(); - - showFooter();?> + // footer + $this->showFooter(); - - getData(['theme', 'footer', 'position']) === 'site'? '
' : ''; + // Fin du site + echo $this->getData(['theme', 'footer', 'position']) === 'site'? '
' : ''; // fin de la div main_screenshot et bouton screenshot if( isset($_SESSION['screenshot'] ) && $_SESSION['screenshot'] === 'on' ){ ?>
+ + // Lien remonter en haut ?>
- - showCookies(); ?> + showCookies(); - - showVendor('jsbody'); + // Les scripts + $this->showVendor('jsbody'); $this->showScript();?>