Revision 4380
Added by ben leinfelder about 16 years ago
header.jsp | ||
---|---|---|
27 | 27 |
|
28 | 28 |
<%@ include file="../../common/common-settings.jsp"%> |
29 | 29 |
<%@ include file="../../common/configure-check.jsp"%> |
30 |
<%@page import="edu.ucsb.nceas.metacat.service.SessionService"%> |
|
30 | 31 |
|
31 | 32 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
32 | 33 |
<html> |
... | ... | |
40 | 41 |
<table width="760" border="0" cellspacing="0" cellpadding="0"> |
41 | 42 |
<tr valign="top"> |
42 | 43 |
<td> |
43 |
<img src="<%=STYLE_SKINS_URL%>/first/images/first2banner.jpg"> |
|
44 |
<img src="<%=STYLE_SKINS_URL%>/first/images/first2banner.jpg">
|
|
44 | 45 |
</td> |
45 | 46 |
<td> |
46 | 47 |
<table> |
47 | 48 |
<tr> |
48 |
<td colspan="2" class="title">FIRST Data Repository</td> |
|
49 |
<th colspan="3" class="title"> |
|
50 |
FIRST Data Repository |
|
51 |
</th> |
|
49 | 52 |
</tr> |
50 | 53 |
<tr> |
51 |
<td valign="top"> |
|
52 |
<p><a href="http://www.first2.org" target=_top">FIRST Home</a></p> |
|
54 |
<td> |
|
55 |
<a href="index.jsp" target="_top"> |
|
56 |
Search |
|
57 |
</a> |
|
53 | 58 |
</td> |
59 |
<!-- |
|
54 | 60 |
<td valign="top"> |
55 |
<p><a href="index.jsp" target="_top">Repository Home</a></p>
|
|
61 |
<p><a href="http://www.first2.org" target=_top">FIRST Site</a></p>
|
|
56 | 62 |
</td> |
63 |
--> |
|
57 | 64 |
<td valign="top"> |
58 |
<p><a href="about.jsp" |
|
59 |
target="_top">About</a></p> |
|
65 |
<p><a href="about.jsp" target="_top">About</a></p> |
|
60 | 66 |
</td> |
67 |
<td> |
|
68 |
<% |
|
69 |
String[] docids = |
|
70 |
SessionService.getRegisteredSession(request.getSession().getId()).getDocumentCart().getDocids(); |
|
71 |
%> |
|
72 |
<a href="cart.jsp" target="_top"> |
|
73 |
Cart Items: |
|
74 |
</a> |
|
75 |
<%=docids.length %> |
|
76 |
</td> |
|
61 | 77 |
</tr> |
62 | 78 |
</table> |
63 |
</td>
|
|
79 |
</td> |
|
64 | 80 |
</tr> |
65 | 81 |
</table> |
66 | 82 |
</body> |
Also available in: Unified diff
add "cart" information (won't work for others until i commit the backing classes in meetacat servlet...but need to track the changes for this now).