Sfoglia il codice sorgente

upload diff

feature/confronto-sorgenti
E-A B 2 anni fa
parent
commit
7d088693c5
  1. 76
      liferay-plugins-sdk-6.2/themes/portos-private-fe-theme/docroot/templates/header.ftl

76
liferay-plugins-sdk-6.2/themes/portos-private-fe-theme/docroot/templates/header.ftl

@ -1,49 +1,45 @@
<div id="heading"> <div id="heading">
<div class="header">
<h1 class="site-title visible-md visible-lg">
<a class="${logo_css_class}" href="http://pti.regione.sicilia.it/">
<#assign logo_url = "${images_folder}/logo-rt.png" />
<img class="logo-img hidden-xs" alt="${logo_description}" src="${logo_url}"
height="${site_logo_height}"
width="${site_logo_width}"/>
<img class="logo-img visible-xs" alt="${logo_description}" src="${images_folder}/logo-mobile.png"
height="${site_logo_height}"
width="auto"/>
</a>
</h1>
<#assign ddmTemplate_news = theme.getSetting("ddmTemplate-news") /> <div class="header">
<#if ddmTemplate_news!= ""> <h1 class="site-title visible-md visible-lg">
<div class="carousel-container"> <a class="${logo_css_class}" href="http://pti.regione.sicilia.it/">
<#assign logo_url = "${images_folder}/logo-rt.png" />
<img class="logo-img hidden-xs" alt="${logo_description}" src="${logo_url}"
height="${site_logo_height}"
width="${site_logo_width}"/>
<img class="logo-img visible-xs" alt="${logo_description}" src="${images_folder}/logo-mobile.png"
height="${site_logo_height}"
width="auto"/>
</a>
</h1>
<#assign portlet_id = "101" /> <#assign ddmTemplate_news = theme.getSetting("ddmTemplate-news") />
<#assign instance_id = "carosello_header"+plid /> <#if ddmTemplate_news!= "">
<div class="carousel-container">
<#assign VOID = freeMarkerPortletPreferences.setValue("displayStyle", "${ddmTemplate_news}")> <#assign portlet_id = "101" />
<#assign my_portlet_id = "${portlet_id}_INSTANCE_${instance_id}" /> <#assign instance_id = "carosello_header"+plid />
${theme.runtime(my_portlet_id, "",freeMarkerPortletPreferences)} <#assign VOID = freeMarkerPortletPreferences.setValue("displayStyle", "${ddmTemplate_news}")>
<#assign VOID = freeMarkerPortletPreferences.reset()> <#assign my_portlet_id = "${portlet_id}_INSTANCE_${instance_id}" />
</div> ${theme.runtime(my_portlet_id, "",freeMarkerPortletPreferences)}
</#if> <#assign VOID = freeMarkerPortletPreferences.reset()>
<h2 class="page-title visible-md visible-lg"> </div>
<a href="${site_default_url}"> </#if>
<#if propsUtil.get("mwg.test.display")?has_content >
<#assign test_display = propsUtil.get("mwg.test.display") /> <h2 class="page-title visible-md visible-lg">
<h3>${test_display}</h3> <a href="${site_default_url}">
<#else> <img class="img-site" alt="${logo_description}" height="${site_logo_height}"
<img class="img-site" alt="${logo_description}" height="${site_logo_height}" src="${images_folder}/etoscana-dark-text.png" width="${site_logo_width}"/>
src="${images_folder}/etoscana-dark-text.png" width="${site_logo_width}"/> </a>
</#if> </h2>
</a> </div>
</h2> <div class="navigation">
</div> <#if has_navigation>
<div class="navigation"> <#include "${full_templates_path}/navigation.ftl" />
<#if has_navigation> </#if>
<#include "${full_templates_path}/navigation.ftl" /> </div>
</#if>
</div>
<!--<div class="navigation-overlay hidden" style="height: 59px;"></div>--> <!--<div class="navigation-overlay hidden" style="height: 59px;"></div>-->
</div> </div>
Caricamento…
Annulla
Salva