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 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") />
<#if ddmTemplate_news!= "">
<div class="carousel-container">
<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 portlet_id = "101" />
<#assign instance_id = "carosello_header"+plid />
<#assign ddmTemplate_news = theme.getSetting("ddmTemplate-news") />
<#if ddmTemplate_news!= "">
<div class="carousel-container">
<#assign VOID = freeMarkerPortletPreferences.setValue("displayStyle", "${ddmTemplate_news}")>
<#assign my_portlet_id = "${portlet_id}_INSTANCE_${instance_id}" />
<#assign portlet_id = "101" />
<#assign instance_id = "carosello_header"+plid />
${theme.runtime(my_portlet_id, "",freeMarkerPortletPreferences)}
<#assign VOID = freeMarkerPortletPreferences.reset()>
<#assign VOID = freeMarkerPortletPreferences.setValue("displayStyle", "${ddmTemplate_news}")>
<#assign my_portlet_id = "${portlet_id}_INSTANCE_${instance_id}" />
</div>
</#if>
${theme.runtime(my_portlet_id, "",freeMarkerPortletPreferences)}
<#assign VOID = freeMarkerPortletPreferences.reset()>
<h2 class="page-title visible-md visible-lg">
<a href="${site_default_url}">
<#if propsUtil.get("mwg.test.display")?has_content >
<#assign test_display = propsUtil.get("mwg.test.display") />
<h3>${test_display}</h3>
<#else>
<img class="img-site" alt="${logo_description}" height="${site_logo_height}"
src="${images_folder}/etoscana-dark-text.png" width="${site_logo_width}"/>
</#if>
</a>
</h2>
</div>
<div class="navigation">
<#if has_navigation>
<#include "${full_templates_path}/navigation.ftl" />
</#if>
</div>
</div>
</#if>
<h2 class="page-title visible-md visible-lg">
<a href="${site_default_url}">
<img class="img-site" alt="${logo_description}" height="${site_logo_height}"
src="${images_folder}/etoscana-dark-text.png" width="${site_logo_width}"/>
</a>
</h2>
</div>
<div class="navigation">
<#if has_navigation>
<#include "${full_templates_path}/navigation.ftl" />
</#if>
</div>
<!--<div class="navigation-overlay hidden" style="height: 59px;"></div>-->
</div>
Caricamento…
Annulla
Salva