vendor/codefog/contao-cookiebar/templates/cookiebar.html5 line 18

Open in your IDE?
  1. <?php
  2. if ($this->includeCss) {
  3.     $GLOBALS['TL_CSS'][] = 'system/modules/cookiebar/assets/dist/cookiebar.min.css|all' . ($this->combineAssets '|static' '');
  4. }
  5. if ($this->combineAssets) {
  6.     $GLOBALS['TL_JAVASCRIPT'][] = 'system/modules/cookiebar/assets/dist/cookiebar.min.js|static';
  7. }
  8. ?>
  9. <!-- indexer::stop -->
  10. <div class="cookiebar cookiebar--position-<?= $this->position ?>" role="complementary" aria-describedby="cookiebar-text" style="display:none;" data-cookiebar="<?= $this->cookie ?>"<?php if ($this->ttl): ?> data-cookiebar-ttl="<?= $this->ttl ?>"<?php endif; ?>>
  11.     <div id="cookiebar-text" class="cookiebar__text" aria-live="assertive" role="alert">
  12.         <span class="cookiebar__message"><?= $this->message ?></span>
  13.         <?php if ($this->more): ?>
  14.             <a href="<?= $this->more['url'?>" class="cookiebar__link" title="<?= specialchars($this->more['label']) ?>"><?= $this->more['label'?></a>
  15.         <?php endif ?>
  16.     </div>
  17.     <?php if ($this->analyticsCheckbox): ?>
  18.         <div class="cookiebar__analytics">
  19.             <label class="cookiebar__analytics-label">
  20.                 <input type="checkbox" class="cookiebar__analytics-checkbox" value="" data-cookiebar-analytics> <span class="cookiebar__analytics-text"><?= $this->analyticsCheckbox['label'?></span>
  21.             </label>
  22.         </div>
  23.     <?php endif; ?>
  24.     <button class="cookiebar__button" data-cookiebar-accept><?= $this->button ?></button>
  25. </div>
  26. <?php if (!$this->combineAssets): ?>
  27.     <script src="system/modules/cookiebar/assets/dist/cookiebar.min.js" defer></script>
  28. <?php endif; ?>
  29. <!-- indexer::continue -->