templates/relaunch2017/news_reader.html5 line 21

Open in your IDE?
  1. <div class="layout_newsreader block<?= $this->class ?>">
  2.   <div class="col-sm-12">
  3.     <h1><?= $this->newsHeadline ?></h1>
  4.     <?php if ($this->addImage): ?>
  5.       <div class="image_container">
  6.           <img class="img-responsive" src="<?= $this->picture['img']['src']; ?>">
  7.       </div>
  8.     <?php endif; ?>
  9.     <?php if ($this->hasMetaFields): ?>
  10.       <p class="info"><time datetime="<?= $this->datetime ?>"><?= $this->date ?></time> <?= $this->commentCount ?></p>
  11.     <?php endif; ?>
  12.     <?php if ($this->hasSubHeadline): ?>
  13.       <h2><?= $this->subHeadline ?></h2>
  14.     <?php endif; ?>
  15.     <?php if ($this->hasText): ?>
  16.       <?= $this->text ?>
  17.     <?php else: ?>
  18.       <div class="ce_text block">
  19.         <?= $this->teaser ?>
  20.       </div>
  21.     <?php endif; ?>
  22.     <?php if ($this->enclosure): ?>
  23.       <div class="enclosure">
  24.         <?php foreach ($this->enclosure as $enclosure): ?>
  25.           <p><?= Image::getHtml($enclosure['icon'], '''class="mime_icon"'?> <a href="<?= $enclosure['href'?>" title="<?= $enclosure['title'?>"><?= $enclosure['link'?> <span class="size">(<?= $enclosure['filesize'?>)</span></a></p>
  26.         <?php endforeach; ?>
  27.       </div>
  28.     <?php endif; ?>
  29.   </div>
  30. </div>