Browse code

Progress

Benjamin Roth authored on14/12/2022 22:15:45
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,24 @@
1
+
2
+<section class="<?= $this->class ?> ce_accordion ce_text block"<?= $this->cssID ?><?php if ($this->style): ?> style="<?= $this->style ?>"<?php endif; ?>>
3
+
4
+  <div class="<?= $this->toggler ?>"<?php if ($this->headlineStyle): ?> style="<?= $this->headlineStyle ?>"<?php endif; ?>>
5
+    <span class="title"><?= $this->headline ?></span>
6
+  </div>
7
+
8
+  <div class="<?= $this->accordion ?>">
9
+    <div>
10
+      <?php if (!$this->addBefore): ?>
11
+        <?= $this->text ?>
12
+      <?php endif; ?>
13
+
14
+      <?php if ($this->addImage): ?>
15
+        <?php $this->insert('image', $this->arrData); ?>
16
+      <?php endif; ?>
17
+
18
+      <?php if ($this->addBefore): ?>
19
+        <?= $this->text ?>
20
+      <?php endif; ?>
21
+    </div>
22
+  </div>
23
+
24
+</section>