1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,53 @@ |
1 |
+<?php $this->extend('block_unsearchable'); ?> |
|
2 |
+ |
|
3 |
+<?php $this->block('content'); ?> |
|
4 |
+ |
|
5 |
+ <?php foreach ($this->faq as $category): ?> |
|
6 |
+ <article class="<?= $category['class'] ?>"> |
|
7 |
+ <h2><?= $category['headline'] ?></h2> |
|
8 |
+ |
|
9 |
+ <?php foreach ($category['items'] as $faq): ?> |
|
10 |
+ <section class="<?= $faq->class ?> ce_accordion"> |
|
11 |
+ <h3 class="toggler"><span class="title" id="<?= $faq->alias ?>"><?= $faq->question ?></span></h3> |
|
12 |
+ |
|
13 |
+ <div class="accordion"> |
|
14 |
+ |
|
15 |
+ <div class="ce_text block"> |
|
16 |
+ <?php if (!$faq->addBefore): ?> |
|
17 |
+ <?= $faq->answer ?> |
|
18 |
+ <?php endif; ?> |
|
19 |
+ |
|
20 |
+ <?php if ($faq->addImage): ?> |
|
21 |
+ <?php $this->insert('image', (array) $faq); ?> |
|
22 |
+ <?php endif; ?> |
|
23 |
+ |
|
24 |
+ <?php if ($faq->addBefore): ?> |
|
25 |
+ <?= $faq->answer ?> |
|
26 |
+ <?php endif; ?> |
|
27 |
+ </div> |
|
28 |
+ |
|
29 |
+ <?php if ($faq->enclosure): ?> |
|
30 |
+ <ul class="enclosure"> |
|
31 |
+ <?php foreach ($faq->enclosure as $enclosure): ?> |
|
32 |
+ <li class="download-element ext-<?= $enclosure['extension'] ?>"> |
|
33 |
+ <a href="<?= $enclosure['href'] ?>" title="<?= $enclosure['title'] ?>"><?= $enclosure['link'] ?> <span class="size">(<?= $enclosure['filesize'] ?>)</span></a> |
|
34 |
+ </li> |
|
35 |
+ <?php endforeach; ?> |
|
36 |
+ </ul> |
|
37 |
+ <?php endif; ?> |
|
38 |
+ |
|
39 |
+ <?php /*<p class="info"><?= $faq->info ?></p>*/ ?> |
|
40 |
+ |
|
41 |
+ </div> |
|
42 |
+ </section> |
|
43 |
+ <?php endforeach; ?> |
|
44 |
+ |
|
45 |
+ <p class="toplink"><a href="<?= $this->request ?>#top"><?= $this->topLink ?></a></p> |
|
46 |
+ </article> |
|
47 |
+ <?php endforeach; ?> |
|
48 |
+ |
|
49 |
+<?php $this->endblock(); ?> |
|
50 |
+ |
|
51 |
+<?php |
|
52 |
+ |
|
53 |
+$this->addSchemaOrg($this->getSchemaOrgData()); |