Project

General

Profile

« Previous | Next » 

Revision 3739

Get rid of the ant tokens and the relative paths by using the context url and cgi prefix provided by the settings.jsp.
Now the "short form" of urls will work with the iframe skins. sanparks and saeon can also be set as the "default" skin and the paths will resolve correctly.
Note: still an ant token in the .cfg file used with perl...

View differences:

header.jsp
24 24
	 */
25 25
%>
26 26
<!--____________________________max_width____________________________________-->
27

  
27
<%@ include file="settings.jsp"%>
28 28
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
29 29
<html>
30 30
<head>
31 31
<title>SANParks - South African National Park Data Repository</title>
32
<link rel="stylesheet" type="text/css" href="@systemidserver@@style-skins-path@/sanparks/sanparks.css"/>
32
<link rel="stylesheet" type="text/css" href="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/sanparks/sanparks.css"/>
33 33
</head>
34 34

  
35 35
<body>
......
37 37
	<!-- Header -->
38 38
	<tr style="background: #7BB865;">
39 39
		<td style="background: #124325;"><a href="http://www.SANParks.org/" title="SANParks.org Home"><img
40
			border="0" src="images/logofade.jpg" alt="SANParks.org Home" /></a>
40
			border="0" src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/sanparks/images/logofade.jpg" alt="SANParks.org Home" /></a>
41 41
		</td>
42 42
		<td align="center" nowrap="nowrap" width="100%">
43 43
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
......
56 56
					</td>
57 57
					<!-- 
58 58
					<td nowrap="nowrap">
59
						<a href="@cgi-prefix@/register-dataset.cgi?cfg=sanparks" target="_top" class="headermenu">Register Data</a>
59
						<a href="<%=CGI_PREFIX%>/register-dataset.cgi?cfg=sanparks" target="_top" class="headermenu">Register Data</a>
60 60
					</td>
61 61
					-->
62 62
				</tr>
63 63
			</table>
64 64
		</td>
65 65
		<td valign="bottom" align="right">
66
			<!-- <img src='images/lilies.jpg' alt='Lilies' /> -->
67
			<img src='images/giraffe.jpg' alt='Giraffe' />
66
			<img src='<%=SERVER_URL_WITH_CONTEXT%>/style/skins/sanparks/images/giraffe.jpg' alt='Giraffe' />
68 67
		</td>
69 68
	</tr>
70 69
</table>

Also available in: Unified diff