<?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("_projectCommon.php"); # All on the same line to unclutter the user's desktop' | |
/******************************************************************************* | |
* Copyright (c) 2007 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: | |
* Denis Roy (Eclipse Foundation)- initial implementation | |
*******************************************************************************/ | |
# Author: Donald Smith | |
# Begin: page-specific settings. Change these. | |
$pageTitle = "Error"; | |
# Add page-specific Nav bars here | |
# Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank) | |
# $Nav->addCustomNav("My Link", "mypage.php", "_self"); | |
# $Nav->addCustomNav("Google", "http://www.google.com/", "_blank"); | |
# End: page-specific settings | |
# | |
# Paste your HTML content between the EOHTML markers! | |
$html = <<<EOHTML | |
<div id="maincontent"> | |
<div id="midcolumn"> | |
<h1>$pageTitle</h1> | |
<p> | |
You reached this page in error. | |
</p> | |
<hr class="clearer" /> | |
</div> | |
</div> | |
EOHTML; | |
# Generate the web page | |
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); | |
?> |