<#ftl strip_whitespace=true strip_text=true /> <#-- WARNING : be careful to white-space and lines break in FreeMarker macros. # This macro template can be used to output white-space-sensitive formats (like RSS files). # See http://dev.lutece.citelibre.fr/jira/browse/LUTECE-765 --> <#-- THEME LINKS AND LABELS VARIABLES --> <#-- Theme Code --> <#assign commonsThemeCode='citelibre' /> <#assign commonsThemeVersion='2.0.0' /> <#-- Theme Infos --> <#macro commonsName>Thème CiteLibre <#macro commonsDescription>Freemarker Commons macros for CiteLibre FO theme <#macro commonsFile>theme_citelibre_commons.html <#macro commonsPreview>themes/skin/${commonsThemeCode}/images/preview.png <#-- Path --> <#assign commonsFtlPath='${commonsThemeCode}/' /> <#assign commonsSiteJsPath='js/' /> <#assign commonsSiteCssPath='css/' /> <#-- Theme Resources Path --> <#assign commonsSiteThemePath='themes/skin/${commonsFtlPath}' /> <#-- Theme Variables --> <#-- WARNING : be careful to white-space and lines break in FreeMarker macros. # This macro template can be used to output white-space-sensitive formats (like RSS files). # See https://dev.lutece.${mainSite}/jira/browse/LUTECE-765 --> <#-- THEME LINKS AND LABELS VARIABLES --> <#-- MAIN VARS MANAGEMENT --> <#assign mainSite>CiteLibre <#assign urlMainSite>https://www.citelibre.org <#-- END MAIN VARS MANAGEMENT --> <#-- FOOTER MANAGEMENT --> <#assign logoFooter>${commonsSiteThemePath}images/footer-logo-citelibre.svg <#assign footerLinkContact><#if dskey('themecitelibre.site_property.Url.contactURL') !=''>${dskey('themecitelibre.site_property.Url.contactURL')!'${urlMainSite}/contact'} <#assign footerLinkLegal><#if dskey('themecitelibre.site_property.Url.legalURL') !=''>${dskey('themecitelibre.site_property.Url.legalURL')!'${urlMainSite}/mentionslegales'} <#assign footerLinkCgu><#if dskey('themecitelibre.site_property.Url.cguURL') !=''>${dskey('themecitelibre.site_property.Url.cguURL')!'${urlMainSite}/mentionslegales'} <#assign footerLinkDataProtection><#if dskey('themecitelibre.site_property.Url.dataURL') !=''>${dskey('themecitelibre.site_property.Url.dataURL')!'${urlMainSite}/mentionslegales'} <#assign footerLinkAccessibility>${dskey('themecitelibre.site_property.Url.accessibilityURL')!'${urlMainSite}/accessibilite'} <#assign footerLinkCookies>${dskey('themecitelibre.site_property.Url.cookieURL')!'${urlMainSite}/cookies'} <#assign footerSocialTitleFb>Facebook <#assign footerSocialLinkFb>https://www.facebook.com/citelibre <#assign footerSocialTitleTw>Twitter <#assign footerSocialLinkTw>https://twitter.com/citelibre <#assign footerSocialTitleIn>Instagram <#assign footerSocialLinkIn>https://www.instagram.com/citelibre_maville/ <#assign footerSocialTitleLi>LinkedIn <#assign footerSocialLinkLi>https://www.linkedin.com/company/citelibre/ <#assign hasSiteMap><#if !dskey('themecitelibre.site_property.menu.siteMapMenu.checkbox')?starts_with('DS') && dskey('themecitelibre.site_property.menu.siteMapMenu.checkbox') =='1'>true<#else>false <#-- END FOOTER MANAGEMENT --> <#-- BEGIN CITELIBRE MANAGEMENT --> <#assign urlKeycloack>${dskey('themecitelibre.site_property.Url.keycloack')!} <#-- END MCITELIBRE MANAGEMENT --> <#-- BANNER MANAGEMENT --> <#assign hasBanner><#if !dskey('themecitelibre.site_property.banner.shown.checkbox')?starts_with('DS') && dskey('themecitelibre.site_property.banner.shown.checkbox') =='1'>true<#else>false <#assign urlDefaultBannerImage>${dskey('themecitelibre.site_property.banner')} <#assign showWholeSiteBannerEverywhere><#if dskey('themecitelibre.site_property.banner.showSiteImgEverywhere.checkbox') =='1'>false<#else>true <#assign isBannerOnlyHome=showWholeSiteBannerEverywhere?boolean > <#-- END BANNER MANAGEMENT --> <#-- MENU MANAGEMENT --> <#assign isDark><#if dskey('themecitelibre.site_property.theme.checkbox') == '1'>true<#else>false <#assign logoHeader>${commonsSiteThemePath}images/header-logo-citelibre.svg <#assign skipLinkMenu><#if !dskey('themecitelibre.site_property.menu.skipLinkMenu.checkbox')?starts_with('DS') && dskey('themecitelibre.site_property.menu.skipLinkMenu.checkbox') == '1'>true<#else>false <#assign skipLinkMainId>${dskey('themecitelibre.site_property.menu.skipLinkMainId')} <#assign hasDefaultMenu><#if dskey('themecitelibre.site_property.menu.hasDefaultMenu.checkbox') == '1'>true<#else>false <#assign isFixedMenu><#if dskey('themecitelibre.site_property.menu.fixedMenu.checkbox') == '1'>true<#else>false <#assign isMainSidebarMenu><#if dskey('themecitelibre.site_property.menu.sidebarMenu.checkbox') == '1'>true<#else>false <#assign isMainSidebarMenuCollapse><#if dskey('themecitelibre.site_property.menu.sidebarMenuCollapse.checkbox') == '1'>true<#else>false <#assign urlDefaultSearch>${dskey('themecitelibre.site_property.Url.search')!} <#-- MENU MANAGEMENT --> <#-- LAYOUT MANAGEMENT --> <#assign isLayoutFluid><#if dskey('themecitelibre.site_property.layout.type.checkbox') == '1'>true<#else>false <#-- END LAYOUT MANAGEMENT --> <#-- UTILS MANAGEMENT --> <#assign addGoToTop><#if dskey('themecitelibre.site_property.menu.gototop.checkbox') == '1'>true<#else>false <#assign isTargetDefaultIconShown><#if dskey('themecitelibre.site_property.link.showTargetIcon.checkbox') == '1'>true<#else>false <#assign xssChars>${dskey('themecitelibre.site_property.xss.xssChars')} <#assign xssMessage>${dskey('themecitelibre.site_property.xss.xssMsg')} <#-- END UTILS MANAGEMENT --> <#-- Theme Macros --> <#macro themeCSSLinks> <#macro themeJSLinks> <#-- MACROS --> <#include "theme_commons_macros.html" /> <#-- END MACROS --> <#-- DEPRECATED MACROS --> <#-- Compatibility version 1 --> <#-- cStepContent --> <#macro cStepContent title id='' class='' help='' iterable=false iteration=0 labelAddIteration='Ajouter' labelDelIteration='#i18n{themecitelibre.labelDelete}' params=''> <#-- cCustomListArrow USE cList DEPRECATED --> <#macro cCustomListArrow items=''> <@cList items /> <#-- cCustomList USE cList DEPRECATED --> <#macro cCustomList items type='arrow' class='' id='' params=''> <@cList items type class id params > <#nested> <#-- MACRO consentement cookies CNIL --> <#-- Name : DEPRECATED cConsent --> <#-- Attributes List : --> <#-- title : 'Ce site' --> <#-- linkLabel='cookies' --> <#-- link='/pages/mentions-legales-234' --> <#-- id='cookie-banner-citelibrefr' --> <#-- class --> <#-- params --> <#macro cConsent title='Ce site' linkLabel='cookies' link='/pages/mentions-legales-234' id='cookie-banner-citelibrefr' class='' params=''> <#-- Managed in init_site.js --> <@cSection type='div' class='cookies ${class}' id=id > <@cSection type='div' class='cookies-banner'> <@cText class='cookies-banner-text'> <#local legalLink><@cLink href=link label=linkLabel class='font-' /> ${i18n( "themecitelibre.msgLegal", title, legalLink )} <@cBtn label='#i18n{themecitelibre.labelAccept}' type='button' class='primary' id='cookie-banner-citelibrefr-accept' /> <#-- END DEPRECATED MACROS -->