fix search form so it works from any path
spotted by Ivan Leo Murray-Smith
This commit is contained in:
@@ -31,7 +31,8 @@ function global_sidebar_menu() {
|
||||
|
||||
function app_search_box($q = '')
|
||||
{
|
||||
$str .= "<form method=GET action=search.php>\n";
|
||||
global $apidb_root;
|
||||
$str .= '<form method="get" action="'.$apidb_root.'search.php">'."\n";
|
||||
$str .= "<input type=text name=q value='$q' size=8 class=searchfield>";
|
||||
$str .= "<input type=submit value='Search' class=searchbutton>\n";
|
||||
$str .= "</form>\n";
|
||||
|
||||
Reference in New Issue
Block a user