Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 56792 Details for
Bug 129098
Convert Web Site to Phoenix Style
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Generalize /webtools/phoenix/main.php to grab the title dynamically
WTPPhoenixMainPatch.txt (text/plain), 1.25 KB, created by
Bob Fraser
on 2007-01-11 14:35:53 EST
(
hide
)
Description:
Generalize /webtools/phoenix/main.php to grab the title dynamically
Filename:
MIME Type:
Creator:
Bob Fraser
Created:
2007-01-11 14:35:53 EST
Size:
1.25 KB
patch
obsolete
>Index: phoenix/main.php >=================================================================== >RCS file: /cvsroot/org.eclipse/www/webtools/phoenix/main.php,v >retrieving revision 1.2 >diff -u -r1.2 main.php >--- phoenix/main.php 11 Jan 2007 13:13:17 -0000 1.2 >+++ phoenix/main.php 11 Jan 2007 19:20:14 -0000 >@@ -1,5 +1,4 @@ > <?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' >-$pageTitle = "Template page for Phoenix style WTP page"; > $pageKeywords = ""; > $pageAuthor = "Bob Fraser"; > >@@ -10,6 +9,11 @@ > // Load the XML source > $xml = DOMDocument::load('main.xml'); > >+//Set the page title >+$xpath = new DOMXPath($xml); >+$titleNode = $xpath->query("/html/head/title")->item(0); >+$pageTitle = ($titleNode != null) ? $titleNode->nodeValue : "eclipse.org webtools page"; >+ > // Load the XSL source > $xsl = DOMDocument::load($root . '/webtools/wtpphoenix.xsl'); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 129098
:
56731
|
56739
| 56792 |
56810
|
56844
|
57526
|
57527
|
58615
|
58813
|
58880
|
58906