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 175875 | Differences between
and this patch

Collapse All | Expand All

(-)eclipse.org-common/themes/Phoenix/header.php (-8 / +16 lines)
Lines 9-32 Link Here
9
 * Contributors:
9
 * Contributors:
10
 *    Denis Roy (Eclipse Foundation)- initial API and implementation
10
 *    Denis Roy (Eclipse Foundation)- initial API and implementation
11
 *******************************************************************************/
11
 *******************************************************************************/
12
 
13
	$www_prefix = "";
14
		
15
	global $App;
16
17
	if(isset($App)) {
18
		$www_prefix = $App->getWWWPrefix();
19
	}
12
?>
20
?>
13
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
21
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
14
<html xmlns="http://www.w3.org/1999/xhtml">
22
<html xmlns="http://www.w3.org/1999/xhtml">
15
<head><title><?= $pageTitle ?></title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="author" content="<?= $pageAuthor ?>" />
23
<head><title><?= $pageTitle ?></title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="author" content="<?= $pageAuthor ?>" />
16
<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" />
24
<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" />
17
<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>
25
<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>
18
<?php if( isset($extraHtmlHeaders) ) echo $extraHtmlHeaders; ?></head>
26
<?php if( isset($extraHtmlHeaders) ) echo $extraHtmlHeaders; ?></head>
19
<body>
27
<body>
20
<div id="header">
28
<div id="header">
21
	<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>
29
	<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>
22
	<div id="searchbar">
30
	<div id="searchbar">
23
		<img src="/eclipse.org-common/themes/Phoenix/images/searchbar_transition.gif" width="92" height="26" class="transition" alt="" />
31
		<img src="<?= $www_prefix ?>/eclipse.org-common/themes/Phoenix/images/searchbar_transition.gif" width="92" height="26" class="transition" alt="" />
24
		<img src="/eclipse.org-common/themes/Phoenix/images/searchbar_header.gif" width="64" height="17" class="header" alt="Search" />
32
		<img src="<?= $www_prefix ?>/eclipse.org-common/themes/Phoenix/images/searchbar_header.gif" width="64" height="17" class="header" alt="Search" />
25
		<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>
33
		<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>
26
	</div>
34
	</div>
27
	<ul id="headernav">
35
	<ul id="headernav">
28
		<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>
36
		<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>
29
		<li><a href="/org/foundation/contact.php">Contact</a></li>
37
		<li><a href="<?= $www_prefix ?>/org/foundation/contact.php">Contact</a></li>
30
		<li><a href="/legal/">Legal</a></li>
38
		<li><a href="<?= $www_prefix ?>/legal/">Legal</a></li>
31
	</ul>
39
	</ul>
32
</div>
40
</div>
(-)eclipse.org-common/themes/Phoenix/nav.php (-1 / +1 lines)
Lines 45-51 Link Here
45
		}
45
		}
46
	}
46
	}
47
	?>
47
	?>
48
<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 />
48
<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 />
49
</li>
49
</li>
50
</ul>
50
</ul>
51
<? /*
51
<? /*
(-)eclipse.org-common/themes/Phoenix/footer.php (-3 / +3 lines)
Lines 12-20 Link Here
12
?>
12
?>
13
</div><div id="footer">
13
</div><div id="footer">
14
<ul id="footernav">
14
<ul id="footernav">
15
<li class="first"><a href="/">Home</a></li>
15
<li class="first"><a href="<?= $App->getWWWPrefix() ?>/">Home</a></li>
16
<li><a href="/legal/privacy.php">Privacy Policy</a></li>
16
<li><a href="<?= $App->getWWWPrefix() ?>/legal/privacy.php">Privacy Policy</a></li>
17
<li><a href="/legal/termsofuse.php">Terms of Use</a></li>
17
<li><a href="<?= $App->getWWWPrefix() ?>/legal/termsofuse.php">Terms of Use</a></li>
18
</ul>
18
</ul>
19
<p>Copyright &copy; <?=date("Y");?> The Eclipse Foundation. All Rights Reserved</p>
19
<p>Copyright &copy; <?=date("Y");?> The Eclipse Foundation. All Rights Reserved</p>
20
</div></body></html>
20
</div></body></html>

Return to bug 175875