templates/event_list_v2.html5 line 8

Open in your IDE?
  1. <?php 
  2. $date = new \Date($this->firstDate);
  3. $newtime $date->tstamp ?: $this->startDate
  4. ?>
  5. <div class=" block event layout_list <?= $this->classList ?>" itemscope itemtype="http://schema.org/Event">
  6.     
  7.     <div class="  block date">
  8.         <?php echo $this->parseDate("d"$newtime); ?><br><?php echo $this->parseDate("M"$newtime); ?>
  9.     </div>
  10.     <div class=" block event-content">
  11.         <div class="  block title">
  12.             <a href="<?= $this->href ?>" itemprop="url" title="<?= $this->title ?> (<?php if ($this->day) echo $this->day ', '?><?= $this->date ?><?php if ($this->time) echo ', ' $this->time?>)"<?= $this->target ?>><?= $this->link ?></a>
  13.         </div>
  14.             
  15.         <div class="  block location">
  16.             <?php if ($this->location): ?>
  17.                 <i class="fa fa-location-arrow"></i><?= $this->locationLabel ?><?= $this->location ?>
  18.             <?php endif; ?>
  19.         </div>
  20.         
  21.         <?php if ($this->time): ?>
  22.         <div class="  block time" itemprop="startDate">
  23.             <i class="fa fa-clock-o"></i><?= $this->time ?>
  24.         </div>
  25.         <?php endif; ?>
  26.     </div>
  27.     
  28. </div>