diff --git a/public/index.php b/public/index.php index 174005f..1401259 100644 --- a/public/index.php +++ b/public/index.php @@ -32,6 +32,9 @@ if (isset($_GET['page'])) { $page = "404"; } break; + case "search": + $page = "search"; + break; case "item": if (isset($_GET['id']) && $binstack->has('items', ['itemid' => $_GET['id']])) { $page = "item"; diff --git a/public/parts/nav.php b/public/parts/nav.php index 7b6c08e..a4311a6 100644 --- a/public/parts/nav.php +++ b/public/parts/nav.php @@ -36,9 +36,14 @@ foreach ($cats as $c) { -