This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
qemudb/include/sidebar.php
Chris Morgan 3351201222 Remove mention of api coverage for developers from main page, we don't
address that anymore.  Expand the width of the search box, maybe its
small size keeps people from using it?  Add an item on the default
appdb panel to encourage users to email their suggestions for the appdb
to the appdb mailing list.
2005-05-14 14:47:13 +00:00

39 lines
1.1 KiB
PHP

<?php
/***********/
/* SideBar */
/***********/
function global_sidebar_menu() {
$g = new htmlmenu(APPDB_OWNER." Menu");
$g->add("Back to ".APPDB_OWNER, APPDB_OWNER_URL);
$g->done();
$g = new htmlmenu("AppDB");
$g->add("AppDB Home", BASE);
$g->add("Browse Apps", BASE."appbrowse.php");
$g->add("Top 25", BASE."votestats.php");
$g->add("Submit Application", BASE."appsubmit.php?apptype=1");
$g->add("Help &amp; Documentation", BASE."help/");
$g->add("AppDB Stats", BASE."appdbStats.php");
$g->add("Email your suggestions for improving the AppDB", "mailto:appdb@winehq.org");
$g->done();
$g = new htmlmenu("Search");
$g->addmisc(app_search_box(isset($_REQUEST['q']) ? $_REQUEST['q'] : ''));
$g->done();
}
function app_search_box($q = '')
{
$str = "</span><form method=\"get\" action=\"".BASE."search.php\">\n";
$str .= "<input type=text name=q value='$q' size=11 class=searchfield>";
$str .= "<input type=submit value='Search' class=searchbutton>\n";
$str .= "</form>\n<span>";
return $str;
}
?>