-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
35 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,48 @@ | ||
<div id="tl_buttons"> | ||
<a href="contao/main.php?do=Videohandbuch" class="header_back" title="<?=$this->backTitle; ?>" accesskey="b" | ||
<a href="contao/main.php?do=Videohandbuch" class="header_back" title="<?= $this->backTitle; ?>" accesskey="b" | ||
onclick="Backend.getScrollOffset();">Zurück zur Kategorieübersicht</a> | ||
</div> | ||
<h2 class="sub_headline"><?=$this->Kategoriename ?></h2> | ||
<h2 class="sub_headline"><?= $this->Kategoriename ?></h2> | ||
|
||
<div class="tl_listing_container" id="tl_contaoacademy"> | ||
|
||
<?php if (!$this->Videos): ?> | ||
<p>KEINE INHALTE VERFÜGBAR!</p> | ||
<?php else: ?> | ||
|
||
<h3>Bitte ein Video auswählen:</h3> | ||
<ol class="ca-list"> | ||
<?php foreach ($this->Videos as $objVideo): ?> | ||
<li class="ca-item video_<?= $objVideo->videoid ?>""> | ||
<a data-lightbox="inline" data-videoid="<?= $objVideo->videoid ?>" | ||
class="video-open" | ||
href="#vimeo_<?= $objVideo->videoid ?>"><?=$objVideo->headline ?> | ||
(<span><?=$objVideo->dauer ?> min</span>)</a> | ||
<div style="display: none;"> | ||
<div class="modal-popup" id="vimeo_<?= $objVideo->videoid ?>"> | ||
<h3><?=$objVideo->headline ?></h3> | ||
<div class='embed-container'> | ||
<?php //Platzhalter iframe ?> | ||
</div> | ||
<h3>Bitte ein Video auswählen:</h3> | ||
<ol class="ca-list"> | ||
<?php foreach ($this->Videos as $objVideo): ?> | ||
<li class="ca-item video_<?= $objVideo->videoid ?>""> | ||
<a data-lightbox="inline" data-videoid="<?= $objVideo->videoid ?>" | ||
class="video-open" | ||
href="#vimeo_<?= $objVideo->videoid ?>"><?= $objVideo->headline ?> | ||
(<span><?= $objVideo->dauer ?> min</span>)</a> | ||
<div style="display: none;"> | ||
<div class="modal-popup" id="vimeo_<?= $objVideo->videoid ?>"> | ||
<h3><?= $objVideo->headline ?></h3> | ||
<div class='embed-container'> | ||
<?php //Platzhalter iframe ?> | ||
</div> | ||
|
||
<?php if ($objVideo->content): ?> | ||
<div class="ca_content"> | ||
<?php foreach ($objVideo->content as $objContent): ?> | ||
<div class="ca_text"> | ||
<h3><?=$objContent->headline ?></h3> | ||
<?=base64_decode($objContent->text) ?> | ||
</div> | ||
<?php endforeach; ?> | ||
<?php if ($objVideo->content): ?> | ||
<div class="ca_content"> | ||
<?php foreach ($objVideo->content as $objContent): ?> | ||
<?php $txtOutput = base64_decode($objContent->text) ?> | ||
<?php $internalLink = preg_match('{{news_url::\d*}}', $txtOutput); ?> | ||
<?php if ($internalLink == 1): ?> | ||
<?php $txtOutput = strip_tags($txtOutput, '<p>'); ?> | ||
<?php endif; ?> | ||
<div class="ca_text"> | ||
<h3><?= $objContent->headline ?></h3> | ||
<?= $txtOutput; ?> | ||
</div> | ||
<?php endif; ?> | ||
<?php endforeach; ?> | ||
</div> | ||
</div> | ||
</li> | ||
<?php endforeach; ?> | ||
</ol> | ||
<?php endif; ?> | ||
<?php endif; ?> | ||
</div> | ||
</div> | ||
</li> | ||
<?php endforeach; ?> | ||
</ol> | ||
<?php endif; ?> |