Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 129098 | Differences between
and this patch

Collapse All | Expand All

(-)webtools/_projectCommon.php (-20 / +23 lines)
Lines 6-43 Link Here
6
	# Optional: defaults to system theme 
6
	# Optional: defaults to system theme 
7
	# miasma
7
	# miasma
8
	$theme = "Phoenix";
8
	$theme = "Phoenix";
9
9
	$App->AddExtraHtmlHeader("<link rel=\"stylesheet\" type=\"text/css\" href=\"/webtools/wtpphoenix.css\">\n");
10
	
10
	# Define your project-wide Nav bars here.
11
	# Define your project-wide Nav bars here.
11
	# Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
12
	# Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
12
	# these are optional
13
	# these are optional
13
	$Nav->addNavSeparator("WTP Home", 	"index.php");
14
	$Nav->addNavSeparator("WTP Home", 	"/webtools/index1.php");
14
	$Nav->addCustomNav("Subprojects", "", "_self", 1);
15
	$Nav->addCustomNav("Subprojects", "", "_self", 1);
15
	$Nav->addCustomNav("WST", 	"wst/main.html", 		"_self", 2);
16
	$Nav->addCustomNav("WST", 	"/webtools/wst/main.php", 		"_self", 2);
16
	$Nav->addCustomNav("JST", 	"jst/main.html", 		"_self", 2);
17
	$Nav->addCustomNav("JST", 	"/webtools/jst/main.php", 		"_self", 2);
17
	$Nav->addCustomNav("JSF", 	"jsf/index.html", 		"_self", 2);
18
	$Nav->addCustomNav("ATF", 	"/webtools/atf/main.php", 		"_self", 2);
19
	$Nav->addCustomNav("Dali", 	"/webtools/dali/main.php", 		"_self", 2);
20
	$Nav->addCustomNav("JSF", 	"/webtools/jsf/main.php", 		"_self", 2);
18
	$Nav->addCustomNav("Documentation", 		"http://help.eclipse.org/help31/topic/org.eclipse.wst.doc.user/topics/overview.html", 	"_self", 1);
21
	$Nav->addCustomNav("Documentation", 		"http://help.eclipse.org/help31/topic/org.eclipse.wst.doc.user/topics/overview.html", 	"_self", 1);
19
	$Nav->addCustomNav("User Documentation", 		"http://help.eclipse.org/help31/topic/org.eclipse.wst.doc.user/topics/overview.html", 	"_self", 2);
22
	$Nav->addCustomNav("User Documentation", 		"http://help.eclipse.org/help31/topic/org.eclipse.wst.doc.user/topics/overview.html", 	"_self", 2);
20
	$Nav->addCustomNav("WST ISV Documentation", 		"http://help.eclipse.org/help31/topic/org.eclipse.wst.doc.isv/html/plugin_descriptions_WST/wst.html", 	"_self", 2);
23
	$Nav->addCustomNav("WST ISV Documentation", 		"http://help.eclipse.org/help31/topic/org.eclipse.wst.doc.isv/html/plugin_descriptions_WST/wst.html", 	"_self", 2);
21
	$Nav->addCustomNav("JST ISV Documentation", 		"http://help.eclipse.org/help31/topic/org.eclipse.jst.doc.isv/html/plugin_descriptions_JST/jst.html", 	"_self", 2);
24
	$Nav->addCustomNav("JST ISV Documentation", 		"http://help.eclipse.org/help31/topic/org.eclipse.jst.doc.isv/html/plugin_descriptions_JST/jst.html", 	"_self", 2);
22
	$Nav->addCustomNav("Downloads", 		"http://download.eclipse.org/webtools/downloads/", 	"_self", 1);
25
	$Nav->addCustomNav("Downloads", 		"http://download.eclipse.org/webtools/downloads/", 	"_self", 1);
23
	$Nav->addCustomNav("Community", 	"community/community.html", 		"_self", 1);
26
	$Nav->addCustomNav("Community", 	"/webtools/community/community.html", 		"_self", 1);
24
	$Nav->addCustomNav("Articles", 	"community/communityresources.html#articles", 		"_self", 2);
27
	$Nav->addCustomNav("Articles", 	"/webtools/community/communityresources.html#articles", 		"_self", 2);
25
	$Nav->addCustomNav("Books", 	"community/communityresources.html#books", 		"_self", 2);
28
	$Nav->addCustomNav("Books", 	"/webtools/community/communityresources.html#books", 		"_self", 2);
26
	$Nav->addCustomNav("Presentation Archive", 	"community/presentations.html", 		"_self", 2);
29
	$Nav->addCustomNav("Presentation Archive", 	"/webtools/community/presentations.html", 		"_self", 2);
27
	$Nav->addCustomNav("Tutorials", 	"community/communityresources.html#tutorials", 		"_self", 2);
30
	$Nav->addCustomNav("Tutorials", 	"/webtools/community/communityresources.html#tutorials", 		"_self", 2);
28
	$Nav->addCustomNav("Upcoming Presentations", 	"community/community.html", 		"_self", 2);
31
	$Nav->addCustomNav("Upcoming Presentations", 	"/webtools/community/community.html", 		"_self", 2);
29
	$Nav->addCustomNav("White Papers", 	"community/communityresources.html#whitepapers", 		"_self", 2);
32
	$Nav->addCustomNav("White Papers", 	"/webtools/community/communityresources.html#whitepapers", 		"_self", 2);
30
	$Nav->addCustomNav("Milestone Specific Resources", 	"community/milestonespecificresources.html", 		"_self", 2);
33
	$Nav->addCustomNav("Milestone Specific Resources", 	"/webtools/community/milestonespecificresources.html", 		"_self", 2);
31
	#$Nav->addCustomNav("Installation", 		"install.php", 		"_self", 1);
34
	#$Nav->addCustomNav("Installation", 		"install.php", 		"_self", 1);
32
	$Nav->addCustomNav("Adopters", 		"adopters/", 		"_self", 1);
35
	$Nav->addCustomNav("Adopters", 		"/webtools/adopters/main.php", 		"_self", 1);
33
	$Nav->addCustomNav("Development", 		"development/main.html", 		"_self", 1);
36
	$Nav->addCustomNav("Development", 		"/webtools/development/main.html", 		"_self", 1);
34
	#$Nav->addCustomNav("Help Wanted", 		"plans/1.5/reports/help-wanted.html", 		"_self", 2);
37
	#$Nav->addCustomNav("Help Wanted", 		"plans/1.5/reports/help-wanted.html", 		"_self", 2);
35
	$Nav->addCustomNav("Bug Reports", 		"development/bugs/bugs.html", 		"_self", 2);
38
	$Nav->addCustomNav("Bug Reports", 		"/webtools/development/bugs/bugs.php", 		"_self", 2);
36
	$Nav->addCustomNav("CVS", 		"http://dev.eclipse.org/viewcvs/index.cgi/?cvsroot=WebTools_Project", 		"_self", 2);
39
	$Nav->addCustomNav("CVS", 		"http://dev.eclipse.org/viewcvs/index.cgi/?cvsroot=WebTools_Project", 		"_self", 2);
37
	$Nav->addCustomNav("Status Telecons", 		"development/status-telecons/index.html", 		"_self", 2);
40
	$Nav->addCustomNav("Status Telecons", 		"/webtools/development/status-telecons/main.php", 		"_self", 2);
38
	$Nav->addCustomNav("Documents", 		"development/main.html", 		"_self", 2);
41
	$Nav->addCustomNav("Documents", 		"/webtools/development/main.html", 		"_self", 2);
39
	$Nav->addCustomNav("Committers/Contributors", 		"people/contributors.html", 		"_self", 2);
42
	$Nav->addCustomNav("Committers/Contributors", 		"/webtools/people/contributors.html", 		"_self", 2);
40
	$Nav->addCustomNav("FAQ", 				"faq/main.html", 			"_self", 1);
43
	$Nav->addCustomNav("FAQ", 				"/webtools/faq/main.html", 			"_self", 1);
41
	$Nav->addCustomNav("Newsgroup", 	"/newsgroups/main.html#wtp", 		"_self", 1);
44
	$Nav->addCustomNav("Newsgroup", 	"/newsgroups/main.html#wtp", 		"_self", 1);
42
45
43
?>
46
?>
(-)webtools/wtpphoenix.xsl (+47 lines)
Added Link Here
1
<?xml version="1.0" encoding="utf-8"?>
2
3
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
	version="1.0">
5
6
	<xsl:template match="html">
7
		<xsl:apply-templates select="body/h1" mode="banner" />
8
		<xsl:apply-templates select="body/*" />
9
	</xsl:template>
10
	<xsl:template match="h1" mode="banner">
11
		<table>
12
			<tr>
13
				<td width="60%">
14
					<h1>
15
						<xsl:value-of select="." />
16
					</h1>
17
					<br />
18
					<xsl:value-of select="/html/head/title" />
19
				</td>
20
				<td>
21
					<img src="/webtools/images/wtplogosmall.jpg"
22
						align="middle" height="129" hspace="50" width="207" />
23
				</td>
24
			</tr>
25
		</table>
26
	</xsl:template>
27
28
	<xsl:template match="h1" />
29
30
	<xsl:template match="h2">
31
		<h2 class="bar">
32
			<xsl:value-of select="." />
33
		</h2>
34
	</xsl:template>
35
36
	<xsl:template match="ul">
37
		<ul class="indent">
38
			<xsl:apply-templates />
39
		</ul>
40
	</xsl:template>
41
42
	<xsl:template match="*|@*|text()">
43
		<xsl:copy>
44
			<xsl:apply-templates select="*|@*|text()" />
45
		</xsl:copy>
46
	</xsl:template>
47
</xsl:stylesheet>
(-)webtools/adopters/main.php (+33 lines)
Added Link Here
1
<?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'
2
$pageTitle 		= "Web Tools Platform Adopters";
3
$pageKeywords	= "Type, page, keywords, here";
4
$pageAuthor		= "Type your name here";
5
6
$root = $_SERVER['DOCUMENT_ROOT'];
7
require_once ($root . '/webtools/common.php');
8
9
# Generate the web page
10
// Load the XML source
11
$xml = DOMDocument::load('index.xml');
12
13
// Load the XSL source
14
$xsl = DOMDocument::load($root . '/webtools/wtpphoenix.xsl');
15
16
// Configure the transformer
17
$proc = new XSLTProcessor;
18
$proc->importStyleSheet($xsl); // attach the xsl rules
19
20
$maincontent = $proc->transformToXML($xml);
21
$html = <<<EOHTML
22
<div id="maincontent">
23
	<div id="midcolumn">
24
		<p>
25
		$maincontent
26
		</p>
27
	</div>
28
</div>
29
30
31
EOHTML;
32
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
33
?>
(-)webtools/wst/main.php (+33 lines)
Added Link Here
1
<?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'
2
$pageTitle 		= "Web Standard Tools (WST) Subproject";
3
$pageKeywords	= "Type, page, keywords, here";
4
$pageAuthor		= "Type your name here";
5
6
$root = $_SERVER['DOCUMENT_ROOT'];
7
require_once ($root . '/webtools/common.php');
8
9
# Generate the web page
10
// Load the XML source
11
$xml = DOMDocument::load('main.xml');
12
13
// Load the XSL source
14
$xsl = DOMDocument::load($root . '/webtools/wtpphoenix.xsl');
15
16
// Configure the transformer
17
$proc = new XSLTProcessor;
18
$proc->importStyleSheet($xsl); // attach the xsl rules
19
20
$maincontent = $proc->transformToXML($xml);
21
$html = <<<EOHTML
22
<div id="maincontent">
23
	<div id="midcolumn">
24
		<p>
25
		$maincontent
26
		</p>
27
	</div>
28
</div>
29
30
31
EOHTML;
32
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
33
?>
(-)webtools/index1.php (+177 lines)
Added Link Here
1
<?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'
2
3
	#*****************************************************************************
4
	#
5
	# template.php
6
	#
7
	# Author: 		Denis Roy
8
	# Date:			2005-06-16
9
	#
10
	# Description: Type your page comments here - these are not sent to the browser
11
	#
12
	#
13
	#****************************************************************************
14
15
	#
16
	# Begin: page-specific settings.  Change these. 
17
	$pageTitle 		= "Web Tools Platform (WTP) Project";
18
	$pageKeywords	= "Type, page, keywords, here";
19
	$pageAuthor		= "Type your name here";
20
21
	$root = $_SERVER['DOCUMENT_ROOT'];
22
	// Import the functions that render news.
23
	// require_once ($root . '/webtools/news.php');
24
	// Import common WTP functions.
25
	require_once ($root . '/webtools/common.php');
26
	require_once ($root . '/community/news/scripts/news.php');
27
28
	function getWTPNews($rssfile, $rssurl, $count) 
29
	{
30
		$rss = get_news($rssfile);
31
		$html = "";
32
//		if($rss->channel == "")
33
//		{
34
//		  return "empty";
35
//		}
36
//		return $rss;
37
		foreach ($rss->channel as $channel) 
38
		{
39
			$html .= "<h6>";
40
		
41
			// Add the RSS image on the right
42
			$html .= "<a href=\"$rssurl\"><img src=\"/images/rss.gif\" align=\"right\" alt=\"More...\" /></a>";
43
		
44
			// Add the title of the channel 
45
			$html .= "WTP News";	
46
			// If we're displaying short format, provide a link to
47
			// show news in long format.
48
			$html .= "&nbsp;<a href=\"/webtools/news.html\"><img src=\"/images/more.gif\" title=\"More...\" alt=\"More...\" /></a>";
49
50
			$html .= "</h6>";
51
		
52
//		$description = $channel->description;
53
//		if (strlen($description) > 0) {
54
//			$html .= $description;
55
//			}
56
			$html .= "<ul class=\"midlist\">";
57
58
			foreach ($channel->item as $item) 
59
			{
60
				if ($count == 0) break;
61
				$html .= "<li>";
62
				$date = date("d&#8209;m&#8209;Y", $item->pubDate);
63
				$html .= "<a href=\"$item->link\" target=\"_blank\">$item->title</a> posted&nbsp;$date<br/>";
64
				$html .= $item->description;
65
				$html .= "</li>";
66
				$count--;
67
				if($count != 0)
68
				{
69
					$html .= "<br/>";
70
				}
71
			}
72
73
			$html .= "</ul>";
74
		}
75
		return $html;
76
	}
77
	// Generate the HTML content for the news based on the rss files
78
	// that appear in the root directory.
79
	$rssurl = "/webtools/wtpnews.rss";
80
	$wtpnews = getWTPNews($root . $rssurl, $rssurl, 5);//xml_to_html("news", "news-rss20", "long", "5");
81
	
82
	// Get the project descriptions
83
	$wtpoverview = read_file('project-info/description.html');
84
	$wstoverview = read_file('project-info/wst-description.html');
85
	$jstoverview = read_file('project-info/jst-description.html');
86
	$atfoverview = read_file('project-info/atf-description.html');
87
	$dalioverview = read_file('project-info/dali-description.html');
88
	$jsfoverview = read_file('project-info/jsf-description.html');
89
	# Add page-specific Nav bars here
90
	# Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
91
	# $Nav->addNavSeparator("My Page Links", 	"downloads.php");
92
	# $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);
93
	# $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);
94
95
	# End: page-specific settings
96
	#
97
98
	# Paste your HTML content between the EOHTML markers!	
99
	$html = <<<EOHTML
100
101
<div id="maincontent">
102
	<div id="midcolumn">
103
		<h1>$pageTitle</h1>
104
			<table>
105
				<tr>
106
					<td>
107
					<p>
108
					$wtpoverview
109
					<br /> <a href="about.html">more about wtp &raquo;</a>
110
 					</p>
111
					</td>
112
					<td>
113
					<img src="/webtools/images/wtplogosmall.jpg" align="middle" height="129" hspace="50" width="207" />
114
					</td>
115
				</tr>
116
			</table>
117
		<div class="homeitem3col">
118
			<h3>Subprojects</h3>
119
			<ul>
120
				<li>
121
					<b>Web Standard Tools (WST)</b>&nbsp;<a href="wst/main.php"><img src="/images/more.gif" title="More..." alt="More..." /></a>
122
					<br/>
123
					$wstoverview
124
					<br /> <a href="wst/main.php">more about wst &raquo;</a>
125
    			</li>
126
    			<li>
127
    				<b>J2EE Standard Tools (JST)</b>&nbsp;<a href="jst/main.php"><img src="/images/more.gif" title="More..." alt="More..." /></a>
128
					<br/>
129
					$jstoverview
130
					<br /> <a href="jst/main.php">more about jst &raquo;</a>
131
    			</li>
132
   				<li>
133
					<b>AJAX Toolkit Framework (ATF) - incubating</b>&nbsp;<a href="atf/main.php"><img src="/images/more.gif" title="More..." alt="More..." /></a>
134
					<br/>
135
					$atfoverview
136
					<br /> <a href="atf/main.php">more about atf &raquo;</a>
137
    			</li>
138
   				<li>
139
					<b>Dali JPA Tools - incubating</b>&nbsp;<a href="dali/main.php"><img src="/images/more.gif" title="More..." alt="More..." /></a>
140
					<br/>
141
					$dalioverview
142
					<br /> <a href="dali/main.php">more about dali &raquo;</a>
143
    			</li>
144
    			<li>
145
					<b>JavaServer Faces Tools (JSF) - incubating</b>&nbsp;<a href="jsf/main.php"><img src="/images/more.gif" title="More..." alt="More..." /></a>
146
					<br/>
147
					$jsfoverview
148
					<br /> <a href="jsf/main.php">more about jsf &raquo;</a>
149
    			</li>
150
    		</ul>
151
		</div>
152
		<p></p>
153
		<p></p>
154
	</div>
155
	<div id="rightcolumn">
156
		<div class="sideitem">
157
			<h6>Discover WTP</h6>
158
			<ul>
159
				<li><a href="http://download.eclipse.org/webtools/downloads/">Download</a></li>
160
				<li><a href="community/communityresources.html#tutorials">Tutorials</a></li>
161
				<li><a href="community/communityresources.html#articles">Articles</a></li>
162
				<li><a href="community/community.html">Upcoming Presentations</a></li>
163
				<li><a href="faq/main.html">FAQ</a></li>
164
				<li><a href="/newsgroups/main.html#wtp">Newsgroup</a></li>
165
			</ul>
166
		</div>
167
		<div class="sideitem">
168
			$wtpnews
169
		</div>
170
	</div>
171
</div>
172
EOHTML;
173
174
175
	# Generate the web page
176
	$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
177
?>
(-)webtools/development/status-telecons/main.php (+33 lines)
Added Link Here
1
<?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'
2
$pageTitle 		= "Eclipse Web Tools Platform Project Status Telecons";
3
$pageKeywords	= "Type, page, keywords, here";
4
$pageAuthor		= "Type your name here";
5
6
$root = $_SERVER['DOCUMENT_ROOT'];
7
require_once ($root . '/webtools/common.php');
8
9
# Generate the web page
10
// Load the XML source
11
$xml = DOMDocument::load('index.xml');
12
13
// Load the XSL source
14
$xsl = DOMDocument::load($root . '/webtools/wtpphoenix.xsl');
15
16
// Configure the transformer
17
$proc = new XSLTProcessor;
18
$proc->importStyleSheet($xsl); // attach the xsl rules
19
20
$maincontent = $proc->transformToXML($xml);
21
$html = <<<EOHTML
22
<div id="maincontent">
23
	<div id="midcolumn">
24
		<p>
25
		$maincontent
26
		</p>
27
	</div>
28
</div>
29
30
31
EOHTML;
32
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
33
?>
(-)webtools/jst/main.php (+33 lines)
Added Link Here
1
<?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'
2
$pageTitle 		= "J2EE Standard Tools (JST) Subproject";
3
$pageKeywords	= "Type, page, keywords, here";
4
$pageAuthor		= "Type your name here";
5
6
$root = $_SERVER['DOCUMENT_ROOT'];
7
require_once ($root . '/webtools/common.php');
8
9
# Generate the web page
10
// Load the XML source
11
$xml = DOMDocument::load('main.xml');
12
13
// Load the XSL source
14
$xsl = DOMDocument::load($root . '/webtools/wtpphoenix.xsl');
15
16
// Configure the transformer
17
$proc = new XSLTProcessor;
18
$proc->importStyleSheet($xsl); // attach the xsl rules
19
20
$maincontent = $proc->transformToXML($xml);
21
$html = <<<EOHTML
22
<div id="maincontent">
23
	<div id="midcolumn">
24
		<p>
25
		$maincontent
26
		</p>
27
	</div>
28
</div>
29
30
31
EOHTML;
32
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
33
?>
(-)webtools/project-info/dali-description.html (+3 lines)
Added Link Here
1
The goal of the Dali JPA Tools Project is to build extensible frameworks
2
and exemplary tools for the definition and editing of Object-Relational
3
(O/R) mappings for EJB 3.0 Java Persistence API (JPA) Entities.
(-)webtools/dali/main.php (+33 lines)
Added Link Here
1
<?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'
2
$pageTitle 		= "Dali JPA Tools Subproject";
3
$pageKeywords	= "Type, page, keywords, here";
4
$pageAuthor		= "Type your name here";
5
6
$root = $_SERVER['DOCUMENT_ROOT'];
7
require_once ($root . '/webtools/common.php');
8
9
# Generate the web page
10
// Load the XML source
11
$xml = DOMDocument::load('index.xml');
12
13
// Load the XSL source
14
$xsl = DOMDocument::load($root . '/webtools/wtpphoenix.xsl');
15
16
// Configure the transformer
17
$proc = new XSLTProcessor;
18
$proc->importStyleSheet($xsl); // attach the xsl rules
19
20
$maincontent = $proc->transformToXML($xml);
21
$html = <<<EOHTML
22
<div id="maincontent">
23
	<div id="midcolumn">
24
		<p>
25
		$maincontent
26
		</p>
27
	</div>
28
</div>
29
30
31
EOHTML;
32
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
33
?>
(-)webtools/development/bugs/bugs.php (+33 lines)
Added Link Here
1
<?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'
2
$pageTitle 		= "Web Tools Platform Bug Reports";
3
$pageKeywords	= "Type, page, keywords, here";
4
$pageAuthor		= "Type your name here";
5
6
$root = $_SERVER['DOCUMENT_ROOT'];
7
require_once ($root . '/webtools/common.php');
8
9
# Generate the web page
10
// Load the XML source
11
$xml = DOMDocument::load('bugs.xml');
12
13
// Load the XSL source
14
$xsl = DOMDocument::load($root . '/webtools/wtpphoenix.xsl');
15
16
// Configure the transformer
17
$proc = new XSLTProcessor;
18
$proc->importStyleSheet($xsl); // attach the xsl rules
19
20
$maincontent = $proc->transformToXML($xml);
21
$html = <<<EOHTML
22
<div id="maincontent">
23
	<div id="midcolumn">
24
		<p>
25
		$maincontent
26
		</p>
27
	</div>
28
</div>
29
30
31
EOHTML;
32
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
33
?>
(-)webtools/atf/main.php (+33 lines)
Added Link Here
1
<?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'
2
$pageTitle 		= "Ajax Toolkit Framework (ATF) Subproject";
3
$pageKeywords	= "Type, page, keywords, here";
4
$pageAuthor		= "Type your name here";
5
6
$root = $_SERVER['DOCUMENT_ROOT'];
7
require_once ($root . '/webtools/common.php');
8
9
# Generate the web page
10
// Load the XML source
11
$xml = DOMDocument::load('index.xml');
12
13
// Load the XSL source
14
$xsl = DOMDocument::load($root . '/webtools/wtpphoenix.xsl');
15
16
// Configure the transformer
17
$proc = new XSLTProcessor;
18
$proc->importStyleSheet($xsl); // attach the xsl rules
19
20
$maincontent = $proc->transformToXML($xml);
21
$html = <<<EOHTML
22
<div id="maincontent">
23
	<div id="midcolumn">
24
		<p>
25
		$maincontent
26
		</p>
27
	</div>
28
</div>
29
30
31
EOHTML;
32
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
33
?>
(-)webtools/project-info/atf-description.html (+3 lines)
Added Link Here
1
The AJAX Toolkit Framework (ATF) provides an extensible framework and
2
exemplary tools for building IDEs for the many different AJAX runtime
3
offerings (Dojo, Zimbra, Rico, etc) in the market.
(-)webtools/jsf/main.php (+33 lines)
Added Link Here
1
<?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'
2
$pageTitle 		= "JavaServer Faces Tools (JSF) Subproject";
3
$pageKeywords	= "Type, page, keywords, here";
4
$pageAuthor		= "Type your name here";
5
6
$root = $_SERVER['DOCUMENT_ROOT'];
7
require_once ($root . '/webtools/common.php');
8
9
# Generate the web page
10
// Load the XML source
11
$xml = DOMDocument::load('index.xml');
12
13
// Load the XSL source
14
$xsl = DOMDocument::load($root . '/webtools/wtpphoenix.xsl');
15
16
// Configure the transformer
17
$proc = new XSLTProcessor;
18
$proc->importStyleSheet($xsl); // attach the xsl rules
19
20
$maincontent = $proc->transformToXML($xml);
21
$html = <<<EOHTML
22
<div id="maincontent">
23
	<div id="midcolumn">
24
		<p>
25
		$maincontent
26
		</p>
27
	</div>
28
</div>
29
30
31
EOHTML;
32
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
33
?>
(-)webtools/wtpphoenix.css (+22 lines)
Added Link Here
1
h2.bar {
2
	background-image:
3
		url(/eclipse.org-common/themes/Phoenix/images/header_bg.gif);
4
	background-position: top left;
5
	background-repeat: repeat-x;
6
	background-color: #669;
7
	color: #fff;
8
	/*  font-size: 1.1em;  */
9
	font-size: 110%;
10
	font-weight: bold;
11
	margin-left: 0;
12
	margin-right: 4px;
13
	padding-top: 2px;
14
	padding-bottom: 2px;
15
	padding-left: 5px;
16
	padding-right: 1px;
17
}
18
19
ul.indent {
20
	margin-left: 20px;
21
	padding: 0px;
22
}

Return to bug 129098