';
navbar_start($brand, $fixed, false);
// instead of PROJECT you can use an or other HTML
if ($user) {
navbar_item(tra("Your account"), $prefix."home.php");
}
navbar_menu(tra("Community"), array(
array(tra("Message boards"), $prefix."forum_index.php"),
array(tra("User search"), $prefix."user_search.php"),
));
navbar_menu(tra("Site"), array(
array(tra("Site search"), $prefix."site_search.php"),
array(tra("Languages"), $prefix."language_select.php")
));
// add your own menu here if you want
navbar_right($user);
navbar_end(true);
}
function project_banner($title, $prefix, $is_main) {
if ($is_main) {
echo '
'.sprintf(tra("Open-source software for volunteer computing")).'
';
google_search_form("http://boinc.berkeley.edu");
language_form();
echo '
';
echo "
";
} else {
navbar(secure_url_base(), get_logged_in_user(false), false);
if ($title) {
echo "$title
\n";
}
}
}
//$fixed_navbar = false;
function project_banner_old($title) {
echo "
$title
";
}
function project_footer($show_return, $show_date, $prefix) {
$y = date("Y ");
echo "
Copyright © $y University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.