diff options
author | MaZderMind | 2014-10-01 15:03:06 +0200 |
---|---|---|
committer | MaZderMind | 2014-10-01 15:03:06 +0200 |
commit | eb53b3a69db8395d2a40a1ec6618431d41909256 (patch) | |
tree | c82140d6830248ac4963ace988fe3086eff329bb | |
parent | 144284438de37f36d7b8ac0396545a75c48e4321 (diff) |
fix linkage
-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> |