Browse code

Refactor and rewrite as contao bundle

Benjamin Roth authored on04/11/2022 22:32:32
Showing1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,22 +0,0 @@
1
-<?php $this->block('content'); ?>
2
-
3
-<div class="swiper-slide slide_<?= $this->id ?>">
4
-  <?php if ($this->eSM_addImage && ($this->src || count($this->videoFiles))): ?>
5
-    <div class="swiper-background">
6
-      <?php if ($this->videoFiles): ?>
7
-        <video class="no-mejs" autoplay loop muted>
8
-          <?php foreach ($this->videoFiles as $video): ?>
9
-            <source src="<?php echo TL_FILES_URL . $video->path ?>" type="video/<?php echo $video->extension ?>">
10
-          <?php endforeach ?>
11
-        </video>
12
-      <?php endif; ?>
13
-    </div>
14
-
15
-    <style>
16
-      <?= $this->backgroundStyle ?>
17
-      <?php if ($this->backgroundStyleResponsive): ?><?= $this->backgroundStyleResponsive ?><?php endif; ?>
18
-    </style>
19
-  <?php endif; ?>
20
-  <div class="slide-content">
21
-
22
-<?php $this->endblock(); ?>
Browse code

Initial commit

Benjamin Roth authored on19/05/2020 21:59:44
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,22 @@
1
+<?php $this->block('content'); ?>
2
+
3
+<div class="swiper-slide slide_<?= $this->id ?>">
4
+  <?php if ($this->eSM_addImage && ($this->src || count($this->videoFiles))): ?>
5
+    <div class="swiper-background">
6
+      <?php if ($this->videoFiles): ?>
7
+        <video class="no-mejs" autoplay loop muted>
8
+          <?php foreach ($this->videoFiles as $video): ?>
9
+            <source src="<?php echo TL_FILES_URL . $video->path ?>" type="video/<?php echo $video->extension ?>">
10
+          <?php endforeach ?>
11
+        </video>
12
+      <?php endif; ?>
13
+    </div>
14
+
15
+    <style>
16
+      <?= $this->backgroundStyle ?>
17
+      <?php if ($this->backgroundStyleResponsive): ?><?= $this->backgroundStyleResponsive ?><?php endif; ?>
18
+    </style>
19
+  <?php endif; ?>
20
+  <div class="slide-content">
21
+
22
+<?php $this->endblock(); ?>