aboutsummaryrefslogtreecommitdiff
path: root/view/room.php
blob: d035219b630a30d4cc61bb29db01809e6fef50d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

$room = $conference->getRoom($_GET['room']);
$selection = $_GET['selection'];
$language = $_GET['language'];

if (! $room->isValidLanguage($language)) {
	throw new NotFoundException('Language not found');
}

$stream = $room->selectStream($selection, $language);

echo $tpl->render(array(
	'page' => 'room',

	'title' => $stream->getDisplay(),
	'room' => $room,
	'stream' => $stream,

	'schedule' => $conference->getSchedule(),
));