From 44d414d8960019d47fd82aa1e08445e99d2c1af5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sat, 10 Nov 2007 00:41:19 +0100 Subject: [PATCH] Use AppDB search when JavaScript is unavailable --- include/sidebar.php | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/include/sidebar.php b/include/sidebar.php index 270adc1..4d43a0f 100644 --- a/include/sidebar.php +++ b/include/sidebar.php @@ -47,19 +47,31 @@ function app_search_box($q = '') // used in place of appdb specific search engine code // Chris Morgan maintains // the search engine settings - $sSearchStr = ' + $shSearchStr = ' -
- - - - -
+ +'; + // Search dialog using our own search engine, displayed when + // JavaScript is unavailable + $shSearchStr .= ' + '; - return $sSearchStr; + return $shSearchStr; } ?>