Browse code

Update remote

Benjamin Roth authored on24/03/2023 11:24:53
Showing1 changed files
... ...
@@ -4,7 +4,8 @@
4 4
         <?php if ($this->singleSRC): ?>
5 5
             <div class="event--image-wrapper">
6 6
 
7
-                <img class="swiper-lazy" data-src="<?= $this->singleSRC; ?>">
7
+                <?php $this->insert('picture_default', $this->arrData['picture']); ?>
8
+
8 9
             </div>
9 10
         <?php endif; ?>
10 11
 
Browse code

Initial commit

Benjamin Roth authored on16/03/2023 20:22:35
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,60 @@
1
+<div class="swiper-slide">
2
+    <div class="event layout_slide<?= $this->classList ?>">
3
+
4
+        <?php if ($this->singleSRC): ?>
5
+            <div class="event--image-wrapper">
6
+
7
+                <img class="swiper-lazy" data-src="<?= $this->singleSRC; ?>">
8
+            </div>
9
+        <?php endif; ?>
10
+
11
+        <div class="event--content-wrapper">
12
+            <h3 title="<?= $this->title ?> (<?php if ($this->day): ?><?= $this->day ?>, <?php endif; ?><?= $this->date ?><?php if ($this->time): ?> <?= $this->time ?><?php endif; ?>)">
13
+                <?= $this->title ?>
14
+            </h3>
15
+
16
+            <div class="event--data-wrapper">
17
+                <?php if ($this->date): ?>
18
+                    <?= $this->date ?>,
19
+                <?php endif; ?>
20
+                <?php if ($this->time): ?>
21
+                    <span class="time">
22
+                        <time datetime="<?= $this->datetime ?>"><?= $this->time ?></time> Uhr </span>
23
+                <?php endif; ?>
24
+                <?php if ($this->location): ?>
25
+                    <span class="location">| <?= $this->location ?><?php if ($this->address): ?> (<?= $this->address ?>)<?php endif; ?></span>
26
+                <?php endif; ?>
27
+            </div>
28
+
29
+            <?php if ($this->teaser): ?>
30
+                <div class="ce_text mt-1 block pb-1">
31
+                    <?= $this->teaser ?>
32
+                </div>
33
+            <?php endif; ?>
34
+
35
+            <?php if ($this->details): ?>
36
+                <div class="event--button pt-1">
37
+                    <a href="<?= $this->href;?>"
38
+                       class="btn btn-outline-primary btn-sm">mehr lesen</a>
39
+                </div>
40
+            <?php endif; ?>
41
+
42
+        </div>
43
+    </div>
44
+</div>
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+<?php
53
+
54
+// This template is used as an event list template by default, so we only add
55
+// JSON-LD data in case this is an event without a reader
56
+if (!$this->hasReader) {
57
+    $this->addSchemaOrg($this->getSchemaOrgData());
58
+}
59
+
60
+