diff options
author | MaZderMind | 2014-12-28 18:11:31 +0100 |
---|---|---|
committer | MaZderMind | 2014-12-28 18:11:31 +0100 |
commit | 249a86a414312dde48640cbc6f9348dd4878a6cc (patch) | |
tree | b769c00b3d9bc5dd98e77edb36787d7054f144e6 /template | |
parent | 574feed16ee9b4a8a2fd9bbe3d998ad2754f4795 (diff) |
link released relive-streams to media
Diffstat (limited to 'template')
-rw-r--r-- | template/relive.phtml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/template/relive.phtml b/template/relive.phtml index 7ad66bb..ce21a13 100644 --- a/template/relive.phtml +++ b/template/relive.phtml @@ -5,7 +5,13 @@ <div class="event-previews relive"> <? foreach ($talks as $talk): ?> - <a class="event-preview <?=h($talk['status'])?>" href="<?=h(link_vod($talk['id']))?>"> + <a class="event-preview <?=h($talk['status'])?>" + <? if($talk['status'] == 'released'): ?> + href="<?=h($talk['release_url'])?>" + <? else: ?> + href="<?=h(link_vod($talk['id']))?>" + <? endif ?> + > <img alt="<?=h($talk['title'])?>" class="video-thumbnail" src="http://vod.c3voc.de/relive/<?=h($talk['thumbnail'])?>"> <div class="caption"> <ul class="metadata"> |