blob: dbd10f8e12ba64a46dcfd71bb10848884c0535ce [file] [log] [blame]
<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/"); require_once($_SERVER['DOCUMENT_ROOT'] . "/"); require_once($_SERVER['DOCUMENT_ROOT'] . "/"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); # All on the same line to unclutter the user's desktop'
* Copyright (c) 2006 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
* Contributors:
* Wayne Beaton (Eclipse Foundation)- initial API and implementation
# template.php
# Author: Wayne Beaton
# Date: 2005-11-16
# Description: Landing page for articles.
# Begin: page-specific settings. Change these.
$pageTitle = "Eclipse Corner Articles";
$pageKeywords = "article, articles, tutorial, tutorials, how-to, howto, whitepaper, whitepapers, white, paper";
$pageAuthor = "Wayne Beaton";
# End: page-specific settings
$resources = new Resources();
$filter = new Filter();
$filter->type = 'article';
$resources_list = $resources->get_resources($filter);
$filter_summary = $filter->get_summary();
$category_cloud = $resources->get_category_cloud($filter, 'article', 0);
$count = count($resources_list);
//get_categories_for_filtering_as_html('/articles/index.php', $filter);
$rss = "<a href=\"/resources/resources.rss?type=article&title=Eclipse%20Corner%20Articles\"><img src=\"/images/rss2.gif\"></a>";
$articles = $resources->get_resources_table2($resources_list, $filter);
# Paste your HTML content between the EOHTML markers!
$html = <<<EOHTML
<link rel="stylesheet" type="text/css" href="/resources/layout.css" media="screen" />
<div id="midcolumn">
<img src="images/articles.gif" align="right">
These following articles have been written by members of the
development team and other members of the eclipse community.
<i>All articles are listed here by date (most recent first).</i> You
can filter the list by clicking a category filter to the right.
You too can contribute! Eclipse Corner depends on contributions
from people like you. Interested in writing an article? See <a href="contributing.php">how
to contribute an article</a>. If you are writing an article, please
consider leveraging our new Eclipse-based <a href="">DocBook</a>
authoring template. For more information, please see the Eclipse Corner
article <a href="Article-Authoring-With-Eclipse/AuthoringWithEclipse.html">Authoring with Eclipse</a>.
A number of other web sites carry technical articles about
Eclipse. You can find pointers to these on the
<a href="/community/">Eclipse Community page</a>. You can find these articles
and more on the <a href="/resources">Eclipse Resources</a> page.
<form action="" id="searchbox_017941334893793413703:sqfrdtd112s">
<input name="cx" value="017941334893793413703:sqfrdtd112s" type="hidden">
<input type="hidden" name="hq" value="">
<input style="background: rgb(255, 255, 255) url( no-repeat scroll left center; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" name="q" size="25" type="text">
<input name="sa" value="Search" type="submit">
$filter_summary ($count articles) $rss
<div id="rightcolumn">
<div class="sideitem">
<div class="sideitem">
<h6>Other Sources of Eclipse Information</h6>
<li><a href="" target="_blank">developerWorks</a></li>
<li><a href="" target="_blank">Eclipse Developer's Journal</a></li>
<li><a href="" target="_blank">Eclipse Magazin</a></li>
<li><a href="" target="_blank">Eclipse Zone</a></li>
<script language="javascript">
if (top.location != location) {
top.location.href = document.location.href ;
# Generate the web page
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);