Fehler bei der Verarbeitung der Vorlage.
The following has evaluated to null or missing:
==> nrTeilnehmerliste [in template "10154#10194#25583616" at line 214, column 6]
----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #if nrTeilnehmerliste.Partner?? && ge... [in template "10154#10194#25583616" at line 214, column 1]
----
1<#setting time_zone=Datumawhc.ZeitzoneVeranstaltung.getData()> 
2 
3<#assign langId = themeDisplay.getLanguageId() /> 
4 
5 
6<#-- <#assign recordSetId = 28267977 > --> 
7<#assign recordSetId = 0 > 
8 
9<#-- nur für angemeldete User nach der Teinehmerliste sehen --> 
10<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()> 
11<#assign themeDisplay = serviceContext.getThemeDisplay() /> 
12<#assign is_signed_in = themeDisplay.isSignedIn() /> 
13<#if is_signed_in> 
14 <#if nrTeilnehmerliste?? && nrTeilnehmerliste.getData()?has_content> 
15 <#assign recordSetId = nrTeilnehmerliste.getData()?number> 
16 </#if> 
17</#if> 
18 
19 
20<script type="text/javascript"> 
21 
22 
23function addNonEmptyEntry(prefix,entry,postfix) { 
24 s0=prefix+entry+postfix; 
25 if(entry==null) s0=""; 
26 if(entry=="null") s0=""; 
27 if(entry=="nil") s0=""; 
28 if(entry=="") s0=""; 
29 if(entry==" ") s0=""; 
30 return s0;  
31
32 
33function makeNavUrl(name,street,zip, city, country) { 
34 addresslink=""; 
35 this.beautyText=""; 
36 addresslink+=addNonEmptyEntry("",name,", "); 
37 addresslink+=addNonEmptyEntry("",street,", "); 
38 addresslink+=addNonEmptyEntry("",addNonEmptyEntry("",zip,"")+"+"+addNonEmptyEntry("",city,""),""); 
39 addresslink+=addNonEmptyEntry("+",country,""); 
40 
41 if (navigator.userAgent.match(/iPhone|iPod|iPad/i)) 
42
43 addresslink="https://maps.apple.com/?q="+encodeURIComponent(addresslink); 
44 } else 
45
46 addresslink="https://maps.google.com/?q="+encodeURIComponent(addresslink); 
47
48  
49 this.beautyText+=addNonEmptyEntry("<a href=\"",addresslink,"\"target=\"_blank\">"); 
50 this.beautyText+=addNonEmptyEntry("",name,"<br>"); 
51 this.beautyText+=addNonEmptyEntry("",street,"<br>"); 
52 this.beautyText+=addNonEmptyEntry("",addNonEmptyEntry("",zip,"")+" "+addNonEmptyEntry("",city,""),"<br>"); 
53 this.beautyText+=addNonEmptyEntry("",country,"<br>"); 
54 if (addNonEmptyEntry("<a href=\"",addresslink,"\"target=\"_blank\">")!==""){ 
55 this.beautyText+="</a>"; 
56
57 //console.log(this.beautyText); 
58 return this.beautyText; 
59  
60
61 
62</script> 
63 
64<div class="article article_main ${Vorschau_Spaltenbreite.getData()}"> 
65 <div class="article_headline"> 
66 <h2> 
67 ${.vars['reserved-article-title'].data} 
68 <#if Untertitel?? && Untertitel.getData()?has_content> 
69 <span class="subheadline">${Untertitel.getData()}</span> 
70 </#if> 
71 </h2> 
72 </div> 
73 <p>  
74  
75  
76 <div class="article_text"> 
77 <table width=100%> 
78 <tr> 
79 <td width= 40% > 
80 <b> 
81 <#assign Datumawhc_Data = getterUtil.getString(Datumawhc.getData())> 
82 
83 <#if validator.isNotNull(Datumawhc_Data)> 
84 <#assign Datumawhc_DateObj = dateUtil.parseDate("yyyy-MM-dd", Datumawhc_Data, locale)> 
85  
86 <#assign StartDatum = dateUtil.getDate(Datumawhc_DateObj, "yyyy-MM-dd", locale) > 
87 </#if> 
88 
89 
90<#if Datumawhc.Uhrzeit?? && Datumawhc.Uhrzeit.getData()?has_content> 
91 <#assign Uhrzeit = Datumawhc.Uhrzeit.getData()> 
92 <#if Uhrzeit?length == 1><#assign Uhrzeit = "000" + Uhrzeit ></#if> 
93 <#if Uhrzeit?length == 2><#assign Uhrzeit = "00" + Uhrzeit ></#if> 
94 <#if Uhrzeit?length == 3><#assign Uhrzeit = "0" + Uhrzeit ></#if> 
95 
96<#else> 
97 <#assign Uhrzeit = "0000"> 
98</#if> 
99 
100 
101<#assign StartDatumUhrzeit = StartDatum + " " + Uhrzeit>  
102 
103<#assign StartDatumUhrzeit_DateObj = dateUtil.parseDate("yyyy-MM-dd HHmm", StartDatumUhrzeit, locale)> 
104<#assign StartDatumUhrzeit_Date = dateUtil.getDate(StartDatumUhrzeit_DateObj, "yyyy-MM-dd HH:mm:ss zzz", locale)> 
105 
106<#setting datetime_format='yyyy-MM-dd HH:mm:ss'> 
107 
108 
109<#-- Beginn: ${StartDatumUhrzeit_Date?datetime?iso_local_nz}<br> --> 
110 
111${dateUtil.getDate(StartDatumUhrzeit_DateObj, "d. MMM. yyyy", locale)}<br> 
112 
113<#if Datumawhc.Uhrzeit?? && Datumawhc.Uhrzeit.getData()?has_content> 
114 Beginn: ${dateUtil.getDate(StartDatumUhrzeit_DateObj, "HH:mm", locale)}<br> 
115</#if> 
116 
117<#if Datumawhc.Einlass?? && Datumawhc.Einlass.getData()?has_content> 
118 
119 <#assign Einlass = Datumawhc.Einlass.getData()> 
120 <#if Einlass?length == 1><#assign Einlass = "000" + Einlass ></#if> 
121 <#if Einlass?length == 2><#assign Einlass = "00" + Einlass ></#if> 
122 <#if Einlass?length == 3><#assign Einlass = "0" + Einlass ></#if> 
123 
124  
125 <#assign StartDatumEinlass = StartDatum + " " + Einlass>  
126  
127 <#assign StartDatumEinlass_DateObj = dateUtil.parseDate("yyyy-MM-dd HHmm", StartDatumEinlass, locale)> 
128 <#assign StartDatumEinlass_Date = dateUtil.getDate(StartDatumEinlass_DateObj, "yyyy-MM-dd HH:mm:ss zzz", locale)> 
129  
130 <#setting datetime_format='yyyy-MM-dd HH:mm:ss'> 
131  
132  
133  
134 <#-- Einlass: ${StartDatumEinlass_Date?datetime?iso_local_nz}<br> --> 
135 Einlass: ${dateUtil.getDate(StartDatumEinlass_DateObj, "HH:mm", locale)}<br> 
136 
137</#if> 
138 
139 
140 
141<#if Datumawhc.EndeZeit?? && Datumawhc.EndeZeit.getData()?has_content> 
142Ende: 
143</#if> 
144<#assign DatumawhcDatumEnde_Data = getterUtil.getString(Datumawhc.EndeZeit.DatumEnde.getData())> 
145 
146<#if validator.isNotNull(DatumawhcDatumEnde_Data)> 
147 <#assign DatumawhcDatumEnde_DateObj = dateUtil.parseDate("yyyy-MM-dd", DatumawhcDatumEnde_Data, locale)> 
148 
149 ${dateUtil.getDate(DatumawhcDatumEnde_DateObj, "d. MMM. yyyy", locale)}<#if Datumawhc.EndeZeit?? && Datumawhc.EndeZeit.getData()?has_content>,</#if> 
150<#else> 
151<#assign DatumawhcDatumEnde_DateObj = Datumawhc_DateObj > 
152</#if> 
153 
154<#assign EndeDatum = dateUtil.getDate(DatumawhcDatumEnde_DateObj, "yyyy-MM-dd", locale) > 
155 
156 
157<#if Datumawhc.EndeZeit?? && Datumawhc.EndeZeit.getData()?has_content> 
158 <#assign Ende = Datumawhc.EndeZeit.getData()> 
159 <#if Ende?length == 1><#assign Ende = "000" + Ende ></#if> 
160 <#if Ende?length == 2><#assign Ende = "00" + Ende ></#if> 
161 <#if Ende?length == 3><#assign Ende = "0" + Ende ></#if> 
162<#else> 
163 <#assign Ende = "2359"> 
164</#if> 
165 
166 
167 
168 
169<#assign StartDatumEnde = EndeDatum + " " + Ende>  
170 
171<#assign StartDatumEnde_DateObj = dateUtil.parseDate("yyyy-MM-dd HHmm", StartDatumEnde, locale)> 
172<#assign StartDatumEnde_Date = dateUtil.getDate(StartDatumEnde_DateObj, "yyyy-MM-dd HH:mm:ss zzz", locale)> 
173 
174<#setting datetime_format='yyyy-MM-dd HH:mm:ss'> 
175 
176 
177 
178<#-- Ende: ${StartDatumEnde_Date?datetime?iso_local_nz}<br> --> 
179 
180<#if Datumawhc.EndeZeit?? && Datumawhc.EndeZeit.getData()?has_content> 
181 
182 ${dateUtil.getDate(StartDatumEnde_DateObj, "HH:mm", locale)}<br> 
183  
184</#if> 
185 
186 
187 
188 
189 
190 
191 
192 
193 </b> 
194 </td> 
195 <td width> 
196 </td> 
197 <td width=60%> 
198 <b> 
199 <div id="Veranstaltungsort"> 
200 ${Veranstaltungsort.getData()}<br> 
201 ${Veranstaltungsort.StraßeHausnummer.getData()}<br> 
202 ${Veranstaltungsort.PLZ.getData()} ${Veranstaltungsort.Ort.getData()} 
203 </div> 
204 </b> 
205 </td> 
206 </tr> 
207 </table> 
208 
209 
210<#-- Optionen anzeigen --> 
211<p> 
212 
213<table> 
214<#if nrTeilnehmerliste.Partner?? && getterUtil.getBoolean(nrTeilnehmerliste.Partner.getData())> 
215 <tr><td align="center"><i class="icon-user"></i></td><td>&nbsp;</td><td>mit Partnern</td></tr> 
216</#if> 
217 
218<#if nrTeilnehmerliste.Gaeste?? && getterUtil.getBoolean(nrTeilnehmerliste.Gaeste.getData())> 
219 <tr><td align="center"><i class="icon-group"></i></td><td>&nbsp;</td><td>mit G&auml;sten</td></tr> 
220 
221</#if> 
222 
223<#if nrTeilnehmerliste.anzEssen?? && nrTeilnehmerliste.anzEssen.getData()?has_content> 
224 <#assign anzEssen = nrTeilnehmerliste.anzEssen.getData()?number > 
225 <tr><td align="center"><i class="icon-food"></i></td><td>&nbsp;</td><td>mit Essen 
226 <#if anzEssen gt 1 > 
227 ${anzEssen} Gerichte zur Wahl 
228 </#if> 
229 </td></tr> 
230</#if> 
231 
232<#if nrTeilnehmerliste.anzTickets?? && nrTeilnehmerliste.anzTickets.getData()?has_content> 
233 <tr><td align="center"><b>#</b><i class="icon-user"></td><td>&nbsp;</td><td>Maximal ${nrTeilnehmerliste.anzTickets.getData()} Teilnehmer</td></tr> 
234</#if> 
235</table> 
236 
237  
238</div> 
239 
240  
241  
242  
243  
244 <#if Teaser_Ausblenden?? && !getterUtil.getBoolean(Teaser_Ausblenden.getData())> 
245 <div class="article_teaser"> 
246 <p>&nbsp;<p>${Teaser_Text.getData()}</p> 
247 </div> 
248 </#if> 
249 <p>&nbsp;<p 
250 <#-- For each page --> 
251 <#if Page.getSiblings()?has_content> 
252 <div class="cnt-pages"> 
253 <#list Page.getSiblings() as cur_Page> 
254 <div class="article_text cnt-page"> 
255 <#if cur_Page.getChild("Bild").getData()?has_content && cur_Page.getChild("Bild").getData()!="null"> 
256 <div class="article_image_${cur_Page.getChild("Bildausrichtung").getData()}"> 
257 <#if cur_Page.getChild("lightbox_anzeigen").getData() == "true"> 
258 <#-- LIGHTBOX ANZEIGEN --> 
259 <a href="${cur_Page.getChild("Bild").getData()}.jpg" title="${cur_Page.getChild("Alternativtext_Bild").getData()}" class="fancybox" rel="group-all"> 
260 <img src="${cur_Page.getChild("Bild").getData()}&imageThumbnail=3" alt="${cur_Page.getChild("Alternativtext_Bild").getData()}" />  
261 </a> 
262 <#if cur_Page.getChild("Bildtext").getData()?has_content> 
263 <#-- BILDTEXT VORHANDEN --> 
264 <div class="description"> 
265 ${cur_Page.getChild("Bildtext").getData()} 
266 <a class="zoom-link fancybox-trigger-zoom" href="${cur_Page.getChild("Bild").getData()}.jpg" title="${cur_Page.getChild("Alternativtext_Bild").getData()}" class="fancybox" rel="group-all"> 
267 <div class="zoom"></div> 
268 <div class="clear"></div> 
269 </a> 
270 </div> 
271 </#if> 
272  
273 <#else> 
274 <#-- LIGHTBOX NICHT ANZEIGEN --> 
275 <img src="${cur_Page.getChild("Bild").getData()}&imageThumbnail=3" alt="${cur_Page.getChild("Alternativtext_Bild").getData()}" />  
276  
277 <#if cur_Page.getChild("Bildtext").getData()?has_content> 
278 <#-- BILDTEXT VORHANDEN --> 
279 <div class="description"> 
280 ${cur_Page.getChild("Bildtext").getData()} 
281 </div> 
282 </#if> 
283 </#if> 
284 </div> 
285 </#if> 
286  
287 ${cur_Page.getData()} 
288  
289  
290 <p> 
291  
292  
293  
294<p id="icsDownload">Please wait while reqest is processed...</p> 
295<p> 
296<input type="button" id="dwn-btn" value=""/> 
297</p> 
298 
299<#if validator.isNotNull(Veranstalter.getData())> 
300  
301 <b><i> 
302  
303 Veranstalter: ${Veranstalter.getData()} ${Veranstalter.VStraßeHausnummer.getData()} ${Veranstalter.VPLZ.getData()} ${Veranstalter.VOrt.getData()}</i></b></p>  
304 
305</#if>  
306  
307 <p><i>Online gestellt von: ${.vars['reserved-article-author-name'].data}<br> 
308 
309 <#assign DatumModified_Data = .vars['reserved-article-modified-date'].data> 
310 
311 <#if validator.isNotNull(DatumModified_Data)> 
312 <#assign DatumModified_DateObj = dateUtil.parseDate("EE, dd MMM yyyy HH:mm:ss Z", DatumModified_Data, locale)> 
313 Letzte Änderung: ${dateUtil.getDate(DatumModified_DateObj, "EE, d. MMM. yyyy HH:mm", locale)}</i></p> 
314 </#if> 
315 
316 
317 
318<#if recordSetId != 0 > 
319<#assign articleId = .vars['reserved-article-id'].data >  
320<#assign articleAuthorId = .vars['reserved-article-author-id'].data?number > 
321 
322<#assign semaphore = randomNamespace > 
323  
324<p> 
325 
326<#-- 
327Angemeldet ist: <br>  
328${user.lastName}<br> 
329User ${user.userId}<br> 
330Group ${groupId}<br> 
331 ${articleId}<br> 
332 ${articleAuthorId}<br> 
333 ${semaphore} 
334--> 
335 
336<p> 
337  
338  
339<#-- Record Set auswählen --> 
340 
341<#assign DDLRecordLocalService = serviceLocator.findService("com.liferay.dynamic.data.lists.service.DDLRecordLocalService")> 
342<#assign records = DDLRecordLocalService.getRecords(recordSetId)> 
343 
344 
345<#-- Eigene Rückmeldung prüfen --> 
346 
347<h3>Meine Rückmeldung</h3> 
348<#-- noch ist kein eigener Record gefunden, d.h. ID auf 0 setzen --> 
349<#assign myRecord = 0 > 
350 
351 
352<#-- prüfen, ob es eine Rückmeldung des angemeldeten Users gibt --> 
353<#if records?has_content> 
354 
355 <#list records as cur_record> 
356 <#if (cur_record.getDDMFormFieldValues("Veranstaltung")?first.getValue().getString(locale) == articleId) && (cur_record.userId == user.userId) > 
357 <#assign entscheidung = cur_record.getDDMFormFieldValues("Teilnahme")?first.getValue().getString(locale)> 
358 <#-- ${entscheidung}<p> --> 
359 <#assign myRecord = cur_record.recordId > 
360 <#-- ${myRecord} --> 
361  
362 </#if> 
363 </#list> 
364</#if> 
365  
366  
367<#-- TESTSTART --> 
368 
369<#assign 
370serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext() /> 
371 
372<#assign httpServletRequest = serviceContext.getRequest()> 
373<#-- ${httpServletRequest} --> 
374 
375<#assign authTokenUtil = staticUtil["com.liferay.portal.kernel.security.auth.AuthTokenUtil"] /> 
376<#assign p_auth = authTokenUtil.getToken(httpServletRequest)> 
377<#-- ${p_auth} --> 
378 
379 
380<#-- noch nichts ausgewählt --> 
381<style> 
382 .attendance-submit-button { 
383 width: 2.5em; 
384 height: 2.5em; 
385 line-height: 2.5em; 
386 font-size: 2em; 
387 margin: 2px; 
388 text-align: center; 
389 vertical-align: middle; 
390
391 .attendance-submit-button.disabled { 
392 background-color: lightgrey !important; 
393 color: grey; 
394
395 .attendance-submit-button.green { 
396 background-color: lightgreen; 
397
398 .attendance-submit-button.yellow { 
399 background-color: yellow; 
400
401 .attendance-submit-button.red { 
402 background-color: red; 
403
404</style> 
405 
406<script type="text/javascript"> 
407  
408 var activeElement 
409 function sendAttendanceAddRequest(value, element) {  
410 activeElement = element; 
411 Liferay.Service(  
412 '/ddl.ddlrecord/add-record', 
413
414 groupId: ${groupId}, 
415 recordSetId: ${recordSetId}, 
416 displayIndex: 0, 
417 fieldsMap: JSON.stringify({"Veranstaltung":${articleId},"Teilnahme":"[\"" + value + "\"]"}) 
418 }, 
419 function(obj) { 
420 $('.attendance-submit-button').each(function(){ 
421 $(this).addClass('disabled') 
422 }); 
423 $(activeElement).removeClass('disabled') 
424 console.log(obj); 
425 window.location.reload(false);  
426
427 ); 
428
429 function sendAttendanceUpdateRequest(value, element) { 
430 activeElement = element; 
431 Liferay.Service( 
432 '/ddl.ddlrecord/update-record', 
433
434 recordId: ${myRecord}, 
435 displayIndex: 0, 
436 fieldsMap: JSON.stringify({"Veranstaltung":${articleId},"Teilnahme":"[\"" + value + "\"]"}), 
437 mergeFields: true 
438 }, 
439 function(obj) { 
440 $('.attendance-submit-button').each(function(){ 
441 $(this).addClass('disabled') 
442 }); 
443 $(activeElement).removeClass('disabled') 
444 console.log(obj); 
445 window.location.reload(false);  
446
447 ); 
448
449</script> 
450<table> 
451<tr> 
452<td> 
453<#-- ja --> 
454<#if myRecord == 0 > 
455 <div class="attendance-submit-button green" onclick="sendAttendanceAddRequest('ja', this)"><i class="icon-ok"></i></div>  
456<#else> 
457 <#if entscheidung == "[\"ja\"]" > 
458 <div class="attendance-submit-button green" onclick="sendAttendanceUpdateRequest('ja', this)"><i class="icon-ok"></i></div>  
459 <#else> 
460 <div class="attendance-submit-button green disabled" onclick="sendAttendanceUpdateRequest('ja', this)"><i class="icon-ok"></i></div>  
461 </#if> 
462</#if>  
463 
464</td> 
465<#if nrTeilnehmerliste.Zusagen?? && nrTeilnehmerliste.Zusagen.getData()?has_content && nrTeilnehmerliste.Zusagen.getData() == "jn" > 
466<#else> 
467<td> 
468<#-- vielleicht --> 
469<#if myRecord == 0 > 
470 <div class="attendance-submit-button yellow" onclick="sendAttendanceAddRequest('vielleicht', this)"><i class="icon-circle-blank"></i></div>  
471<#else> 
472 <#if entscheidung == "[\"vielleicht\"]" > 
473 <div class="attendance-submit-button yellow" onclick="sendAttendanceUpdateRequest('vielleicht', this)"><i class="icon-circle-blank"></i></div>  
474 <#else> 
475 <div class="attendance-submit-button yellow disabled" onclick="sendAttendanceUpdateRequest('vielleicht', this)"><i class="icon-circle-blank"></i></div>  
476 </#if> 
477</#if>  
478</td> 
479</#if> 
480 
481<td> 
482<#-- nein --> 
483<#if myRecord == 0 > 
484 <div class="attendance-submit-button red" onclick="sendAttendanceAddRequest('nein', this)"><i class="icon-remove"></i></div>  
485<#else> 
486 <#if entscheidung == "[\"nein\"]" > 
487 <div class="attendance-submit-button red" onclick="sendAttendanceUpdateRequest('nein', this)"><i class="icon-remove"></i></div>  
488 <#else> 
489 <div class="attendance-submit-button red disabled" onclick="sendAttendanceUpdateRequest('nein', this)"><i class="icon-remove"></i></div>  
490 </#if> 
491</#if>  
492</td> 
493</table> 
494<p> 
495&nbsp; 
496<p> 
497 
498<#-- TESTENDE --> 
499  
500 
501<#-- 
502${user.userId} 
503${articleAuthorId} 
504--> 
505 
506 
507 
508<#assign anzTeilnehmer = 0> 
509 
510<#if user.userId == articleAuthorId> 
511 
512 <#list records as cur_record> 
513 <#if (cur_record.getDDMFormFieldValues("Veranstaltung")?first.getValue().getString(locale) == articleId) > 
514 <#assign anzTeilnehmer = anzTeilnehmer +1> 
515  
516 </#if> 
517 </#list> 
518 
519 
520<#if anzTeilnehmer gt 0> 
521<h3>Insgesamt ${anzTeilnehmer} R&uuml;ckmeldungen</h3> 
522 
523 
524<#if records?has_content> 
525 
526 
527 <table width=100%> 
528 
529 <#list records as cur_record> 
530 <#if (cur_record.getDDMFormFieldValues("Veranstaltung")?first.getValue().getString(locale) == articleId) > 
531 <tr> 
532 <#-- <td>${cur_record}</td> --> 
533 <#-- <td>${cur_record.recordId}</td> --> 
534 <td>${cur_record.userName}</td> 
535 <#-- <td>${cur_record.userId}</td> --> 
536 <td>${cur_record.modifiedDate?string["dd.MM.yyyy HH:mm"]}h</td> 
537 <#-- <td>${cur_record.getDDMFormFieldValues("Veranstaltung")?first.getValue().getString(locale)}</td> --> 
538 <#-- <td>${cur_record.getDDMFormFieldValues("Teilnahme")?first.getValue().getString(locale)}</td> --> 
539 <td align="center"> 
540 <#assign entscheidung = cur_record.getDDMFormFieldValues("Teilnahme")?first.getValue().getString(locale) > 
541 <#if entscheidung == "[\"ja\"]" ><i class="icon-ok"> 
542 <#elseif entscheidung == "[\"vielleicht\"]" ><i class="icon-circle-blank"> 
543 <#elseif entscheidung == "[\"nein\"]" ><i class="icon-remove"> 
544 </#if> 
545  
546 </td> 
547 </tr> 
548 </#if> 
549 </#list> 
550 
551 </table> 
552 
553</#if> 
554 
555</#if> 
556 
557</#if> 
558 
559</#if> 
560 
561  
562  
563  
564  
565  
566  
567  
568 
569  
570 <div class="clear"></div> 
571 </div> 
572 </#list> 
573 </div> 
574 <div class="lions-pagination"></div> 
575 </#if> 
576</div> 
577 
578 <script type="text/javascript"> 
579 
580 beautyNavUrl = makeNavUrl("${Veranstaltungsort.getData()}","${Veranstaltungsort.StraßeHausnummer.getData()}","${Veranstaltungsort.PLZ.getData()}", "${Veranstaltungsort.Ort.getData()}", "${Veranstaltungsort.Land.getData()}"); 
581  
582 document.getElementById("Veranstaltungsort").innerHTML = beautyNavUrl; 
583  
584  
585 icsText="BEGIN:VCALENDAR\r\nVERSION:2.0\r\n"; 
586  
587 icsText+="PRODID:https://test.lions.de/\r\n";  
588 icsText+="METHOD:PUBLISH\r\n";  
589 icsText+="BEGIN:VEVENT\r\n";  
590 icsText+="UID:${.vars['reserved-article-id'].data}@test.lions.de\r\n";  
591  
592 sequenzNummer=${.vars['reserved-article-version'].data}*1000; 
593 icsText+="SEQUENCE:"+sequenzNummer+"\r\n"; 
594  
595 icsText+="ORGANIZER;CN=\"${Veranstalter.getData()} ${Veranstalter.VStraßeHausnummer.getData()} ${Veranstalter.VPLZ.getData()} ${Veranstalter.VOrt.getData()}\":MAILTO:${.vars['reserved-article-author-email-address'].data}\r\n";  
596 icsText+="LOCATION:${Veranstaltungsort.getData()} ${Veranstaltungsort.StraßeHausnummer.getData()} ${Veranstaltungsort.PLZ.getData()} ${Veranstaltungsort.Ort.getData()} ${Veranstaltungsort.Land.getData()}\r\n";  
597 icsText+="SUMMARY:${.vars['reserved-article-title'].data}\r\n";  
598 icsText+="DESCRIPTION:${Teaser_Text.getData()}\r\n";  
599 icsText+="CLASS:PUBLIC\r\n";  
600 icsText+="DTSTART:${StartDatumUhrzeit_Date?datetime?iso_utc?replace(":", "")?replace("-", "")}\r\n";  
601  
602 
603 
604 
605 icsText+="DTEND:${StartDatumEnde_Date?datetime?iso_utc?replace(":", "")?replace("-", "")}\r\n"; 
606 
607 
608  
609  
610  
611 icsText+="DTSTAMP:${dateUtil.getDate(DatumModified_DateObj, "yyyyMMdd", locale)}T${dateUtil.getDate(DatumModified_DateObj, "HHmmss", locale)}Z\r\n";  
612  
613 icsText+="END:VEVENT\r\nEND:VCALENDAR\r\n"; 
614  
615  
616 document.getElementById("icsDownload").innerHTML = "Hier k&ouml;nnen Sie den Termin herunterladen:"; 
617 
618  
619 document.getElementById("dwn-btn").value = "Kalendereintrag laden"; 
620 
621 // document.getElementById("icsDownload").innerHTML = "<pre>"+icsText+"</pre>"; 
622 
623 
624 
625  
626 function download(filename, text) { 
627 var element = document.createElement('a'); 
628 element.setAttribute('href', 'data:text/calendar;charset=utf-8,' + encodeURIComponent(text)); 
629 element.setAttribute('download', filename); 
630 
631 element.style.display = 'none'; 
632 document.body.appendChild(element); 
633 
634 element.click(); 
635 
636 document.body.removeChild(element); 
637
638 
639 
640// Start file download. 
641 document.getElementById("dwn-btn").addEventListener("click", function(){ 
642 var filename = encodeURIComponent( "Event-${.vars['reserved-article-id'].data}" + ".ics"); 
643 var icaldata = icsText; 
644 download(filename, icaldata); 
645 }, false); 
646 
647// } 
648// } 
649//}); 
650 
651  
652  
653  
654 
655 </script> 

Weitere Termine:

Mai. 2020

21. Mai. 2020 - 24. Mai. 2020
Kongress der Deutschen Lions 2020

Wir sehen uns in Bremen!

Weiterlesen

Jun. 2020

26. Jun. 2020 - 30. Jun. 2020
Internationale Convention 2020

Welcome to Singapur.

Weiterlesen

Mai. 2021

27. Mai. 2021 - 30. Mai. 2021
Kongress der deutschen Lions 2021

Vom 27.-30.5.2021 findet in Mannheim der Kongress der deutschen Lions statt

Weiterlesen