aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind2014-10-01 15:03:06 +0200
committerMaZderMind2014-10-01 15:03:06 +0200
commiteb53b3a69db8395d2a40a1ec6618431d41909256 (patch)
treec82140d6830248ac4963ace988fe3086eff329bb
parent144284438de37f36d7b8ac0396545a75c48e4321 (diff)
fix linkage
-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>