From f652ae2be38e74796ed63ba72e23fcb632818118 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 19 Oct 2014 12:12:20 +0200 Subject: restructure room site to produce a unique room/player/formats page --- room.php | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 room.php (limited to 'room.php') diff --git a/room.php b/room.php new file mode 100644 index 0000000..0750cdc --- /dev/null +++ b/room.php @@ -0,0 +1,57 @@ +render(array( + 'page' => 'room', + + 'baseurl' => baseurl(), + 'title' => $GLOBALS['CONFIG']['ROOMS'][$room].' – '.$GLOBALS['CONFIG']['FORMATS'][$format], + + 'rooms' => $GLOBALS['CONFIG']['ROOMS'], + 'formats' => $GLOBALS['CONFIG']['FORMATS'], + + 'room' => $room, + 'roomname' => $GLOBALS['CONFIG']['ROOMS'][$room], + + 'type' => $type, + 'width' => @$width, + 'height' => @$height, + 'language' => $language, + 'format' => $format, +)); -- cgit v1.2.3