From 41eec413c57e5a2382c11eb6ebfc893a9eb73270 Mon Sep 17 00:00:00 2001
From: "real3t@gmail.com" <>
Date: Mon, 25 Sep 2017 22:59:54 +0000
Subject: [PATCH] =?UTF-8?q?Possibilit=C3=A9=20de=20mettre=20le=20logo=20de?=
 =?UTF-8?q?s=20articles=20et=20des=20rubriques=20dans=20l=E2=80=99ent?=
 =?UTF-8?q?=C3=AAte=20de=20la=20page,=20en-dessous=20du=20menu=20haut?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 formulaires/configurer_soyezcreateurs_layout.html | 2 ++
 lang/soyezcreateursprive_fr.php                   | 1 +
 noisettes/header/header.html                      | 7 ++++++-
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/formulaires/configurer_soyezcreateurs_layout.html b/formulaires/configurer_soyezcreateurs_layout.html
index 0c9f20e6..ff7fce18 100755
--- a/formulaires/configurer_soyezcreateurs_layout.html
+++ b/formulaires/configurer_soyezcreateurs_layout.html
@@ -328,6 +328,7 @@
 					[(#SAISIE{radio,logorubriquenavigation,
 						label=<:soyezcreateursprive:cfg_logorubriquenavigation_label:>,
 						datas=#ARRAY{
+							header,<:soyezcreateursprive:cfg_logonavigation_header:>,
 							navigation,<:soyezcreateursprive:cfg_logonavigation_navigation:>,
 							contenthauttitre,<:soyezcreateursprive:cfg_logonavigation_hauttitre:>,
 							content,<:soyezcreateursprive:cfg_logonavigation_content:>,
@@ -339,6 +340,7 @@
 					[(#SAISIE{radio,logoarticlenavigation,
 						label=<:soyezcreateursprive:cfg_logoarticlenavigation_label:>,
 						datas=#ARRAY{
+							header,<:soyezcreateursprive:cfg_logonavigation_header:>,
 							navigation,<:soyezcreateursprive:cfg_logonavigation_navigation:>,
 							contenthauttitre,<:soyezcreateursprive:cfg_logonavigation_hauttitre:>,
 							content,<:soyezcreateursprive:cfg_logonavigation_content:>,
diff --git a/lang/soyezcreateursprive_fr.php b/lang/soyezcreateursprive_fr.php
index c9793ec3..f7ba3f1e 100644
--- a/lang/soyezcreateursprive_fr.php
+++ b/lang/soyezcreateursprive_fr.php
@@ -158,6 +158,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
 	'cfg_logonavigation_bastitre' => 'Dans le corps de la page, après le titre',
 	'cfg_logonavigation_content' => 'Dans le corps de la page, dans le titre',
 	'cfg_logonavigation_hauttitre' => 'Dans le corps de la page, avant le titre',
+	'cfg_logonavigation_header' => 'Dans l’entête de la page, en-dessous du menu haut',
 	'cfg_logonavigation_navigation' => 'En haut de la colonne de navigation principale',
 	'cfg_logonavigation_never' => 'Ni l’un, ni l’autre',
 	'cfg_logorubriquenavigation_label' => 'Position logo rubrique',
diff --git a/noisettes/header/header.html b/noisettes/header/header.html
index ff9be316..66ae200d 100644
--- a/noisettes/header/header.html
+++ b/noisettes/header/header.html
@@ -138,7 +138,12 @@
 			#SET{noisetteheader,header_mode#CONFIG{soyezcreateurs/mode_affichage,communiquant}}
 	]
 ]
-<header><INCLURE{fond=noisettes/header/#GET{noisetteheader},secteurencours,env}></header>
+<header>
+	<INCLURE{fond=noisettes/header/#GET{noisetteheader},secteurencours,env}>
+	[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content}|=={header}|oui)[(#CONFIG{soyezcreateurs_layout/cadragelogocontenuprincipal,entier}|=={recadre}|oui)[(#SET{logo_article,[(#LOGO_ARTICLE_NORMAL|image_focus{#CONFIG{soyezcreateurs_layout/largeurlogocontenuprincipal,#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,1920}},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuprincipal,#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,590}}})]})]][(#CONFIG{soyezcreateurs_layout/cadragelogocontenuprincipal,entier}|=={entier}|oui)[(#SET{logo_article,[(#LOGO_ARTICLE_NORMAL|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogocontenuprincipal,#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,1920}},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuprincipal,#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,590}}})]})]][<img src="(#GET{logo_article}|extraire_attribut{src})" class="logo_article" alt="" width="[(#GET{logo_article}|largeur)]" height="[(#GET{logo_article}|hauteur)]" />#SET{logovu,1}]
+][(#GET{logovu}|non)[(#CONFIG{soyezcreateurs_layout/logorubriquenavigation,content}|=={header}|oui)[(#CONFIG{soyezcreateurs_layout/cadragelogocontenuprincipal,entier}|=={recadre}|oui)[(#SET{logo_rubrique,[(#LOGO_RUBRIQUE_NORMAL|image_focus{#CONFIG{soyezcreateurs_layout/largeurlogocontenuprincipal,#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,1920}},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuprincipal,#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,590}}})]})]][(#CONFIG{soyezcreateurs_layout/cadragelogocontenuprincipal,entier}|=={entier}|oui)[(#SET{logo_rubrique,[(#LOGO_RUBRIQUE_NORMAL|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogocontenuprincipal,#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,1920}},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuprincipal,#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,590}}})]})]][<img src="(#GET{logo_rubrique}|extraire_attribut{src})" class="logo_rubrique" alt="" width="[(#GET{logo_rubrique}|largeur)]" height="[(#GET{logo_rubrique}|hauteur)]" />]
+]]
+</header>
 <div id="contenu">
 	<div id="wrapper">
 <div id="content">
-- 
GitLab