- access most globals by their $_XYZ['varname'] name
- fix some code errors and typos (missing $ in front of variable names and so on) - fixed a lot of warnings that would have been thrown when error_reporting is set to show notices (if(isset($variable))) instead of if($variable) for example)
This commit is contained in:
@@ -33,7 +33,7 @@ function global_sidebar_menu() {
|
||||
function app_search_box($q = '')
|
||||
{
|
||||
global $apidb_root;
|
||||
$str .= '<form method="get" action="'.$apidb_root.'search.php">'."\n";
|
||||
$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