Project

General

Profile

1
<%@ page language="java"%>
2
<%
3
	/*
4
	'$RCSfile$'
5
	Copyright: 2003 Regents of the University of California and the
6
	National Center for Ecological Analysis and Synthesis
7
	'$Author: tao $'
8
	'$Date: 2014-11-07 14:42:54 -0800 (Fri, 07 Nov 2014) $'
9
	'$Revision: 8957 $'
10
	
11
	This program is free software; you can redistribute it and/or modify
12
	it under the terms of the GNU General Public License as published by
13
	the Free Software Foundation; either version 2 of the License, or
14
	(at your option) any later version.
15
	
16
	This program is distributed in the hope that it will be useful,
17
	but WITHOUT ANY WARRANTY; without even the implied warranty of
18
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
	GNU General Public License for more details.
20
	
21
	You should have received a copy of the GNU General Public License
22
	along with this program; if not, write to the Free Software
23
	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24
	 */
25
%>
26
<!--____________________________max_width____________________________________-->
27
<%@ include file="settings.jsp"%>
28
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
29
<%@page import="edu.ucsb.nceas.metacat.clientview.ClientViewHelper"%>
30
<html>
31
<head>
32
<title>SAEON - South African Environmental Observation Network
33
Repository</title>
34
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/saeon/saeon.css" />
35
</head>
36

    
37
<body
38
	style="background-image: url('<%=STYLE_SKINS_URL%>/saeon/images/bg.png'); background-repeat: repeat-x;"
39
	class="section-front-page" dir="ltr">
40

    
41
<table align="center" width="100%" cellpadding="0" cellspacing="0">
42
	<tr>
43
		<td background="<%=STYLE_SKINS_URL%>/saeon/images/banner_background_left.jpg">&nbsp;</td>
44
		<td height="255" width="760"
45
			style="background-image: url('<%=STYLE_SKINS_URL%>/saeon/images/logo.jpg'); background-position: top center; background-repeat: no-repeat;">
46
		</td>
47
		<td background="<%=STYLE_SKINS_URL%>/saeon/images/banner_background_right.jpg">&nbsp;</td>
48
	</tr>
49
</table>
50
<div id="visual-portal-wrapper">
51

    
52
<div id="portal-top">
53

    
54
<div id="portal-header">
55
<a class="hiddenStructure" accesskey="2"
56
	href="http://www.saeon.ac.za//#documentContent">Skip to content.</a> 
57
	<a class="hiddenStructure" accesskey="6"
58
	href="http://www.saeon.ac.za//#portlet-navigation-tree">Skip to navigation</a>
59

    
60
<div id="portal-skinswitcher"></div>
61
<h5 class="hiddenStructure">Sections</h5>
62

    
63
<ul id="portal-globalnav">
64
	<li class="plain">
65
		<a href="http://www.saeon.ac.za/" 
66
		target="_top"
67
		style="background-color: White; font-weight: normal" 
68
		title="SAEON">SAEON</a></li>
69
	<li class="plain">
70
		<a href="./" 
71
		target="_top" 
72
		style="background-color: White; font-weight: normal" 
73
		title="Data Repository">Repository</a></li>
74
	<li class="plain">
75
		<a href="<%=CGI_URL%>/register-dataset.cgi?cfg=saeon"
76
		target="_top"
77
		style="background-color: White; font-weight: normal" 
78
		title="Register">Register</a></li>
79
</ul>
80
</div>
81

    
82
<%
83
Object obj = request.getSession().getAttribute("clientViewHelper");
84
ClientViewHelper cvh = null;
85
String loginHTML = "";
86
if (obj != null) {
87
	cvh = (ClientViewHelper) obj;
88
}
89
if (cvh != null && cvh.isLoggedIn()) {
90
	loginHTML = "<a target='_top' href='./index.jsp?action=Logout&qformat=saeon'> Logout </a>";
91
}
92
else {
93
	loginHTML = "<a target='_top' href='./index.jsp'> Login </a>";
94
}
95
%>
96

    
97
<h5 class="hiddenStructure">Personal tools</h5>
98
<!--<ul id="portal-personaltools">
99
	<li><%=loginHTML %></li>
100
	<li><a href="<%=USER_MANAGEMENT_URL%>" target="_top"> Join </a></li>
101
</ul>-->
102

    
103
</body>
104
</html>
(7-7/20)