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

(-)phoenix/main.php (-1 / +5 lines)
Lines 1-5 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'
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 		= "Template page for Phoenix style WTP page";
3
$pageKeywords	= "";
2
$pageKeywords	= "";
4
$pageAuthor		= "Bob Fraser";
3
$pageAuthor		= "Bob Fraser";
5
4
Lines 10-15 Link Here
10
// Load the XML source
9
// Load the XML source
11
$xml = DOMDocument::load('main.xml');
10
$xml = DOMDocument::load('main.xml');
12
11
12
//Set the page title
13
$xpath = new DOMXPath($xml);
14
$titleNode = $xpath->query("/html/head/title")->item(0);
15
$pageTitle = ($titleNode != null) ? $titleNode->nodeValue : "eclipse.org webtools page";
16
13
// Load the XSL source
17
// Load the XSL source
14
$xsl = DOMDocument::load($root . '/webtools/wtpphoenix.xsl');
18
$xsl = DOMDocument::load($root . '/webtools/wtpphoenix.xsl');
15
19

Return to bug 129098