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 205848
Collapse All | Expand All

(-)eclipse.org-common/system/app.class.php (+11 lines)
Lines 38-44 Link Here
38
	
38
	
39
	var $WWW_PREFIX			= "";  # default is relative
39
	var $WWW_PREFIX			= "";  # default is relative
40
	
40
	
41
	# Additional page-related variables
41
	var $ExtraHtmlHeaders   = "";
42
	var $ExtraHtmlHeaders   = "";
43
	var $PageRSS			= "";
44
	var $PageRSSTitle		= "";
42
	
45
	
43
	var $THEME_LIST 		=  array("", "Phoenix", "Miasma", "Lazarus");
46
	var $THEME_LIST 		=  array("", "Phoenix", "Miasma", "Lazarus");
44
	
47
	
Lines 335-340 Link Here
335
		if($pageTitle == "") {
338
		if($pageTitle == "") {
336
			$pageTitle = "eclipse.org page";
339
			$pageTitle = "eclipse.org page";
337
		}
340
		}
341
342
		# page-specific RSS feed
343
		if($this->PageRSS != "") {
344
			if ($this->PageRSSTitle != "") {
345
				$this->PageRSSTitle = "Eclipse RSS Feed";
346
			}
347
			$this->ExtraHtmlHeaders .= '<link rel="alternate" title="' . $this->PageRSSTitle . '" href="' . $this->PageRSS . '" type="application/rss+xml">';
348
		}
338
		
349
		
339
		$extraHtmlHeaders = $this->ExtraHtmlHeaders;
350
		$extraHtmlHeaders = $this->ExtraHtmlHeaders;
340
351
(-)eclipse.org-common/themes/Phoenix/menu.php (-1 / +13 lines)
Lines 14-19 Link Here
14
	<div id="header-nav">
14
	<div id="header-nav">
15
		<ul>
15
		<ul>
16
<?php
16
<?php
17
	global $App;
18
	$www_prefix = "";
19
	$pageRSS = "http://www.eclipse.org/home/eclipsenews.rss";
20
	
21
	if(isset($App)) {
22
		$www_prefix = $App->getWWWPrefix();
23
		
24
		if($App->PageRSS != "") {
25
			$pageRSS = $App->PageRSS;
26
		}
27
	}
28
17
	$firstClass = "class=\"first_one\""; 
29
	$firstClass = "class=\"first_one\""; 
18
	$nextclass = "";
30
	$nextclass = "";
19
	
31
	
Lines 42-48 Link Here
42
				<input class="button" type="image" onclick="this.submit();" alt="Search" title="Search" src="/eclipse.org-common/themes/Phoenix/images/search_btn.gif" width="54" height="18" />
54
				<input class="button" type="image" onclick="this.submit();" alt="Search" title="Search" src="/eclipse.org-common/themes/Phoenix/images/search_btn.gif" width="54" height="18" />
43
		</form>
55
		</form>
44
		<ul>
56
		<ul>
45
			<li class="rss_feed"><a href="http://www.eclipse.org/home/eclipsenews.rss" target="_blank"><img src="/eclipse.org-common/themes/Phoenix/images/rss_btn.gif" alt="RSS" height="16" width="16" border="0" class="rss_icon" /></a></li>
57
			<li class="rss_feed"><a href="<?= $pageRSS ?>" target="_blank"><img src="/eclipse.org-common/themes/Phoenix/images/rss_btn.gif" alt="RSS" height="16" width="16" border="0" class="rss_icon" /></a></li>
46
			<li class="text_size"><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>
58
			<li class="text_size"><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>
47
		</ul>
59
		</ul>
48
	</div>
60
	</div>

Return to bug 205848