src/Rhyme/WMassArtsHub/Resources/contao/templates/events/event_full_artshub.html5 line 77

Open in your IDE?
  1. <?php
  2. use Rhyme\WMassArtsHub\Helper\GeneralHelper;
  3. $arrImage $this->getReaderMainImage();
  4. ?>
  5. <div class="event layout_full block<?= $this->class ?>" itemscope itemtype="http://schema.org/Event">
  6.     <div class="mod_article anglesBottom red1 rhyme_article_554 angles block" id="article-554">
  7.         <div class="angles top">
  8.             <div class="leftAngle">
  9.                 <svg id="Layer_1" style="enable-background:new 0 0 75 87.4;" height="100%" width="100%" viewBox="0 0 75 87.4" preserveAspectRatio="none">
  10.                     <polygon height="100%" width="100%" class="st0" points="0,87.4 75,0 75,87.4 ">
  11.                     </polygon></svg>
  12.             </div>
  13.             <div class="rightAngle">
  14.                 <svg id="Layer_2" style="enable-background:new 0 0 75 87.4;" height="100%" width="100%" viewBox="0 0 75 87.4" preserveAspectRatio="none">
  15.                     <polygon height="100%" width="100%" class="st0" points="75,87.4 0,0 0,87.4 ">
  16.                     </polygon></svg>
  17.             </div>
  18.         </div>
  19.         <div class="inner">
  20.             <div class="ce_pageheader  noimage block">
  21.                 <div class="textContent">
  22.                     <div class="inner">
  23.                         <h1 itemprop="name"><?= $this->title ?></h1>
  24.                     </div>
  25.                 </div>
  26.                 <div class="angles_placeholder"></div>
  27.             </div>
  28.         </div>
  29.         <div class="angles bottom">
  30.             <div class="leftAngle">
  31.                 <svg id="Layer_1" style="enable-background:new 0 0 75 87.4;" height="100%" width="100%" viewBox="0 0 75 87.4" preserveAspectRatio="none">
  32.                     <polygon height="100%" width="100%" class="st0" points="0,87.4 75,0 75,87.4 ">
  33.                     </polygon></svg>
  34.             </div>
  35.             <div class="rightAngle">
  36.                 <svg id="Layer_2" style="enable-background:new 0 0 75 87.4;" height="100%" width="100%" viewBox="0 0 75 87.4" preserveAspectRatio="none">
  37.                     <polygon height="100%" width="100%" class="st0" points="75,87.4 0,0 0,87.4 ">
  38.                     </polygon></svg>
  39.             </div>
  40.         </div>
  41.     </div>
  42.     <div class="mainContent">
  43.         <div class="dateTimeLocation">
  44.             <div class="dateTime">
  45.                 <h2>Date/Time</h2>
  46.                 <?php if ($this->recurring): ?>
  47.                     <p class="info recurring"><?= $this->recurring ?></p>
  48.                 <?php else: ?>
  49.                     <p class="info"><time datetime="<?= $this->datetime ?>" itemprop="startDate"><?= $this->date ?><?php if ($this->time): ?> <span class="time"><?= $this->time ?></span><?php endif; ?></time></p>
  50.                 <?php endif; ?>
  51.             </div>
  52.             <?php if ($this->location): ?>
  53.                 <div class="location">
  54.                     <h2>Location</h2>
  55.                     <p itemprop="location" itemscope itemtype="http://schema.org/Place">
  56.                         <span itemprop="name"><?= $this->location ?></span>
  57.                         <?php if ($this->address): ?>
  58.                             <span class="address" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">(<?= $this->address ?>)</span>
  59.                         <?php endif; ?>
  60.                     </p>
  61.                 </div>
  62.             <?php endif; ?>
  63.         </div>
  64.         <div class="details">
  65.             <div class="inner">
  66.                 <?php if ($this->details): ?>
  67.                     <?= $this->details ?>
  68.                 <?php else: ?>
  69.                     <?php if ($this->addImage && !empty($arrImage)): ?>
  70.                         <figure class="image_container main_image<?= $arrImage['additionalClasses'?>">
  71.                             <a href="<?= $arrImage['originalSrc'?>" class="photoswipe"<?= GeneralHelper::getPhotoswipeDataForImage($arrImage'lightbox-profile' $this->id?>>
  72.                                 <?php $this->insert('picture_default'$arrImage['picture']); ?>
  73.                             </a>
  74.                         </figure>
  75.                     <?php endif; ?>
  76.                     <div class="ce_text block">
  77.                         <p><?= $this->teaser ?></p>
  78.                     </div>
  79.                 <?php endif; ?>
  80.                 <?php if ($this->enclosure): ?>
  81.                     <ul class="enclosure">
  82.                         <?php foreach ($this->enclosure as $enclosure): ?>
  83.                             <li class="download-element ext-<?= $enclosure['extension'?>">
  84.                                 <a href="<?= $enclosure['href'?>" title="<?= $enclosure['title'?>"><?= $enclosure['link'?> <span class="size">(<?= $enclosure['filesize'?>)</span></a>
  85.                             </li>
  86.                         <?php endforeach; ?>
  87.                     </ul>
  88.                 <?php endif; ?>
  89.             </div>
  90.         </div>
  91.     </div>
  92. </div>