aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.htaccess1
-rw-r--r--formats.php2
-rw-r--r--template/rooms.phtml1
3 files changed, 2 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index af1704f..8915f0a 100644
--- a/.htaccess
+++ b/.htaccess
@@ -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>