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
Jonathan Ernst 6922c0cea2 - improve the sidebar links to the help system (only one link instead of two)
- remove the help about user rating as it doesn't exist anymore
- improve exisiting help documentation and FAQs (remove out of date
informations, dead link, etc.)
- add new help page for maintainers with details on how to maintain an application
2005-02-09 23:59:09 +00:00

38 lines
991 B
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 & Documentation", BASE."help/");
$g->add("AppDB Stats", BASE."appdbStats.php");
$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=8 class=searchfield>";
$str .= "<input type=submit value='Search' class=searchbutton>\n";
$str .= "</form>\n<span>";
return $str;
}
?>