2000-05-08 02:39:55 +00:00
|
|
|
<?
|
2000-05-10 22:38:21 +00:00
|
|
|
need ('table');
|
|
|
|
|
|
|
|
function isFocused ($name, $newname)
|
2000-03-19 06:15:10 +00:00
|
|
|
{
|
2000-05-10 22:38:21 +00:00
|
|
|
return (strToLower ($name) == strToLower ($newname)) ? 1 : 0;
|
2000-03-19 06:15:10 +00:00
|
|
|
}
|
|
|
|
|
2000-05-10 22:38:21 +00:00
|
|
|
function iconLink ($url, $img, $desc, $border)
|
2000-03-19 06:15:10 +00:00
|
|
|
{
|
|
|
|
echo '<A class="tabs" href="' . $url . '"><IMG src="' . $img . '" alt="' . $desc . ' " hSpace="3" vSpace="1" border="' . $border . '" width="24" height="24"></A>';
|
|
|
|
}
|
2000-03-06 08:12:43 +00:00
|
|
|
|
2000-05-10 22:38:21 +00:00
|
|
|
function iconBar ($focused)
|
|
|
|
{
|
2000-03-06 08:12:43 +00:00
|
|
|
echo '<TABLE border="0" cellSpacing="0" cellPadding="2" bgColor="white">' .
|
|
|
|
'<TR>';
|
2000-11-13 17:55:00 +00:00
|
|
|
tableSpacer (1, 1, 1, white);
|
2000-03-07 21:43:09 +00:00
|
|
|
echo '<TD>';
|
2002-04-11 19:33:35 +00:00
|
|
|
// iconLink ('http://sourceforge.net/projects/quake/', '/img/icons/anvil.png', 'SourceForge', isFocused($focused, 'summary'));
|
2000-05-10 22:38:21 +00:00
|
|
|
iconLink ('/', '/img/icons/home.png', 'Homepage', isFocused($focused, 'home'));
|
2002-04-11 19:33:35 +00:00
|
|
|
iconLink ('/bugs/', '/img/icons/bugs.png', 'Bugs', isFocused($focused, 'bugs'));
|
2000-05-12 05:23:19 +00:00
|
|
|
// iconLink ('http://sourceforge.net/support/?group_id=882', '/img/icons/support.png', 'Support', isFocused($focused, 'support'));
|
2000-06-18 23:52:50 +00:00
|
|
|
// iconLink ('http://sourceforge.net/patch/?group_id=882', '/img/icons/patch.png', 'Patches', isFocused($focused, 'patch'));
|
2002-04-11 19:33:35 +00:00
|
|
|
iconLink ('/lists.php', '/img/icons/mail.png', 'Lists', isFocused($focused, 'mail'));
|
|
|
|
// iconLink ('http://sourceforge.net/pm/?group_id=882', '/img/icons/tasks.png', 'Tasks', isFocused($focused, 'tasks'));
|
2000-05-10 22:38:21 +00:00
|
|
|
// iconLink ('http://sourceforge.net/survey/?group_id=882', '/img/icons/survey.png', 'Surveys', isFocused($focused, 'survey'));
|
2002-10-01 11:38:08 +00:00
|
|
|
iconLink ('/news.php', '/img/icons/news.png', 'News Archives', isFocused($focused, 'news'));
|
2002-04-11 19:33:35 +00:00
|
|
|
iconLink ('/cgi-bin/viewcvs.cgi/', '/img/icons/cvs.png', 'CVS', isFocused($focused, 'cvs'));
|
|
|
|
iconLink ('/files.php', '/img/icons/download.png', 'Downloads', isFocused($focused, 'download'));
|
2000-03-06 08:12:43 +00:00
|
|
|
echo '</TD></TR></TABLE>';
|
|
|
|
}
|
|
|
|
|
2000-05-10 22:38:21 +00:00
|
|
|
function topBar ($pageName)
|
2000-05-08 02:39:55 +00:00
|
|
|
{
|
|
|
|
global $focused;
|
|
|
|
|
2000-11-13 17:55:00 +00:00
|
|
|
tableHeader ("100%", black);
|
2000-05-08 02:39:55 +00:00
|
|
|
echo ' <TR vAlign="bottom">' .
|
|
|
|
' <TD align="left">' .
|
2000-11-13 17:55:00 +00:00
|
|
|
' <SPAN class="pageTitle">' . $pageName . '</SPAN>' .
|
2000-05-08 02:39:55 +00:00
|
|
|
' </TD>' .
|
|
|
|
' <TD align="right">';
|
2000-05-10 22:38:21 +00:00
|
|
|
iconBar ($focused);
|
2000-05-08 02:39:55 +00:00
|
|
|
echo ' </TD>' .
|
|
|
|
' </TR>' .
|
|
|
|
' <TR>';
|
2000-11-13 17:55:00 +00:00
|
|
|
tableSpacer (1, 1, 2, black);
|
2000-05-08 02:39:55 +00:00
|
|
|
echo ' </TR>' .
|
|
|
|
' <TR>';
|
2000-11-13 17:55:00 +00:00
|
|
|
tableSpacer (2, 1, 2, white);
|
2000-05-08 02:39:55 +00:00
|
|
|
echo ' </TR>';
|
2000-05-10 22:38:21 +00:00
|
|
|
tableFooter ();
|
2000-05-08 02:39:55 +00:00
|
|
|
}
|
|
|
|
|
2000-05-10 22:38:21 +00:00
|
|
|
topBar ($pageName);
|
2000-03-06 08:12:43 +00:00
|
|
|
?>
|