diff options
Diffstat (limited to '')
-rw-r--r-- | .htaccess | 1 | ||||
-rw-r--r-- | formats.php | 2 | ||||
-rw-r--r-- | template/rooms.phtml | 1 |
3 files changed, 2 insertions, 2 deletions
@@ -6,6 +6,7 @@ RewriteCond %{REQUEST_FILENAME} !-l # / -> index.php - room/streams list +DirectoryIndex index.php # /room/ -> formats.php - list of qualities/formats RewriteRule ^(saal1|saal2|saalg|saalz)/?$ formats.php?room=$1 [L] diff --git a/formats.php b/formats.php index 1908680..5d66f08 100644 --- a/formats.php +++ b/formats.php @@ -8,7 +8,7 @@ $room = $_GET['room']; $tpl = new PhpTemplate('template/page.phtml'); echo $tpl->render(array( - 'page' => 'rooms', + 'page' => 'formats', 'baseurl' => baseurl(), 'title' => 'Stream-Formats', 'subtitle' => ucfirst($room), diff --git a/template/rooms.phtml b/template/rooms.phtml index e4d5f32..82fcd2b 100644 --- a/template/rooms.phtml +++ b/template/rooms.phtml @@ -2,7 +2,6 @@ <? foreach($rooms as $room => $display): ?> <li class="<?=h($room)?>"> <a href="<?=h(link_room($room))?>"><?=h($display)?></a> - (<a href="<?=h(link_room($room, true))?>">translated</a>) </li> <? endforeach ?> </ul> |