diff options
author | MaZderMind | 2018-01-24 23:51:18 +0100 |
---|---|---|
committer | MaZderMind | 2018-01-24 23:51:18 +0100 |
commit | 7f066f2e9c382fe8c12a2a607c4576e1ee38f87c (patch) | |
tree | f36dc1e17fcded998f35562976b47ec47b3d7609 /template/room.phtml | |
parent | ceaad129176e3ff5dd47b884c024569f474eec5b (diff) | |
parent | f36367abd9b1537b3b01463347d01b186844fbef (diff) |
Merge branch '34c3-cherries'
Diffstat (limited to '')
-rw-r--r-- | template/room.phtml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/template/room.phtml b/template/room.phtml index 236ccc5..814efe2 100644 --- a/template/room.phtml +++ b/template/room.phtml @@ -29,7 +29,7 @@ <a href="#schedule" role="tab" data-toggle="tab">Fahrplan</a> </li> <? endif ?> - <li> + <li <? if (! $room->hasSchedule()): ?>class="active"<? endif ?>> <a href="#switcher" role="tab" data-toggle="tab">Formats</a> </li> <? if($room->hasChat()): ?> @@ -55,7 +55,8 @@ <? require("$assemblies/schedule.phtml") ?> </div> <? endif ?> - <div role="tabpanel" class="tab-pane" id="switcher"> + <div role="tabpanel" class="tab-pane<? if (! $room->hasSchedule()): ?> active<? endif ?>" + id="switcher"> <? require("$assemblies/switcher/".$stream->getPlayerType().".phtml") ?> </div> <? if($room->hasChat()): ?> |