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: leinfelder $'
8
	'$Date: 2008-02-26 10:58:31 -0800 (Tue, 26 Feb 2008) $'
9
	'$Revision: 3739 $'
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="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/saeon/saeon.css" />
35
</head>
36

    
37
<body
38
	style="background-image: url('<%=SERVER_URL_WITH_CONTEXT%>/style/skins/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="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/saeon/images/banner_background_left.jpg">&nbsp;</td>
44
		<td height="255" width="760"
45
			style="background-image: url('<%=SERVER_URL_WITH_CONTEXT%>/style/skins/saeon/images/logo.jpg'); background-position: top center; background-repeat: no-repeat;">
46
		</td>
47
		<td background="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/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
	<!-- 	
75
	<li class="plain">
76
		<a href="<%=CGI_PREFIX%>/register-dataset.cgi?cfg=saeon"
77
		target="_top"
78
		style="background-color: White; font-weight: normal" 
79
		title="Register">Register</a></li>
80
	-->
81
		
82
	
83
	
84
</ul>
85
</div>
86

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

    
102
<h5 class="hiddenStructure">Personal tools</h5>
103
<ul id="portal-personaltools">
104
	<li><%=loginHTML %></li>
105
	<li><a href="<%=CGI_PREFIX%>/ldapweb.cgi?cfg=saeon" target="_top"> Join </a></li>
106
</ul>
107

    
108
</body>
109
</html>
(7-7/18)