';
- $item .= '
';
- $item .= template::ico('cancel');
- $item .= '
';
- $item .= '
'. $this->getData(['config', 'cookies', 'cookiesTitleText']) . '
';
- $item .= '
' . $this->getData(['config', 'cookies', 'cookiesZwiiText']) . '
';
- $item .= '
' . $this->getData(['config', 'cookies', 'cookiesLinkMlText']) . '
';
- if( $analytics !== null AND $analytics !=='' ){
- $item .= '
' . $this->getData(['config', 'cookies', 'cookiesGaText']) . '
';
- }
- $item .= '
';
- echo $item;
- }
+ $analytics = $this->getData(['config', 'seo', 'analyticsId']);
+ $legalPage = $this->getData(['locale','legalPageId']) ==='none'? 'mentions-legales' : $this->getData(['locale','legalPageId']);
+ $item = '';
+ $item .= '
';
+ $item .= template::ico('cancel');
+ $item .= '
';
+ $item .= '
'. $this->getData(['config', 'cookies', 'cookiesTitleText']) . '
';
+ $item .= '
' . $this->getData(['config', 'cookies', 'cookiesZwiiText']) . '
';
+ $item .= '
' . $this->getData(['config', 'cookies', 'cookiesLinkMlText']) . '
';
+ if( $analytics !== null AND $analytics !=='' ){
+ $item .= '
' . $this->getData(['config', 'cookies', 'cookiesGaText']) . '
';
+ }
+ $item .= '
';
+ echo $item;
+ }
- }
+ }
/**
* Formate le contenu de la page selon les gabarits
@@ -2276,16 +2276,15 @@ class core extends common {
$css .= 'header{margin:20px 20px 0 20px}';
}
}
- // Couleur du fonc
- $colors = helper::colorVariants($this->getData(['theme', 'header', 'backgroundColor']));
- $css .= 'header{background-color:' . $colors['normal'].'}';
-
if ($this->getData(['theme','header','feature']) === 'wallpaper' ) {
+ $colors = helper::colorVariants($this->getData(['theme', 'header', 'backgroundColor']));
+ $css .= 'header{background-size:' . $this->getData(['theme','header','imageContainer']).'}';
+ $css .= 'header{background-color:' . $colors['normal'];
- $css .= 'header{background-size:' . $this->getData(['theme','header','imageContainer']).';}';
-
// Valeur de hauteur traditionnelle
- $css .= 'header{height:' . $this->getData(['theme', 'header', 'height']) . ';line-height:' . $this->getData(['theme', 'header', 'height']) . ';text-align:' . $this->getData(['theme', 'header', 'textAlign']) . '}';
+ $css .= ';height:' . $this->getData(['theme', 'header', 'height']) . ';line-height:' . $this->getData(['theme', 'header', 'height']) ;
+
+ $css .= ';text-align:' . $this->getData(['theme', 'header', 'textAlign']) . '}';
if($themeHeaderImage = $this->getData(['theme', 'header', 'image'])) {
$css .= 'header{background-image:url("../file/source/' . $themeHeaderImage . '");background-position:' . $this->getData(['theme', 'header', 'imagePosition']) . ';background-repeat:' . $this->getData(['theme', 'header', 'imageRepeat']) . '}';
}