blob: 487eb24db5653b3ac8b000689e206ea589693143 [file] [log] [blame]
<?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'
#*****************************************************************************
#
# template.php
#
# Author: Denis Roy
# Date: 2005-06-16
#
# Description: Type your page comments here - these are not sent to the browser
#
#
#****************************************************************************
#
# Begin: page-specific settings. Change these.
$pageTitle = "Eclipse Community";
$pageKeywords = "eclipse resources, courses, books, events, plug-ins";
$pageAuthor = "susan iwai";
# 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");
# $Nav->addCustomNav("My Link", "mypage.php", "_self", 1);
# $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 1);
# End: page-specific settings
#
// This file is linked to from lots of different places.
// Use absolute paths to make sure that we can actually test
// that the file renders properly (i.e. testing using) "/index.php",
// and "/home/index.php" both work.
$root = $_SERVER['DOCUMENT_ROOT'];
# Paste your HTML content between the EOHTML markers!
$html = <<<EOHTML
<link rel="stylesheet" type="text/css" href="template.css" media="screen" />
<div class="communityRealEstate">
<h2>Welcome to the Eclipse Community Page</h2>
<div class="news">
<div class="box">
<ol>
<li>
<div class="boxHeader">What's New</div>
<div class="boxBody">
<ul class="newsItems">
<li><div class="newsItem"><span class="newsTitle">The Eclipse Foundation’s Coordinated Kickoff </span></div>
<div class="newsDate">posted by ngervais 23 minutes ago.</div>
<div class="newsBody">
Announcing the Eclipse Foundation's Coordinated Kickoff, the excitement surrounding the biggest Eclipse release has only gotten bigger. Lets hear it for Callisto!.
</div>
</li>
<li><div class="newsItem"><span class="newsTitle">Check out this new RCP app</span></div>
<div class="newsDate">posted by ngervais 1 day ago.</div>
<div class="newsBody">
I've added a new RCP application to the RCP Commercial Plugin Repository. Here's a brief description.<br />
<div class="newsQuote">Etiam vel nisi at magna rhoncus nonummy. Duis congue fermentum tortor. In id dui et nulla aliquet venenatis. Sed nulla diam, egestas sit amet, bibendum vel, tristique ac, tortor. Curabitur nisl. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus metus pede, nonummy et, convallis eget, aliquam eu, tortor. Nulla scelerisque pretium metus. Cras nulla turpis, interdum vitae, euismod vel, tincidunt at, ante. Suspendisse nec orci nec nunc ultrices elementum. Maecenas facilisis tempor magna. Nulla lectus. Quisque enim nunc, porttitor id, fermentum id, mattis ac, augue. Quisque mauris.</div>
</div>
</li>
<li><div class="newsItem"><span class="newsTitle">Generic Item Added</span></div>
<div class="newsDate">posted by ngervais X time ago.</div>
<div class="newsBody">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
</div>
</li>
<li><div class="newsItem"><span class="newsTitle">Exciting new plugin annouced!</span></div>
<div class="newsDate">posted by ngervais X time ago.</div>
<div class="newsBody">
Nulla scelerisque pretium metus. Cras nulla turpis, interdum vitae, euismod vel, tincidunt at, ante. Suspendisse nec orci nec nunc ultrices elementum. Maecenas facilisis tempor magna.
</div>
</li>
<li><div class="newsItem"><span class="newsTitle">EclipseCon 2007 Announced</span></div>
<div class="newsDate">posted by ngervais X time ago.</div>
<div class="newsBody">
Duis congue fermentum tortor. In id dui et nulla aliquet venenatis. Sed nulla diam, egestas sit amet, bibendum vel, tristique ac, tortor. Curabitur nisl. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus metus pede, nonummy et, convallis eget, aliquam eu, tortor.
</div>
</li>
</ul>
<div class="newsMore"><a href="submitnews.php">Submit Content</a> - <a href="whatsnew.php">Read More</a></div>
</div>
</li>
</ol>
</div>
</div>
<!--> <div class="spotlight">
<div class="box">
<ol>
<li>
<a href="events/">
<div class="boxHeader">SpotLight</div>
<div class="boxBody">Feature New and Exciting Plugins / RCP apps, basically anything here that will change weekly.</div>
</a>
</li>
</ol>
</div>
</div></!-->
<div class="categoryLeft">
<div class="box">
<ol>
<li>
<a href="events/">
<div class="boxHeader">Events</div>
<div class="boxBody">Check out a conference or gathering near you.</div>
</a>
</li>
<li>
<a href="training/">
<div class="boxHeader">Training</div>
<div class="boxBody">Books, Online Courses, Webinars, and Tutorials </div>
</a>
</li>
<li>
<a href="events/">
<div class="boxHeader">Evangelism</div>
<div class="boxBody">See what our Eclipse Evangelist Wayne Beaton is talking about.</div>
</a>
</li>
<li>
<a href="training/">
<div class="boxHeader">Eclipse Project Resources</div>
<div class="boxBody">Mailing Lists, Newsgroups</div>
</a>
</li>
</ol>
</div>
</div>
<div class="categoryRight">
<div class="box">
<ol>
<li>
<a href="events/">
<div class="boxHeader">Eclipse Portals</div>
<div class="boxBody">Check out the many community sites and blogs around the web.</div>
</a>
</li>
<li>
<a href="training/">
<div class="boxHeader">Consulting & Services</div>
<div class="boxBody">Consulting, development, and training services</div>
</a>
</li>
<li>
<a href="events/">
<div class="boxHeader">Plugins</div>
<div class="boxBody">Check out the many Eclipse-based plugins.</div>
</a>
</li>
<li>
<a href="training/">
<div class="boxHeader">RCP Catalog</div>
<div class="boxBody">Open Source, and Commercial Rich Client Platform applications</div>
</a>
</li>
</ol>
</div>
</div>
</div>
EOHTML;
# Generate the web page
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
?>