masquage des commentaires dans le layout
This commit is contained in:
parent
d6cd62e830
commit
ed6e601207
|
@ -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,
|
||||
|
|
|
@ -35,68 +35,68 @@ else { echo '<html lang="'.$lang.'">'; }
|
|||
if (file_exists(self::DATA_DIR .'head.inc.html')) include(self::DATA_DIR .'head.inc.html'); ?>
|
||||
</head>
|
||||
<body>
|
||||
<!-- Barre d'administration -->
|
||||
<?php if($this->getUser('group') > self::GROUP_MEMBER) $this->showBar(); ?>
|
||||
<?php //Barre d'administration
|
||||
if($this->getUser('group') > self::GROUP_MEMBER) $this->showBar();
|
||||
|
||||
<!-- Notifications -->
|
||||
<?php $this->showNotification();
|
||||
// Notifications
|
||||
$this->showNotification();
|
||||
|
||||
// div screenshot
|
||||
if( isset($_SESSION['screenshot'] ) && $_SESSION['screenshot'] === 'on' ) { ?> <div id="main_screenshot"> <?php } ?>
|
||||
if( isset($_SESSION['screenshot'] ) && $_SESSION['screenshot'] === 'on' ) { ?> <div id="main_screenshot"> <?php }
|
||||
|
||||
<!-- Menu en dehors du site -->
|
||||
<?php if ( $this->getData(['theme', 'menu', 'position']) === 'top') $this->showMenu( 'top'); ?>
|
||||
// Menu en dehors du site
|
||||
if ( $this->getData(['theme', 'menu', 'position']) === 'top') $this->showMenu( 'top');
|
||||
|
||||
<!-- Menu avant la bannière, bannière au dessus du site -->
|
||||
<?php if($this->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');
|
||||
|
||||
<!-- Bannière au dessus du site -->
|
||||
<?php if($this->getData(['theme', 'header', 'position']) === 'body') $this->showHeader('body'); ?>
|
||||
//Bannière au dessus du site
|
||||
if($this->getData(['theme', 'header', 'position']) === 'body') $this->showHeader('body');
|
||||
|
||||
<!-- Menu après la bannière, bannière au dessus du site -->
|
||||
<?php if($this->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 -->
|
||||
// Site ?>
|
||||
<div id="site" class="container">
|
||||
|
||||
<!-- Menu dans le site avant la bannière -->
|
||||
<?php if($this->getData(['theme', 'menu', 'position']) === 'site-first') $this->showMenu( 'site-first'); ?>
|
||||
<?php // Menu dans le site avant la bannière
|
||||
if($this->getData(['theme', 'menu', 'position']) === 'site-first') $this->showMenu( 'site-first');
|
||||
|
||||
<!-- Bannière dans le site -->
|
||||
<?php if( $this->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' );
|
||||
|
||||
<!-- Menu après la bannière, bannière dans le site -->
|
||||
<?php if( $this->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');
|
||||
|
||||
<!-- Menu dans le site, bannière au dessus du site -->
|
||||
<?php if( $this->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');
|
||||
|
||||
<!-- Menu caché -->
|
||||
<?php if( $this->getData(['theme', 'menu', 'position']) === 'hide') $this->showMenu( 'hide'); ?>
|
||||
// Menu caché
|
||||
if( $this->getData(['theme', 'menu', 'position']) === 'hide') $this->showMenu( 'hide');
|
||||
|
||||
<!-- Corps de page -->
|
||||
<?php $this->showSection();?>
|
||||
// Corps de page
|
||||
$this->showSection();
|
||||
|
||||
<!-- footer -->
|
||||
<?php $this->showFooter();?>
|
||||
// footer
|
||||
$this->showFooter();
|
||||
|
||||
<!-- Fin du site -->
|
||||
<?php echo $this->getData(['theme', 'footer', 'position']) === 'site'? '</div>' : '';
|
||||
// Fin du site
|
||||
echo $this->getData(['theme', 'footer', 'position']) === 'site'? '</div>' : '';
|
||||
|
||||
// fin de la div main_screenshot et bouton screenshot
|
||||
if( isset($_SESSION['screenshot'] ) && $_SESSION['screenshot'] === 'on' ){ ?> </div><div><button id="screenshot" class="buttonScreenshot" type="button" >
|
||||
<img src="<?php echo helper::baseUrl(false); ?>core/vendor/screenshot/appareil_photo.png" width="100px"/></button></div> <?php } ?>
|
||||
<img src="<?php echo helper::baseUrl(false); ?>core/vendor/screenshot/appareil_photo.png" width="100px"/></button></div> <?php }
|
||||
|
||||
<!-- Lien remonter en haut -->
|
||||
// Lien remonter en haut ?>
|
||||
<div id="backToTop"><?php echo template::ico('up'); ?></div>
|
||||
|
||||
<!-- Affichage du consentement aux cookies-->
|
||||
<?php $this->showCookies(); ?>
|
||||
<?php // Affichage du consentement aux cookies
|
||||
$this->showCookies();
|
||||
|
||||
<!-- Les scripts -->
|
||||
<?php $this->showVendor('jsbody');
|
||||
// Les scripts
|
||||
$this->showVendor('jsbody');
|
||||
$this->showScript();?>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue