Revision 3739
Added by ben leinfelder over 16 years ago
upload.jsp | ||
---|---|---|
24 | 24 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
25 | 25 |
*/ |
26 | 26 |
%> |
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" href="@systemidserver@@style-skins-path@/default/default.css" type="text/css"/>
|
|
33 |
<link rel="stylesheet" type="text/css" href="@systemidserver@@style-skins-path@/sanparks/sanparks.css"/>
|
|
34 |
<script language="JavaScript" type="text/JavaScript" src="@systemidserver@@style-skins-path@/sanparks/sanparks.js"></script>
|
|
35 |
<script language="JavaScript" type="text/JavaScript" src="@systemidserver@@style-common-path@/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/sanparks/sanparks.css"/>
|
|
34 |
<script language="JavaScript" type="text/JavaScript" src="<%=SERVER_URL_WITH_CONTEXT%>/style/skins/sanparks/sanparks.js"></script>
|
|
35 |
<script language="JavaScript" type="text/JavaScript" src="<%=SERVER_URL_WITH_CONTEXT%>/style/common/branding.js"></script>
|
|
36 | 36 |
</head> |
37 | 37 |
<body> |
38 | 38 |
<script language="JavaScript"> |
39 | 39 |
function getMapFrame() { |
40 | 40 |
return document.getElementById('mapFrame'); |
41 | 41 |
} |
42 |
insertTemplateOpening(); |
|
42 |
insertTemplateOpening("<%=SERVER_URL_WITH_CONTEXT%>");
|
|
43 | 43 |
</script> |
44 | 44 |
|
45 | 45 |
<jsp:include page="SaeonUpload.jspx" /> |
... | ... | |
47 | 47 |
<script language="JavaScript"> |
48 | 48 |
//insertLoginBox(); |
49 | 49 |
//insertSearchBox(); |
50 |
insertTemplateClosing(); |
|
50 |
insertTemplateClosing("<%=SERVER_URL_WITH_CONTEXT%>");
|
|
51 | 51 |
</script> |
52 | 52 |
</body> |
53 | 53 |
</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...