aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorMaZderMind2015-03-01 16:17:20 +0100
committerMaZderMind2015-03-01 16:17:20 +0100
commitb07e1beaa8e3ff0653ea5b02cd26737c227dc667 (patch)
treed659fd6acba7951f3c31564fb33b929c9a50048e /pages
parent20dd29c322a24a2ef9e3f0e5c269a97acd5d2518 (diff)
music & audio tabs
Diffstat (limited to 'pages')
-rw-r--r--pages/room.php6
1 files changed, 5 insertions, 1 deletions
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;