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 60699 Details for
Bug 175875
The Link boxes in the theme should use absolute paths
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]
patch to implement $App->getWWWPrefix() in the Phoenix theme
patch.txt (text/plain), 6.87 KB, created by
Denis Roy
on 2007-03-13 13:39:23 EDT
(
hide
)
Description:
patch to implement $App->getWWWPrefix() in the Phoenix theme
Filename:
MIME Type:
Creator:
Denis Roy
Created:
2007-03-13 13:39:23 EDT
Size:
6.87 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.phoenix >Index: eclipse.org-common/themes/Phoenix/header.php >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.phoenix/eclipse.org-common/themes/Phoenix/header.php,v >retrieving revision 1.14 >diff -u -r1.14 header.php >--- eclipse.org-common/themes/Phoenix/header.php 30 Oct 2006 21:51:47 -0000 1.14 >+++ eclipse.org-common/themes/Phoenix/header.php 13 Mar 2007 17:38:07 -0000 >@@ -9,24 +9,32 @@ > * Contributors: > * Denis Roy (Eclipse Foundation)- initial API and implementation > *******************************************************************************/ >+ >+ $www_prefix = ""; >+ >+ global $App; >+ >+ if(isset($App)) { >+ $www_prefix = $App->getWWWPrefix(); >+ } > ?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head><title><?= $pageTitle ?></title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="author" content="<?= $pageAuthor ?>" /> >-<meta name="keywords" content="<?= $pageKeywords ?>" /><link rel="stylesheet" type="text/css" href="/eclipse.org-common/themes/Phoenix/css/small.css" title="small" /><link rel="alternate stylesheet" type="text/css" href="/eclipse.org-common/themes/Phoenix/css/large.css" title="large" /><link rel="stylesheet" type="text/css" href="/eclipse.org-common/themes/Phoenix/css/visual.css" media="screen" /><link rel="stylesheet" type="text/css" href="/eclipse.org-common/themes/Phoenix/css/layout.css" media="screen" /> >-<link rel="stylesheet" type="text/css" href="/eclipse.org-common/themes/Phoenix/css/print.css" media="print" /><script type="text/javascript" src="/eclipse.org-common/themes/Phoenix/styleswitcher.js"></script> >+<meta name="keywords" content="<?= $pageKeywords ?>" /><link rel="stylesheet" type="text/css" href="/eclipse.org-common/themes/Phoenix/css/small.css" title="small" /><link rel="alternate stylesheet" type="text/css" href="<?= $www_prefix ?>/eclipse.org-common/themes/Phoenix/css/large.css" title="large" /><link rel="stylesheet" type="text/css" href="<?= $www_prefix ?>/eclipse.org-common/themes/Phoenix/css/visual.css" media="screen" /><link rel="stylesheet" type="text/css" href="<?= $www_prefix ?>/eclipse.org-common/themes/Phoenix/css/layout.css" media="screen" /> >+<link rel="stylesheet" type="text/css" href="<?= $www_prefix ?>/eclipse.org-common/themes/Phoenix/css/print.css" media="print" /><script type="text/javascript" src="<?= $www_prefix ?>/eclipse.org-common/themes/Phoenix/styleswitcher.js"></script> > <?php if( isset($extraHtmlHeaders) ) echo $extraHtmlHeaders; ?></head> > <body> > <div id="header"> >- <a href="/"><img src="/eclipse.org-common/themes/Phoenix/images/header_logo.gif" width="163" height="68" border="0" alt="Eclipse Logo" class="logo" /></a> >+ <a href="/"><img src="<?= $www_prefix ?>/eclipse.org-common/themes/Phoenix/images/header_logo.gif" width="163" height="68" border="0" alt="Eclipse Logo" class="logo" /></a> > <div id="searchbar"> >- <img src="/eclipse.org-common/themes/Phoenix/images/searchbar_transition.gif" width="92" height="26" class="transition" alt="" /> >- <img src="/eclipse.org-common/themes/Phoenix/images/searchbar_header.gif" width="64" height="17" class="header" alt="Search" /> >- <form method="get" action="/search/search.cgi"><input type="hidden" name="t" value="All" /><input type="hidden" name="t" value="Downloads" /><input type="hidden" name="t" value="Wiki" /><input type="hidden" name="wf" value="574a74" /><input type="text" name="q" value="" /><input type="image" class="button" src="/eclipse.org-common/themes/Phoenix/images/searchbar_submit.gif" alt="Submit" onclick="this.submit();" /></form> >+ <img src="<?= $www_prefix ?>/eclipse.org-common/themes/Phoenix/images/searchbar_transition.gif" width="92" height="26" class="transition" alt="" /> >+ <img src="<?= $www_prefix ?>/eclipse.org-common/themes/Phoenix/images/searchbar_header.gif" width="64" height="17" class="header" alt="Search" /> >+ <form method="get" action="<?= $www_prefix ?>/search/search.cgi"><input type="hidden" name="t" value="All" /><input type="hidden" name="t" value="Downloads" /><input type="hidden" name="t" value="Wiki" /><input type="hidden" name="wf" value="574a74" /><input type="text" name="q" value="" /><input type="image" class="button" src="<?= $www_prefix ?>/eclipse.org-common/themes/Phoenix/images/searchbar_submit.gif" alt="Submit" onclick="this.submit();" /></form> > </div> > <ul id="headernav"> > <li class="first"><a class="smallText" title="Small Text" href="#" onclick="setActiveStyleSheet('small');return false;">A</a> <a class="largeText" title="Large Text" href="#" onclick="setActiveStyleSheet('large');return false;">A</a></li> >- <li><a href="/org/foundation/contact.php">Contact</a></li> >- <li><a href="/legal/">Legal</a></li> >+ <li><a href="<?= $www_prefix ?>/org/foundation/contact.php">Contact</a></li> >+ <li><a href="<?= $www_prefix ?>/legal/">Legal</a></li> > </ul> > </div> >\ No newline at end of file >Index: eclipse.org-common/themes/Phoenix/nav.php >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.phoenix/eclipse.org-common/themes/Phoenix/nav.php,v >retrieving revision 1.17 >diff -u -r1.17 nav.php >--- eclipse.org-common/themes/Phoenix/nav.php 30 Oct 2006 21:48:45 -0000 1.17 >+++ eclipse.org-common/themes/Phoenix/nav.php 13 Mar 2007 17:38:07 -0000 >@@ -45,7 +45,7 @@ > } > } > ?> >-<li style="background-image: url(/eclipse.org-common/themes/Phoenix/images/leftnav_fade.jpg); background-repeat: repeat-x; border-style: none;"><br /><br /><br /><br /><br /><br /><br /><br /> >+<li style="background-image: url(<?= $App->getWWWPrefix() ?>/eclipse.org-common/themes/Phoenix/images/leftnav_fade.jpg); background-repeat: repeat-x; border-style: none;"><br /><br /><br /><br /><br /><br /><br /><br /> > </li> > </ul> > <? /* >Index: eclipse.org-common/themes/Phoenix/footer.php >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.phoenix/eclipse.org-common/themes/Phoenix/footer.php,v >retrieving revision 1.7 >diff -u -r1.7 footer.php >--- eclipse.org-common/themes/Phoenix/footer.php 30 Oct 2006 21:48:45 -0000 1.7 >+++ eclipse.org-common/themes/Phoenix/footer.php 13 Mar 2007 17:38:07 -0000 >@@ -12,9 +12,9 @@ > ?> > </div><div id="footer"> > <ul id="footernav"> >-<li class="first"><a href="/">Home</a></li> >-<li><a href="/legal/privacy.php">Privacy Policy</a></li> >-<li><a href="/legal/termsofuse.php">Terms of Use</a></li> >+<li class="first"><a href="<?= $App->getWWWPrefix() ?>/">Home</a></li> >+<li><a href="<?= $App->getWWWPrefix() ?>/legal/privacy.php">Privacy Policy</a></li> >+<li><a href="<?= $App->getWWWPrefix() ?>/legal/termsofuse.php">Terms of Use</a></li> > </ul> > <p>Copyright © <?=date("Y");?> The Eclipse Foundation. All Rights Reserved</p> > </div></body></html> >\ No newline at end of file
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 175875
:
60694
| 60699 |
60700
|
60701