diff options
author | MaZderMind | 2015-03-31 23:17:01 +0200 |
---|---|---|
committer | MaZderMind | 2015-03-31 23:17:01 +0200 |
commit | 024d632396def58c335944cae24371a10a3306b9 (patch) | |
tree | 579b4cdf2b4bb00a4329e186e19d2b2f9b1e519d /template/relive.phtml | |
parent | 5b3788456f9e5b290eb2148af50b3f0a981a8923 (diff) |
Implement Relive based on the MVT Pattern
Diffstat (limited to 'template/relive.phtml')
-rw-r--r-- | template/relive.phtml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/template/relive.phtml b/template/relive.phtml index b26dd20..94e4acf 100644 --- a/template/relive.phtml +++ b/template/relive.phtml @@ -21,20 +21,19 @@ </div> <? else: ?> <? foreach ($talks as $talk): ?> - <? $url = ($talk['status'] == 'released') ? $talk['release_url'] : link_vod($talk['id']) ?> <div class="col-xs-12 recording"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"> - <a href="<?=h($url)?>"> + <a href="<?=h($talk['url'])?>"> <?=h($talk['title'])?> </a> </h3> </div> <div class="panel-body"> - <a href="<?=h($url)?>"> + <a href="<?=h($talk['url'])?>"> <img class="preview" alt="<?=h($talk['title'])?>" class="video-thumbnail" src="<?=h($talk['thumbnail'])?>" width="213" height="120" /> </a> |