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: 2007-12-10 11:17:13 -0800 (Mon, 10 Dec 2007) $'
9
	'$Revision: 3647 $'
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

    
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="saeon.css" />
35
</head>
36

    
37
<body
38
	style="background-image: url('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="images/banner_background_left.jpg">&nbsp;</td>
44
		<td height="255" width="760"
45
			style="background-image: url('images/logo.jpg'); background-position: top center; background-repeat: no-repeat;">
46
		</td>
47
		<td background="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="./" 
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-prefix@/ldapweb.cgi"
76
		target="_top"
77
		style="background-color: White; font-weight: normal" 
78
		title="Register">Register</a></li>
79
	
80
	
81
</ul>
82
</div>
83

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

    
99
<h5 class="hiddenStructure">Personal tools</h5>
100
<ul id="portal-personaltools">
101
	<li><%=loginHTML %></li>
102
	<li><a href="@cgi-prefix@/ldapweb.cgi"> Join </a></li>
103
</ul>
104

    
105
</body>
106
</html>
(8-8/20)