Das Template "mod_article.html5" habe ich ein bißchen modifiziert, weil ich eigene Buttosn für die Syndikation (nah den neuesten Richtlinien der jeweiligen Firmen) erstellt habe. Zu einer unveränderten Code-Zeile wird auf einen Fehler hingewiesen. Wer findet ihn?
2015-11-07 20_27_05-Templates » templates_a-klarinette.de_mod_article.html5 - Contao Open Source.png
Code:
<div class="<?= $this->class ?> block"<?= $this->cssID ?><?php if ($this->style): ?> style="<?= $this->style ?>"<?php endif; ?>>
<?php if ($this->printable): ?>
<!-- indexer::stop -->
<div class="pdf_link">
<?php if ($this->printButton): ?>
<a href="<?= $this->print ?>" rel="nofollow" title="<?= $this->printTitle ?>" onclick="window.print();return false"><img src="<?= TL_FILES_URL ?>assets/contao/images/print.gif" width="16" height="16" alt=""></a>
<?php endif; ?>
<?php if ($this->pdfButton): ?>
<a href="<?= $this->href ?>" rel="nofollow" title="<?= $this->pdfTitle ?>"><img src="<?= TL_FILES_URL ?>files/themes/Syndikation/pdf.gif" width="16" height="16" alt=""></a>
<?php endif; ?>
<?php if ($this->facebookButton): ?>
<a href="share/?p=facebook&u=<?= $this->encUrl ?>&t=<?= $this->encTitle ?>" rel="nofollow" title="<?= $this->facebookTitle ?>" onclick="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');return false"><img src="<?= TL_FILES_URL ?>files/themes/Syndikation/facebook.gif" width="16" height="16" alt=""></a>
<?php endif; ?>
<?php if ($this->gplusButton): ?>
<a href="share/?p=gplus&u=<?= $this->encUrl ?>&t=<?= $this->encTitle ?>" rel="nofollow" title="<?= $this->gplusTitle ?>" onclick="window.open(this.href,'','width=600,height=200,modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no');return false"><img src="<?= TL_FILES_URL ?>files/themes/Syndikation/gplus.gif" width="16" height="16" alt=""></a>
<?php endif; ?>
<?php if ($this->twitterButton): ?>
<a href="share/?p=twitter&u=<?= $this->encUrl ?>&t=<?= $this->encTitle ?>" rel="nofollow" title="<?= $this->twitterTitle ?>" onclick="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');return false"><img src="<?= TL_FILES_URL ?>files/themes/Syndikation/twitter.gif" width="16" height="16" alt=""></a>
<?php endif; ?>
</div>
<!-- indexer::continue -->
<?php endif; ?>
<?= implode('', $this->elements) ?>
<?php if ($this->backlink): ?>
<!-- indexer::stop -->
<p class="back"><a href="<?= $this->backlink ?>" title="<?= $this->back ?>"><?= $this->back ?></a></p>
<!-- indexer::continue -->
<?php endif; ?>
</div>
Lesezeichen