Photran rev2 site based on Nova template
diff --git a/rev2/_projectCommon.php b/rev2/_projectCommon.php
index 1f24ae5..4849550 100755
--- a/rev2/_projectCommon.php
+++ b/rev2/_projectCommon.php
@@ -5,6 +5,9 @@
* 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:
+* Jeff Overbey (Illinois) - Photran customizations based on Nova template
*******************************************************************************/
# Set the theme for your project's web pages.
@@ -41,11 +44,11 @@
#$Nav->addCustomNav("Documentation", "/project/documentation.php", "_blank", 3);
#$Nav->addCustomNav("Support", "/project/support.php", "_blank", 3);
#$Nav->addCustomNav("Getting Involved", "/project/developers", "_blank", 3);
- #
- ## Define keywords, author and title here, or in each PHP page specifically
- #$pageKeywords = "xtext, dsl, modeling, domain specific language, textual";
- #$pageAuthor = "Your name";
-
+
+ # Define keywords, author and title here, or in each PHP page specifically
+ $pageKeywords = "photran, fortran, ide, integrated development environment, refactoring, eclipse";
+ $pageAuthor = "Jeffrey Overbey";
+
# To enable occasional Eclipse Foundation Promotion banners on your pages (EclipseCon, etc)
$App->Promotion = FALSE;
?>
diff --git a/rev2/index.php b/rev2/index.php
index 9bc70d1..4acda41 100755
--- a/rev2/index.php
+++ b/rev2/index.php
@@ -1,56 +1,22 @@
-<?php 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()); # All on the same line to unclutter the user's desktop'
+<?php
/*******************************************************************************
- * Copyright (c) 2010 Eclipse Foundation and others.
+ * Copyright (c) 2011 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:
- *
+ * Jeff Overbey (Illinois) - Photran customizations based on Nova template
*******************************************************************************/
- #
- # Begin: page-specific settings. Change these.
- $pageTitle = "This is a new project";
- $pageKeywords = "Nova, template, #midcolumn";
- $pageAuthor = "Eclipse Foundation";
-
- # Paste your HTML content between the EOHTML markers!
- ob_start();
- ?>
- <div id="midcolumn">
- <h1><?= $pageTitle ?></h1>
-
- <p> This is a new Eclipse.org project. You can see the proposal
-<a href="/proposals/myproject">here</a> </p>
+ 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());
- <p> Want to know more? <a href="/projects/project_summary.php?projectid=my.project">About This Project</a> </p>
-
- <p>If you're a committer on this project, simply connect to the website repository (:extssh:yourid@dev.eclipse.org:/cvsroot/org.eclipse under www/yourproject) and rename the template.php file to index.php, overwriting this page.</p>
- </div>
-
- <!-- remove the entire <div> tag to omit the right column! -->
- <div id="rightcolumn">
- <div class="sideitem">
- <h6>Related Links</h6>
- <ul>
- <li><a href="template.php">Home page template</a></li>
- <li><a href="midcolumn_example.php">Multi-column template</a></li>
- </ul>
- </div>
- <div class="sideitem">
- <h6><h6> tag</h6>
- <div class="modal">
- Wrapping your content using a div.modal tag here will add the gradient background
- </div>
- </div>
- </div>
-
-
- <?
- $html = ob_get_clean();
+ $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="style.css"/>');
+ $localVersion = false;
+ $pageTitle = "Photran - An Eclipse-based IDE and Refactoring Tool for Fortran";
+ $html = file_get_contents('pages/_index.html');
# Generate the web page
- $App->generatePage('Nova', $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+ $App->generatePage($theme, $Menu, null, $pageAuthor, $pageKeywords, $pageTitle, $html);
?>
\ No newline at end of file