blob: 7606319e2dfa7fef096f5dcf3aca6ea30738c824 [file] [log] [blame]
<?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 runtime
********************************************************************************/
$Nav->setLinkList(null);
$PR = "gmf-runtime";
$projectName = "GMF Runtime";
$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-runtime/downloads/scripts.php");
$regs = null;
$projects = array("GMF Runtime" => "gmf-runtime");
$proj = "/modeling"; // (isset($_GET["project"]) && preg_match("/^(" . join("|", $projects) . ")$/", $_GET["project"], $regs) ? $regs[1] : getProjectFromPath($PR));
$projct= "gmf-runtime";
$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 Runtime", "/gmf-runtime");
$Nav->addCustomNav("Downloads", "/gmf-runtime/downloads.php", "_self", 3);
$Nav->addCustomNav("Download Versions", "/gmf-runtime/releases.php", "_self");
$Nav->addCustomNav("Documentation", "/gmf-runtime/documentation.php", "_self", 3);
$Nav->addCustomNav("Wiki", "http://wiki.eclipse.org/Graphical_Modeling_Framework", "_self", 3);
$Nav->addCustomNav("Support", "/gmf-runtime/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 runtime";
$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 Runtime", "/gmf-runtime", "_self");
$Menu->addMenuItem("Downloads", "/gmf-runtime/downloads.php", "_self");
$Menu->addMenuItem("Documentation", "/gmf-runtime/documentation.php", "_self");
$Menu->addMenuItem("About", "http://www.eclipse.org/projects/project_summary.php?projectid=modeling.gmp.gmf-runtime", "_self");
# To define additional CSS or other pre-body headers
$App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/gmf-runtime/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");
?>