Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

63 Zeilen
1.8 KiB

  1. <div class="layout_full block<?= $this->class ?>">
  2. <div class="spwn-head">
  3. <p class="category"><?php foreach ($this->categories as $category): ?><?php echo $category['title']; ?><?php endforeach; ?></p>
  4. <?php if ($this->hasMetaFields): ?>
  5. <p class="info"><time datetime="<?= $this->datetime ?>"><?= date("d. m. Y",$this->tstamp) ?></time> <?= $this->author ?> <?= $this->commentCount ?></p>
  6. <?php endif; ?>
  7. </div>
  8. <?php if ($this->addImage): ?>
  9. <figure class="image_container spwn-js-img">
  10. <img src="<?php echo $this->src; ?>"<?php echo $this->imgSize; ?> alt="<?php echo $this->alt; ?>" />
  11. </figure>
  12. <?php endif; ?>
  13. <h1><?= $this->newsHeadline ?></h1>
  14. <?php if ($this->hasSubHeadline): ?>
  15. <h2 class="spwn-subhl"><?= $this->subHeadline ?></h2>
  16. <?php endif; ?>
  17. <?php if ($this->hasText): ?>
  18. <?= $this->text ?>
  19. <?php else: ?>
  20. <div class="ce_text block">
  21. <?php if (!$this->addBefore): ?>
  22. <?= $this->teaser ?>
  23. <?php endif; ?>
  24. <?php if ($this->addImage): ?>
  25. <?php $this->insert('image', $this->arrData); ?>
  26. <?php endif; ?>
  27. <?php if ($this->addBefore): ?>
  28. <?= $this->teaser ?>
  29. <?php endif; ?>
  30. </div>
  31. <?php endif; ?>
  32. <?php if ($this->enclosure): ?>
  33. <ul class="enclosure">
  34. <?php foreach ($this->enclosure as $enclosure): ?>
  35. <li class="download-element ext-<?= $enclosure['extension'] ?>">
  36. <a href="<?= $enclosure['href'] ?>" title="<?= $enclosure['title'] ?>"><?= $enclosure['link'] ?> <span class="size">(<?= $enclosure['filesize'] ?>)</span></a>
  37. </li>
  38. <?php endforeach; ?>
  39. </ul>
  40. <?php endif; ?>
  41. </div>
  42. <?php
  43. $schemaOrg = $this->getSchemaOrgData();
  44. if ($this->hasText) {
  45. $schemaOrg['text'] = $this->rawHtmlToPlainText($this->text);
  46. }
  47. $this->addSchemaOrg($schemaOrg);