2007-03-09 17:16:17 +00:00
|
|
|
<!-- begin menu -->
|
|
|
|
<DIV class="menu" id="menu">
|
2000-07-30 12:35:01 +00:00
|
|
|
<?
|
2007-03-09 17:16:17 +00:00
|
|
|
function menuSectionHeader ($name)
|
2000-07-30 12:35:01 +00:00
|
|
|
{
|
2007-03-09 17:16:17 +00:00
|
|
|
echo "<!-- menuSectionHeader(" . $name . ') -->' .
|
|
|
|
'<SPAN class="menuTitle">' . $name . '<SPAN class="nodisplay">:</SPAN></SPAN>' .
|
|
|
|
'<SPAN class="nodisplay"> [ </SPAN>';
|
2000-07-30 12:35:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function menuSectionFooter ()
|
|
|
|
{
|
2007-03-09 17:16:17 +00:00
|
|
|
echo "\n";
|
2000-07-30 12:35:01 +00:00
|
|
|
}
|
|
|
|
|
2007-03-09 17:16:17 +00:00
|
|
|
function menuItemLink ($name, $url, $desc, $last)
|
2000-07-30 12:35:01 +00:00
|
|
|
{
|
2007-03-09 17:16:17 +00:00
|
|
|
global $currPage;
|
2000-07-30 12:35:01 +00:00
|
|
|
|
2007-03-09 17:16:17 +00:00
|
|
|
if ($last) {
|
|
|
|
$chr = ' ]';
|
|
|
|
$final = '<BR>';
|
|
|
|
} else {
|
|
|
|
$chr = ' | ';
|
|
|
|
}
|
|
|
|
|
|
|
|
if ($name == $currPage) {
|
|
|
|
echo '<SPAN class="menuItem"><A class="selected" href="' . $url . '">' . $desc . '</A></SPAN>';
|
|
|
|
} else {
|
|
|
|
echo '<SPAN class="menuItem"><A href="' . $url . '">' . $desc . '</A></SPAN>';
|
|
|
|
}
|
|
|
|
echo "<SPAN class=\"nodisplay\">$chr</SPAN>$final";
|
2000-07-30 12:35:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function searchMenu ()
|
|
|
|
{
|
2007-03-09 17:16:17 +00:00
|
|
|
menuSectionHeader ("Search");
|
|
|
|
echo '<FORM action="search.php" method="POST">'
|
|
|
|
.' <SELECT name="type_of_search">'
|
|
|
|
.' <OPTION value="news">News</OPTION>'
|
|
|
|
.' <OPTION value="site">Site</OPTION>'
|
|
|
|
// .' <OPTION value="bugs">Bug Tracker</OPTION>'
|
|
|
|
// .' <OPTION value="patches">Patches</OPTION>'
|
|
|
|
.' </SELECT>'
|
|
|
|
.' <INPUT TYPE="CHECKBOX" NAME="exact" VALUE="1" CHECKED> Require Exact Match'
|
|
|
|
.' <INPUT TYPE="HIDDEN" NAME="forum_id" VALUE="">'
|
|
|
|
.' <INPUT TYPE="HIDDEN" NAME="is_bug_page" VALUE="">'
|
|
|
|
.' <INPUT TYPE="HIDDEN" NAME="group_id" VALUE="882">'
|
|
|
|
.' <INPUT TYPE="text" NAME="words" SIZE="15" VALUE="">'
|
|
|
|
.' <INPUT TYPE="submit" NAME="Search" VALUE="Search">'
|
|
|
|
.'</FORM>';
|
2000-07-30 12:35:01 +00:00
|
|
|
menuSectionFooter ();
|
|
|
|
}
|
2007-03-09 17:16:17 +00:00
|
|
|
|
|
|
|
// 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");
|
2007-03-24 19:12:49 +00:00
|
|
|
menuItemLink ("plans", "/plan.php", "Developer Plans", FALSE);
|
2007-03-09 17:16:17 +00:00
|
|
|
menuItemLink ("devtools", "/devtools.php", "Developer Tools", FALSE);
|
|
|
|
menuItemLink ("cvs", "http://quake.svn.sourceforge.net/viewvc/quake/", "Subversion", FALSE);
|
2007-03-24 19:09:28 +00:00
|
|
|
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);
|
2007-03-09 17:16:17 +00:00
|
|
|
menuItemLink ("progress", "/progress.php", "Progress", TRUE);
|
|
|
|
menuSectionFooter ();
|
|
|
|
|
|
|
|
// searchMenu ();
|
|
|
|
?>
|
2007-03-22 05:41:34 +00:00
|
|
|
<SPAN class="centered"><A class="sfLogo" href="http://sourceforge.net/projects/quake/"><IMG src="http://sflogo.sourceforge.net/sflogo.php?group_id=882&type=2" width="125" height="37" alt="SourceForge Logo"></A></SPAN>
|
2007-03-09 17:16:17 +00:00
|
|
|
</DIV>
|
|
|
|
<!-- end menu -->
|