| <?php |
| /******************************************************************************* |
| * Copyright (c) 2009, 2013 Eclipse Foundation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Eclipse Foundation - Initial version |
| * Anthony Hunter - changes for GMF Notation |
| ********************************************************************************/ |
| $Nav->setLinkList(null); |
| |
| $PR = "gmf-notation"; |
| $projectName = "GMF Notation"; |
| $topLevel = "modeling/gmp"; |
| |
| $debug = (isset ($_GET["debug"]) && preg_match("/^\d+$/", $_GET["debug"]) ? $_GET["debug"] : -1); |
| |
| $rooturl = "http://" . $_SERVER["HTTP_HOST"] . "/$PR"; |
| $downurl = "http://www.eclipse.org"; |
| $bugurl = "https://bugs.eclipse.org"; |
| |
| $extraprojects = array(); //components with only downloads, no info yet, "prettyname" => "directory" |
| $nodownloads = array(); //components with only information, no downloads, or no builds available yet, "projectkey" |
| $nonewsgroup = array(); //components without newsgroup |
| $nomailinglist = array(); //components without mailinglist |
| $incubating = array(); // components which are incubating |
| $nomenclature = "Project"; //are we dealing with "components" or "projects"? |
| |
| include_once($_SERVER["DOCUMENT_ROOT"] . "/gmf-notation/downloads/scripts.php"); |
| |
| $regs = null; |
| $projects = array("GMF Notation" => "gmf-notation"); |
| $proj = "/modeling"; // (isset($_GET["project"]) && preg_match("/^(" . join("|", $projects) . ")$/", $_GET["project"], $regs) ? $regs[1] : getProjectFromPath($PR)); |
| $projct= "gmf-notation"; |
| |
| $buildtypes = array( |
| "R" => "Release", |
| "S" => "Stable", |
| "I" => "Integration", |
| "M" => "Maintenance", |
| "N" => "Nightly" |
| ); |
| |
| # Set the theme for your project's web pages. |
| # See http://eclipse.org/phoenix/ |
| $theme = "Nova"; |
| |
| # Define your project-wide Navigation here |
| # This appears on the left of the page if you define a left nav |
| # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3) |
| # these are optional |
| |
| # If you want to override the eclipse.org navigation, uncomment below. |
| # $Nav->setLinkList(array()); |
| |
| # Break the navigation into sections |
| $Nav->addNavSeparator("GMF Notation", "/gmf-notation"); |
| $Nav->addCustomNav("Downloads", "/gmf-notation/downloads.php", "_self", 3); |
| $Nav->addCustomNav("Documentation", "/gmf-notation/documentation.php", "_self", 3); |
| $Nav->addCustomNav("Wiki", "http://wiki.eclipse.org/Graphical_Modeling_Framework", "_self", 3); |
| $Nav->addCustomNav("Support", "/gmf-notation/support.php", "_self", 3); |
| $Nav->addCustomNav("Newsgroup", "http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/maillist.html", "_self", 3); |
| $Nav->addCustomNav("Mailing List", "https://dev.eclipse.org/mailman/listinfo/gmf-releng", "_self", 3); |
| $Nav->addCustomNav("Modeling Corner", "http://wiki.eclipse.org/Modeling_Corner", "_self", 3); |
| |
| # Define keywords, author and title here, or in each PHP page specifically |
| $pageKeywords = "eclipse, gmf, gmf notation"; |
| $pageAuthor = "Anthony Hunter"; |
| |
| # top navigation bar |
| # To override and replace the navigation with your own, uncomment the line below. |
| $Menu->setMenuItemList(array()); |
| $Menu->addMenuItem("Eclipse", "/", "_self"); |
| $Menu->addMenuItem("GMF Notation", "/gmf-notation", "_self"); |
| $Menu->addMenuItem("Downloads", "/gmf-notation/downloads.php", "_self"); |
| $Menu->addMenuItem("Documentation", "/gmf-notation/documentation.php", "_self"); |
| $Menu->addMenuItem("About", "http://www.eclipse.org/projects/project_summary.php?projectid=modeling.gmp.gmf-notation", "_self"); |
| |
| # To define additional CSS or other pre-body headers |
| $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/gmf-notation/style.css"/>'); |
| |
| # To enable occasional Eclipse Foundation Promotion banners on your pages (EclipseCon, etc) |
| $App->Promotion = TRUE; |
| |
| # If you have Google Analytics code, use it here |
| # $App->SetGoogleAnalyticsTrackingCode("YOUR_CODE"); |
| ?> |