aboutsummaryrefslogtreecommitdiff
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--view/multiview.php2
-rw-r--r--view/streams-json-v1.php1
-rw-r--r--view/streams-json-v2.php1
3 files changed, 3 insertions, 1 deletions
diff --git a/view/multiview.php b/view/multiview.php
index eebf81e..6825911 100644
--- a/view/multiview.php
+++ b/view/multiview.php
@@ -4,6 +4,6 @@ echo $tpl->render(array(
'page' => 'multiview',
'title' => 'Stream-Übersicht',
- 'rooms' => Room::rooms(),
+ 'rooms' => $conference->getRooms(),
'selection' => @$_GET['selection'],
));
diff --git a/view/streams-json-v1.php b/view/streams-json-v1.php
index 19f7b0d..055f6bc 100644
--- a/view/streams-json-v1.php
+++ b/view/streams-json-v1.php
@@ -2,6 +2,7 @@
header('Content-Type: application/json');
+$struct = [];
foreach (Conferences::getActiveConferences() as $conference)
{
$overview = $conference->getOverview();
diff --git a/view/streams-json-v2.php b/view/streams-json-v2.php
index 1e4c89b..05d2af5 100644
--- a/view/streams-json-v2.php
+++ b/view/streams-json-v2.php
@@ -2,6 +2,7 @@
header('Content-Type: application/json');
+$struct = [];
foreach (Conferences::getActiveConferences() as $conference)
{
$overview = $conference->getOverview();