From bde24d410b99702cc234e68af34cbf9559fd2d5a Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Sat, 25 Aug 2007 03:47:55 +0000 Subject: [PATCH] Replace appdb search with a Google Custom Search Engine --- include/sidebar.php | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/include/sidebar.php b/include/sidebar.php index d0c7482..b191ed6 100644 --- a/include/sidebar.php +++ b/include/sidebar.php @@ -43,11 +43,23 @@ function global_sidebar_menu() function app_search_box($q = '') { - $str = "
\n"; - $str .= ""; - $str .= "\n"; - $str .= "
\n"; - return $str; + // google custom search dialog + // used in place of appdb specific search engine code + // Chris Morgan maintains + // the search engine settings + $sSearchStr = ' + +
+ + + + +
+ + +'; + + return $sSearchStr; } ?>