1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,24 @@ |
1 |
+<?php |
|
2 |
+ $cssClasses = array( |
|
3 |
+ 'standalone-buttons', |
|
4 |
+ $this->class, |
|
5 |
+ ); |
|
6 |
+?> |
|
7 |
+ |
|
8 |
+<div class="<?php echo implode(' ', $cssClasses) ?>"<?php echo $this->cssID; ?>> |
|
9 |
+ |
|
10 |
+ <?php if ($this->headline): ?> |
|
11 |
+ <<?php echo $this->hl ?>> |
|
12 |
+ <?php echo $this->headline ?> |
|
13 |
+ </<?php echo $this->hl ?>> |
|
14 |
+ <?php endif ?> |
|
15 |
+ |
|
16 |
+ <div class="standalone-buttons-wrapper<?php if ($this->linkAlign): ?> <?= $this->linkAlign ?><?php endif; ?>"> |
|
17 |
+ <?php foreach ($this->boxes as $index => $button): ?> |
|
18 |
+ <?php if ($button->linkLabel): ?> |
|
19 |
+ <a class="standalone-buttons-link<?= $button->altLayout ? ' '.$button->altLayout : ' '.$this->altLayout ?>" href="<?php echo $button->linkUrl ?>"<?php if ($button->newWindow): ?> target="_blank"<?php endif ?><?php if ($button->linkTitle): ?> title="<?= $button->linkTitle ?>"<?php endif ?><?php if ($button->attributes): ?> <?= $button->attributes ?><?php endif ?>><?php echo $button->linkLabel ?></a> |
|
20 |
+ <?php endif ?> |
|
21 |
+ <?php endforeach; ?> |
|
22 |
+ </div> |
|
23 |
+ |
|
24 |
+</div> |