summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordweller <dweller@cabin.digital>2024-03-10 01:29:39 +0200
committerdweller <dweller@cabin.digital>2024-03-10 01:29:39 +0200
commit9f89cf5ab9d7fdb8d54fa9d80eb5cb4b1e3923f4 (patch)
tree786fa8b6b21c30dd0e7b24aa40333c199dab1517
parentd66f88febd3f19afd6b0ed0bee347e8f7db3e086 (diff)
fix an embarrassing typo in type for #query input
Diffstat (limited to '')
-rw-r--r--common.php2
-rw-r--r--search.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/common.php b/common.php
index 3114683..e246b29 100644
--- a/common.php
+++ b/common.php
@@ -7,8 +7,8 @@
*/
- $manbin = "/home/dwlr/nfs_red/deb_man/mandoc/bin/man";
$root = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST'];
+ $manbin = "/home/dwlr/nfs_red/deb_man/mandoc/bin/man";
$manpath = "/home/dwlr/nfs_red/deb_man/mans/bookworm/man";
require "$manpath/archs.php";
diff --git a/search.php b/search.php
index ae84036..12c1719 100644
--- a/search.php
+++ b/search.php
@@ -48,7 +48,7 @@
<nav id="search_pane">
<form>
<div id="query_wrap">
- <input id="query" type='searcg' value='<?=$query;?>' name='query' autocorrect="off" autocapitalize="none" required/>
+ <input id="query" type='search' value='<?=$query;?>' name='query' autocorrect="off" autocapitalize="none" required/>
<button id="btn_def" type='submit' value='man' name='action' class="btn-def" aria-hidden="true" tabindex="-1"></button>
<input type="checkbox" id="query_opts_toggle"/>
<div id="query_opts">