Revision 3739
Added by ben leinfelder over 16 years ago
index.jsp | ||
---|---|---|
24 | 24 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
25 | 25 |
*/ |
26 | 26 |
%> |
27 |
<%@ include file="../../common/common-settings.jsp"%> |
|
28 |
|
|
27 |
<%@ include file="settings.jsp"%> |
|
29 | 28 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
30 | 29 |
<html> |
31 | 30 |
<head> |
32 | 31 |
<title>SAEON - South African Environmental Observation Network Repository</title> |
33 |
<link rel="stylesheet" href="../default/default.css" type="text/css"/>
|
|
34 |
<link rel="stylesheet" type="text/css" href="saeon.css"/> |
|
35 |
<script language="JavaScript" type="text/JavaScript" src="saeon.js"></script> |
|
36 |
<script language="JavaScript" type="text/JavaScript" src="../../common/branding.js"></script>
|
|
32 |
<link rel="stylesheet" href="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/default/default.css" type="text/css"/>
|
|
33 |
<link rel="stylesheet" type="text/css" href="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/saeon/saeon.css"/>
|
|
34 |
<script language="JavaScript" type="text/JavaScript" src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/saeon/saeon.js"></script>
|
|
35 |
<script language="JavaScript" type="text/JavaScript" src="<%=SERVER_URL_WITH_CONTEXT%>/style/common/branding.js"></script>
|
|
37 | 36 |
</head> |
38 | 37 |
<body> |
39 | 38 |
<script language="JavaScript"> |
40 |
insertTemplateOpening(); |
|
39 |
insertTemplateOpening("<%=SERVER_URL_WITH_CONTEXT%>");
|
|
41 | 40 |
</script> |
42 | 41 |
|
43 | 42 |
<!-- Main content --> |
44 | 43 |
<jsp:include page="SaeonLogin.jspx" /> |
45 | 44 |
|
46 |
<!-- map frame --> |
|
47 |
<script language="JavaScript"> |
|
48 |
//insertMap(); |
|
49 |
</script> |
|
50 |
|
|
51 | 45 |
<!-- wrap it up with the closing --> |
52 | 46 |
<script language="JavaScript"> |
53 |
insertTemplateClosing(); |
|
47 |
insertTemplateClosing("<%=SERVER_URL_WITH_CONTEXT%>");
|
|
54 | 48 |
</script> |
55 | 49 |
</body> |
56 | 50 |
</html> |
Also available in: Unified diff
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...