Adding deprecated message
Signed-off-by: Christopher Guindon <chris.guindon@eclipse.org>
diff --git a/_projectCommon.php b/_projectCommon.php
new file mode 100644
index 0000000..4cb43b5
--- /dev/null
+++ b/_projectCommon.php
@@ -0,0 +1,12 @@
+<?php
+
+ # Set the theme for your project's web pages.
+ # See the Committer Tools "How Do I" for list of themes
+ # https://dev.eclipse.org/committers/
+ $theme = "solstice";
+ $App->Promotion = FALSE;
+
+ $App->setOutDated('2011-11-11' ,'<a href="https://projects.eclipse.org/releases/callisto">Callisto</a> is a previous version of Eclipse, please visit our <a href="/downloads/">download</a> page for the latest version of Eclipse. ');
+
+
+?>
diff --git a/index.php b/index.php
index 288265d..a2abf89 100644
--- a/index.php
+++ b/index.php
@@ -1,4 +1,6 @@
-<?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
+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'
+include_once '_projectCommon.php';
#*****************************************************************************
#
@@ -11,13 +13,13 @@
#
#
#****************************************************************************
-
+
#
- # Begin: page-specific settings. Change these.
+ # Begin: page-specific settings. Change these.
$pageTitle = "Eclipse Callisto";
$pageKeywords = "callisto marketing ";
$pageAuthor = "Nathan Gervais";
-
+
# Add page-specific Nav bars here
# Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
# $Nav->addNavSeparator("My Page Links", "downloads.php");
@@ -31,21 +33,21 @@
// that the file renders properly (i.e. testing using) "/index.php",
// and "/home/index.php" both work.
include ('scripts/whatsnew.php');
- $whatsnew = rss_to_html('whatsnew');
-
- # Paste your HTML content between the EOHTML markers!
+ $whatsnew = rss_to_html('whatsnew');
+
+ # Paste your HTML content between the EOHTML markers!
$html = <<<EOHTML
<link rel="stylesheet" type="text/css" href="callisto.css" media="screen" />
<div class="callistoRealEstate paddingLeft">
<h1>$pageTitle</h1>
-
+
<h3>What is Callisto</h3>
<table>
<tr>
<td valign="top">
Callisto is about improving the productivity of the developers working on top of Eclipse frameworks by providing a more transparent and predictable development cycle. By releasing <a href="callistoprojects.php">10 projects</a> at the same time in 2006, the goal is to eliminate uncertainty about version compatibility and make it easier to incorporate multiple projects into your environment.
<br /><br />
-
+
<em>While Callisto is about the simultaneous release of <a href="callistoprojects.php">ten projects</a>, it is
not a unification of the projects - each project remains a
separate open source project operating with its own project leadership,
@@ -72,7 +74,7 @@
</tr>
</table>
<br/>
-
+
<div class="homeitem noMarginLeft">
<h3>Learn more</h3>
<ul>
@@ -82,7 +84,7 @@
<li> Listen to the <a href="http://www.eclipsezone.com/podcasts.jsp" target="blank">EclipseZone Callisto Podcasts</a>
</ul>
</div>
-
+
$whatsnew
</div>
@@ -94,5 +96,5 @@
EOHTML;
# Generate the web page
- $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+ $App->generatePage($theme, $Menu, NULL, $pageAuthor, $pageKeywords, $pageTitle, $html);
?>