Agrégateur de contenus

Une erreur s'est produite lors du traitement du gabarit.
Syntax error in template "21222#21260#3771766" in line 76, column 34:
Encountered ")", but was expecting one of:
    "."
    ".."
    <DOT_DOT_LESS>
    "..*"
    "?"
    "??"
    "!"
    "["
    "("
    ">"
    <TERMINATING_EXCLAM>
1<!-- IDIOMAS --> 
2<#include "${templatesPath}/3765909" /> 
3 
4<#assign fileEntryService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") > 
5<#assign textFormatter = staticUtil["com.liferay.portal.kernel.util.TextFormatter"] > 
6<#assign calendarFactoryUtil = staticUtil["com.liferay.portal.kernel.util.CalendarFactoryUtil"] /> 
7<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()> 
8 
9<div class="container"> 
10    <div class="row clearfix"> 
11    	<div class="col-xs-12"> 
12    		<div class="zt-box-detail-header"> 
13    			<h2>${title.getData()}</h2> 
14    		</div> 
15    	</div> 
16    </div> 
17    <#assign endDateLong = getterUtil.getLong(endDate.getData())> 
18    <#if (endDateLong > 0) > 
19    	<#assign endDate_DateObj = dateUtil.newDate(endDateLong) > 
20    	<#assign endDateCast = dateUtil.getDate(endDate_DateObj, "dd/MM/yyyy", locale, themeDisplay.getTimeZone()) > 
21    	<#assign endDateEusk = dateUtil.getDate(endDate_DateObj, "yyyy/MM/dd", locale, themeDisplay.getTimeZone()) > 
22    </#if> 
23     
24    <#assign endDateCalendar = calendarFactoryUtil.getCalendar(endDateLong) /> 
25    ${endDateCalendar.add(5, 1)} 
26    <#assign endDateComp = endDateCalendar.getTime() /> 
27    <#assign now = dateUtil.newDate() > 
28     
29     
30    <#assign startDateLong = getterUtil.getLong(startDate.getData())> 
31    <#if (startDateLong > 0) > 
32    	<#assign startDate_DateObj = dateUtil.newDate(startDateLong) > 
33    	<#assign startDateCast = dateUtil.getDate(startDate_DateObj, "dd/MM/yyyy", locale, themeDisplay.getTimeZone()) > 
34    	<#assign startDateEusk = dateUtil.getDate(startDate_DateObj, "yyyy/MM/dd", locale, themeDisplay.getTimeZone()) > 
35    </#if> 
36 
37    <#if (now?date < startDate_DateObj?date) || (endDateComp.before(now))> 
38    	<div class="row"> 
39    		<div class="col-xs-12 col-sm-offset-1 col-sm-10"> 
40    			<a class="zt-box zt-box-action zt-box-grey"> 
41    				<h3>${i18nGaldeketaIraugi}</h3> 
42    			    <#if locale == "es_ES"> 
43    				    <h3>${i18nGaldeketa} : ${i18nGaldeketaNondik} ${startDateCast} ${i18nGaldeketaNora} ${endDateCast}.</h3> 
44    				<#else> 
45    				    <h3>${i18nGaldeketa}  : ${startDateEusk}${i18nGaldeketaNondik} ${endDateEusk}${i18nGaldeketaNora} </h3> 
46    				</#if>	 
47    			</a> 
48    		</div> 
49    	</div> 
50    <#else> 
51    	<div class="row"> 
52    		<div class="col-xs-12 col-sm-6"> 
53    			<a href="${link.getData()}" class="zt-box zt-box-action zt-box-grey"> 
54    			    <#if locale == "es_ES"> 
55    				    <h3>${i18nGaldeketaEpea} : ${endDateCast}</h3> 
56    				<#else> 
57    				    <h3>${i18nGaldeketaEpea} : ${endDateEusk}</h3> 
58    				</#if> 
59    				<button class="btn btn-large btn-primary" type="button">${i18nGaldeketa} &#8594;</button> 
60    			</a> 
61    		</div> 
62    	</div> 
63    </#if> 
64    <#if image??> 
65        <#if image.getData()!=""> 
66        	<div class="row"> 
67            	<div class="zt-box zt-box-1 col-xs-12"> 
68            		<div class="zt-box-bg-img"> 
69            			<img src="${image.getData()}" alt="${image.alt.getData()}" /> 
70            		</div> 
71            	</div> 
72        	</div> 
73        </#if> 
74    </#if> 
75    <#if description??> 
76    	<#if description.data!="")> 
77        	<div class="row"> 
78        		<div class="col-xs-12"> 
79        			<div> 
80        				<h2>${i18nDeskribapenaPr}</h2> 
81        				<p>${description.getData()}</p> 
82        			</div> 
83        		</div> 
84        	</div> 
85        </#if> 
86    </#if> 
87	<div class="row"> 
88    	<div class="col-xs-12"> 
89    	    <#if document??> 
90        	    <#if document.getData()!=""> 
91            	    <h2 class="zt-h2-text">${i18nDeskargatzeko}</h2> 
92            	    <div class="thumbnails"> 
93                        <#if document.getSiblings()?has_content> 
94            	            <#list document.getSiblings() as cur_document> 
95            	                <#if cur_document.data!=""> 
96                	                <#assign customFieldJson =  cur_document.data?eval > 
97                	                <#assign fileEntry = getFileEntry(customFieldJson.groupId, customFieldJson.uuid) > 
98                                    <#assign size = textFormatter.formatStorageSize(fileEntry.size, locale) > 
99                                    <div class="col-xs-4 col-sm-2"> 
100        								<a href="${cur_document.getData()}" class="thumbnail"><img src="${cur_document.preview.getData()}" alt="" /></a> 
101        								<a href="${cur_document.getData()}"><p>${cur_document.documentTitle.getData()} (${fileEntry.extension?upper_case} ${size})</p></a> 
102        							</div> 
103                            	</#if> 
104            	            </#list> 
105                        </#if> 
106                    </div> 
107                </#if> 
108            </#if> 
109        </div> 
110	</div> 
111</div> 
112 
113<#function getFileEntry id, uuid > 
114 
115    <#assign group_id = getterUtil.getLong(id) > 
116    <#return fileEntryService.getDLFileEntryByUuidAndGroupId(uuid?string, group_id) /> 
117</#function> 

Bilatuenak

Bilatuenak

  • Larrialdiak
    112
  • Udaltzaingoa
    943 005 115
  • Udal Informazioa
    943 005 100
    Udal Informazioa Zarauztik
    010