Added missing resources.
Change-Id: Ib670641dc2a15c455bb451ac4dfa14bc98b637e3
diff --git a/_projectCommon.php b/_projectCommon.php
new file mode 100755
index 0000000..51b65dc
--- /dev/null
+++ b/_projectCommon.php
@@ -0,0 +1,57 @@
+<?php
+
+/*******************************************************************************
+ * Copyright (c) 2009 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
+ * Michael Wenz - changes for Graphiti
+ *******************************************************************************/
+
+ # 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("Graphiti", "/graphiti");
+ $Nav->addCustomNav("Download", "/graphiti/download.php", "_self", 3);
+ $Nav->addCustomNav("Documentation", "/graphiti/documentation", "_blank", 3);
+ $Nav->addCustomNav("Support", "/graphiti/support.php", "_blank", 3);
+ $Nav->addCustomNav("Getting Involved", "/graphiti/developers", "_blank", 3);
+
+ # Define keywords, author and title here, or in each PHP page specifically
+ $pageKeywords = "dsl, modeling, domain specific language, graphical, Java API";
+ $pageAuthor = "Michael Wenz";
+ $pageTitle = "Graphiti";
+
+ # top navigation bar
+ # To override and replace the navigation with your own, uncomment the line below.
+ $Menu->setMenuItemList(array());
+ $Menu->addMenuItem("Home", "/graphiti", "_self");
+ $Menu->addMenuItem("Download", "/graphiti/download.php", "_self");
+ $Menu->addMenuItem("Documentation", "/graphiti/documentation", "_self");
+ $Menu->addMenuItem("Support", "/graphiti/support", "_self");
+ $Menu->addMenuItem("Getting Involved", "/graphiti/developers", "_self");
+
+ # To define additional CSS or other pre-body headers
+ $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/graphiti/style.css"/>' . "\n\t");
+
+ # 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");
+?>
\ No newline at end of file
diff --git a/download.php b/download.php
new file mode 100755
index 0000000..0095510
--- /dev/null
+++ b/download.php
@@ -0,0 +1,34 @@
+<?php
+/*******************************************************************************
+ * Copyright (c) 2009 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
+ * Benjamin Schmeling - changes for FMC
+ *******************************************************************************/
+
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php");
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php");
+ $App = new App();
+ $Nav = new Nav();
+ $Menu = new Menu();
+ include($App->getProjectCommon());
+ $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/style.css"/>');
+
+ $localVersion = false;
+
+ # Define these here, or in _projectCommon.php for site-wide values
+ $pageTitle = "FMC Download";
+
+ // # Paste your HTML content between the EOHTML markers!
+ $html = file_get_contents('pages/download.html');
+
+ # Generate the web page
+ $App->generatePage($theme, $Menu, null, $pageAuthor, $pageKeywords, $pageTitle, $html);
+
+?>
\ No newline at end of file