diff --git a/noisettes/header/header.html b/noisettes/header/header.html index 9ad75adb75e9aed9e89d552b5b3dd93cc1cd11cb..f2d950b9f6bca8444e68967e73f2724532723391 100644 --- a/noisettes/header/header.html +++ b/noisettes/header/header.html @@ -126,6 +126,12 @@ CancelMonitorTextSize = false; <body[ id="(#ENV{idbody})"] class="[bodysecteur(#ENV{id_secteur}) ][bodyrubrique(#ENV{rubriqueencours}) ][bodyarticle(#ENV{id_article}) bodyarticle]"> <div id="container"> <div id="shadow"> +[(#PLUGIN{campagnes}|oui) + <div id="banheader"> + <span class="honest left"><:campagne:titre_campagne:></span> + <INCLURE{fond=inclure/encart, identifiant=banheader}> + </div> +] #SET{noisetteheader,header_modeedito} [(#ENV{template}|=={'Sommaire'}|oui) [(#CHEMIN{noisettes/header/header_mode#CONFIG{soyezcreateurs/mode_affichage,communiquant}.html}|oui) diff --git a/noisettes/sommaire/sommaire_modecommuniquant.html b/noisettes/sommaire/sommaire_modecommuniquant.html index f14342c2bc8a6067af030d248fdf86a6d9c69c48..92224e7ddd3dbb668744b152ac18ee77c60a3d46 100644 --- a/noisettes/sommaire/sommaire_modecommuniquant.html +++ b/noisettes/sommaire/sommaire_modecommuniquant.html @@ -97,6 +97,12 @@ </div><!-- communiquant_content_central --> <div id="communiquant_content_extra"> +[(#PLUGIN{campagnes}|oui) + <div id="bangoodiesavant"> + <span class="honest"><:campagne:titre_campagne:></span> + <INCLURE{fond=inclure/encart, identifiant=bangoodiesavant}> + </div> +] [(#CONFIG{soyezcreateurs/positiongoodies,extra}|=={extra}|oui)[(#INCLURE{fond=noisettes/sommaire/goodies})]] [(#CONFIG{soyezcreateurs/positionvideo,extra}|=={extra}|oui)[(#INCLURE{fond=noisettes/sommaire/video_alaune,largeurmax=[(#GET{Largeurcontent_extra}|moins{20})]})]] @@ -110,6 +116,13 @@ [(#REM) Sur le Web ] [(#CONFIG{soyezcreateurs/positionnouveautes,extra}|=={extra}|oui)[(#CONFIG{soyezcreateurs/nouveautes_web,oui}|=={oui}|oui)#INCLURE{fond=noisettes/sommaire/nouveautes}]] +[(#PLUGIN{campagnes}|oui) + <div id="banlocalisationavant"> + <span class="honest"><:campagne:titre_campagne:></span> + <INCLURE{fond=inclure/encart, identifiant=banlocalisationavant}> + </div> +] + [(#CONFIG{soyezcreateurs/positionrecherche,header}|=={navigation}|oui)[(#INCLURE{fond=noisettes/header/cadre_recherche}{env}{id_recherche=cadre_recherche})]] #INCLURE{fond=noisettes/extra/ousommesnous} [(#CONFIG{soyezcreateurs/positionfluxrss,bottom}|=={bottom}|oui)<div class="centrer_div rss_bottom"> diff --git a/paquet.xml b/paquet.xml index d52e0a4a2dbd5f900d9bc3609c4b97e11ac5d587..12373d9bb655ecc3777b6f6e668ec82c09c688ed 100644 --- a/paquet.xml +++ b/paquet.xml @@ -48,6 +48,7 @@ <utilise nom="AccesRestreint" compatibilite="[3.13.1;[" /> <utilise nom="article_pdf" compatibilite="[0.4.6;[" /> <utilise nom="Autorite" compatibilite="[0.10.8;[" /> + <utilise nom="campagnes" compatibilite="[1.2.4;[" /> <utilise nom="clevermail" compatibilite="[3.0.11;[" /> <!--<utilise nom="comments" compatibilite="[3.3.2;[" />--> <utilise nom="centre_image" compatibilite="[0.8.2;[" /> diff --git a/stylessoyezcreateurs.css.html b/stylessoyezcreateurs.css.html index 61deef887bdc38c8b100c70e35e58ce23bba2672..f7afda646e4b2f8a04eba4a018adc3cf4def3cbf 100644 --- a/stylessoyezcreateurs.css.html +++ b/stylessoyezcreateurs.css.html @@ -390,6 +390,24 @@ a:active { color: #GET{c_active}; } #clearbottom { height: 0; } /*************** STRUCTURE - HEADER */ +#banheader { padding: 0; text-align: center; background-color: #GET{c_header_bk};[(#CONFIG{soyezcreateurs_couleurs/transparenceheader,1}|!={1}|oui)background-color: rgba([(#GET{c_header_bk}|sc_rgb)], #CONFIG{soyezcreateurs_couleurs/transparenceheader,1});] color: #GET{c_header}; } +#banheader a { display: inline-block!important; } +.honest { + background-color: #efc439; + border-radius: 6px 6px 0 0; + color: #fff; + display: block; + font-size: 1em; + padding: 2px 6px; + width: 8em; +} +.honest.left { + border-radius: 0 0 6px 6px; + display: inline-block; + transform: rotate(90deg); + transform-origin: 0 0; + position: absolute; +} #header { position: relative; background-color: #GET{c_header_bk};[(#CONFIG{soyezcreateurs_couleurs/transparenceheader,1}|!={1}|oui)background-color: rgba([(#GET{c_header_bk}|sc_rgb)], #CONFIG{soyezcreateurs_couleurs/transparenceheader,1});] color: #GET{c_header}; font-size: #CONFIG{soyezcreateurs_couleurs/fontsizeheader,1.2}em; <BOUCLE_HeaderBanner(MOTS){type=_HeaderBanner}{0,1}> </BOUCLE_HeaderBanner>