aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorMaZderMind2014-11-08 12:23:58 +0100
committerMaZderMind2014-11-08 12:23:58 +0100
commit88ea11761fef1622e29947ced1451841c4ab6fe6 (patch)
treeaa39e1afd646bb6324356f218832cd39784c7245 /template
parent7a1b70bf164358281a701c87ede07205fbb47984 (diff)
highlight current room in program strip
Diffstat (limited to 'template')
-rw-r--r--template/assemblies/program.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/assemblies/program.phtml b/template/assemblies/program.phtml
index 6eb418a..da3a479 100644
--- a/template/assemblies/program.phtml
+++ b/template/assemblies/program.phtml
@@ -8,7 +8,7 @@ foreach(reset($program) as $event)
<div class="scroll-element">
<div class="now"><span>now</span></div>
<? foreach($program as $name => $events): ?>
- <div class="room" style="width: <?=$width * $GLOBALS['CONFIG']['SCHEDULE_SCALE'] ?>px">
+ <div class="room <? if($name == $room): ?>highlight<? endif ?>" style="width: <?=$width * $GLOBALS['CONFIG']['SCHEDULE_SCALE'] ?>px">
<? foreach($events as $event): ?>
<div