Skip to main content
summaryrefslogtreecommitdiffstats
blob: c3923e1356d23cb8ca0a00a63694ccd4bacd05de (plain) (blame)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<?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'

#*****************************************************************************
#
# template.php
#
# Author: 		15022010
# Date:			2010-02-10
#
# Description: Type your page comments here - these are not sent to the browser
#
#
#****************************************************************************

#
# Begin: page-specific settings.  Change these.
$pageTitle 		= "Web Tools Platform (WTP) Project";
$pageKeywords	= "web,J2EE";
$pageAuthor		="Ugur Yildirim @ Eteration A.S.";

$root = $_SERVER['DOCUMENT_ROOT'];
// Import the functions that render news.
// require_once ($root . '/webtools/news.php');
// Import common WTP functions.
require_once ($root . '/webtools/common.php');
require_once ($root . '/webtools/newstohtml.php');

// Generate the HTML content for the news based on the news.xml file
// that appears in the root directory.
$newsTitle = "Project News";
//$wtpnews = news_to_html($root . "/webtools/news.xml", "$newsTitle", "/webtools/news/", "/webtools/news.php", true, "long", "5");
$wtpnews = news_to_html($root . "/webtools/news.xml", "", "", "", true, "long", "3");

// Get the project descriptions
$wtpoverview = read_file($root . '/webtools/project-info/description.html');
$commonoverview = read_file($root . '/webtools/project-info/common-description.html');
$ejboverview = read_file($root . '/webtools/project-info/ejb-description.html');
$jeeoverview = read_file($root . '/webtools/project-info/jee-description.html');
$jsdtoverview = read_file($root . '/webtools/project-info/jsdt-description.html');
$rdboverview = read_file($root . '/webtools/project-info/rdb-description.html');
$serveroverview = read_file($root . '/webtools/project-info/server-description.html');
$sseoverview = read_file($root . '/webtools/project-info/sse-description.html');
$wsoverview = read_file($root . '/webtools/project-info/ws-description.html');
$dalioverview = read_file($root . '/webtools/project-info/dali-description.html');
$jsfoverview = read_file($root . '/webtools/project-info/jsf-description.html');
$incoverview = read_file($root . '/webtools/project-info/inc-description.html');
$relengoverview = read_file($root . '/webtools/project-info/releng-description.html');
$libraoverview = read_file($root . '/webtools/project-info/libra-description.html');
# 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

$wtpTopButtons

<div id="midcolumn" >

	<table border="0" cellspacing="0" cellpadding="0" width="100%" align="center">
		<tr>
			<td width="100"></td>
			<td><div style="text-align:center;"><a href="/webtools/community/"><img src="/webtools/images/main_users.png" /></a></div></td>
			<td><div style="text-align:center;"><a href="/webtools/adopters/"><img src="/webtools/images/main_adopters.png" /></a></div></td>
			<td><div style="text-align:center;"><a href="/webtools/development/"><img src="/webtools/images/main_committers.png" /></a></div></td>
			<td width="100"></td>
		</tr>
	</table>

	<div class="homeitem">
		<h3>Subprojects</h3>
		<ul>
			<li>
				<b>Common Components</b>&nbsp;<a href="common/"><img src="/images/more.gif" title="More..." alt="More..." /></a>
				<br />
				$commonoverview
				<br /> <a href="common/">more about common components &raquo;</a>
			</li>
			<li>
				<b>Dali JPA Tools</b>&nbsp;<a href="dali/"><img src="/images/more.gif" title="More..." alt="More..." /></a>
				<br />
				$dalioverview
				<br /> <a href="dali/">more about dali &raquo;</a>
			</li>
			<li>
				<b>EJB Tools</b>&nbsp;<a href="ejb/"><img src="/images/more.gif" title="More..." alt="More..." /></a>
				<br />
				$ejboverview
				<br /> <a href="ejb/">more about EJB Tools&raquo;</a>
			</li>
			<li>
				<b>Enterprise Tools for the OSGi Service Platform (Libra)</b>&nbsp;<a href="libra/"><img src="/images/more.gif" title="More..." alt="More..." /></a>
				<br />
				$libraoverview
				<br /> <a href="libra/">more about Libra&raquo;</a>
			</li>
			<li>
				<b>Java EE Tools</b>&nbsp;<a href="jee/"><img src="/images/more.gif" title="More..." alt="More..." /></a>
				<br />
				$jeeoverview
				<br /> <a href="jee/">more about Java EE Tools&raquo;</a>
			</li>
			<li>
				<b>JavaScript Development Tools (JSDT)</b>&nbsp;<a href="jsdt"><img src="/images/more.gif" title="More..." alt="More..." /></a>
				<br />
				$jsdtoverview
				<br /> <a href="jsdt">more about JavaScript Development Tools&raquo;</a>
			</li>
			<li>
				<b>JavaServer Faces Tools (JSF)</b>&nbsp;<a href="jsf/main.php"><img src="/images/more.gif" title="More..." alt="More..." /></a>
				<br />
				$jsfoverview
				<br /> <a href="jsf/main.php">more about jsf &raquo;</a>
			</li>
			<li>
				<b>Release Engineering (releng)</b>&nbsp;<a href="releng/"><img src="/images/more.gif" title="More..." alt="More..." /></a>
				<br />
				$relengoverview
				<br /> <a href="releng/">more about Releng&raquo;</a>
			</li>
			<li>
				<b>Server Tools</b>&nbsp;<a href="server/"><img src="/images/more.gif" title="More..." alt="More..." /></a>
				<br />
				$serveroverview
				<br /> <a href="server/">more about Server Tools&raquo;</a>
			</li>
			<li>
				<b>Source Editing</b>&nbsp;<a href="sse/"><img src="/images/more.gif" title="More..." alt="More..." /></a>
				<br />
				$sseoverview
				<br /> <a href="sse/">more about source editing&raquo;</a>
			</li>
			<li>
				<b>Web Services Tools</b>&nbsp;<a href="ws/"><img src="/images/more.gif" title="More..." alt="More..." /></a>
				<br />
				$wsoverview
				<br /> <a href="ws/">more about Web services tools&raquo;</a>
			</li>
			<li>
				<b>WTP Incubator</b>&nbsp;<a href="ws/"><img src="/images/more.gif" title="More..." alt="More..." /></a>
				<br />
				$incoverview
				<br /> <a href="incubator/">more about WTP Incubator&raquo;</a>
   			</li>
    	</ul>
	</div>
</div>

<div id="rightcolumn">
	<div class="sideitem">
		<h6>$newsTitle
			<a href="/webtools/news.php"><img src="/images/more.gif" title="More..." alt="[More]" /></a>
			<a href="/webtools/news/"><img src="/images/rss.gif" align="right" title="RSS Feed" alt="[RSS]" /></a>
		</h6>
		$wtpnews
	</div>
</div>
EOHTML;

# Generate the web page
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
?>

Back to the top