function menuSectionHeader ($name)
{
echo "' .
'' .
' [ ';
}
function menuSectionFooter ()
{
echo "\n";
}
function menuItemLink ($name, $url, $desc, $last)
{
global $currPage;
if ($last) {
$chr = ' ]';
$final = '
';
} else {
$chr = ' | ';
}
if ($name == $currPage) {
echo '';
} else {
echo '';
}
echo "$chr$final";
}
function searchMenu ()
{
menuSectionHeader ("Search");
echo '';
menuSectionFooter ();
}
// Project
menuSectionHeader ("Project");
menuItemLink ("home", "/", "Home", FALSE);
menuItemLink ("shots", "/screenshots.php", "Screen Shots", FALSE);
menuItemLink ("files", "/files.php", "Downloads", FALSE);
menuItemLink ("docs", "/documentation.php", "Documentation", FALSE);
menuItemLink ("lists", "/lists.php", "Mailing Lists", FALSE);
menuItemLink ("news", "/old_news.php", "News Archive", TRUE);
menuSectionFooter ();
// Developers
menuSectionHeader ("Developers");
menuItemLink ("plans", "/plan.php", "Developer Plans", FALSE);
menuItemLink ("devtools", "/devtools.php", "Developer Tools", FALSE);
menuItemLink ("cvs", "http://quake.git.sourceforge.net/", "Browse Git Trees", FALSE);
menuItemLink ("bugs", "http://sourceforge.net/tracker/?func=browse&group_id=882&atid=100882", "Bug Tracker", FALSE);
menuItemLink ("patches", "http://sourceforge.net/tracker/?func=browse&group_id=882&atid=300882", "Patch Manager", FALSE);
menuItemLink ("progress", "/progress.php", "Progress", TRUE);
menuSectionFooter ();
// searchMenu ();
?>