Error compiling template "Designs/Rotogroep/_parsed/cookie-settings.parsed.cshtml"
Line 1278: Syntax error, ',' expected
Line 1278: Syntax error, ',' expected
Line 1278: The name 'trigger' does not exist in the current context
Line 1278: The name 'modal__cookie' does not exist in the current context
1 //------------------------------------------------------------------------------
2 // <auto-generated>
3 // This code was generated by a tool.
4 // Runtime Version:4.0.30319.42000
5 //
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
8 // </auto-generated>
9 //------------------------------------------------------------------------------
10
11 namespace CompiledRazorTemplates.Dynamic {
12 using System;
13 using System.Collections.Generic;
14 using System.Linq;
15
16 #line 252 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
17 using Dynamicweb;
18
19 #line default
20 #line hidden
21
22 #line 253 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
23 using Dynamicweb.Content;
24
25 #line default
26 #line hidden
27
28 #line 254 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
29 using Dynamicweb.Rendering;
30
31 #line default
32 #line hidden
33
34 #line 255 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
35 using Dynamicweb.Frontend;
36
37 #line default
38 #line hidden
39
40 #line 256 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
41 using Dynamicweb.Content.Items;
42
43 #line default
44 #line hidden
45
46 #line 257 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
47 using Dynamicweb.Content.Items.Rendering;
48
49 #line default
50 #line hidden
51
52 #line 151 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
53 using Dynamicweb.Environment;
54
55 #line default
56 #line hidden
57
58
59 public class RazorEngine_f3442d9f01c345b6b1870e7f4204a9c0 : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> {
60
61 #line hidden
62
63 public RazorEngine_f3442d9f01c345b6b1870e7f4204a9c0() {
64 }
65
66 public override void Execute() {
67 WriteLiteral("\r\n");
68
69
70 #line 9 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
71
72 var currentLang = "";
73
74 foreach (var lang in GetLoop("Languages"))
75 {
76 if (lang.GetBoolean("IsCurrent"))
77 {
78 currentLang = lang.GetString("Culture");
79 }
80 }
81
82 var cookieSettingsPageId = GetPageIdByNavigationTag("CookieSettings");
83
84
85
86
87 #line default
88 #line hidden
89 WriteLiteral("\r\n\r\n<!DOCTYPE html>\r\n<html");
90
91 WriteAttribute("lang", Tuple.Create(" lang=\"", 629), Tuple.Create("\"", 648)
92
93 #line 26 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
94 , Tuple.Create(Tuple.Create("", 636), Tuple.Create<System.Object, System.Int32>(currentLang
95
96 #line default
97 #line hidden
98 , 636), false)
99 );
100
101 WriteLiteral(">\r\n<head>\r\n <meta");
102
103 WriteLiteral(" charset=\"utf-8\"");
104
105 WriteLiteral(">\r\n <meta");
106
107 WriteLiteral(" http-equiv=\"X-UA-Compatible\"");
108
109 WriteLiteral(" content=\"IE=edge\"");
110
111 WriteLiteral(">\r\n <meta");
112
113 WriteLiteral(" name=\"viewport\"");
114
115 WriteLiteral(" content=\"width=device-width, initial-scale=1\"");
116
117 WriteLiteral(">\r\n");
118
119
120 #line 31 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
121
122
123 #line default
124 #line hidden
125
126 #line 31 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
127
128 var customMetatags = System.Web.HttpContext.Current.Items["ProjectMetatags"];
129 if (customMetatags == null)
130 {
131
132
133 #line default
134 #line hidden
135 WriteLiteral(" <title>");
136
137
138 #line 35 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
139 Write(GetValue("Title"));
140
141
142 #line default
143 #line hidden
144 WriteLiteral("</title>\r\n");
145
146
147 #line 36 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
148
149
150 #line default
151 #line hidden
152
153 #line 36 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
154 Write(GetValue("MetaTags"));
155
156
157 #line default
158 #line hidden
159
160 #line 36 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
161
162
163
164 #line default
165 #line hidden
166
167 #line 37 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
168 Write(GetValue("CopyRightNotice"));
169
170
171 #line default
172 #line hidden
173
174 #line 37 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
175
176 }
177 else
178 {
179
180
181 #line default
182 #line hidden
183
184 #line 41 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
185 Write(customMetatags);
186
187
188 #line default
189 #line hidden
190
191 #line 41 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
192
193 }
194
195
196 #line default
197 #line hidden
198 WriteLiteral("\r\n\r\n");
199
200
201 #line 45 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
202
203
204 #line default
205 #line hidden
206
207 #line 45 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
208 foreach (var w in GetLoop("Languages"))
209 {
210 var domain = !string.IsNullOrWhiteSpace(w.GetString("PrimaryDomain")) ? w.GetString("PrimaryDomain") : Dynamicweb.Environment.Helpers.LinkHelper.GetHttpDomain();
211 var hreflang = w.GetString("Culture");
212
213 var PageID = w.GetInteger("PageID");
214 var Culture = w.GetString("Culture");
215 var url = string.Format("/Default.aspx?ID={0}&Culture={1}", PageID, Culture);
216
217 if (!w.GetBoolean("IsCurrent"))
218 {
219
220
221 #line default
222 #line hidden
223 WriteLiteral(" <link");
224
225 WriteLiteral(" rel=\"alternate\"");
226
227 WriteAttribute("href", Tuple.Create(" href=\"", 1682), Tuple.Create("\"", 1693)
228
229 #line 56 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
230 , Tuple.Create(Tuple.Create("", 1689), Tuple.Create<System.Object, System.Int32>(url
231
232 #line default
233 #line hidden
234 , 1689), false)
235 );
236
237 WriteAttribute("hreflang", Tuple.Create(" hreflang=\"", 1694), Tuple.Create("\"", 1714)
238
239 #line 56 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
240 , Tuple.Create(Tuple.Create("", 1705), Tuple.Create<System.Object, System.Int32>(hreflang
241
242 #line default
243 #line hidden
244 , 1705), false)
245 );
246
247 WriteLiteral(">\r\n");
248
249
250 #line 57 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
251 }
252 }
253
254
255 #line default
256 #line hidden
257 WriteLiteral("\r\n <!-- Styles -->\r\n");
258
259
260 #line 61 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
261
262
263 #line default
264 #line hidden
265
266 #line 61 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
267
268 string stylesheet = string.Empty;
269 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.NameStylesheet.Value")))
270 {
271 stylesheet = string.Format("/Files/Templates/Designs/Shared/dist/css/{0}.min.css", GetValue("Item.Area.NameStylesheet.Value"));
272 }
273 else
274 {
275 stylesheet = string.Format("/Files/Templates/Designs/Shared/dist/css/style.min.css");
276 }
277
278
279 #line default
280 #line hidden
281 WriteLiteral(" <link");
282
283 WriteAttribute("href", Tuple.Create(" href=\"", 2207), Tuple.Create("\"", 2225)
284
285 #line 71 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
286 , Tuple.Create(Tuple.Create("", 2214), Tuple.Create<System.Object, System.Int32>(stylesheet
287
288 #line default
289 #line hidden
290 , 2214), false)
291 );
292
293 WriteLiteral(" rel=\"stylesheet\"");
294
295 WriteLiteral(">\r\n");
296
297
298 #line 72 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
299
300
301 #line default
302 #line hidden
303 WriteLiteral("\r\n\r\n <!--Roto favicons-->\r\n <link");
304
305 WriteLiteral(" rel=\"apple-touch-icon\"");
306
307 WriteLiteral(" sizes=\"57x57\"");
308
309 WriteLiteral(" href=\"/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-57x57.png\"");
310
311 WriteLiteral(">\r\n <link");
312
313 WriteLiteral(" rel=\"apple-touch-icon\"");
314
315 WriteLiteral(" sizes=\"60x60\"");
316
317 WriteLiteral(" href=\"/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-60x60.png\"");
318
319 WriteLiteral(">\r\n <link");
320
321 WriteLiteral(" rel=\"apple-touch-icon\"");
322
323 WriteLiteral(" sizes=\"72x72\"");
324
325 WriteLiteral(" href=\"/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-72x72.png\"");
326
327 WriteLiteral(">\r\n <link");
328
329 WriteLiteral(" rel=\"apple-touch-icon\"");
330
331 WriteLiteral(" sizes=\"76x76\"");
332
333 WriteLiteral(" href=\"/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-76x76.png\"");
334
335 WriteLiteral(">\r\n <link");
336
337 WriteLiteral(" rel=\"apple-touch-icon\"");
338
339 WriteLiteral(" sizes=\"114x114\"");
340
341 WriteLiteral(" href=\"/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-114x114.png\"");
342
343 WriteLiteral(">\r\n <link");
344
345 WriteLiteral(" rel=\"apple-touch-icon\"");
346
347 WriteLiteral(" sizes=\"120x120\"");
348
349 WriteLiteral(" href=\"/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-120x120.png\"");
350
351 WriteLiteral(">\r\n <link");
352
353 WriteLiteral(" rel=\"apple-touch-icon\"");
354
355 WriteLiteral(" sizes=\"144x144\"");
356
357 WriteLiteral(" href=\"/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-144x144.png\"");
358
359 WriteLiteral(">\r\n <link");
360
361 WriteLiteral(" rel=\"apple-touch-icon\"");
362
363 WriteLiteral(" sizes=\"152x152\"");
364
365 WriteLiteral(" href=\"/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-152x152.png\"");
366
367 WriteLiteral(">\r\n <link");
368
369 WriteLiteral(" rel=\"apple-touch-icon\"");
370
371 WriteLiteral(" sizes=\"180x180\"");
372
373 WriteLiteral(" href=\"/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-180x180.png\"");
374
375 WriteLiteral(">\r\n <link");
376
377 WriteLiteral(" rel=\"icon\"");
378
379 WriteLiteral(" type=\"image/png\"");
380
381 WriteLiteral(" href=\"/Files/Templates/Designs/Rotogroep/icons/favicon-32x32.png\"");
382
383 WriteLiteral(" sizes=\"32x32\"");
384
385 WriteLiteral(">\r\n <link");
386
387 WriteLiteral(" rel=\"icon\"");
388
389 WriteLiteral(" type=\"image/png\"");
390
391 WriteLiteral(" href=\"/Files/Templates/Designs/Rotogroep/icons/android-chrome-192x192.png\"");
392
393 WriteLiteral(" sizes=\"192x192\"");
394
395 WriteLiteral(">\r\n <link");
396
397 WriteLiteral(" rel=\"icon\"");
398
399 WriteLiteral(" type=\"image/png\"");
400
401 WriteLiteral(" href=\"/Files/Templates/Designs/Rotogroep/icons/favicon-96x96.png\"");
402
403 WriteLiteral(" sizes=\"96x96\"");
404
405 WriteLiteral(">\r\n <link");
406
407 WriteLiteral(" rel=\"icon\"");
408
409 WriteLiteral(" type=\"image/png\"");
410
411 WriteLiteral(" href=\"/Files/Templates/Designs/Rotogroep/icons/favicon-16x16.png\"");
412
413 WriteLiteral(" sizes=\"16x16\"");
414
415 WriteLiteral(">\r\n <link");
416
417 WriteLiteral(" rel=\"manifest\"");
418
419 WriteLiteral(" href=\"/Files/Templates/Designs/Rotogroep/icons/manifest.json\"");
420
421 WriteLiteral(">\r\n <meta");
422
423 WriteLiteral(" name=\"msapplication-TileColor\"");
424
425 WriteLiteral(" content=\"#da532c\"");
426
427 WriteLiteral(">\r\n <meta");
428
429 WriteLiteral(" name=\"msapplication-TileImage\"");
430
431 WriteLiteral(" content=\"icons/mstile-144x144.png\"");
432
433 WriteLiteral(">\r\n <meta");
434
435 WriteLiteral(" name=\"theme-color\"");
436
437 WriteLiteral(" content=\"#ffffff\"");
438
439 WriteLiteral(">\r\n\r\n <!-- Modernizr -->\r\n <script");
440
441 WriteLiteral(" src=\"/Files/Templates/Designs/Shared/dist/js/modernizr.min.js\"");
442
443 WriteLiteral("></script>\r\n\r\n <!--GA-->\r\n");
444
445
446 #line 97 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
447
448
449 #line default
450 #line hidden
451
452 #line 97 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
453
454 // Only load GA after consent :
455 string GA = "";
456 var _cookieOptinLevel = GetGlobalValue("Global:CookieOptInLevel");
457 var _enabledCookieCategories = Dynamicweb.Environment.CookieManager.GetCookieOptInCategories();
458 if (true || _cookieOptinLevel == "All" || _enabledCookieCategories.Contains("Marketing_Cookies"))
459 {
460 GA = GetString("Item.Area.Google_Analytics.Value");
461 }
462
463
464 #line default
465 #line hidden
466 WriteLiteral("\r\n");
467
468 WriteLiteral(" ");
469
470
471 #line 107 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
472 Write(GA);
473
474
475 #line default
476 #line hidden
477 WriteLiteral("\r\n");
478
479
480 #line 108 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
481 Write(GetValue("Stylesheets"));
482
483
484 #line default
485 #line hidden
486 WriteLiteral("\r\n");
487
488
489 #line 109 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
490 Write(GetValue("Javascripts"));
491
492
493 #line default
494 #line hidden
495 WriteLiteral("\r\n</head>\r\n<body");
496
497 WriteLiteral(" data-areaid=\"");
498
499
500 #line 111 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
501 Write(Pageview.AreaID);
502
503
504 #line default
505 #line hidden
506 WriteLiteral("\"");
507
508 WriteLiteral(" data-cookiesettingsid=\"");
509
510
511 #line 111 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
512 Write(cookieSettingsPageId);
513
514
515 #line default
516 #line hidden
517 WriteLiteral("\"");
518
519 WriteLiteral(">\r\n \r\n <div");
520
521 WriteLiteral(" class=\"container\"");
522
523 WriteLiteral(">\r\n");
524
525
526 #line 114 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
527
528
529 #line default
530 #line hidden
531
532 #line 114 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
533
534 var firstPageID = Services.Pages.GetFirstPageForArea(Pageview.AreaID).ID;
535 var shareContent = GetString("Item.Area.Share");
536 var jaarPolenLogo = GetString("Item.Area.JaarPolen_Logo");
537 var BUs = GetString("Item.Area.BUs");
538
539
540 #line default
541 #line hidden
542 WriteLiteral("\r\n<div");
543
544 WriteLiteral(" class=\"row\"");
545
546 WriteLiteral(">\r\n");
547
548
549 #line 121 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
550
551
552 #line default
553 #line hidden
554
555 #line 121 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
556 if (!string.IsNullOrEmpty(jaarPolenLogo))
557 {
558
559
560 #line default
561 #line hidden
562 WriteLiteral(" <div");
563
564 WriteLiteral(" class=\"col-xs-12 col-md-4 col-lg-5\"");
565
566 WriteLiteral(">\r\n <div");
567
568 WriteLiteral(" class=\"header-logo-slogan\"");
569
570 WriteLiteral(">\r\n <a");
571
572 WriteAttribute("href", Tuple.Create(" href=\"", 5401), Tuple.Create("\"", 5437)
573 , Tuple.Create(Tuple.Create("", 5408), Tuple.Create("/Default.aspx?ID=", 5408), true)
574
575 #line 125 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
576 , Tuple.Create(Tuple.Create("", 5425), Tuple.Create<System.Object, System.Int32>(firstPageID
577
578 #line default
579 #line hidden
580 , 5425), false)
581 );
582
583 WriteLiteral(" class=\"logo\"");
584
585 WriteLiteral("></a>\r\n");
586
587 WriteLiteral(" ");
588
589
590 #line 126 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
591 Write(shareContent);
592
593
594 #line default
595 #line hidden
596 WriteLiteral("\r\n </div>\r\n </div>\r\n");
597
598 WriteLiteral(" <div");
599
600 WriteLiteral(" class=\"col-xs-12 col-md-2 col-lg-2 reset-padding\"");
601
602 WriteLiteral(">\r\n <div");
603
604 WriteLiteral(" class=\"logo2\"");
605
606 WriteLiteral("><img");
607
608 WriteAttribute("src", Tuple.Create(" src=\"", 5625), Tuple.Create("\"", 5645)
609
610 #line 130 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
611 , Tuple.Create(Tuple.Create("", 5631), Tuple.Create<System.Object, System.Int32>(jaarPolenLogo
612
613 #line default
614 #line hidden
615 , 5631), false)
616 );
617
618 WriteLiteral(" title=\"\"");
619
620 WriteLiteral("></div>\r\n </div>\r\n");
621
622
623 #line 132 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
624 }
625 else
626 {
627
628
629 #line default
630 #line hidden
631 WriteLiteral(" <div");
632
633 WriteLiteral(" class=\"col-xs-12 col-md-6 col-lg-7\"");
634
635 WriteLiteral(">\r\n <div");
636
637 WriteLiteral(" class=\"header-logo-slogan\"");
638
639 WriteLiteral(">\r\n <a");
640
641 WriteAttribute("href", Tuple.Create(" href=\"", 5819), Tuple.Create("\"", 5855)
642 , Tuple.Create(Tuple.Create("", 5826), Tuple.Create("/Default.aspx?ID=", 5826), true)
643
644 #line 137 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
645 , Tuple.Create(Tuple.Create("", 5843), Tuple.Create<System.Object, System.Int32>(firstPageID
646
647 #line default
648 #line hidden
649 , 5843), false)
650 );
651
652 WriteLiteral(" class=\"logo\"");
653
654 WriteLiteral("></a>\r\n");
655
656 WriteLiteral(" ");
657
658
659 #line 138 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
660 Write(shareContent);
661
662
663 #line default
664 #line hidden
665 WriteLiteral("\r\n </div>\r\n </div>\r\n");
666
667
668 #line 141 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
669 }
670
671
672 #line default
673 #line hidden
674 WriteLiteral(" <div");
675
676 WriteLiteral(" class=\"col-md-6 col-lg-5\"");
677
678 WriteLiteral(">\r\n <div");
679
680 WriteLiteral(" class=\"header-partof\"");
681
682 WriteLiteral(">\r\n");
683
684 WriteLiteral(" ");
685
686
687 #line 144 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
688 Write(BUs);
689
690
691 #line default
692 #line hidden
693 WriteLiteral("\r\n </div>\r\n </div>\r\n</div>\r\n");
694
695
696 #line 148 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
697
698
699 #line default
700 #line hidden
701
702 #line 152 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
703
704 string SearchPageID = (Pageview.Area.Item["SearchPageID"] != null) ? (!string.IsNullOrWhiteSpace(Pageview.Area.Item["SearchPageID"].ToString()) ? Pageview.Area.Item["SearchPageID"].ToString() : "1") : "1";
705 bool isStaco = (Pageview.Area.ID == 7) || (Convert.ToInt32(Pageview.Area.CopyOf) == 7);
706
707
708 #line default
709 #line hidden
710 WriteLiteral("\r\n<nav");
711
712 WriteLiteral(" class=\"navbar navbar-inverse\"");
713
714 WriteLiteral(" role=\"navigation\"");
715
716 WriteLiteral(">\r\n <div");
717
718 WriteLiteral(" class=\"container-fluid\"");
719
720 WriteLiteral(">\r\n <div");
721
722 WriteLiteral(" class=\"navbar-header\"");
723
724 WriteLiteral(">\r\n <button");
725
726 WriteLiteral(" type=\"button\"");
727
728 WriteLiteral(" class=\"navbar-toggle collapsed\"");
729
730 WriteLiteral(" data-toggle=\"collapse\"");
731
732 WriteLiteral(" data-target=\"#navbar\"");
733
734 WriteLiteral(" aria-expanded=\"false\"");
735
736 WriteLiteral(" aria-controls=\"navbar\"");
737
738 WriteLiteral(">\r\n <span");
739
740 WriteLiteral(" class=\"sr-only\"");
741
742 WriteLiteral(">Toggle navigation</span>\r\n <span");
743
744 WriteLiteral(" class=\"icon-bar\"");
745
746 WriteLiteral("></span>\r\n <span");
747
748 WriteLiteral(" class=\"icon-bar\"");
749
750 WriteLiteral("></span>\r\n <span");
751
752 WriteLiteral(" class=\"icon-bar\"");
753
754 WriteLiteral("></span>\r\n </button>\r\n </div>\r\n <form");
755
756 WriteLiteral(" class=\"navbar-form navbar-right\"");
757
758 WriteLiteral(" role=\"form\"");
759
760 WriteLiteral(" method=\"get\"");
761
762 WriteLiteral(" action=\"/Default.aspx\"");
763
764 WriteLiteral(">\r\n");
765
766
767 #line 167 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
768
769
770 #line default
771 #line hidden
772
773 #line 167 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
774 if (isStaco || GetLoop("Languages").Count > 2)
775 {
776
777
778 #line default
779 #line hidden
780 WriteLiteral(" <div");
781
782 WriteLiteral(" class=\"form-group\"");
783
784 WriteLiteral(">\r\n <div");
785
786 WriteLiteral(" class=\"dropdown\"");
787
788 WriteLiteral(">\r\n <button");
789
790 WriteLiteral(" id=\"ddl\"");
791
792 WriteLiteral(" class=\"btn\"");
793
794 WriteLiteral(" type=\"button\"");
795
796 WriteLiteral(" data-toggle=\"dropdown\"");
797
798 WriteLiteral(" aria-haspopup=\"true\"");
799
800 WriteLiteral(" aria-expanded=\"false\"");
801
802 WriteLiteral(">\r\n");
803
804 WriteLiteral(" ");
805
806
807 #line 172 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
808 Write(Translate("Language", "LANGUAGE"));
809
810
811 #line default
812 #line hidden
813 WriteLiteral("\r\n ");
814
815 WriteLiteral("\r\n </button>\r\n <ul");
816
817 WriteLiteral(" class=\"dropdown-menu language-dropdown\"");
818
819 WriteLiteral(" aria-labelledby=\"ddl\"");
820
821 WriteLiteral(">\r\n");
822
823
824 #line 176 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
825
826
827 #line default
828 #line hidden
829
830 #line 176 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
831
832 var currentlang = "";
833 foreach (var item in GetLoop("Languages"))
834 {
835 var PageID = item.GetInteger("PageID");
836 var Culture = item.GetString("Culture");
837 var name = item.GetString("Name").Replace("Staco", "").Trim();
838 var IsCurrent = item.GetBoolean("IsCurrent") ? "active" : "";
839 var CultureShort = item.GetString("Culture").Substring(3, 2);
840 var CultureFlag = string.Format("/Files/Templates/Designs/Shared/dist/images/flags/flag_{0}.svg", CultureShort.ToLower());
841 if (item.GetBoolean("IsCurrent"))
842 {
843 currentlang = CultureFlag;
844 }
845
846 if (GetString("LongLang") == "en-GB")
847 {
848 if (Culture != "en-US")
849 {
850
851
852 #line default
853 #line hidden
854 WriteLiteral(" <li>\r\n " +
855 " <a");
856
857 WriteAttribute("href", Tuple.Create(" href=\"", 9140), Tuple.Create("\"", 9192)
858 , Tuple.Create(Tuple.Create("", 9147), Tuple.Create("/Default.aspx?ID=", 9147), true)
859
860 #line 196 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
861 , Tuple.Create(Tuple.Create("", 9164), Tuple.Create<System.Object, System.Int32>(PageID
862
863 #line default
864 #line hidden
865 , 9164), false)
866 , Tuple.Create(Tuple.Create("", 9171), Tuple.Create("&Culture=", 9171), true)
867
868 #line 196 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
869 , Tuple.Create(Tuple.Create("", 9184), Tuple.Create<System.Object, System.Int32>(Culture
870
871 #line default
872 #line hidden
873 , 9184), false)
874 );
875
876 WriteAttribute("class", Tuple.Create(" class=\"", 9193), Tuple.Create("\"", 9211)
877
878 #line 196 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
879 , Tuple.Create(Tuple.Create("", 9201), Tuple.Create<System.Object, System.Int32>(IsCurrent
880
881 #line default
882 #line hidden
883 , 9201), false)
884 );
885
886 WriteLiteral("><span");
887
888 WriteLiteral(" class=\"language-label\"");
889
890 WriteLiteral(">");
891
892
893 #line 196 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
894 Write(Translate(name, name));
895
896
897 #line default
898 #line hidden
899 WriteLiteral("</span> <span");
900
901 WriteLiteral(" class=\"language-flag\"");
902
903 WriteAttribute("style", Tuple.Create(" style=\"", 9299), Tuple.Create("\"", 9347)
904 , Tuple.Create(Tuple.Create("", 9307), Tuple.Create("background:", 9307), true)
905 , Tuple.Create(Tuple.Create(" ", 9318), Tuple.Create("no-repeat", 9319), true)
906 , Tuple.Create(Tuple.Create(" ", 9328), Tuple.Create("url(", 9329), true)
907
908 #line 196 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
909 , Tuple.Create(Tuple.Create("", 9333), Tuple.Create<System.Object, System.Int32>(CultureFlag
910
911 #line default
912 #line hidden
913 , 9333), false)
914 , Tuple.Create(Tuple.Create("", 9345), Tuple.Create(");", 9345), true)
915 );
916
917 WriteLiteral("></span></a>\r\n </li>\r\n");
918
919
920 #line 198 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
921 }
922
923 }
924 else
925 {
926
927
928 #line default
929 #line hidden
930 WriteLiteral(" <li>\r\n " +
931 " <a");
932
933 WriteAttribute("href", Tuple.Create(" href=\"", 9670), Tuple.Create("\"", 9722)
934 , Tuple.Create(Tuple.Create("", 9677), Tuple.Create("/Default.aspx?ID=", 9677), true)
935
936 #line 204 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
937 , Tuple.Create(Tuple.Create("", 9694), Tuple.Create<System.Object, System.Int32>(PageID
938
939 #line default
940 #line hidden
941 , 9694), false)
942 , Tuple.Create(Tuple.Create("", 9701), Tuple.Create("&Culture=", 9701), true)
943
944 #line 204 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
945 , Tuple.Create(Tuple.Create("", 9714), Tuple.Create<System.Object, System.Int32>(Culture
946
947 #line default
948 #line hidden
949 , 9714), false)
950 );
951
952 WriteAttribute("class", Tuple.Create(" class=\"", 9723), Tuple.Create("\"", 9741)
953
954 #line 204 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
955 , Tuple.Create(Tuple.Create("", 9731), Tuple.Create<System.Object, System.Int32>(IsCurrent
956
957 #line default
958 #line hidden
959 , 9731), false)
960 );
961
962 WriteLiteral("><span");
963
964 WriteLiteral(" class=\"language-label\"");
965
966 WriteLiteral(">");
967
968
969 #line 204 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
970 Write(Translate(name, name));
971
972
973 #line default
974 #line hidden
975 WriteLiteral("</span> <span");
976
977 WriteLiteral(" class=\"language-flag\"");
978
979 WriteAttribute("style", Tuple.Create(" style=\"", 9829), Tuple.Create("\"", 9877)
980 , Tuple.Create(Tuple.Create("", 9837), Tuple.Create("background:", 9837), true)
981 , Tuple.Create(Tuple.Create(" ", 9848), Tuple.Create("no-repeat", 9849), true)
982 , Tuple.Create(Tuple.Create(" ", 9858), Tuple.Create("url(", 9859), true)
983
984 #line 204 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
985 , Tuple.Create(Tuple.Create("", 9863), Tuple.Create<System.Object, System.Int32>(CultureFlag
986
987 #line default
988 #line hidden
989 , 9863), false)
990 , Tuple.Create(Tuple.Create("", 9875), Tuple.Create(");", 9875), true)
991 );
992
993 WriteLiteral("></span></a>\r\n </li>\r\n");
994
995
996 #line 206 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
997 }
998 }
999
1000
1001 #line default
1002 #line hidden
1003 WriteLiteral("\r\n </ul>\r\n <span");
1004
1005 WriteLiteral(" class=\"language-flag\"");
1006
1007 WriteAttribute("style", Tuple.Create(" style=\"", 10126), Tuple.Create("\"", 10174)
1008 , Tuple.Create(Tuple.Create("", 10134), Tuple.Create("background:", 10134), true)
1009 , Tuple.Create(Tuple.Create(" ", 10145), Tuple.Create("no-repeat", 10146), true)
1010 , Tuple.Create(Tuple.Create(" ", 10155), Tuple.Create("url(", 10156), true)
1011
1012 #line 210 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1013 , Tuple.Create(Tuple.Create("", 10160), Tuple.Create<System.Object, System.Int32>(currentlang
1014
1015 #line default
1016 #line hidden
1017 , 10160), false)
1018 , Tuple.Create(Tuple.Create("", 10172), Tuple.Create(");", 10172), true)
1019 );
1020
1021 WriteLiteral("></span>\r\n </div>\r\n </div>\r\n");
1022
1023
1024 #line 213 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1025 }
1026 else
1027 {
1028 foreach (var item in GetLoop("Languages"))
1029 {
1030 var PageID = item.GetInteger("PageID");
1031 var Culture = item.GetString("Culture");
1032 var IsCurrent = item.GetString("IsCurrent");
1033 var CultureShort = item.GetString("Culture").Substring(3, 2);
1034
1035 if (Dynamicweb.Context.Current.Request.GetString("Action") == "1" && Dynamicweb.Context.Current.Request.GetString("M") == "NewsV2")
1036 {
1037 PageID = Services.Pages.GetPage(PageID).ParentPageId;
1038 }
1039
1040
1041
1042 #line default
1043 #line hidden
1044 WriteLiteral(" <a");
1045
1046 WriteAttribute("href", Tuple.Create(" href=\"", 10940), Tuple.Create("\"", 10992)
1047 , Tuple.Create(Tuple.Create("", 10947), Tuple.Create("/Default.aspx?ID=", 10947), true)
1048
1049 #line 228 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1050 , Tuple.Create(Tuple.Create("", 10964), Tuple.Create<System.Object, System.Int32>(PageID
1051
1052 #line default
1053 #line hidden
1054 , 10964), false)
1055 , Tuple.Create(Tuple.Create("", 10971), Tuple.Create("&Culture=", 10971), true)
1056
1057 #line 228 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1058 , Tuple.Create(Tuple.Create("", 10984), Tuple.Create<System.Object, System.Int32>(Culture
1059
1060 #line default
1061 #line hidden
1062 , 10984), false)
1063 );
1064
1065 WriteAttribute("class", Tuple.Create(" class=\"", 10993), Tuple.Create("\"", 11027)
1066 , Tuple.Create(Tuple.Create("", 11001), Tuple.Create("language_toggle", 11001), true)
1067
1068 #line 228 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1069 , Tuple.Create(Tuple.Create(" ", 11016), Tuple.Create<System.Object, System.Int32>(IsCurrent
1070
1071 #line default
1072 #line hidden
1073 , 11017), false)
1074 );
1075
1076 WriteLiteral(">");
1077
1078
1079 #line 228 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1080 Write(CultureShort);
1081
1082
1083 #line default
1084 #line hidden
1085 WriteLiteral("</a>\r\n");
1086
1087
1088 #line 229 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1089 }
1090 }
1091
1092
1093 #line default
1094 #line hidden
1095 WriteLiteral(" <div");
1096
1097 WriteLiteral(" class=\"form-group\"");
1098
1099 WriteLiteral(">\r\n <input");
1100
1101 WriteLiteral(" type=\"hidden\"");
1102
1103 WriteLiteral(" name=\"ID\"");
1104
1105 WriteAttribute("value", Tuple.Create(" value=\"", 11166), Tuple.Create("\"", 11187)
1106
1107 #line 232 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1108 , Tuple.Create(Tuple.Create("", 11174), Tuple.Create<System.Object, System.Int32>(SearchPageID
1109
1110 #line default
1111 #line hidden
1112 , 11174), false)
1113 );
1114
1115 WriteLiteral(">\r\n\r\n");
1116
1117
1118 #line 234 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1119
1120
1121 #line default
1122 #line hidden
1123
1124 #line 234 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1125 var SearchPH = Translate("Search.Placeholder", "Zoeken");
1126
1127 #line default
1128 #line hidden
1129 WriteLiteral("\r\n\r\n <input");
1130
1131 WriteLiteral(" type=\"text\"");
1132
1133 WriteLiteral(" name=\"q\"");
1134
1135 WriteLiteral(" class=\"form-control\"");
1136
1137 WriteAttribute("placeholder", Tuple.Create(" placeholder=\"", 11337), Tuple.Create("\"", 11360)
1138
1139 #line 236 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1140 , Tuple.Create(Tuple.Create("", 11351), Tuple.Create<System.Object, System.Int32>(SearchPH
1141
1142 #line default
1143 #line hidden
1144 , 11351), false)
1145 );
1146
1147 WriteLiteral(" id=\"appendedInputButton\"");
1148
1149 WriteLiteral(">\r\n <button");
1150
1151 WriteLiteral(" type=\"submit\"");
1152
1153 WriteLiteral(" class=\"btn btn-default text-hide\"");
1154
1155 WriteLiteral(">search</button>\r\n </div>\r\n\r\n </form>\r\n\r\n <div");
1156
1157 WriteLiteral(" id=\"navbar\"");
1158
1159 WriteLiteral(" class=\"navbar-collapse collapse\"");
1160
1161 WriteLiteral(">\r\n <ul");
1162
1163 WriteLiteral(" class=\"nav navbar-nav sm-collapsible\"");
1164
1165 WriteLiteral(">\r\n");
1166
1167 WriteLiteral(" ");
1168
1169
1170 #line 244 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1171 Write(GetValue("DwNavigation(mainnavigation)"));
1172
1173
1174 #line default
1175 #line hidden
1176 WriteLiteral("\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n</nav>\r\n\r\n");
1177
1178
1179 #line 251 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1180
1181
1182 #line default
1183 #line hidden
1184 WriteLiteral("\r\n\r\n\r\n\r\n<div");
1185
1186 WriteLiteral(" class=\"row breadcrumb\"");
1187
1188 WriteLiteral(">\r\n\t<span");
1189
1190 WriteLiteral(" class=\"breadcrumb_first\"");
1191
1192 WriteLiteral("><a");
1193
1194 WriteLiteral(" href=\"/\"");
1195
1196 WriteLiteral(">Home</a></span>\r\n");
1197
1198 WriteLiteral("\t");
1199
1200
1201 #line 264 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1202 Write(GetValue("DwNavigation(breadcrumbnav)"));
1203
1204
1205 #line default
1206 #line hidden
1207 WriteLiteral("\r\n</div>\r\n\r\n");
1208
1209
1210 #line 267 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1211
1212 var cookieOptinLevel = GetGlobalValue("Global:CookieOptInLevel");
1213 var enabledCookieCategories = Dynamicweb.Environment.CookieManager.GetCookieOptInCategories();
1214 var socialcookieenabled = cookieOptinLevel == "All" || enabledCookieCategories.Contains("Social_Media") ? "checked" : "";
1215 var marketingcookieenabled = cookieOptinLevel == "All" || enabledCookieCategories.Contains("Marketing_Cookies") ? "checked" : "";
1216 var cookiePolicyPageUrl = "/Default.aspx?ID=" + GetPageIdByNavigationTag("CookiePolicy");
1217
1218
1219 #line default
1220 #line hidden
1221 WriteLiteral("\r\n\r\n<div");
1222
1223 WriteLiteral(" class=\"row\"");
1224
1225 WriteLiteral(">\r\n <div");
1226
1227 WriteLiteral(" class=\"col-xs-12 col-md-8 col-md-offset-2\"");
1228
1229 WriteLiteral(">\r\n <div");
1230
1231 WriteLiteral(" class=\"row\"");
1232
1233 WriteLiteral(" id=\"defaultcontent\"");
1234
1235 WriteLiteral(">");
1236
1237
1238 #line 277 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1239 Write(GetValue("DwContent(defaultcontent)"));
1240
1241
1242 #line default
1243 #line hidden
1244 WriteLiteral("</div>\r\n </div>\r\n</div>\r\n\r\n<div");
1245
1246 WriteLiteral(" class=\"row\"");
1247
1248 WriteLiteral(">\r\n <div");
1249
1250 WriteLiteral(" class=\"col-xs-12 col-md-8 col-md-offset-2\"");
1251
1252 WriteLiteral(">\r\n <h1");
1253
1254 WriteLiteral(" class=\"h1\"");
1255
1256 WriteLiteral(">");
1257
1258
1259 #line 283 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1260 Write(Translate("CookieSettings.Title", "Cookie instellingen"));
1261
1262
1263 #line default
1264 #line hidden
1265 WriteLiteral("</h1>\r\n <p>");
1266
1267
1268 #line 284 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1269 Write(Translate("CookieSettings.IntroParagraph", "Wij gebruiken functionele cookies die technisch noodzakelijk zijn om onze website goed te laten functioneren. Ook gebruiken wij analytische cookies voor die ons in staat stellen onze website aan te passen aan uw behoeften en daarmee uw gebruikerservaring te verbeteren."));
1270
1271
1272 #line default
1273 #line hidden
1274 WriteLiteral("</p>\r\n <p>");
1275
1276
1277 #line 285 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1278 Write(string.Format(Translate("CookieSettings.CookiePolicyLink", "Leer hier meer over in ons {0}cookiebeleid{1}."), string.Format("<a class="modal__cookie-trigger" href='{0}'>", @cookiePolicyPageUrl), "</a>"));
1279
1280
1281 #line default
1282 #line hidden
1283 WriteLiteral("</p>\r\n\r\n <form");
1284
1285 WriteLiteral(" id=\"cookieWarningForm\"");
1286
1287 WriteLiteral(" method=\"post\"");
1288
1289 WriteLiteral(" action=\"/Admin/Public/CookieOptInLevelConfig.aspx\"");
1290
1291 WriteLiteral(" onsubmit=\"return changeOptInSettings();\"");
1292
1293 WriteLiteral(">\r\n <input");
1294
1295 WriteLiteral(" type=\"hidden\"");
1296
1297 WriteLiteral(" name=\"OptInLevel\"");
1298
1299 WriteLiteral(" value=\"1\"");
1300
1301 WriteLiteral(">\r\n <input");
1302
1303 WriteLiteral(" type=\"hidden\"");
1304
1305 WriteLiteral(" name=\"cmd\"");
1306
1307 WriteLiteral(" value=\"SetCookieOptInLevel\"");
1308
1309 WriteLiteral(">\r\n\r\n <div");
1310
1311 WriteLiteral(" class=\"row cookiesettings__option-row\"");
1312
1313 WriteLiteral(">\r\n <div");
1314
1315 WriteLiteral(" class=\"col-xs-2\"");
1316
1317 WriteLiteral(">\r\n <label");
1318
1319 WriteLiteral(" for=\"optincategory-socialmedia\"");
1320
1321 WriteLiteral(" class=\"checkbox-toggle\"");
1322
1323 WriteLiteral(">\r\n <input");
1324
1325 WriteLiteral(" type=\"checkbox\"");
1326
1327 WriteLiteral(" class=\"cookiesettings__checkbox\"");
1328
1329 WriteLiteral(" value=\"Social_Media\"");
1330
1331 WriteLiteral(" name=\"OptInCategory\"");
1332
1333 WriteLiteral(" id=\"optincategory-socialmedia\"");
1334
1335 WriteLiteral(" ");
1336
1337
1338 #line 294 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1339 Write(socialcookieenabled);
1340
1341
1342 #line default
1343 #line hidden
1344 WriteLiteral("=\"\">\r\n <span");
1345
1346 WriteLiteral(" class=\"checkbox-slider\"");
1347
1348 WriteLiteral("></span>\r\n </label>\r\n </div>\r\n <" +
1349 "div");
1350
1351 WriteLiteral(" class=\"col-xs-10\"");
1352
1353 WriteLiteral(">\r\n <h3>");
1354
1355
1356 #line 299 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1357 Write(Translate("CookieSettings.SocialMedia.Title","Social media"));
1358
1359
1360 #line default
1361 #line hidden
1362 WriteLiteral("</h3>\r\n <p>");
1363
1364
1365 #line 300 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1366 Write(Translate("CookieSettings.SocialMedia.Description", "Op onze website staan social media buttons waarmee u de video’s op onze website via Vimeo of YouTube kunt bekijken en waarmee u informatie van onze website kunt delen via social media (Facebook, LinkedIn, Twitter, Tumblr, Pinterest). Voor het plaatsen van social media cookies is uw toestemming vereist."));
1367
1368
1369 #line default
1370 #line hidden
1371 WriteLiteral("</p>\r\n </div>\r\n </div>\r\n\r\n <div");
1372
1373 WriteLiteral(" class=\"row cookiesettings__option-row\"");
1374
1375 WriteLiteral(">\r\n <div");
1376
1377 WriteLiteral(" class=\"col-xs-2\"");
1378
1379 WriteLiteral(">\r\n <label");
1380
1381 WriteLiteral(" for=\"optincategory-marketing\"");
1382
1383 WriteLiteral(" class=\"checkbox-toggle\"");
1384
1385 WriteLiteral(">\r\n <input");
1386
1387 WriteLiteral(" type=\"checkbox\"");
1388
1389 WriteLiteral(" class=\"cookiesettings__checkbox\"");
1390
1391 WriteLiteral(" value=\"Marketing_Cookies\"");
1392
1393 WriteLiteral(" name=\"OptInCategory\"");
1394
1395 WriteLiteral(" id=\"optincategory-marketing\"");
1396
1397 WriteLiteral(" ");
1398
1399
1400 #line 307 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1401 Write(marketingcookieenabled);
1402
1403
1404 #line default
1405 #line hidden
1406 WriteLiteral("=\"\">\r\n <span");
1407
1408 WriteLiteral(" class=\"checkbox-slider\"");
1409
1410 WriteLiteral("></span>\r\n </label>\r\n </div>\r\n <" +
1411 "div");
1412
1413 WriteLiteral(" class=\"col-xs-10\"");
1414
1415 WriteLiteral(">\r\n <h3>");
1416
1417
1418 #line 312 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1419 Write(Translate("CookieSettings.Marketing.Title", "Marketing cookies"));
1420
1421
1422 #line default
1423 #line hidden
1424 WriteLiteral("</h3>\r\n <p>");
1425
1426
1427 #line 313 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1428 Write(Translate("CookieSettings.Marketing.Description", "We willen graag dat onze website zo relevant mogelijk voor u is. Om een beeld van uw interesses en voorkeuren te krijgen, gebruiken wij marketing cookies. Hiermee verzamelen wij en derde partijen informatie over uw bezoek(en) aan onze website. Deze informatie stelt ons in staat om de inhoud van onze website aan te passen aan uw wensen en u van gerichte informatie te voorzien die op dat moment voor u relevant is. Voor het plaatsen van marketing cookies is uw toestemming vereist."));
1429
1430
1431 #line default
1432 #line hidden
1433 WriteLiteral("</p>\r\n </div>\r\n </div>\r\n\r\n <div");
1434
1435 WriteLiteral(" class=\"row cookiesettings__actions\"");
1436
1437 WriteLiteral(">\r\n <div");
1438
1439 WriteLiteral(" class=\"col-xs-12\"");
1440
1441 WriteLiteral(">\r\n <button");
1442
1443 WriteLiteral(" type=\"submit\"");
1444
1445 WriteLiteral(" class=\"btn cookiesettings__button\"");
1446
1447 WriteLiteral(">");
1448
1449
1450 #line 319 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1451 Write(Translate("CookieSetting.Btn.Save", "Voorkeuren opslaan"));
1452
1453
1454 #line default
1455 #line hidden
1456 WriteLiteral(@"</button>
1457 </div>
1458 </div>
1459 </form>
1460 </div>
1461 </div>
1462
1463 <script>
1464 function changeOptInSettings() {
1465 var formElement = document.getElementById(""cookieWarningForm"");
1466 var formData = new FormData(formElement);
1467
1468 if(!formData.has('OptInCategory')) {
1469 // Set Optinlevel to 0 if no category is selected
1470 formData.set('OptInLevel', 0);
1471 }
1472
1473 var xmlhttp = new XMLHttpRequest();
1474 xmlhttp.onreadystatechange = function () {
1475 if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
1476 location.reload();
1477 return false;
1478 }
1479 }
1480
1481 xmlhttp.open(formElement.method, formElement.action);
1482 xmlhttp.send(formData);
1483
1484 return false;
1485 }
1486 </script>
1487 </div>
1488
1489 <footer>
1490 <div");
1491
1492 WriteLiteral(" class=\"container\"");
1493
1494 WriteLiteral(">\r\n\t\t<div");
1495
1496 WriteLiteral(" class=\"row\"");
1497
1498 WriteLiteral(">\r\n\r\n");
1499
1500 WriteLiteral("\t\t\t");
1501
1502
1503 #line 356 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1504 Write(GetValue("DwNavigation(headernavigation)"));
1505
1506
1507 #line default
1508 #line hidden
1509 WriteLiteral("\r\n\r\n\t\t\t<div");
1510
1511 WriteLiteral(" class=\"col-sm-3 print-hide-social\"");
1512
1513 WriteLiteral(">\r\n");
1514
1515 WriteLiteral("\t\t\t\t");
1516
1517
1518 #line 359 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1519 Write(GetString("Item.Area.Social_media"));
1520
1521
1522 #line default
1523 #line hidden
1524 WriteLiteral("\r\n\t\t\t</div>\r\n\r\n\t\t\t<div");
1525
1526 WriteLiteral(" class=\"col-sm-3 print-hide-contact\"");
1527
1528 WriteLiteral(">\r\n");
1529
1530 WriteLiteral("\t\t\t\t");
1531
1532
1533 #line 363 "D:\virtual_hosts\rotogroep.nl dw9\files\Templates\Designs\Rotogroep\_parsed\cookie-settings.parsed.cshtml"
1534 Write(GetString("Item.Area.Fourth_Column"));
1535
1536
1537 #line default
1538 #line hidden
1539 WriteLiteral("\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t</div>\r\n</footer>\r\n\r\n <!-- Javascript -->\r\n <scri" +
1540 "pt");
1541
1542 WriteLiteral(" src=\"/Files/Templates/Designs/Shared/dist/js/main.min.js\"");
1543
1544 WriteLiteral("></script>\r\n <script");
1545
1546 WriteLiteral(" src=\"/Files/Templates/Designs/Shared/src/js/jquery.validate.min.js\"");
1547
1548 WriteLiteral("></script>\r\n <script");
1549
1550 WriteLiteral(" src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js\"");
1551
1552 WriteLiteral("></script>\r\n</body>\r\n</html>");
1553
1554 }
1555 }
1556 }
1557
1 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
2 @using Dynamicweb;
3 @using Dynamicweb.Content;
4 @using Dynamicweb.Rendering;
5 @using Dynamicweb.Frontend;
6 @using Dynamicweb.Content.Items;
7 @using Dynamicweb.Content.Items.Rendering;
8
9 @{
10 var currentLang = "";
11
12 foreach (var lang in GetLoop("Languages"))
13 {
14 if (lang.GetBoolean("IsCurrent"))
15 {
16 currentLang = lang.GetString("Culture");
17 }
18 }
19
20 var cookieSettingsPageId = GetPageIdByNavigationTag("CookieSettings");
21
22
23 }
24
25 <!DOCTYPE html>
26 <html lang="@currentLang">
27 <head>
28 <meta charset="utf-8">
29 <meta http-equiv="X-UA-Compatible" content="IE=edge">
30 <meta name="viewport" content="width=device-width, initial-scale=1">
31 @{
32 var customMetatags = System.Web.HttpContext.Current.Items["ProjectMetatags"];
33 if (customMetatags == null)
34 {
35 <title>@GetValue("Title")</title>
36 @GetValue("MetaTags")
37 @GetValue("CopyRightNotice")
38 }
39 else
40 {
41 @customMetatags
42 }
43 }
44
45 @foreach (var w in GetLoop("Languages"))
46 {
47 var domain = !string.IsNullOrWhiteSpace(w.GetString("PrimaryDomain")) ? w.GetString("PrimaryDomain") : Dynamicweb.Environment.Helpers.LinkHelper.GetHttpDomain();
48 var hreflang = w.GetString("Culture");
49
50 var PageID = w.GetInteger("PageID");
51 var Culture = w.GetString("Culture");
52 var url = string.Format("/Default.aspx?ID={0}&Culture={1}", PageID, Culture);
53
54 if (!w.GetBoolean("IsCurrent"))
55 {
56 <link rel="alternate" href="@url" hreflang="@hreflang">
57 }
58 }
59
60 <!-- Styles -->
61 @{
62 string stylesheet = string.Empty;
63 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.NameStylesheet.Value")))
64 {
65 stylesheet = string.Format("/Files/Templates/Designs/Shared/dist/css/{0}.min.css", GetValue("Item.Area.NameStylesheet.Value"));
66 }
67 else
68 {
69 stylesheet = string.Format("/Files/Templates/Designs/Shared/dist/css/style.min.css");
70 }
71 <link href="@stylesheet" rel="stylesheet">
72 }
73
74 <!--Roto favicons-->
75 <link rel="apple-touch-icon" sizes="57x57" href="/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-57x57.png">
76 <link rel="apple-touch-icon" sizes="60x60" href="/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-60x60.png">
77 <link rel="apple-touch-icon" sizes="72x72" href="/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-72x72.png">
78 <link rel="apple-touch-icon" sizes="76x76" href="/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-76x76.png">
79 <link rel="apple-touch-icon" sizes="114x114" href="/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-114x114.png">
80 <link rel="apple-touch-icon" sizes="120x120" href="/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-120x120.png">
81 <link rel="apple-touch-icon" sizes="144x144" href="/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-144x144.png">
82 <link rel="apple-touch-icon" sizes="152x152" href="/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-152x152.png">
83 <link rel="apple-touch-icon" sizes="180x180" href="/Files/Templates/Designs/Rotogroep/icons/apple-touch-icon-180x180.png">
84 <link rel="icon" type="image/png" href="/Files/Templates/Designs/Rotogroep/icons/favicon-32x32.png" sizes="32x32">
85 <link rel="icon" type="image/png" href="/Files/Templates/Designs/Rotogroep/icons/android-chrome-192x192.png" sizes="192x192">
86 <link rel="icon" type="image/png" href="/Files/Templates/Designs/Rotogroep/icons/favicon-96x96.png" sizes="96x96">
87 <link rel="icon" type="image/png" href="/Files/Templates/Designs/Rotogroep/icons/favicon-16x16.png" sizes="16x16">
88 <link rel="manifest" href="/Files/Templates/Designs/Rotogroep/icons/manifest.json">
89 <meta name="msapplication-TileColor" content="#da532c">
90 <meta name="msapplication-TileImage" content="icons/mstile-144x144.png">
91 <meta name="theme-color" content="#ffffff">
92
93 <!-- Modernizr -->
94 <script src="/Files/Templates/Designs/Shared/dist/js/modernizr.min.js"></script>
95
96 <!--GA-->
97 @{
98 // Only load GA after consent :
99 string GA = "";
100 var _cookieOptinLevel = GetGlobalValue("Global:CookieOptInLevel");
101 var _enabledCookieCategories = Dynamicweb.Environment.CookieManager.GetCookieOptInCategories();
102 if (true || _cookieOptinLevel == "All" || _enabledCookieCategories.Contains("Marketing_Cookies"))
103 {
104 GA = GetString("Item.Area.Google_Analytics.Value");
105 }
106 }
107 @GA
108 @GetValue("Stylesheets")
109 @GetValue("Javascripts")
110 </head>
111 <body data-areaid="@Pageview.AreaID" data-cookiesettingsid="@cookieSettingsPageId">
112
113 <div class="container">
114 @{
115 var firstPageID = Services.Pages.GetFirstPageForArea(Pageview.AreaID).ID;
116 var shareContent = GetString("Item.Area.Share");
117 var jaarPolenLogo = GetString("Item.Area.JaarPolen_Logo");
118 var BUs = GetString("Item.Area.BUs");
119 }
120 <div class="row">
121 @if (!string.IsNullOrEmpty(jaarPolenLogo))
122 {
123 <div class="col-xs-12 col-md-4 col-lg-5">
124 <div class="header-logo-slogan">
125 <a href="/Default.aspx?ID=@firstPageID" class="logo"></a>
126 @shareContent
127 </div>
128 </div>
129 <div class="col-xs-12 col-md-2 col-lg-2 reset-padding">
130 <div class="logo2"><img src="@jaarPolenLogo" title=""></div>
131 </div>
132 }
133 else
134 {
135 <div class="col-xs-12 col-md-6 col-lg-7">
136 <div class="header-logo-slogan">
137 <a href="/Default.aspx?ID=@firstPageID" class="logo"></a>
138 @shareContent
139 </div>
140 </div>
141 }
142 <div class="col-md-6 col-lg-5">
143 <div class="header-partof">
144 @BUs
145 </div>
146 </div>
147 </div>
148 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
149 @using Dynamicweb;
150 @using Dynamicweb.Content;
151 @using Dynamicweb.Environment;
152 @{
153 string SearchPageID = (Pageview.Area.Item["SearchPageID"] != null) ? (!string.IsNullOrWhiteSpace(Pageview.Area.Item["SearchPageID"].ToString()) ? Pageview.Area.Item["SearchPageID"].ToString() : "1") : "1";
154 bool isStaco = (Pageview.Area.ID == 7) || (Convert.ToInt32(Pageview.Area.CopyOf) == 7);
155 }
156 <nav class="navbar navbar-inverse" role="navigation">
157 <div class="container-fluid">
158 <div class="navbar-header">
159 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
160 <span class="sr-only">Toggle navigation</span>
161 <span class="icon-bar"></span>
162 <span class="icon-bar"></span>
163 <span class="icon-bar"></span>
164 </button>
165 </div>
166 <form class="navbar-form navbar-right" role="form" method="get" action="/Default.aspx">
167 @if (isStaco || GetLoop("Languages").Count > 2)
168 {
169 <div class="form-group">
170 <div class="dropdown">
171 <button id="ddl" class="btn" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
172 @Translate("Language", "LANGUAGE")
173 @*<span class="fa fa-angle-down"></span>*@
174 </button>
175 <ul class="dropdown-menu language-dropdown" aria-labelledby="ddl">
176 @{
177 var currentlang = "";
178 foreach (var item in GetLoop("Languages"))
179 {
180 var PageID = item.GetInteger("PageID");
181 var Culture = item.GetString("Culture");
182 var name = item.GetString("Name").Replace("Staco", "").Trim();
183 var IsCurrent = item.GetBoolean("IsCurrent") ? "active" : "";
184 var CultureShort = item.GetString("Culture").Substring(3, 2);
185 var CultureFlag = string.Format("/Files/Templates/Designs/Shared/dist/images/flags/flag_{0}.svg", CultureShort.ToLower());
186 if (item.GetBoolean("IsCurrent"))
187 {
188 currentlang = CultureFlag;
189 }
190
191 if (GetString("LongLang") == "en-GB")
192 {
193 if (Culture != "en-US")
194 {
195 <li>
196 <a href="/Default.aspx?ID=@PageID&Culture=@Culture" class="@IsCurrent"><span class="language-label">@Translate(name, name)</span> <span class="language-flag" style="background: no-repeat url(@CultureFlag);"></span></a>
197 </li>
198 }
199
200 }
201 else
202 {
203 <li>
204 <a href="/Default.aspx?ID=@PageID&Culture=@Culture" class="@IsCurrent"><span class="language-label">@Translate(name, name)</span> <span class="language-flag" style="background: no-repeat url(@CultureFlag);"></span></a>
205 </li>
206 }
207 }
208 }
209 </ul>
210 <span class="language-flag" style="background: no-repeat url(@currentlang);"></span>
211 </div>
212 </div>
213 }
214 else
215 {
216 foreach (var item in GetLoop("Languages"))
217 {
218 var PageID = item.GetInteger("PageID");
219 var Culture = item.GetString("Culture");
220 var IsCurrent = item.GetString("IsCurrent");
221 var CultureShort = item.GetString("Culture").Substring(3, 2);
222
223 if (Dynamicweb.Context.Current.Request.GetString("Action") == "1" && Dynamicweb.Context.Current.Request.GetString("M") == "NewsV2")
224 {
225 PageID = Services.Pages.GetPage(PageID).ParentPageId;
226 }
227
228 <a href="/Default.aspx?ID=@PageID&Culture=@Culture" class="language_toggle @IsCurrent">@CultureShort</a>
229 }
230 }
231 <div class="form-group">
232 <input type="hidden" name="ID" value="@SearchPageID">
233
234 @{var SearchPH = Translate("Search.Placeholder", "Zoeken");}
235
236 <input type="text" name="q" class="form-control" placeholder="@SearchPH" id="appendedInputButton">
237 <button type="submit" class="btn btn-default text-hide">search</button>
238 </div>
239
240 </form>
241
242 <div id="navbar" class="navbar-collapse collapse">
243 <ul class="nav navbar-nav sm-collapsible">
244 @GetValue("DwNavigation(mainnavigation)")
245 </ul>
246 </div>
247 </div>
248
249 </nav>
250
251 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
252 @using Dynamicweb;
253 @using Dynamicweb.Content;
254 @using Dynamicweb.Rendering;
255 @using Dynamicweb.Frontend;
256 @using Dynamicweb.Content.Items;
257 @using Dynamicweb.Content.Items.Rendering;
258
259
260
261
262 <div class="row breadcrumb">
263 <span class="breadcrumb_first"><a href="/">Home</a></span>
264 @GetValue("DwNavigation(breadcrumbnav)")
265 </div>
266
267 @{
268 var cookieOptinLevel = GetGlobalValue("Global:CookieOptInLevel");
269 var enabledCookieCategories = Dynamicweb.Environment.CookieManager.GetCookieOptInCategories();
270 var socialcookieenabled = cookieOptinLevel == "All" || enabledCookieCategories.Contains("Social_Media") ? "checked" : "";
271 var marketingcookieenabled = cookieOptinLevel == "All" || enabledCookieCategories.Contains("Marketing_Cookies") ? "checked" : "";
272 var cookiePolicyPageUrl = "/Default.aspx?ID=" + GetPageIdByNavigationTag("CookiePolicy");
273 }
274
275 <div class="row">
276 <div class="col-xs-12 col-md-8 col-md-offset-2">
277 <div class="row" id="defaultcontent">@GetValue("DwContent(defaultcontent)")</div>
278 </div>
279 </div>
280
281 <div class="row">
282 <div class="col-xs-12 col-md-8 col-md-offset-2">
283 <h1 class="h1">@Translate("CookieSettings.Title", "Cookie instellingen")</h1>
284 <p>@Translate("CookieSettings.IntroParagraph", "Wij gebruiken functionele cookies die technisch noodzakelijk zijn om onze website goed te laten functioneren. Ook gebruiken wij analytische cookies voor die ons in staat stellen onze website aan te passen aan uw behoeften en daarmee uw gebruikerservaring te verbeteren.")</p>
285 <p>@string.Format(Translate("CookieSettings.CookiePolicyLink", "Leer hier meer over in ons {0}cookiebeleid{1}."), string.Format("<a class="modal__cookie-trigger" href='{0}'>", @cookiePolicyPageUrl), "</a>")</p>
286
287 <form id="cookieWarningForm" method="post" action="/Admin/Public/CookieOptInLevelConfig.aspx" onsubmit="return changeOptInSettings();">
288 <input type="hidden" name="OptInLevel" value="1">
289 <input type="hidden" name="cmd" value="SetCookieOptInLevel">
290
291 <div class="row cookiesettings__option-row">
292 <div class="col-xs-2">
293 <label for="optincategory-socialmedia" class="checkbox-toggle">
294 <input type="checkbox" class="cookiesettings__checkbox" value="Social_Media" name="OptInCategory" id="optincategory-socialmedia" @socialcookieenabled="">
295 <span class="checkbox-slider"></span>
296 </label>
297 </div>
298 <div class="col-xs-10">
299 <h3>@Translate("CookieSettings.SocialMedia.Title","Social media")</h3>
300 <p>@Translate("CookieSettings.SocialMedia.Description", "Op onze website staan social media buttons waarmee u de video’s op onze website via Vimeo of YouTube kunt bekijken en waarmee u informatie van onze website kunt delen via social media (Facebook, LinkedIn, Twitter, Tumblr, Pinterest). Voor het plaatsen van social media cookies is uw toestemming vereist.")</p>
301 </div>
302 </div>
303
304 <div class="row cookiesettings__option-row">
305 <div class="col-xs-2">
306 <label for="optincategory-marketing" class="checkbox-toggle">
307 <input type="checkbox" class="cookiesettings__checkbox" value="Marketing_Cookies" name="OptInCategory" id="optincategory-marketing" @marketingcookieenabled="">
308 <span class="checkbox-slider"></span>
309 </label>
310 </div>
311 <div class="col-xs-10">
312 <h3>@Translate("CookieSettings.Marketing.Title", "Marketing cookies")</h3>
313 <p>@Translate("CookieSettings.Marketing.Description", "We willen graag dat onze website zo relevant mogelijk voor u is. Om een beeld van uw interesses en voorkeuren te krijgen, gebruiken wij marketing cookies. Hiermee verzamelen wij en derde partijen informatie over uw bezoek(en) aan onze website. Deze informatie stelt ons in staat om de inhoud van onze website aan te passen aan uw wensen en u van gerichte informatie te voorzien die op dat moment voor u relevant is. Voor het plaatsen van marketing cookies is uw toestemming vereist.")</p>
314 </div>
315 </div>
316
317 <div class="row cookiesettings__actions">
318 <div class="col-xs-12">
319 <button type="submit" class="btn cookiesettings__button">@Translate("CookieSetting.Btn.Save", "Voorkeuren opslaan")</button>
320 </div>
321 </div>
322 </form>
323 </div>
324 </div>
325
326 <script>
327 function changeOptInSettings() {
328 var formElement = document.getElementById("cookieWarningForm");
329 var formData = new FormData(formElement);
330
331 if(!formData.has('OptInCategory')) {
332 // Set Optinlevel to 0 if no category is selected
333 formData.set('OptInLevel', 0);
334 }
335
336 var xmlhttp = new XMLHttpRequest();
337 xmlhttp.onreadystatechange = function () {
338 if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
339 location.reload();
340 return false;
341 }
342 }
343
344 xmlhttp.open(formElement.method, formElement.action);
345 xmlhttp.send(formData);
346
347 return false;
348 }
349 </script>
350 </div>
351
352 <footer>
353 <div class="container">
354 <div class="row">
355
356 @GetValue("DwNavigation(headernavigation)")
357
358 <div class="col-sm-3 print-hide-social">
359 @GetString("Item.Area.Social_media")
360 </div>
361
362 <div class="col-sm-3 print-hide-contact">
363 @GetString("Item.Area.Fourth_Column")
364 </div>
365
366 </div>
367 </div>
368 </footer>
369
370 <!-- Javascript -->
371 <script src="/Files/Templates/Designs/Shared/dist/js/main.min.js"></script>
372 <script src="/Files/Templates/Designs/Shared/src/js/jquery.validate.min.js"></script>
373 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
374 </body>
375 </html>