-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathzest.php
48 lines (38 loc) · 1.82 KB
/
zest.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
47
48
<?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 = "Zest: The Eclipse Visualization Toolkit";
$pageKeywords = "Mylyn, Eclipse, Zest, Visualization";
$pageAuthor = "Ian Bull";
# 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">
<p>
<br>
<b> Moved to: <a href="http://www.eclipse.org/gef/zest/">http://eclipse.org/gef/zest/</a></b>
</p>
</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();
?>