diff options
author | MaZderMind | 2015-03-30 21:40:22 +0200 |
---|---|---|
committer | MaZderMind | 2015-03-30 21:40:22 +0200 |
commit | e6b64e9ef4ba03ee9cf8ea0dbf575c6979c79a45 (patch) | |
tree | a0281d137ddaef7e500d63a1b134a8d959886ed1 /template/assemblies | |
parent | 4d638aa9fb3081742bd85c9396e9204f36a5e9f2 (diff) |
Link to Rooms
Diffstat (limited to 'template/assemblies')
-rw-r--r-- | template/assemblies/schedule.phtml | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/template/assemblies/schedule.phtml b/template/assemblies/schedule.phtml index d2bb9e6..8d749ec 100644 --- a/template/assemblies/schedule.phtml +++ b/template/assemblies/schedule.phtml @@ -24,27 +24,28 @@ <? else: ?> + <? $scheduleRoom = Room::createIfExists($roomname) ?> <h4><?=h(strftime('%H:%M', $event['start']))?> – <?=h(strftime('%H:%M', $event['end']))?> in - <? /*if(has("ROOMS.$roomname")): ?> - <a href="<?=h(link_player($roomname))?>"> - <?=h(get("ROOMS.$roomname.DISPLAY"))?> + <? if($scheduleRoom): ?> + <a href="<?=h($scheduleRoom->createTabObject()->getLink($roomname))?>"> + <?=h($scheduleRoom->getDisplay())?> </a> - <? else:*/ ?> + <? else: ?> <?=h($roomname) ?> - <? /*endif*/ ?> + <? endif ?> </h4> <h3> - <? /*if(has("ROOMS.$roomname")): ?> + <? if($scheduleRoom): ?> <a - href="<?=h(link_player($roomname))?>" - title="Switch to <?=h(get("ROOMS.$roomname.DISPLAY"))?>" + href="<?=h($scheduleRoom->createTabObject()->getLink($roomname))?>" + title="Switch to <?=h($scheduleRoom->getDisplay())?>" ><?=h($event['title'])?></a> - <? else:*/ ?> + <? else: ?> <?=h($event['title'])?> - <? /*endif*/ ?> + <? endif ?> </h3> <? if($event['speaker']): ?> <h5>by <?=h($event['speaker'])?></h5> |