-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmoved.php
executable file
·46 lines (38 loc) · 1.8 KB
/
moved.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?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'
#*****************************************************************************
#
#****************************************************************************
#
# Begin: page-specific settings. Change these.
$pageTitle = "Mylar is now Mylyn";
$pageKeywords = "Mylyr, Eclipse";
$pageAuthor = "Denis Roy";
# 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", 3);
# $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);
# End: page-specific settings
#
# Paste your HTML content between the EOHTML markers!
$html = <<<EOHTML
<div id="maincontent">
<div id="midcolumn">
<h1>Mylar is now Mylyn</h1>
<p>The Mylar project is now called Mylyn. <a href="/mylyn/">Go to the Mylyn project page</a>.
</div>
</div>
EOHTML;
# Generate the web page
$Theme = $App->getThemeClass();
$Theme = $App->getThemeClass($theme);
$Theme->setNavPosition('left');
$Theme->setNav($Nav);
$Theme->setMenu($Menu);
$Theme->setPageAuthor($pageAuthor);
$Theme->setPageKeywords($pageKeywords);
$Theme->setPageTitle($pageTitle);
$Theme->setHtml($html);
$Theme->setBreadcrumb($Breadcrumb);
$Theme->generatePage();
?>