Project

General

Profile

1 3640 leinfelder
<%@ 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$'
8
	'$Date$'
9
	'$Revision$'
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 3739 leinfelder
<%@ include file="settings.jsp"%>
28 3640 leinfelder
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
29 3647 leinfelder
<%@page import="edu.ucsb.nceas.metacat.clientview.ClientViewHelper"%>
30 3640 leinfelder
<html>
31
<head>
32
<title>SAEON - South African Environmental Observation Network
33
Repository</title>
34 3780 daigle
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/saeon/saeon.css" />
35 3640 leinfelder
</head>
36
37
<body
38 3780 daigle
	style="background-image: url('<%=STYLE_SKINS_URL%>/saeon/images/bg.png'); background-repeat: repeat-x;"
39 3640 leinfelder
	class="section-front-page" dir="ltr">
40
41
<table align="center" width="100%" cellpadding="0" cellspacing="0">
42
	<tr>
43 3780 daigle
		<td background="<%=STYLE_SKINS_URL%>/saeon/images/banner_background_left.jpg">&nbsp;</td>
44 3640 leinfelder
		<td height="255" width="760"
45 3780 daigle
			style="background-image: url('<%=STYLE_SKINS_URL%>/saeon/images/logo.jpg'); background-position: top center; background-repeat: no-repeat;">
46 3640 leinfelder
		</td>
47 3780 daigle
		<td background="<%=STYLE_SKINS_URL%>/saeon/images/banner_background_right.jpg">&nbsp;</td>
48 3640 leinfelder
	</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 3739 leinfelder
		<a href="http://www.saeon.ac.za/"
66 3640 leinfelder
		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 3780 daigle
		<a href="<%=CGI_URL%>/register-dataset.cgi?cfg=saeon"
76 3640 leinfelder
		target="_top"
77
		style="background-color: White; font-weight: normal"
78
		title="Register">Register</a></li>
79
</ul>
80
</div>
81
82 3647 leinfelder
<%
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 3640 leinfelder
<h5 class="hiddenStructure">Personal tools</h5>
98
<ul id="portal-personaltools">
99 3647 leinfelder
	<li><%=loginHTML %></li>
100 3780 daigle
	<li><a href="<%=CGI_URL%>/ldapweb.cgi?cfg=saeon" target="_top"> Join </a></li>
101 3640 leinfelder
</ul>
102
103
</body>
104
</html>