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 60701 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 Miasma theme
patch.txt (text/plain), 4.19 KB, created by
Denis Roy
on 2007-03-13 13:44:07 EDT
(
hide
)
Description:
patch to implement $App->getWWWPrefix() in the Miasma theme
Filename:
MIME Type:
Creator:
Denis Roy
Created:
2007-03-13 13:44:07 EDT
Size:
4.19 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.phoenix >Index: eclipse.org-common/themes/Miasma/footer.php >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.phoenix/eclipse.org-common/themes/Miasma/footer.php,v >retrieving revision 1.4 >diff -u -r1.4 footer.php >--- eclipse.org-common/themes/Miasma/footer.php 3 Mar 2006 21:58:16 -0000 1.4 >+++ eclipse.org-common/themes/Miasma/footer.php 13 Mar 2007 17:43:26 -0000 >@@ -1,8 +1,8 @@ > <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="<?= $www_prefix ?>/legal/privacy.php">Privacy Policy</a></li> >+ <li><a href="<?= $www_prefix ?>/legal/termsofuse.php">Terms of Use</a></li> > </ul> > <p>Copyright © <?=date("Y");?> The Eclipse Foundation. All Rights > Reserved</p> >Index: eclipse.org-common/themes/Miasma/header.php >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.phoenix/eclipse.org-common/themes/Miasma/header.php,v >retrieving revision 1.4 >diff -u -r1.4 header.php >--- eclipse.org-common/themes/Miasma/header.php 1 Jun 2006 15:12:50 -0000 1.4 >+++ eclipse.org-common/themes/Miasma/header.php 13 Mar 2007 17:43:26 -0000 >@@ -1,20 +1,40 @@ >+<? >+/******************************************************************************* >+ * 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 >+ *******************************************************************************/ >+ >+ $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/Miasma/css/visual.css" media="screen" /> >- <link rel="stylesheet" type="text/css" href="/eclipse.org-common/themes/Miasma/css/layout.css" media="screen" /> >- <link rel="stylesheet" type="text/css" href="/eclipse.org-common/themes/Phoenix/css/print.css" media="print" /> >+ <link rel="stylesheet" type="text/css" href="<?= $www_prefix ?>/eclipse.org-common/themes/Miasma/css/visual.css" media="screen" /> >+ <link rel="stylesheet" type="text/css" href="<?= $www_prefix ?>/eclipse.org-common/themes/Miasma/css/layout.css" media="screen" /> >+ <link rel="stylesheet" type="text/css" href="<?= $www_prefix ?>/eclipse.org-common/themes/Phoenix/css/print.css" media="print" /> > <?php if( isset($extraHtmlHeaders) ) echo $extraHtmlHeaders; ?> > </head> > > <body> > <div id="header"> >- <a href="/"><img src="/eclipse.org-common/themes/Miasma/images/header_logo.gif" alt="Eclipse Logo" class="logo" border="0" height="71" width="128" /></a> >+ <a href="/"><img src="<?= $www_prefix ?>/eclipse.org-common/themes/Miasma/images/header_logo.gif" alt="Eclipse Logo" class="logo" border="0" height="71" width="128" /></a> > <div id="searchbar"> >- <form method="get" action="/search/search.cgi"> >+ <form method="get" action="<?= $www_prefix ?>/search/search.cgi"> > <input name="t" value="All" type="hidden" /> > <input name="t" value="Doc" type="hidden" /> > <input name="t" value="Downloads" type="hidden" /> >@@ -26,6 +46,6 @@ > </form> > </div> > <ul id="headernav"> >- <li class="first"><a href="/org/foundation/contact.php">Contact</a></li> >- <li><a href="/legal/">Legal</a></li> >+ <li class="first"><a href="<?= $www_prefix ?>/org/foundation/contact.php">Contact</a></li> >+ <li><a href="<?= $www_prefix ?>/legal/">Legal</a></li> > </ul> >\ 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