Piscina Municipal - ayto-aller
Estas en:
null Piscina Municipal
Se ha producido un error al procesar la plantilla.
Denied resolving class org.apache.velocity.tools.generic.ListTool by org.apache
1#set ($documentService = $serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService"))
2
3<div class="titulo">
4 <h2>$titulo.getData()</h2>
5</div>
6
7<div class="detalle">
8 #if ($validator.isNotNull($resumen.getData()))
9 <div><p>$resumen.getData()</p></div>
10 #end
11
12
13 <div id="gallery-wrapper">
14 #foreach($Imagen in $Imagenes.getSiblings())
15 <a href="$Imagen.data"><img class="img-polaroid" src="$Imagen.data" alt="$Imagen.alt.data" style="width: 240px; height: 180px;" /></a>
16 #end
17 </div>
18
19 #if($validator.isNotNull($direccion.getData()) || $validator.isNotNull($codigoPostal.getData()) || $validator.isNotNull($poblacion.getData()) || $validator.isNotNull($provincia.getData()) || $validator.isNotNull($telefono.getData()) || $validator.isNotNull($fax.getData()) || $validator.isNotNull($web.getData()) || $validator.isNotNull($email.getData()) || $validator.isNotNull($horario.getData()))
20 <div class="contacto">
21 <h3>Contacto</h3>
22 <ul>
23 #if($validator.isNotNull($direccion.getData()))
24 <li><strong>#language("portal.cast.templates.directorio.direccion"):</strong> $direccion.getData()</li>
25 #end
26 #if($validator.isNotNull($codigoPostal.getData()))
27 <li><strong>#language("portal.cast.templates.directorio.cp"):</strong> $codigoPostal.getData()</li>
28 #end
29 #if($validator.isNotNull($poblacion.getData()))
30 <li><strong>#language("portal.cast.templates.directorio.poblacion"):</strong> $poblacion.getData()</li>
31 #end
32 #if($validator.isNotNull($provincia.getData()))
33 <li><strong>#language("portal.cast.templates.directorio.provincia"):</strong> $provincia.getData()</li>
34 #end
35 #if($validator.isNotNull($telefono.getData()))
36 <li><strong>#language("portal.cast.templates.directorio.telefono"):</strong>
37 #set($primero = 0)
38 #foreach($telefonos in $telefono.getSiblings())
39 #if ($validator.isNotNull($telefonos.getData()))
40 #if($primero == 0)
41 $telefonos.getData()
42 #set($primero = 1)
43 #else
44 <span> - $telefonos.getData()</span>
45 #end
46 #end
47 #end
48 </li>
49 #end
50 #if($validator.isNotNull($fax.getData()))
51 <li><strong>#language("portal.cast.templates.directorio.fax")</strong> $fax.getData()</li>
52 #end
53 #if($validator.isNotNull($web.getData()))
54 <li><strong>#language("portal.cast.templates.directorio.web"):</strong>
55 #set($primero = 0)
56 #foreach($webs in $web.getSiblings())
57 #if ($validator.isNotNull($webs.getData()))
58 #if($primero == 0)
59 <a href="$webs.getData()">$webs.getData()</a>
60 #set($primero = 1)
61 #else
62 <span> - <a href="$webs.getData()">$webs.getData()</a></span>
63 #end
64 #end
65 #end
66 </li>
67 #end
68 #if($validator.isNotNull($email.getData()))
69 <li><strong>#language("portal.cast.templates.directorio.email"):</strong>
70 #set($primero = 0)
71 #foreach($emails in $email.getSiblings())
72 #if ($validator.isNotNull($emails.getData()))
73 #if($primero == 0)
74 <a href="mailto:$emails.getData()">$emails.getData()</a>
75 #set($primero = 1)
76 #else
77 <span> - <a href="mailto:$emails.getData()">$emails.getData()</a></span>
78 #end
79 #end
80 #end
81 </li>
82 #end
83 #if($validator.isNotNull($horario.getData()))
84 <li><strong>#language("portal.cast.templates.directorio.horario"):</strong> $horario.getData()</li>
85 #end
86 </ul>
87 #if($validator.isNotNull($observaciones.getData()))
88 $observaciones.getData()
89 #end
90 </div>
91 #end
92
93 <div id="document-wrapper">
94
95 #if($validator.isNotNull($Documentos.data) && $listTool.size($Documentos.getSiblings()) > 0)
96 <h3>Documentos</h3>
97 <ul>
98 #foreach($Documento in $Documentos.getSiblings())
99 #if ($validator.isNotNull($Documento.getData()))
100 #set($documentData = $Documento.getData())
101
102 #set($url = $documentData)
103 #set($parts = $stringUtil.split($url, "/"))
104
105 #set($group_id = $getterUtil.getLong($parts.get(2)))
106 #set($folder_id = $getterUtil.getLong($parts.get(3)))
107 #set($doc_name = $parts.get(4))
108
109 #set($fileEntry = $documentService.getFileEntry($group_id, $folder_id, $httpUtil.decodeURL($doc_name)))
110 #set($fileEntryKb = $fileEntry.size / 1000)
111
112 #set($title=$fileEntry.getTitle())
113
114 <li>
115 <a href="$Documento.getData()" title="$title">$title</a> - $fileEntry.extension, $fileEntryKb Kb
116 </li>
117 #end
118 #end
119 </ul>
120 #end
121 </div>
122
123 #if($validator.isNotNull($Coordenadas.data))
124 <div id="map-wrapper">
125 <h3>Localización</h3>
126 #if($validator.isNotNull($reserved-article-description.data))
127 #set($info = $reserved-article-description.data)
128 #end
129 #set($tit = $reserved-article-title.data)
130 #set($articleId = $reserved-article-id.data)
131 #set($zoom = 18)
132 #set($googleMapsKey = "AIzaSyCUt9o_BgPTrGC7KpnEnicM-fdm81KNccY")
133 #set($srcUrl ="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places&key=$googleMapsKey")
134
135 #if($validator.isNotNull($Coordenadas.getData()))
136 <script type="text/javascript" src="$htmlUtil.escape($srcUrl)"></script>
137 <div class="map-wrapper">
138 <div id="map-canvas$articleId" style="width: 100%; height: 21em;"></div>
139
140 <script type="text/javascript">
141 //<![CDATA[
142 var map = null;
143 var infoWindow = null;
144 function initialize() {
145
146 infoWindow = new google.maps.InfoWindow();
147 var myLatlng = new google.maps.LatLng($Coordenadas.getData());
148 var mapOptions = {
149 zoom: $zoom,
150 center: myLatlng,
151 mapTypeId: google.maps.MapTypeId.ROADMAP
152 }
153 map = new google.maps.Map(document.getElementById('map-canvas$articleId'), mapOptions);
154
155 var marker = new google.maps.Marker({
156 position: myLatlng,
157 map: map,
158 title: "$htmlUtil.escapeJS($tit)",
159 });
160 #if($validator.isNotNull($tit))
161 google.maps.event.addListener(marker, 'click', function(){
162 var htmlInfoWindow = "<strong>#language('title'):</strong> $htmlUtil.escapeJS($tit)";
163 #if($validator.isNotNull($info))
164 htmlInfoWindow = htmlInfoWindow + "<br/> <strong>#language('info'):</strong> $htmlUtil.escapeJS($info)";
165 #end
166
167
168 infoWindow.close();
169 infoWindow.setContent('<div class="infoWindow">'+ htmlInfoWindow +'</div>');
170 infoWindow.open(map,this);
171 })
172 #end
173 }
174
175 google.maps.event.addDomListener(window, 'load', initialize);
176 //]]>
177 </script>
178 </div>
179
180 #end
181 </div>
182 #end
183
184</div>