Revision 3719
Added by barteau almost 17 years ago
lib/style/skins/esa/HeaderViewDocs.jsp | ||
---|---|---|
1 |
<%@page contentType="text/html"%> |
|
2 |
<%@page pageEncoding="UTF-8"%> |
|
3 |
<%@page import="edu.ucsb.nceas.metacat.MetaCatUtil"%> |
|
4 |
|
|
5 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
|
6 |
"http://www.w3.org/TR/html4/loose.dtd"> |
|
7 |
|
|
8 |
<html> |
|
9 |
<head> |
|
10 |
<title>HeaderViewDocs.gif</title> |
|
11 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
|
12 |
<script language="JavaScript"> |
|
13 |
<!-- |
|
14 |
function MM_findObj(n, d) { //v4.01 |
|
15 |
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { |
|
16 |
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} |
|
17 |
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; |
|
18 |
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); |
|
19 |
if(!x && d.getElementById) x=d.getElementById(n); return x; |
|
20 |
} |
|
21 |
|
|
22 |
function MM_swapImage() { //v3.0 |
|
23 |
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) |
|
24 |
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} |
|
25 |
} |
|
26 |
|
|
27 |
function MM_swapImgRestore() { //v3.0 |
|
28 |
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; |
|
29 |
} |
|
30 |
|
|
31 |
function MM_preloadImages() { //v3.0 |
|
32 |
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); |
|
33 |
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) |
|
34 |
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} |
|
35 |
} |
|
36 |
//--> |
|
37 |
</script> |
|
38 |
</head> |
|
39 |
<body bgcolor="#ffffff" onLoad="MM_preloadImages('ESAHeaderSlices/ESAHome2_f2.gif','ESAHeaderSlices/RollOvers/ESAHomeR.gif','ESAHeaderSlices/RollOvers/ESARegistryR.gif','ESAHeaderSlices/RollOvers/ESANewDataSetR.gif','ESAHeaderSlices/RollOvers/ESASearchR.gif','ESAHeaderSlices/RollOvers/ESALoginR.gif','ESAHeaderSlices/RollOvers/ESADocPendR.gif');"><table border="0" cellpadding="0" cellspacing="0" width="703"> |
|
40 |
<tr> |
|
41 |
<td><img src="ESAHeaderSlices/spacer.gif" width="19" height="1" border="0" alt=""></td> |
|
42 |
<td><img src="ESAHeaderSlices/spacer.gif" width="143" height="1" border="0" alt=""></td> |
|
43 |
<td><img src="ESAHeaderSlices/spacer.gif" width="78" height="1" border="0" alt=""></td> |
|
44 |
<td><img src="ESAHeaderSlices/spacer.gif" width="43" height="1" border="0" alt=""></td> |
|
45 |
<td><img src="ESAHeaderSlices/spacer.gif" width="59" height="1" border="0" alt=""></td> |
|
46 |
<td><img src="ESAHeaderSlices/spacer.gif" width="154" height="1" border="0" alt=""></td> |
|
47 |
<td><img src="ESAHeaderSlices/spacer.gif" width="17" height="1" border="0" alt=""></td> |
|
48 |
<td><img src="ESAHeaderSlices/spacer.gif" width="85" height="1" border="0" alt=""></td> |
|
49 |
<td><img src="ESAHeaderSlices/spacer.gif" width="57" height="1" border="0" alt=""></td> |
|
50 |
<td><img src="ESAHeaderSlices/spacer.gif" width="48" height="1" border="0" alt=""></td> |
|
51 |
<td><img src="ESAHeaderSlices/spacer.gif" width="1" height="1" border="0" alt=""></td> |
|
52 |
</tr> |
|
53 |
|
|
54 |
<tr> |
|
55 |
<td colspan="10"><img name="HeaderViewDocs_r1_c1" src="ESAHeaderSlices/HeaderViewDocs_r1_c1.gif" width="703" height="32" border="0" alt=""></td> |
|
56 |
<td><img src="ESAHeaderSlices/spacer.gif" width="1" height="32" border="0" alt=""></td> |
|
57 |
</tr> |
|
58 |
<tr> |
|
59 |
<td rowspan="6"><img name="HeaderViewDocs_r2_c1" src="ESAHeaderSlices/HeaderViewDocs_r2_c1.gif" width="19" height="118" border="0" alt=""></td> |
|
60 |
<td><a href="http://www.esa.org/"><img name="ESAHomeLogo" src="ESAHeaderSlices/ESAHomeLogo.gif" width="143" height="54" border="0" alt="ESA Home"></a></td> |
|
61 |
<td rowspan="2" colspan="8"><img name="HeaderViewDocs_r2_c3" src="ESAHeaderSlices/HeaderViewDocs_r2_c3.gif" width="541" height="67" border="0" alt=""></td> |
|
62 |
<td><img src="ESAHeaderSlices/spacer.gif" width="1" height="54" border="0" alt=""></td> |
|
63 |
</tr> |
|
64 |
<tr> |
|
65 |
<td rowspan="5"><img name="HeaderViewDocs_r3_c2" src="ESAHeaderSlices/HeaderViewDocs_r3_c2.gif" width="143" height="64" border="0" alt=""></td> |
|
66 |
<td><img src="ESAHeaderSlices/spacer.gif" width="1" height="13" border="0" alt=""></td> |
|
67 |
</tr> |
|
68 |
<tr> |
|
69 |
<td><a href="http://www.esa.org/" target="_top" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('ESAHome2','','ESAHeaderSlices/ESAHome2_f2.gif','ESAHome2','','ESAHeaderSlices/RollOvers/ESAHomeR.gif',1);"><img name="ESAHome2" src="ESAHeaderSlices/ESAHome2.gif" width="78" height="17" border="0" alt="ESA Home"></a></td> |
|
70 |
<td colspan="2"><a href="./index.html" target="_top" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('ESARegistry2','','ESAHeaderSlices/RollOvers/ESARegistryR.gif',1);"><img name="ESARegistry2" src="ESAHeaderSlices/ESARegistry2.gif" width="102" height="17" border="0" alt="Registry Home"></a></td> |
|
71 |
<td><a href="<%= MetaCatUtil.getOption("cgi-prefix") %>/register-dataset.cgi?cfg=esa" target="_top" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('ESARegisterNewData','','ESAHeaderSlices/RollOvers/ESANewDataSetR.gif',1);"><img name="ESARegisterNewData" src="ESAHeaderSlices/ESARegisterNewData.gif" width="154" height="17" border="0" alt="Register a New Data Set"></a></td> |
|
72 |
<td colspan="2"><a href="./index.html#search" target="_top" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('ESASearch','','ESAHeaderSlices/RollOvers/ESASearchR.gif',1);"><img name="ESASearch" src="ESAHeaderSlices/ESASearch.gif" width="102" height="17" border="0" alt="Search for Data"></a></td> |
|
73 |
<td><a href="#" target="_top" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('ESALogin','','ESAHeaderSlices/RollOvers/ESALoginR.gif',1);"><img name="ESALogin" src="ESAHeaderSlices/ESALogin.gif" width="57" height="17" border="0" alt="Login"></a></td> |
|
74 |
<td rowspan="4"><img name="HeaderViewDocs_r4_c10" src="ESAHeaderSlices/HeaderViewDocs_r4_c10.gif" width="48" height="51" border="0" alt=""></td> |
|
75 |
<td><img src="ESAHeaderSlices/spacer.gif" width="1" height="17" border="0" alt=""></td> |
|
76 |
</tr> |
|
77 |
<tr> |
|
78 |
<td colspan="7"><img name="HeaderViewDocs_r5_c3" src="ESAHeaderSlices/HeaderViewDocs_r5_c3.gif" width="493" height="3" border="0" alt=""></td> |
|
79 |
<td><img src="ESAHeaderSlices/spacer.gif" width="1" height="3" border="0" alt=""></td> |
|
80 |
</tr> |
|
81 |
<tr> |
|
82 |
<td rowspan="2" colspan="2"><img name="HeaderViewDocs_r6_c3" src="ESAHeaderSlices/HeaderViewDocs_r6_c3.gif" width="121" height="31" border="0" alt=""></td> |
|
83 |
<td colspan="3"><a href="#" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('ESADocPend','','ESAHeaderSlices/RollOvers/ESADocPendR.gif',1);"><img name="ESADocPend" src="ESAHeaderSlices/ESADocPend.gif" width="230" height="18" border="0" alt="View Documents Pending Moderation"></a></td> |
|
84 |
<td rowspan="2" colspan="2"><img name="HeaderViewDocs_r6_c8" src="ESAHeaderSlices/HeaderViewDocs_r6_c8.gif" width="142" height="31" border="0" alt=""></td> |
|
85 |
<td><img src="ESAHeaderSlices/spacer.gif" width="1" height="18" border="0" alt=""></td> |
|
86 |
</tr> |
|
87 |
<tr> |
|
88 |
<td colspan="3"><img name="HeaderViewDocs_r7_c5" src="ESAHeaderSlices/HeaderViewDocs_r7_c5.gif" width="230" height="13" border="0" alt=""></td> |
|
89 |
<td><img src="ESAHeaderSlices/spacer.gif" width="1" height="13" border="0" alt=""></td> |
|
90 |
</tr> |
|
91 |
</table> |
|
92 |
</body> |
|
93 |
</html> |
|
0 | 94 |
Also available in: Unified diff
Turnkey installer modification: created HeaderViewDocs.jsp as a replacement for HeaderViewDocs.htm, because a call to MetacatUtil to get CGI-PREFIX is needed.
Also replaced and tokens with relative paths.