Merge branch 'master 9.2.28' into dev10

This commit is contained in:
Fred Tempez 2020-04-27 09:14:34 +02:00
commit 3c37807ee5
4 changed files with 6 additions and 5 deletions

View File

@ -36,7 +36,7 @@ class common {
const THUMBS_WIDTH = 640; const THUMBS_WIDTH = 640;
// Numéro de version // Numéro de version
const ZWII_VERSION = '10.0.071'; const ZWII_VERSION = '10.0.072';
const ZWII_UPDATE_CHANNEL = "v10"; const ZWII_UPDATE_CHANNEL = "v10";
public static $actions = []; public static $actions = [];

View File

@ -632,7 +632,8 @@ section:after {
/* Pied de page */ /* Pied de page */
body > footer { body > footer {
margin: 0 -10px; /*margin: 0 -10px;*/
margin: 0;
} }
/* /*

View File

@ -203,6 +203,7 @@
<!-- footer --> <!-- footer -->
<?php <?php
// Déterminer la position // Déterminer la position
$positionFixed = '';
if( if(
$this->getData(['theme', 'footer', 'position']) === 'site' $this->getData(['theme', 'footer', 'position']) === 'site'
// Affiche toujours le pied de page pour l'édition du thème // Affiche toujours le pied de page pour l'édition du thème
@ -210,8 +211,7 @@
$this->getData(['theme', 'footer', 'position']) === 'hide' $this->getData(['theme', 'footer', 'position']) === 'hide'
AND $this->getUrl(0) === 'theme' AND $this->getUrl(0) === 'theme'
) )
) { $position = 'site'; ) { $position = 'site';
$positionFixed = '';
} else { } else {
$position = 'body'; $position = 'body';
if ( $this->getData(['theme', 'footer', 'fixed']) === true) { if ( $this->getData(['theme', 'footer', 'fixed']) === true) {

View File

@ -316,7 +316,7 @@ class user extends common {
'value' => template::ico('cancel') 'value' => template::ico('cancel')
]) ])
]; ];
} }
} }
// Valeurs en sortie // Valeurs en sortie
$this->addOutput([ $this->addOutput([