[200281] 404 page needs work
diff --git a/404.php b/404.php
new file mode 100644
index 0000000..d02ba8e
--- /dev/null
+++ b/404.php
@@ -0,0 +1,23 @@
+<?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'
+ #*****************************************************************************
+ #
+ # 404.php
+ #
+ # Author: Denis Roy
+ # Date: 2007-11-13
+ #
+ # Description: login page for site login
+ #
+ #****************************************************************************
+
+ #
+ # Begin: page-specific settings. Change these.
+ $pageTitle = "404 File not found";
+ $pageAuthor = "";
+ $pageKeywords = "";
+
+ include("content/en_" . $App->getScriptName());
+
+ # Generate the web page
+ $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+?>
diff --git a/_projectCommon.php b/_projectCommon.php
new file mode 100755
index 0000000..3c409bd
--- /dev/null
+++ b/_projectCommon.php
@@ -0,0 +1,7 @@
+<?php
+
+ # Set the theme for your project's web pages.
+ # See the Committer Tools "Phoenix" secion in the How Do I? for list of themes
+ # https://dev.eclipse.org/committers/
+ $theme = "Phoenix";
+?>
\ No newline at end of file
diff --git a/content/en_404.php b/content/en_404.php
new file mode 100644
index 0000000..9232799
--- /dev/null
+++ b/content/en_404.php
@@ -0,0 +1,17 @@
+<?php
+ $html = <<<EOHTML
+<div id="maincontent"><div id="midcolumn"><h1>$pageTitle</h1><p>We're sorry, the page you requested cannot be found. Below are some links that may be useful.</p>
+<ul>
+<li><a href="//eclipse.org">Eclipse home</a></li>
+<li><a href="//eclipse.org/search">Search</a> our site</li>
+<li>Website <a href="//eclipse.org/legal/privacy.php">privacy policy</a> and <a href="//eclipse.org/legal/termsofuse.php">terms of use</a></li>
+<li><a href="//eclipse.org/legal">Legal documents</a></li>
+<li><a href="//eclipse.org/artwork/">Logos</a> and artwork</li>
+<li><a href="//wiki.eclipse.org/index.php/Webmaster_FAQ">webmaster FAQ</a></li>
+<li><a href="mailto:webmaster@eclipse.org">Email the webmaster</a></li>
+</div><div id="rightcolumn"><div class="sideitem">
+<h6>Useful links</h6><ul><li><a href="//archive.eclipse.org">Eclipse project archives</a></li>
+<li><a href="//download.eclipse.org/eclipse/downloads">Eclipse project downloads</a></li>
+</ul></div></div></div>
+EOHTML;
+?>
\ No newline at end of file
diff --git a/toobusy.html b/toobusy.html
index 5aa5646..d80329f 100644
--- a/toobusy.html
+++ b/toobusy.html
@@ -1,4 +1 @@
-<html>
- <head><title>Too Busy</title></head>
- <body><h2>Server too busy</h2>The server is currently too busy to process your request. Please pick a mirror site for your download.</body>
-</html>
+<html><head><title>Too Busy</title></head><body><h2>Server too busy</h2>The server is currently too busy to process your request. Please pick a mirror site for your download.</body></html>