1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,17 @@ |
1 |
+ |
|
2 |
+ <?php foreach ($this->body as $class=>$row): ?> |
|
3 |
+ <?php foreach ($row as $col): ?> |
|
4 |
+ <?php if ($col->addImage): ?> |
|
5 |
+ <figure class="image_container"> |
|
6 |
+ <?php if ($col->href): ?> |
|
7 |
+ <a href="<?= $col->href ?>"<?= $col->attributes ?> title="<?= $col->alt ?>"><?php $this->insert('picture_default', $col->picture); ?></a> |
|
8 |
+ <?php else: ?> |
|
9 |
+ <?php $this->insert('picture_default', $col->picture); ?> |
|
10 |
+ <?php endif; ?> |
|
11 |
+ <?php if ($col->caption): ?> |
|
12 |
+ <figcaption class="caption"><?= $col->caption ?></figcaption> |
|
13 |
+ <?php endif; ?> |
|
14 |
+ </figure> |
|
15 |
+ <?php endif; ?> |
|
16 |
+ <?php endforeach; ?> |
|
17 |
+ <?php endforeach; ?> |