File Manager

Current Directory: /home/astoriaah/www/templates/yootheme-BK/vendor/yootheme/theme/builder/popover
Viewing File: /home/astoriaah/www/templates/yootheme-BK/vendor/yootheme/theme/builder/popover/template.php
<?php $id = $element['id']; $class = $element['class']; $attrs = $element['attrs']; $attrs_container = []; $attrs_image = []; $attrs_fallback = []; // Container $attrs_container['class'][] = 'uk-inline'; // Fix stacking context for drops if parallax is enabled $class[] = $element['animation'] == 'parallax' ? 'uk-position-relative uk-position-z-index' : ''; // Image if ($element['background_image']) { $attrs_image['alt'] = $element['background_image_alt']; $attrs_image['uk-img'] = true; if ($this->isImage($element['background_image']) == 'gif') { $attrs_image['uk-gif'] = true; } if ($this->isImage($element['background_image']) == 'svg') { $element['background_image'] = $this->image($element['background_image'], array_merge($attrs_image, ['width' => $element['background_image_width'], 'height' => $element['background_image_height']])); } else { $element['background_image'] = $this->image([$element['background_image'], 'thumbnail' => [$element['background_image_width'], $element['background_image_height']], 'srcset' => true], $attrs_image); } } // Fallback $attrs_fallback['class'][] = 'uk-margin uk-hidden@s'; ?> <div<?= $this->attrs(compact('id', 'class'), $attrs) ?>> <div<?= $this->attrs($attrs_container) ?>> <?php if ($element['background_image']) : ?> <?= $element['background_image'] ?> <?php endif ?> <div class="uk-visible@s"> <?php foreach ($element as $item) : ?> <?= $this->render('@builder/popover/template-marker', compact('item')) ?> <?php endforeach ?> </div> </div> <div<?= $this->attrs($attrs_fallback) ?>> <?= $this->render('@builder/popover/template-fallback') ?> </div> </div>