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,46 @@
1
+<?php $this->extend('block_searchable'); ?>
2
+<?php $this->block('content'); ?>
3
+
4
+<?php if ($this->message): ?>
5
+    <p class="ctlg_view_message"><?= $this->message; ?></p>
6
+<?php endif; ?>
7
+
8
+<?php if (!empty($this->createOperation) && is_array($this->createOperation)): ?>
9
+    <div class="new-operator">
10
+        <a href="<?= $this->createOperation['href'] ?>"><span
11
+                    class="new-icon"><?= $this->createOperation['image']; ?></span> <?= $this->createOperation['title'] ?>
12
+        </a>
13
+    </div>
14
+<?php endif; ?>
15
+
16
+<?php if ($this->showAsGroup): ?>
17
+    <?php foreach ($this->data as $strGroup => $arrOutput): ?>
18
+        <div class="ctlg_group">
19
+            <div class="ctlg_group_headline"><<?= $this->catalogGroupHeadlineTag; ?>
20
+                ><?= $strGroup; ?></<?= $this->catalogGroupHeadlineTag; ?>>
21
+        </div>
22
+        <div class="ctlg_group_content"><?= join($arrOutput); ?></div>
23
+        </div>
24
+    <?php endforeach; ?>
25
+<?php else: ?>
26
+    <div class="container">
27
+        <div class="row justify-content-center gx-lg-4">
28
+            <?= $this->output; ?>
29
+        </div>
30
+    </div>
31
+<?php endif; ?>
32
+
33
+<?php if ($this->allowComments): ?>
34
+    <div class="ce_comments block">
35
+        <p class="add-comment"><?= $this->addComment; ?></p>
36
+        <?= implode('', $this->comments) ?>
37
+        <?= $this->pagination ?>
38
+        <?php include $this->getTemplate('mod_comment_form', 'html5'); ?>
39
+    </div>
40
+<?php endif; ?>
41
+
42
+<?php if ($this->catalogAddPagination): ?>
43
+    <?= $this->pagination; ?>
44
+<?php endif; ?>
45
+
46
+<?php $this->endblock(); ?>
0 47
\ No newline at end of file