... | ... |
@@ -88,7 +88,7 @@ if (TL_MODE == 'FE') { |
88 | 88 |
<div class="col-12 col-md-auto"> |
89 | 89 |
<div class="ts--buttons <?php if ($this->nocolumns) : ?>mt-3<?php else: ?>mt-3 mt-md-0 <?php endif; ?>"> |
90 | 90 |
<a class="d-inline-block btn <?php if ($this->link_size) : ?><?php echo $this->link_size; ?><?php endif; ?> <?php echo $this->link_type; ?>" |
91 |
- href="<?php echo $this->link_url; ?><?php if ($this->link_betreff) : ?>?subject=<?php echo $this->link_betreff; ?><?php endif; ?>"><?php echo $this->link_text; ?></a> |
|
91 |
+ href="<?php echo $this->link_url; ?><?php if ($this->link_betreff) : ?>?subject=<?php echo $this->link_betreff; ?><?php endif; ?>"<?php if ($this->link_target): ?> target="_blank"<?php endif; ?>><?php echo $this->link_text; ?></a> |
|
92 | 92 |
</div> |
93 | 93 |
</div> |
94 | 94 |
<?php endif; ?> |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,99 @@ |
1 |
+<?php |
|
2 |
+if (TL_MODE == 'FE') { |
|
3 |
+ $GLOBALS['TL_CSS'][] = 'files/base/layout/css/elements/custom-elements/ce_rsce_teaserstripe.min.css|static'; |
|
4 |
+} |
|
5 |
+?> |
|
6 |
+ |
|
7 |
+ |
|
8 |
+<div <?php echo $this->cssID; ?> class="lazy content--element <?php echo $this->class; ?>" |
|
9 |
+ |
|
10 |
+ data-bg="<?= Image::get(FilesModel::findByUuid($this->image)->path, null, null, null); ?>" |
|
11 |
+ |
|
12 |
+ style=" |
|
13 |
+ |
|
14 |
+ background-position: center center; background-repeat:no-repeat; background-size: cover; |
|
15 |
+ |
|
16 |
+ <?php if ($this->text_color) : ?> |
|
17 |
+ color: <?= $this->text_color;?>; |
|
18 |
+ <?php endif; ?> |
|
19 |
+ |
|
20 |
+ |
|
21 |
+ <?php if ($this->background_color) : ?> |
|
22 |
+ background-color: <?= $this->background_color;?>; |
|
23 |
+ <?php endif; ?> |
|
24 |
+ <?php if ($this->alternate_background_color) : ?> |
|
25 |
+ background-color: <?= $this->alternate_background_color;?>; |
|
26 |
+ <?php endif; ?> |
|
27 |
+ " |
|
28 |
+ |
|
29 |
+> |
|
30 |
+ <div class="ce--inner <?php if ($this->background_color) : ?>with-bg<?php endif;?>"> |
|
31 |
+ <?php if ($this->headline || $this->subline || $this->topline) : ?> |
|
32 |
+ <div class="ce--headline" |
|
33 |
+ data-aos="<?php if ($this->animation_type) : ?><?php echo $this->animation_type; ?><?php else : ?>animate__fadeInUp<?php endif; ?>"> |
|
34 |
+ <div class="container"> |
|
35 |
+ <?php if ($this->topline) : ?> |
|
36 |
+ <span class="ce--topline"><?php echo $this->topline; ?></span> |
|
37 |
+ <?php endif; ?> |
|
38 |
+ <?php if ($this->headline) : ?> |
|
39 |
+ <<?php echo($this->hl); ?>> |
|
40 |
+ <?php echo($this->headline); ?> |
|
41 |
+ </<?php echo($this->hl); ?>> |
|
42 |
+ <?php endif; ?> |
|
43 |
+ <?php if ($this->subline) : ?> |
|
44 |
+ <span class="ce--subline"><?php echo $this->subline; ?></span> |
|
45 |
+ <?php endif; ?> |
|
46 |
+ </div> |
|
47 |
+ </div> |
|
48 |
+ <?php endif; ?> |
|
49 |
+ <div class="ce--teaser-stripe" |
|
50 |
+ > |
|
51 |
+ <div class="ts--inner" |
|
52 |
+ data-aos="<?php if ($this->animation_type) : ?><?php echo $this->animation_type; ?><?php else : ?>animate__fadeInUp<?php endif; ?>" |
|
53 |
+ |
|
54 |
+ > |
|
55 |
+ |
|
56 |
+ <div class="container"> |
|
57 |
+ |
|
58 |
+ <div class="<?php if (!$this->nocolumns) : ?>row<?php endif; ?> align-items-center justify-content-center"> |
|
59 |
+ <?php if ($this->ce_headline || $this->ce_subline || $this->text) : ?> |
|
60 |
+ <div class="col"> |
|
61 |
+ <?php if ($this->ce_topline) : ?> |
|
62 |
+ <div class="teaser--topline ce--topline" style="<?php if ($this->text_color) : ?> |
|
63 |
+ color: <?= $this->text_color;?>; |
|
64 |
+ <?php endif; ?>"><?php echo $this->ce_topline; ?></div> |
|
65 |
+ <?php endif; ?> |
|
66 |
+ <?php if ($this->ce_headline) : ?> |
|
67 |
+ <div class="teaser--headline"> |
|
68 |
+ <span style=" |
|
69 |
+ <?php if ($this->text_color) : ?> |
|
70 |
+ color: <?= $this->text_color;?>; |
|
71 |
+ <?php endif; ?>" class="mb-0 <?php echo($this->headline_type); ?>" |
|
72 |
+ ><?php echo($this->ce_headline); ?></span> |
|
73 |
+ </div> |
|
74 |
+ <?php endif; ?> |
|
75 |
+ <?php if ($this->ce_subline) : ?> |
|
76 |
+ <div class="teaser--subline ce--subline" style="<?php if ($this->text_color) : ?> |
|
77 |
+ color: <?= $this->text_color;?>; |
|
78 |
+ <?php endif; ?>"><?php echo $this->ce_subline; ?></div> |
|
79 |
+ <?php endif; ?> |
|
80 |
+ <?php if ($this->text) : ?> |
|
81 |
+ <div class="ts--text <?php if ($this->dynamic_fontsize): ?>dynamic-fontsize-sm<?php endif; ?> <?php if ($this->ce_headline || $this->ce_subline) : ?>mt-1<?php endif; ?>"> |
|
82 |
+ <?php echo $this->text; ?> |
|
83 |
+ </div> |
|
84 |
+ <?php endif; ?> |
|
85 |
+ </div> |
|
86 |
+ <?php endif; ?> |
|
87 |
+ <?php if ($this->link_text) : ?> |
|
88 |
+ <div class="col-12 col-md-auto"> |
|
89 |
+ <div class="ts--buttons <?php if ($this->nocolumns) : ?>mt-3<?php else: ?>mt-3 mt-md-0 <?php endif; ?>"> |
|
90 |
+ <a class="d-inline-block btn <?php if ($this->link_size) : ?><?php echo $this->link_size; ?><?php endif; ?> <?php echo $this->link_type; ?>" |
|
91 |
+ href="<?php echo $this->link_url; ?><?php if ($this->link_betreff) : ?>?subject=<?php echo $this->link_betreff; ?><?php endif; ?>"><?php echo $this->link_text; ?></a> |
|
92 |
+ </div> |
|
93 |
+ </div> |
|
94 |
+ <?php endif; ?> |
|
95 |
+ </div> |
|
96 |
+ </div> |
|
97 |
+ </div> |
|
98 |
+ </div> |
|
99 |
+</div></div> |
|
0 | 100 |
\ No newline at end of file |