From b07e1beaa8e3ff0653ea5b02cd26737c227dc667 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 1 Mar 2015 16:17:20 +0100 Subject: music & audio tabs --- pages/room.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pages') diff --git a/pages/room.php b/pages/room.php index 526aabd..18bbe7f 100644 --- a/pages/room.php +++ b/pages/room.php @@ -28,6 +28,9 @@ if(room_has_video($room)) if(room_has_audio($room)) $selections[] = $tabs[] = 'audio'; +if(room_has_music($room)) + $selections[] = $tabs[] = 'music'; + if(room_has_slides($room)) $selections[] = $tabs[] = 'slides'; @@ -42,6 +45,7 @@ if(room_has_hls($room)) $protos[] = 'hls'; + // default page if(!$selection) $selection = $selections[0]; @@ -58,7 +62,7 @@ switch($selection) { break; case 'music': - $tab = 'audio'; + $tab = 'music'; $title = 'Music'; break; -- cgit v1.2.3