summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php49
1 files changed, 24 insertions, 25 deletions
diff --git a/index.php b/index.php
index b4a98e7..2e367b5 100644
--- a/index.php
+++ b/index.php
@@ -2,35 +2,34 @@
require_once __DIR__ . '/lib/bbcnext.php';
stream_context_set_default(['http' => [
- 'user_agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36',
+ 'user_agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36',
]]);
?>
<!doctype html>
<html lang="en-GB">
- <head>
- <meta charset="UTF-8"/>
- <meta name="viewport" content="width=device-width,initial-scale=1"/>
- <title></title>
- <?php foreach (array_diff(scandir(__DIR__ . '/theme'), ['.', '..']) as $theme): ?>
- <link rel="<?=$theme=='Default'?'':'alternate '?>stylesheet"
- href="theme/<?=$theme?>/main.css"
- title="<?=$theme?>"/>
- <?php endforeach; ?>
- </head>
+ <head>
+ <meta charset="UTF-8"/>
+ <meta name="viewport" content="width=device-width,initial-scale=1"/>
+ <title>sounds-retro</title>
+ <script src="static/hls.light.min.js" defer></script>
+ <?php foreach (array_diff(scandir(__DIR__ . '/theme'), ['.', '..']) as $theme): ?>
+ <link rel="<?=$theme=='Default'?'':'alternate '?>stylesheet"
+ href="theme/<?=$theme?>/main.css"
+ title="<?=$theme?>"/>
+ <?php endforeach; ?>
+ </head>
- <body>
- <header>
- <a href="."><frontend-name>RMS Frontend</frontend-name></a>
- <form id="search-form" action="search.php">
- <input name="q" placeholder="Query…"/>
- <input type="submit" value="Search"/>
- </form>
- </header>
+ <body>
+ <header>
+ <a href="."><frontend-name>RMS Frontend</frontend-name></a>
+ <form id="search-form" action="search.php">
+ <input name="query" placeholder="Query…"/>
+ <input type="submit" value="Search"/>
+ </form>
+ </header>
- <main>
- <?php
- next_renderFromRms($_GET['path'] ?? RMS_SOUNDS_HOME);
- ?>
- </main>
- </body>
+ <main>
+ <?php next_renderFromRms($_GET['path'] ?? RMS_SOUNDS_HOME); ?>
+ </main>
+ </body>
</html>