mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-27 22:42:57 +00:00
add plan stuff to sidebar
This commit is contained in:
parent
b25388d5cc
commit
8353c23892
1 changed files with 98 additions and 97 deletions
195
parts/menu.php
195
parts/menu.php
|
@ -1,97 +1,98 @@
|
||||||
<!-- menus -->
|
<!-- menus -->
|
||||||
<?
|
<?
|
||||||
function menuItemLink( $url, $desc )
|
function menuItemLink( $url, $desc )
|
||||||
{
|
{
|
||||||
echo '<A CLASS="menus" HREF="' . $url . '">' . $desc . '</A><BR>';
|
echo '<A CLASS="menus" HREF="' . $url . '">' . $desc . '</A><BR>';
|
||||||
}
|
}
|
||||||
|
|
||||||
function menuSectionHeader( $name, $fgColor , $bgColor, $intBgColor )
|
function menuSectionHeader( $name, $fgColor , $bgColor, $intBgColor )
|
||||||
{
|
{
|
||||||
echo "\n<!-- menuSectionHeader(" . $name . ') -->' .
|
echo "\n<!-- menuSectionHeader(" . $name . ') -->' .
|
||||||
'<TABLE cellSpacing="0" cellPadding="3" width="100%" border=0 bgColor="' . $bgColor . '">' .
|
'<TABLE cellSpacing="0" cellPadding="3" width="100%" border=0 bgColor="' . $bgColor . '">' .
|
||||||
' <TR bgColor="' . $bgColor . '">' .
|
' <TR bgColor="' . $bgColor . '">' .
|
||||||
' <TD align="center">' .
|
' <TD align="center">' .
|
||||||
' <IMG src="/img/blank.gif" height="1" width="135" alt="" border="0"><BR>' .
|
' <IMG src="/img/blank.gif" height="1" width="135" alt="" border="0"><BR>' .
|
||||||
' <SPAN class="titlebar">' . $name . '</SPAN>' .
|
' <SPAN class="titlebar">' . $name . '</SPAN>' .
|
||||||
' </TD>' .
|
' </TD>' .
|
||||||
' </TR>' .
|
' </TR>' .
|
||||||
' <TR align="right" bgColor="' . $intBgColor . '">' .
|
' <TR align="right" bgColor="' . $intBgColor . '">' .
|
||||||
' <TD>';
|
' <TD>';
|
||||||
}
|
}
|
||||||
|
|
||||||
function menuSectionFooter()
|
function menuSectionFooter()
|
||||||
{
|
{
|
||||||
echo ' </TD>' .
|
echo ' </TD>' .
|
||||||
' </TR>' .
|
' </TR>' .
|
||||||
'</TABLE>';
|
'</TABLE>';
|
||||||
}
|
}
|
||||||
|
|
||||||
function qfMenu()
|
function qfMenu()
|
||||||
{
|
{
|
||||||
menuSectionHeader( "Project", 'white', menuHeadColor, menuBgColor );
|
menuSectionHeader( "Project", 'white', menuHeadColor, menuBgColor );
|
||||||
menuItemLink( "/", "Latest News" );
|
menuItemLink( "/", "Latest News" );
|
||||||
menuItemLink( "/news.php", "Old News" );
|
menuItemLink( "/news.php", "Old News" );
|
||||||
menuItemLink( "/files.php", "Downloads" );
|
menuItemLink( "/files.php", "Downloads" );
|
||||||
menuItemLink( "http://sourceforge.net/bugs/?group_id=882", "Bug Reports" );
|
menuItemLink( "http://sourceforge.net/bugs/?group_id=882", "Bug Reports" );
|
||||||
menuItemLink( "http://sourceforge.net/mail/?group_id=882", "Mailing Lists" );
|
menuItemLink( "http://sourceforge.net/mail/?group_id=882", "Mailing Lists" );
|
||||||
menuItemLink( "/board/", "Web Forum" );
|
menuItemLink( "/board/", "Web Forum" );
|
||||||
menuSectionFooter();
|
menuSectionFooter();
|
||||||
}
|
}
|
||||||
|
|
||||||
function develMenu()
|
function develMenu()
|
||||||
{
|
{
|
||||||
menuSectionHeader( "Developers", 'white', menuHeadColor, menuBgColor );
|
menuSectionHeader( "Developers", 'white', menuHeadColor, menuBgColor );
|
||||||
menuItemLink( "http://sourceforge.net/cvs/?group_id=882", "CVS Access" );
|
menuItemLink( "http://sourceforge.net/cvs/?group_id=882", "CVS Access" );
|
||||||
menuItemLink( "/devtools.php", "Developer Tools" );
|
menuItemLink( "/devtools.php", "Developer Tools" );
|
||||||
menuItemLink( "/progress.php", "Progress" );
|
menuItemLink( "/plans.php", "Developer Plans" );
|
||||||
menuItemLink( "/sotc/", "State of the Code" );
|
menuItemLink( "/progress.php", "Progress" );
|
||||||
menuItemLink( "/research/", "Research Center" );
|
menuItemLink( "/sotc/", "State of the Code" );
|
||||||
menuItemLink( "http://sourceforge.net/patch/?group_id=882", "Patch Manager" );
|
menuItemLink( "/research/", "Research Center" );
|
||||||
// menuItemLink( "http://sourceforge.net/support/?group_id=882", "Support Manager" );
|
menuItemLink( "http://sourceforge.net/patch/?group_id=882", "Patch Manager" );
|
||||||
menuItemLink( "http://sourceforge.net/pm/?group_id=882", "Task Manager" );
|
// menuItemLink( "http://sourceforge.net/support/?group_id=882", "Support Manager" );
|
||||||
menuSectionFooter();
|
menuItemLink( "http://sourceforge.net/pm/?group_id=882", "Task Manager" );
|
||||||
}
|
menuSectionFooter();
|
||||||
|
}
|
||||||
function sfMenu()
|
|
||||||
{
|
function sfMenu()
|
||||||
menuSectionHeader( "SourceForge", 'white', menuHeadColor, menuBgColor );
|
{
|
||||||
menuItemLink( "http://sourceforge.net/", "Homepage" );
|
menuSectionHeader( "SourceForge", 'white', menuHeadColor, menuBgColor );
|
||||||
menuItemLink( "http://sourceforge.net/snippet/", "Code Snippet Library" );
|
menuItemLink( "http://sourceforge.net/", "Homepage" );
|
||||||
menuItemLink( "http://sourceforge.net/softwaremap/", "Software Map" );
|
menuItemLink( "http://sourceforge.net/snippet/", "Code Snippet Library" );
|
||||||
menuItemLink( "http://sourceforge.net/new/", "New Releases" );
|
menuItemLink( "http://sourceforge.net/softwaremap/", "Software Map" );
|
||||||
menuItemLink( "http://sourceforge.net/docs/site/", "Site Documentation" );
|
menuItemLink( "http://sourceforge.net/new/", "New Releases" );
|
||||||
menuItemLink( "http://sourceforge.net/top/", "Top Projects" );
|
menuItemLink( "http://sourceforge.net/docs/site/", "Site Documentation" );
|
||||||
menuItemLink( "http://sourceforge.net/mirrors/", "Other Site Mirrors" );
|
menuItemLink( "http://sourceforge.net/top/", "Top Projects" );
|
||||||
menuSectionFooter();
|
menuItemLink( "http://sourceforge.net/mirrors/", "Other Site Mirrors" );
|
||||||
}
|
menuSectionFooter();
|
||||||
|
}
|
||||||
function searchMenu()
|
|
||||||
{
|
function searchMenu()
|
||||||
menuSectionHeader( "Search", 'white', menuHeadColor, menuBgColor );
|
{
|
||||||
echo '<CENTER><FONT size="-2">' .
|
menuSectionHeader( "Search", 'white', menuHeadColor, menuBgColor );
|
||||||
'<FORM action="search.php" method="POST">' .
|
echo '<CENTER><FONT size="-2">' .
|
||||||
' <SELECT name="type_of_search">' .
|
'<FORM action="search.php" method="POST">' .
|
||||||
' <OPTION value="bugs">Bug Tracking</OPTION>' .
|
' <SELECT name="type_of_search">' .
|
||||||
' <OPTION value="lists">Mailing Lists</OPTION>' .
|
' <OPTION value="bugs">Bug Tracking</OPTION>' .
|
||||||
' <OPTION value="news">News</OPTION>' .
|
' <OPTION value="lists">Mailing Lists</OPTION>' .
|
||||||
' <OPTION value="patches">Patches</OPTION>' .
|
' <OPTION value="news">News</OPTION>' .
|
||||||
' </SELECT>' .
|
' <OPTION value="patches">Patches</OPTION>' .
|
||||||
' <BR>' .
|
' </SELECT>' .
|
||||||
' <INPUT TYPE="CHECKBOX" NAME="exact" VALUE="1" CHECKED> Require Exact Match' .
|
' <BR>' .
|
||||||
' <BR>' .
|
' <INPUT TYPE="CHECKBOX" NAME="exact" VALUE="1" CHECKED> Require Exact Match' .
|
||||||
' <INPUT TYPE="HIDDEN" NAME="forum_id" VALUE="">' .
|
' <BR>' .
|
||||||
' <INPUT TYPE="HIDDEN" NAME="is_bug_page" VALUE="">' .
|
' <INPUT TYPE="HIDDEN" NAME="forum_id" VALUE="">' .
|
||||||
' <INPUT TYPE="HIDDEN" NAME="group_id" VALUE="882">' .
|
' <INPUT TYPE="HIDDEN" NAME="is_bug_page" VALUE="">' .
|
||||||
' <INPUT TYPE="text" NAME="words" SIZE="15" VALUE="">' .
|
' <INPUT TYPE="HIDDEN" NAME="group_id" VALUE="882">' .
|
||||||
' <BR>' .
|
' <INPUT TYPE="text" NAME="words" SIZE="15" VALUE="">' .
|
||||||
' <INPUT TYPE="submit" NAME="Search" VALUE="Search">' .
|
' <BR>' .
|
||||||
'</FORM></FONT>' .
|
' <INPUT TYPE="submit" NAME="Search" VALUE="Search">' .
|
||||||
'</CENTER>';
|
'</FORM></FONT>' .
|
||||||
menuSectionFooter();
|
'</CENTER>';
|
||||||
}
|
menuSectionFooter();
|
||||||
|
}
|
||||||
qfMenu();
|
|
||||||
develMenu();
|
qfMenu();
|
||||||
// sfMenu();
|
develMenu();
|
||||||
searchMenu();
|
// sfMenu();
|
||||||
?>
|
searchMenu();
|
||||||
|
?>
|
||||||
|
|
Loading…
Reference in a new issue