1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,53 @@ |
1 |
+ |
|
2 |
+<?php if ($this->teaserOnly): ?> |
|
3 |
+ |
|
4 |
+ <?php $this->block('alias'); ?> |
|
5 |
+ <article class="<?= $this->class ?> block"<?= $this->cssID ?><?php if ($this->style): ?> style="<?= $this->style ?>"<?php endif; ?>> |
|
6 |
+ <div class="ce_text block"> |
|
7 |
+ <h2><?= $this->headline ?></h2> |
|
8 |
+ <div class="teaser"> |
|
9 |
+ <?= $this->teaser ?> |
|
10 |
+ <p class="more"><a href="<?= $this->href ?>" title="<?= $this->readMore ?>"><?= $this->more ?> <span class="invisible"><?= $this->headline ?></span></a></p> |
|
11 |
+ </div> |
|
12 |
+ </div> |
|
13 |
+ </article> |
|
14 |
+ <?php $this->endblock(); ?> |
|
15 |
+ |
|
16 |
+<?php elseif ($this->noMarkup): ?> |
|
17 |
+ |
|
18 |
+ <?php $this->block('content'); ?> |
|
19 |
+ <?= implode('', $this->elements) ?> |
|
20 |
+ <?php $this->endblock(); ?> |
|
21 |
+ |
|
22 |
+<?php else: ?> |
|
23 |
+ |
|
24 |
+ <div class="<?= $this->class ?> block"<?= $this->cssID ?><?php if ($this->style): ?> style="<?= $this->style ?>"<?php endif; ?>> |
|
25 |
+ <?php if ($this->printable): ?> |
|
26 |
+ <?php $this->block('syndication'); ?> |
|
27 |
+ <!-- indexer::stop --> |
|
28 |
+ <div class="syndication"> |
|
29 |
+ <?php if ($this->printButton): ?> |
|
30 |
+ <a href="<?= $this->print ?>" class="print" title="<?= $this->printTitle ?>" onclick="window.print();return false" data-skip-search-index><?= Contao\Image::getHtml('assets/contao/images/print.svg') ?></a> |
|
31 |
+ <?php endif; ?> |
|
32 |
+ <?php if ($this->pdfButton): ?> |
|
33 |
+ <a href="<?= $this->href ?>" class="pdf" title="<?= $this->pdfTitle ?>" data-skip-search-index><?= Contao\Image::getHtml('assets/contao/images/pdf.svg') ?></a> |
|
34 |
+ <?php endif; ?> |
|
35 |
+ <?php if ($this->facebookButton): ?> |
|
36 |
+ <a href="<?= $this->route('contao_frontend_share', ['p' => 'facebook', 'u' => $this->encUrl]) ?>" class="facebook" rel="nofollow" title="<?= $this->facebookTitle ?>" onclick="var w=window.open(this.href,'','width=640,height=380,modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no');w.opener=null;return false"><?= Contao\Image::getHtml('assets/contao/images/facebook.svg') ?></a> |
|
37 |
+ <?php endif; ?> |
|
38 |
+ <?php if ($this->twitterButton): ?> |
|
39 |
+ <a href="<?= $this->route('contao_frontend_share', ['p' => 'twitter', 'u' => $this->encUrl, 't' => $this->encTitle]) ?>" class="twitter" rel="nofollow" title="<?= $this->twitterTitle ?>" onclick="var w=window.open(this.href,'','width=640,height=380,modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no');w.opener=null;return false"><?= Contao\Image::getHtml('assets/contao/images/twitter.svg') ?></a> |
|
40 |
+ <?php endif; ?> |
|
41 |
+ </div> |
|
42 |
+ <!-- indexer::continue --> |
|
43 |
+ <?php $this->endblock(); ?> |
|
44 |
+ <?php endif; ?> |
|
45 |
+ |
|
46 |
+ <?php $this->block('content'); ?> |
|
47 |
+ <?= implode('', $this->elements) ?> |
|
48 |
+ <?php $this->endblock(); ?> |
|
49 |
+ |
|
50 |
+ |
|
51 |
+ </div> |
|
52 |
+ |
|
53 |
+<?php endif; ?> |