Noticias
Buscador
Noticias del Ayuntamiento
Atrás

REGLAMENTO DE REGIMEN INTERNO DEL CENTRO DE OCIO DE SARDÓN DE DUERO

Se ha producido un error al procesar la plantilla.
Error on line 95, column 29 in 10154#10194#305403
dlFileEntry.getFileEntryByUuidAndGroupId(uuId,groupId) is undefined.
It cannot be assigned to file
1<style> 
2    .taglib-social-bookmarks{ 
3        display:none; 
4
5    .ayunticias-social-media-container .social-media-bar a.fa { 
6		padding: 7px; 
7		font-size: 17px; 
8		width: 17px; 
9		text-align: center; 
10		text-decoration: none; 
11		border-radius: 50%; 
12
13	.ayunticias-social-media-container .social-media-bar a.fa-facebook{ 
14		background: #3B5998; 
15		color: white; 
16
17	.ayunticias-social-media-container .social-media-bar a.fa-facebook:hover{ 
18	    opacity: 0.8; 
19
20	.ayunticias-social-media-container .social-media-bar a.fa-facebook:visited{ 
21	    color: white !important; 
22
23 
24	.ayunticias-social-media-container .social-media-bar a.fa-x-twitter { 
25		background: #55ACEE; 
26		color: white; 
27
28	.ayunticias-social-media-container .social-media-bar a.fa-x-twitter:hover { 
29	    opacity: 0.8; 
30
31	.ayunticias-social-media-container .social-media-bar a.fa-x-twitter:visited { 
32	    color: white !important; 
33
34	 
35</style> 
36 
37<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.5.1/css/all.css" crossorigin="anonymous"> 
38<link type="text/css" rel="stylesheet" href="https://cultura.diputaciondevalladolid.es/Diputacion-theme/css/font-awesome/css/font-awesome.min.css"> 
39 
40<#assign serviceContext = staticUtil["com.liferay.portal.service.ServiceContextThreadLocal"].getServiceContext() > 
41<#assign themeDisplay = serviceContext.getThemeDisplay() /> 
42<#assign instancia= themeDisplay.getPortletDisplay().getId()> 
43<#assign currentURL = themeDisplay.getURLPortal()+themeDisplay.getURLCurrent()> 
44 
45<div class="noticia detail template"> 
46     
47	 
48	 
49	<!--<div class="title-wrapper"> 
50		<div class="title"> 
51			${.vars['reserved-article-title'].data} 
52		</div> 
53	</div>--> 
54	 
55	 
56	<div class="more-info wrapper"> 
57		<div class="text"><p>${Texto.getData()}</p></div> 
58	</div> 
59		 
60	<#if Documentos.Documento.getSiblings()?has_content> 
61	<#assign docs = Documentos.Documento.getSiblings()> 
62		<#if (docs?size >=1)&&(docs[0].getData()?length>5)> 
63    	<div class="documents-wrapper"> 
64    		<span class="important">Documentos</span> 
65    		<ul class="documents row-fluid"> 
66		 
67        	<#list Documentos.Documento.getSiblings() as cur_document> 
68        	 
69        	    <li class="document-entry span6"> 
70        	        <#assign count = 0> 
71        	        <#assign title = "PLACE HOLDER"> 
72        	        <span Style="display:none" class="none2"}>${cur_document.getData()}</span> 
73        	        <#list cur_document.getData()?split("/") as x> 
74        	         
75        	            <#assign count = count+1> 
76            	        <#if count ==3> 
77                            <#assign groupId = x?number> 
78                        </#if> 
79                     
80                        <#if count ==6> 
81                            <#assign count2 = 0> 
82                            <#list x?split("?") as y> 
83                             
84                                <#if count2 ==0> 
85                                    <#assign uuId = y> 
86                                </#if> 
87                                <#assign count2 = count2+1> 
88                            </#list> 
89                        </#if> 
90                    </#list> 
91                     
92                    <span Style="display:none" class="none" ${uuId}>${groupId}</span> 
93                    <#assign dlFileEntry = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService")> 
94                        <#if ((uuId??) && (groupId??))> 
95                            <#assign file = dlFileEntry.getFileEntryByUuidAndGroupId(uuId,groupId) > 
96                            <#assign title = file.getTitle() > 
97                            <#assign fileEXT = file.getExtension()> 
98                            <#assign fileSize = file.getSize()/1000> 
99                            <#assign fileSizeText = "" + fileSize + "Kb" > 
100                            <#if (fileSize >100)> 
101                                <#assign fileSize = file.getSize()/1000 > 
102                                <#assign fileSizeText = "" + fileSize + "Mb" > 
103                             </#if> 
104                        </#if> 
105                         
106    							 
107    					<#if cur_document.NombreDocumento.getData() ?has_content> 
108    						<#assign title= cur_document.NombreDocumento.getData() > 
109    					</#if> 
110    					 
111    						 
112    					<a class="document document-${fileEXT} target" href="${cur_document.getData()}" title="Ver ${title}"> 
113    						<span class="title">${title}</span> 
114    						 
115    						<span class="meta"> 
116    					    	<abbr class="ext" title="extension">${fileEXT}</abbr> 
117    							${fileSizeText} 
118    						</span> 
119    					</a> 
120        	         
121        	         
122        	         
123        	             
124    			</li> 
125 
126        	</#list> 
127             
128            </ul> 
129		 
130		</div> 
131		</#if> 
132	</#if> 
133 
134	<#if Enlaces.Enlace.getSiblings()?has_content> 
135	<#assign enls = Enlaces.Enlace.getSiblings()> 
136		<#if (enls?size >=1)&&(enls[0].getData()?length>5)> 
137		<div class="links-wrapper wrapper"> 
138			<span class="wrapper-title">Enlaces</span> 
139			 
140			<ul class="external-links"> 
141				<#list Enlaces.Enlace.getSiblings() as cur_link> 
142					 
143				    <#if cur_link.NombreEnlace.getData() ?has_content> 
144    					<#assign title= cur_link.NombreEnlace.getData() > 
145    				<#else> 
146    					<#assign title=cur_link.getData() > 
147    				</#if> 
148						 
149						 
150					<li class="link external-link"> 
151						<a href="${cur_link.getData()}" onclick="this.target='_blank'" title="ir a ${title}">${title}</a> 
152					</li> 
153				</#list> 
154			</ul> 
155			 
156		</div> 
157		</#if> 
158	</#if>	 
159		 
160<!--Estilo para posicionar estáticas las imagenes--> 
161 
162<style> 
163.image-viewer{ 
164	position:fixed!important; 
165
166.image-viewer-control{ 
167	position:fixed!important; 
168
169</style> 
170 
171<#if Galeria.Imagen.getSiblings()?has_content> 
172<#assign gals = Galeria.Imagen.getSiblings()> 
173		<#if (gals?size >=1)&&(gals[0].getData()?length>5)> 
174	<div class="gallery-wrapper"> 
175		<ul class="images"> 
176			<#list Galeria.Imagen.getSiblings() as cur_img> 
177 
178				<li class="image-entry"> 
179 
180					<a class="full" href="${cur_img.getData()}&imageThumbnail=3" title="Imagen completa ${cur_img.AltImagen.getData()}"> 
181					    <img class="image imagen-galeria" src="${cur_img.getData()}&imageThumbnail=1" alt="${cur_img.AltImagen.getData()}"/> 
182					</a> 
183				</li> 
184			</#list> 
185		</ul> 
186 
187	</div> 
188	</#if> 
189</#if> 
190 
191<div class="ayunticias-social-media-container"> 
192	<div class="social-media-bar"> 
193		<a title="Facebook" href="https://www.facebook.com/sharer/sharer.php?u=${currentURL}" class="fa fa-facebook"><span style="display:none">Facebook</span></a> 
194		<a title="Twitter" href="https://twitter.com/share?url=${currentURL}&text=${.vars['reserved-article-title'].data}" class="fa fa-x-twitter"><span style="display:none">Twitter</span></a> 
195	</div> 
196</div> 
197 
198<script type="text/javascript"> 
199 
200	AUI().ready( 
201		'aui-image-viewer-base', 
202		function(A) { 
203		 
204	//Image lightbox 
205			var winHeight = A.getWin().get('innerHeight'); 
206			var winWidth = A.getWin().get('innerWidth'); 
207			if (winHeight == undefined) 
208				winHeight = document.documentElement.clientHeight; 
209			if (winWidth == undefined) 
210				winWidth = document.documentElement.clientWidth;	 
211		 
212		var crear = true; 
213 
214		document.querySelectorAll('.imagen-galeria').forEach(item => { 
215  			item.addEventListener('click', event => { 
216  			 
217  			if(crear == true){ 
218			new A.ImageViewer({ 
219						anim: true, 
220						captionFromTitle: true, 
221						imageAnim: { 
222							duration: 1, 
223							easing: 'easeIn' 
224						}, 
225						links: '.gallery-wrapper a, a.lightbox', 
226						lockScroll: true, 
227						preloadAllImages: true, 
228						showInfo: true, 
229						maxWidth : (winWidth - 100), 
230						maxHeight : (winHeight - 100), 
231						infoTemplate : 'Imagen {current} de {total}' 
232
233				).render(); 
234				event.preventDefault(); 
235				crear = false; 
236
237  			}); 
238		}); 
239	}); 
240</script> 
241	 
242		 
243</div>