| <?php |
| |
| $Nav->setLinkList(null); |
| |
| $PR = "dash"; |
| $projectName = "Dash"; |
| |
| $pageAuthor = isset($pageAuthor) ? $pageAuthor : ""; |
| $pageKeywords = isset($pageKeywords) ? $pageKeywords : ""; |
| |
| $isBuildServer = (preg_match("/^(emft|build)\.eclipse\.org$/", $_SERVER["SERVER_NAME"])); |
| $isBuildDotEclipseServer = $_SERVER["SERVER_NAME"] == "build.eclipse.org"; |
| $isWWWserver = (preg_match("/^(?:www.|)eclipse.org$/", $_SERVER["SERVER_NAME"])); |
| $isEclipseCluster = (preg_match("/^(?:www.||download.|download1.|build.)eclipse.org$/", $_SERVER["SERVER_NAME"])); |
| $debug = (isset ($_GET["debug"]) && preg_match("/^\d+$/", $_GET["debug"]) ? $_GET["debug"] : -1); |
| $writableRoot = ($isBuildServer ? $_SERVER["DOCUMENT_ROOT"] . "/modeling/includes/" : "/home/data/httpd/writable/www.eclipse.org/"); |
| $writableBuildRoot = $isBuildDotEclipseServer ? "/opt/public/modeling" : "/home/www-data"; |
| |
| $rooturl = "http://" . $_SERVER["HTTP_HOST"] . "/$PR"; |
| $downurl = ($isBuildServer ? "" : "http://www.eclipse.org"); |
| $bugurl = "https://bugs.eclipse.org"; |
| |
| if (isset ($_GET["skin"]) && preg_match("/^(Blue|EclipseStandard|Industrial|Lazarus|Miasma|Modern|OldStyle|Phoenix|PhoenixTest|PlainText)$/", $_GET["skin"], $regs)) |
| { |
| $theme = $regs[1]; |
| } |
| else |
| { |
| $theme = "Lazarus"; |
| } |
| |
| $projects = array( |
| $projectName => $PR, |
| ); |
| $proj = "/" . $PR; |
| $projct = $PR; |
| include_once $_SERVER["DOCUMENT_ROOT"] . "/modeling/includes/scripts.php"; |
| $Nav->addCustomNav("About This Project", "/projects/project_summary.php?projectid=technology.dash", "", 1); |
| $Nav->addNavSeparator($projectName, "$rooturl/"); |
| $subs = array("Eclipse Monkey" => "http://wiki.eclipse.org/Eclipse_Monkey_Overview", "Commits Explorer" => "http://wiki.eclipse.org/Commits_Explorer", "Ganymatic" => "http://wiki.eclipse.org/Ganymede/Build"); |
| foreach ($subs as $l => $z) $Nav->addCustomNav($l, "$z", "_self", 2); |
| |
| $Nav->addNavSeparator("Downloads", "http://www.eclipse.org/dash/monkey-help.php?key=installing"); |
| $Nav->addCustomNav("Update Manager", "http://download.eclipse.org/technology/dash/update/", "_self", 2); |
| |
| $Nav->addNavSeparator("Documentation", "http://wiki.eclipse.org/Dash"); |
| $Nav->addCustomNav("Getting Started", "http://www.eclipse.org/dash/monkey-help.php?key=installing", "_self", 2); |
| $Nav->addCustomNav("Plan", "http://wiki.eclipse.org/Dash#Project_Planning", "_self", 2); |
| $Nav->addCustomNav("New & Noteworthy", "/dash/doc/new.php", "_self", 2); |
| $Nav->addCustomNav("Search CVS", $rooturl . "/searchcvs.php?q=file%3A+org.eclipse." . strtolower($projectName) . "%2F" . "+days%3A+7", "_self", 2); |
| |
| $Nav->addNavSeparator("Community", "http://wiki.eclipse.org/Dash"); |
| $Nav->addCustomNav("Wiki", "http://wiki.eclipse.org/Dash", "_self", 2); |
| $Nav->addCustomNav("Newsgroup Search", "http://www.eclipse.org/search/search.cgi?cmd=Search%21&form=extended&wf=574a74&ps=10&m=all&t=5&ul=%2Fnewslists%2Fnews.eclipse.technology.dash&wm=wrd&t=News&t=Mail", "_self", 2); |
| $collist = "%26query_format%3Dadvanced&column_changeddate=on&column_bug_severity=on&column_priority=on&column_rep_platform=on&column_bug_status=on&column_product=on&column_component=on&column_version=on&column_target_milestone=on&column_short_short_desc=on&splitheader=0"; |
| $Nav->addCustomNav("Open Bugs", "$bugurl/bugs/colchange.cgi?rememberedquery=product%3D" . $projectName . "%26bug_status%3DNEW%26bug_status%3DASSIGNED%26bug_status%3DREOPENED%26order%3Dbugs.bug_status%2Cbugs.target_milestone%2Cbugs.bug_id" . $collist, "_self", 2); |
| $Nav->addCustomNav("Submit A Bug", "$bugurl/bugs/enter_bug.cgi?product=" . $projectName, "_self", 2); |
| |
| $Nav->addCustomNav("Contributors", "http://www.eclipse.org/dash/team.php", "_self", 2); |
| |
| ?> |