diff options
author | MaZderMind | 2014-10-19 12:12:20 +0200 |
---|---|---|
committer | MaZderMind | 2014-10-19 12:12:20 +0200 |
commit | f652ae2be38e74796ed63ba72e23fcb632818118 (patch) | |
tree | fac87e88a3928b789c0d9b7f4a9a2ac5b6cbb77e /player.php | |
parent | c2f7758004a9016910168ad47c1a4300e107f2c2 (diff) |
restructure room site to produce a unique room/player/formats page
Diffstat (limited to '')
-rw-r--r-- | room.php (renamed from player.php) | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -38,12 +38,13 @@ switch($format) { $tpl = new PhpTemplate('template/page.phtml'); echo $tpl->render(array( - 'page' => 'player', - 'playertype' => $type, + 'page' => 'room', 'baseurl' => baseurl(), - 'title' => $GLOBALS['CONFIG']['ROOMS'][$room], - 'subtitle' => $GLOBALS['CONFIG']['FORMATS'][$format], + 'title' => $GLOBALS['CONFIG']['ROOMS'][$room].' – '.$GLOBALS['CONFIG']['FORMATS'][$format], + + 'rooms' => $GLOBALS['CONFIG']['ROOMS'], + 'formats' => $GLOBALS['CONFIG']['FORMATS'], 'room' => $room, 'roomname' => $GLOBALS['CONFIG']['ROOMS'][$room], @@ -51,4 +52,6 @@ echo $tpl->render(array( 'type' => $type, 'width' => @$width, 'height' => @$height, + 'language' => $language, + 'format' => $format, )); |