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 60700 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 Lazarus theme
patch.txt (text/plain), 6.81 KB, created by
Denis Roy
on 2007-03-13 13:40:35 EDT
(
hide
)
Description:
patch to implement $App->getWWWPrefix() in the Lazarus theme
Filename:
MIME Type:
Creator:
Denis Roy
Created:
2007-03-13 13:40:35 EDT
Size:
6.81 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.phoenix >Index: eclipse.org-common/themes/Lazarus/nav.php >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.phoenix/eclipse.org-common/themes/Lazarus/nav.php,v >retrieving revision 1.2 >diff -u -r1.2 nav.php >--- eclipse.org-common/themes/Lazarus/nav.php 23 Nov 2006 15:24:41 -0000 1.2 >+++ eclipse.org-common/themes/Lazarus/nav.php 13 Mar 2007 17:39:29 -0000 >@@ -34,7 +34,7 @@ > } > ?> > </li> >- <li style="background-image: url(/eclipse.org-common/themes/Phoenix/images/leftnav_fade.jpg); background-repeat: repeat-x; border-style: none;"> >+ <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 /> > </li> > </ul> >Index: eclipse.org-common/themes/Lazarus/footer.php >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.phoenix/eclipse.org-common/themes/Lazarus/footer.php,v >retrieving revision 1.2 >diff -u -r1.2 footer.php >--- eclipse.org-common/themes/Lazarus/footer.php 23 Nov 2006 15:24:42 -0000 1.2 >+++ eclipse.org-common/themes/Lazarus/footer.php 13 Mar 2007 17:39:29 -0000 >@@ -1,10 +1,10 @@ > </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><a href="/org/foundation/contact.php">Contact</a></li> >- <li><a href="/legal/">Legal</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> >+ <li><a href="<?= $App->getWWWPrefix() ?>/org/foundation/contact.php">Contact</a></li> >+ <li><a href="<?= $App->getWWWPrefix() ?>/legal/">Legal</a></li> > <li class="spacer"> </li> > <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> > </ul> >Index: eclipse.org-common/themes/Lazarus/menu.php >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.phoenix/eclipse.org-common/themes/Lazarus/menu.php,v >retrieving revision 1.1 >diff -u -r1.1 menu.php >--- eclipse.org-common/themes/Lazarus/menu.php 2 Aug 2006 20:26:33 -0000 1.1 >+++ eclipse.org-common/themes/Lazarus/menu.php 13 Mar 2007 17:39:29 -0000 >@@ -34,7 +34,7 @@ > > > <div id="searchbar"> >- <form method="get" action="/search/search.cgi"> >+ <form method="get" action="<?= $App->getWWWPrefix() ?>/search/search.cgi"> > Search: > <input type="hidden" name="t" value="All" /> > <input type="hidden" name="t" value="Doc" /> >@@ -42,7 +42,7 @@ > <input type="hidden" name="t" value="Wiki" /> > <input type="hidden" name="wf" value="574a74" /> > <input type="text" class="textfield" name="q" value="" /> >- <input type="image" class="button" src="/eclipse.org-common/themes/Phoenix/images/searchbar_submit.gif" alt="Submit" onclick="this.submit();" /> >+ <input type="image" class="button" src="<?= $App->getWWWPrefix() ?>/eclipse.org-common/themes/Phoenix/images/searchbar_submit.gif" alt="Submit" onclick="this.submit();" /> > </form> > </div> > >Index: eclipse.org-common/themes/Lazarus/header.php >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.phoenix/eclipse.org-common/themes/Lazarus/header.php,v >retrieving revision 1.3 >diff -u -r1.3 header.php >--- eclipse.org-common/themes/Lazarus/header.php 23 Nov 2006 15:24:42 -0000 1.3 >+++ eclipse.org-common/themes/Lazarus/header.php 13 Mar 2007 17:39:29 -0000 >@@ -1,14 +1,36 @@ >+<? >+/******************************************************************************* >+ * Copyright (c) 2006 Eclipse Foundation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * Denis Roy (Eclipse Foundation) - initial API and implementation >+ * Matt Chapman (contributor) - modification and skin (bug 144911) >+ *******************************************************************************/ >+ >+ $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/Lazarus/css/small.css" title="small" /> >-<link rel="alternate stylesheet" type="text/css" href="/eclipse.org-common/themes/Lazarus/css/large.css" title="large" /> >-<link rel="stylesheet" type="text/css" href="/eclipse.org-common/themes/Lazarus/css/visual.css" media="screen" /> >-<link rel="stylesheet" type="text/css" href="/eclipse.org-common/themes/Lazarus/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> >+<link rel="stylesheet" type="text/css" href="<?= $www_prefix ?>/eclipse.org-common/themes/Lazarus/css/small.css" title="small" /> >+<link rel="alternate stylesheet" type="text/css" href="<?= $www_prefix ?>/eclipse.org-common/themes/Lazarus/css/large.css" title="large" /> >+<link rel="stylesheet" type="text/css" href="<?= $www_prefix ?>/eclipse.org-common/themes/Lazarus/css/visual.css" media="screen" /> >+<link rel="stylesheet" type="text/css" href="<?= $www_prefix ?>/eclipse.org-common/themes/Lazarus/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> > >@@ -18,6 +40,6 @@ > > <div id="headerlogo"> > >- <a href="/"><img src="/eclipse.org-common/themes/Lazarus/images/header_logo.gif" alt="Eclipse Logo" class="logo" border="0" height="75" width="241" /></a> >+ <a href="/"><img src="<?= $www_prefix ?>/eclipse.org-common/themes/Lazarus/images/header_logo.gif" alt="Eclipse Logo" class="logo" border="0" height="75" width="241" /></a> > > </div>
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