Revision 3672
Added by ben leinfelder over 16 years ago
SaeonLogin.jspx | ||
---|---|---|
17 | 17 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
18 | 18 |
<head> |
19 | 19 |
|
20 |
<script language="JavaScript" type="text/JavaScript" src="./searchPathQuery.js"/>
|
|
20 |
<script language="JavaScript" type="text/JavaScript" src="@systemidserver@@style-skins-path@/sanparks/searchPathQuery.js"/>
|
|
21 | 21 |
<script type="text/javascript"> |
22 | 22 |
function trim(stringToTrim) { |
23 | 23 |
return(stringToTrim.replace(/^\s+|\s+$/g,"")); |
... | ... | |
52 | 52 |
</script> |
53 | 53 |
|
54 | 54 |
<title>SANParks - South African National Park Data Repository</title> |
55 |
<link href="sanparks.css" rel="stylesheet" type="text/css" /> |
|
55 |
<link href="@systemidserver@@style-skins-path@/sanparks/sanparks.css" rel="stylesheet" type="text/css" />
|
|
56 | 56 |
|
57 | 57 |
</head> |
58 | 58 |
|
... | ... | |
153 | 153 |
</jsp:scriptlet> |
154 | 154 |
</p> |
155 | 155 |
|
156 |
<form id="searchform" name="searchform" method="post" action="../../../metacat" |
|
157 |
target="_top" |
|
158 |
onsubmit="setQueryFormField()"> |
|
156 |
<jsp:element name="form"> |
|
157 |
<jsp:attribute name="id">searchform</jsp:attribute> |
|
158 |
<jsp:attribute name="name">searchform</jsp:attribute> |
|
159 |
<jsp:attribute name="method">post</jsp:attribute> |
|
160 |
<jsp:attribute name="action"> |
|
161 |
<jsp:expression>request.getContextPath() + "/metacat"</jsp:expression> |
|
162 |
</jsp:attribute> |
|
163 |
<jsp:attribute name="target">_top</jsp:attribute> |
|
164 |
<jsp:attribute name="onsubmit">setQueryFormField()</jsp:attribute> |
|
159 | 165 |
<p class="regtext"> |
160 | 166 |
The repository search system is used to locate data sets of interest by |
161 | 167 |
searching through existing registered data sets. |
... | ... | |
191 | 197 |
Browse all existing data sets by title. This operation can be slow. |
192 | 198 |
</p> |
193 | 199 |
<input type="button" value="Browse All" onclick="setBrowseAll();form.submit()" /> |
194 |
</form>
|
|
200 |
</jsp:element>
|
|
195 | 201 |
|
196 | 202 |
</td> |
197 | 203 |
<td> |
... | ... | |
304 | 310 |
<table width="100%"> |
305 | 311 |
<tr valign="top"> |
306 | 312 |
<td align="right"> |
307 |
<form action="./upload.jsp" method="post">
|
|
313 |
<form action="@systemidserver@@style-skins-path@/sanparks/upload.jsp" method="post">
|
|
308 | 314 |
<input type="submit" value="Go >" class="button_login" /> |
309 | 315 |
</form> |
310 | 316 |
</td> |
Also available in: Unified diff
replace relative urls (for stylesheets, js files, and even form actions) with absolute paths. yes, this means using ant tokens still.
needed for using 'sanparks' as the default skin when deployed on dataknp.sanparks.org