aboutsummaryrefslogtreecommitdiff
path: root/view/room.php
blob: c63f9ec8b94f30da63d1b0c81211517854c34dc8 (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(),
));