diff options
author | MaZderMind | 2014-11-08 12:23:58 +0100 |
---|---|---|
committer | MaZderMind | 2014-11-08 12:23:58 +0100 |
commit | 88ea11761fef1622e29947ced1451841c4ab6fe6 (patch) | |
tree | aa39e1afd646bb6324356f218832cd39784c7245 /template | |
parent | 7a1b70bf164358281a701c87ede07205fbb47984 (diff) |
highlight current room in program strip
Diffstat (limited to 'template')
-rw-r--r-- | template/assemblies/program.phtml | 2 |
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 |