Project

General

Profile

« Previous | Next » 

Revision 1933

Added by brooke over 20 years ago

changed knb skin index page to forward to knb site and include any user params in url. changed resultset.xsl so qformat is handled properly in posts. changed build file to copy default.css from eml checkout to style/common so other skin-specific css can import it if reqd

View differences:

index.jsp
26 26
 */
27 27

  
28 28
/**
29
 *  Does a redirect to knb homepage
29
 *  Does a redirect to knb homepage at @knb-site-url@
30 30
 */
31 31
%>
32 32
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
33 33
<html>
34 34
<head>
35
<title> </title>
36 35
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
37
<meta http-equiv="refresh" content="0;URL=@knb-site-url@/">
36
<script language="JavaScript">
37
function doRedirectWithParams() {
38
  var fullURL = unescape(document.location);
39
  var start = fullURL.indexOf("?");
40
  var params = "";
41
  if (start > 0) params = fullURL.substring(start,fullURL.length);
42
  document.location.href="@knb-site-url@" + params;
43
}
44
</script>
38 45
</head>
39
<body></body>
40
</html>
46
<body><script language="JavaScript">doRedirectWithParams()</script></body>
47
</html>

Also available in: Unified diff