From df9e3968dc679c8a96f0f6799d5908270cd85de5 Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Fri, 11 Aug 2017 17:43:15 +0200 Subject: [PATCH] [index] Add GET parameter 'q' for search queries --- index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index d6d5b19..3f9874c 100644 --- a/index.php +++ b/index.php @@ -229,6 +229,8 @@ $formats = Format::searchInformation(); $status .= 'debug mode active'; } + $query = filter_input(INPUT_GET, 'q'); + echo <<

RSS-Bridge

@@ -239,7 +241,7 @@ $formats = Format::searchInformation();

Search

+ onchange="search()" onkeyup="search()" value="{$query}"> EOD;