diff options
Diffstat (limited to 'room.php')
-rw-r--r-- | room.php | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/room.php b/room.php deleted file mode 100644 index 478484b..0000000 --- a/room.php +++ /dev/null @@ -1,54 +0,0 @@ -<?php - -require_once('lib/bootstrap.php'); - -$room = $_GET['room']; -$language = $_GET['language']; -$format = $_GET['format']; - -switch($format) { - case 'audio': - $type = 'audio'; - break; - - case 'slides': - $type = 'slides'; - break; - - case 'hd': - $type = 'video'; - $width = 1920; - $height = 1080; - break; - - case 'sd': - $type = 'video'; - $width = 1024; - $height = 576; - break; -} - -echo $tpl->render(array( - 'page' => 'room', - - 'title' => $GLOBALS['CONFIG']['ROOMS'][$room].' – '.$GLOBALS['CONFIG']['FORMATS'][$format], - - 'rooms' => $GLOBALS['CONFIG']['ROOMS'], - 'formats' => $GLOBALS['CONFIG']['FORMATS'], - - 'room' => $room, - 'roomname' => $GLOBALS['CONFIG']['ROOMS'][$room], - - 'program' => program(), - - 'type' => $type, - 'width' => @$width, - 'height' => @$height, - 'language' => $language, - 'translated' => ($language == 'translated'), - 'format' => $format, - - // miniroom = no hd, no translation, no slides, no irc, no program - // -> sendezentrum, workshops - 'miniroom' => in_array($room, array('sendezentrum')), -)); |