Project

General

Profile

« Previous | Next » 

Revision 4006

merge 1.8.1 to head

View differences:

lib/style/skins/sanparks/knp-login.xsl
32 32
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
33 33

  
34 34
  <xsl:output method="html"/>
35
  <xsl:param name="contextURL"/>
36
  <xsl:param name="cgi-prefix"/>
35 37
  <xsl:param name="qformat">sanparks</xsl:param>
36 38
  <xsl:template match="/">
37 39
   <html>
......
44 46
                src="{$contextURL}/style/common/branding.js" />
45 47
      </head>
46 48

  
47
      <script language="JavaScript">
48
          insertTemplateOpening("{$contextURL}");
49
          insertSearchBox("{$contextURL}");
50
      </script>
49
     <script language="JavaScript">
50
       <![CDATA[
51
          insertTemplateOpening("]]><xsl:value-of select="$contextURL" /><![CDATA[");
52
          insertSearchBox("]]><xsl:value-of select="$contextURL" /><![CDATA[");
53
         ]]>
54
     </script>
51 55
      <xsl:if test="count(login) &gt; 0">
52
 <script language="JavaScript">
53
           <![CDATA[
54
		function search(){
55
		location.href = "{$contextURL}/style/skins/sanparks";
56
        }]]>
56
        <script language="JavaScript">
57
          <![CDATA[
58
            function search(){
59
                location.href = "]]><xsl:value-of select="$cgi-prefix" /><![CDATA[/register-dataset.cgi?cfg=sanparks";
60
            }]]>
57 61
        </script>
58 62
        <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="timerID=setTimeout('search()',2000)">
59 63
          <p class="text_plain">Welcome <xsl:value-of select="login/name"/>. You will be automatically redirected to the homepage</p>
......
65 69
          <p class="text_plain"><xsl:value-of select="unauth_login/message" /></p>
66 70
    	</body>
67 71
      </xsl:if>
68
      <p class="text_plain">Return to the <a href="{$contextURL}/style/skins/knp" target="_top">homepage</a>.
72
      <p class="text_plain">Return to the <a href="{$contextURL}/style/skins/sanparks" target="_top">homepage</a>.
69 73
      </p>
70
      <script language="JavaScript">
71
          insertTemplateClosing("{$contextURL}");
72
      </script>
74
     <script language="JavaScript">
75
       <![CDATA[
76
          insertTemplateClosing("]]><xsl:value-of select="$contextURL" /><![CDATA[");
77
         ]]>
78
     </script>
73 79
    </html>
74 80
    </xsl:template>
75 81

  
lib/style/skins/sanparks/sanparks.css
619 619
	font-size: 12px;
620 620
}
621 621
.sectbody {
622
	background: #DEF1F1;
622
	background: #FFFFFF;
623 623
	font-size: 12px;
624 624
        font-weight: bold;}
625 625

  
626 626
.sectheader {
627
	background: #A3DADA;
627
	background: #CFE2CF;
628 628
	font-size: 12px;
629 629
        font-weight: bold;}
630 630

  
lib/style/skins/kepler/resultset.xsl
42 42
  <xsl:param name="qformat">default</xsl:param>
43 43
  <xsl:param name="enableediting">false</xsl:param>
44 44
  <xsl:param name="contextURL"/>
45
  <xsl:param name="httpServer"/>
46
  
45 47

  
46 48
  <xsl:template match="/">
47 49
    <html xml:lang="en-US">
......
112 114

  
113 115
.dl
114 116
{
115
    background: #eeeeee url({$contextURL}/style/skins/<xsl:value-of select="$qformat"/>/download2.png) 2px center no-repeat;
117
    background: #eeeeee url(<xsl:value-of select="contextURL"/>/style/skins/<xsl:value-of select="$qformat"/>/download2.png) 2px center no-repeat;
116 118
    border: 1px solid black;
117 119
    font-weight: bold;
118 120
    text-decoration: none;
......
291 293
                  <td class="text_plain">
292 294
                    <a class="dl">
293 295
                      <xsl:attribute name="href">
294
                        <xsl:text>http://{$httpServer}/authority/data?lsid=</xsl:text>
296
                        <xsl:value-of select="$httpServer"/><xsl:text>/authority/data?lsid=</xsl:text>
295 297
                        <xsl:value-of select="./param[@name=concat('entity/property[@name=', $sq, 'karId', $sq, ']/@value')]"/>
296 298
                      </xsl:attribute>
297 299

  
lib/style/skins/kepler/entity.xsl
41 41
  <xsl:param name="sessid"/>
42 42
  <xsl:param name="qformat">default</xsl:param>
43 43
  <xsl:param name="enableediting">false</xsl:param>
44
  <xsl:param name="contextURL"/>
45
  <xsl:param name="httpServer"/>
44 46

  
45 47
  <xsl:template match="/">
46 48
    <html xml:lang="en-US">
......
158 160

  
159 161
              <div style="text-align: center;">
160 162
                <a>
161
                  <xsl:attribute name="href">http://@httpserver@/authority/data?lsid=<xsl:value-of select="/entity/property[@name='karId']/@value"/></xsl:attribute>
163
                  <xsl:attribute name="href"><xsl:value-of select="$httpServer"/>/authority/data?lsid=<xsl:value-of select="/entity/property[@name='karId']/@value"/></xsl:attribute>
162 164
                  <xsl:text>Download</xsl:text>
163 165
                </a>
164 166
              </div>
lib/style/skins/obfs/spatial/map.jsp
35 35
<head>
36 36
<title>Metacat Spatial Option Demo</title>
37 37

  
38
<link rel='StyleSheet' type='text/css' href='<%=STYLE_SKINS_URL%>/obfs/spatial/mapbuilder/lib/skin/default/docsStyle.css'>
39
<link rel='StyleSheet' type='text/css' href='<%=STYLE_SKINS_URL%>/obfs/spatial/mapbuilder/lib/skin/default/mapStyle.css'>
40
<link rel='StyleSheet' type='text/css' href='<%=STYLE_SKINS_URL%>/obfs/spatial/mapbuilder/lib/skin/default/button.css'>
41
<link rel='StyleSheet' type='text/css' href='<%=STYLE_SKINS_URL%>/obfs/spatial/mapbuilder/lib/skin/default/scalebar-fat.css'>
38
<link rel='StyleSheet' type='text/css' href='<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/skin/default/docsStyle.css'>
39
<link rel='StyleSheet' type='text/css' href='<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/skin/default/mapStyle.css'>
40
<link rel='StyleSheet' type='text/css' href='<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/skin/default/button.css'>
41
<link rel='StyleSheet' type='text/css' href='<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/skin/default/scalebar-fat.css'>
42 42

  
43 43
<script type="text/javascript">
44 44
  var mbConfigUrl="config.xml";
45 45
</script>
46 46

  
47
<script type="text/javascript" src="<%=STYLE_SKINS_URL%>/obfs/spatial/mapbuilder/lib/Mapbuilder.js"></script>
47
<script type="text/javascript" src="<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/Mapbuilder.js"></script>
48 48
</head>
49 49
<body onload="mbDoLoad()">
50 50

  
......
54 54
              <div id="mainMapPane" style="background-color:#b8d5f5;" />
55 55
              <div id="loading">
56 56
               <p> Loading Map
57
                <img src="<%=STYLE_SKINS_URL%>/obfs/spatial/mapbuilder/lib/skin/default/images/Loading.gif"/>
57
                <img src="<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/skin/default/images/Loading.gif"/>
58 58
               </p>
59 59
             </div>
60 60
            </td>
......
76 76
                                          <!-- <tr><td colspan="2" align="right" id="scalebar"/> </tr> -->
77 77
                                          <tr> 
78 78
                                           <td colspan="2" align="right" style="font-size:8pt;"> 
79
                                             <a style="text-decoration:none;" href="<%=STYLE_SKINS_URL%>/obfs/spatial/kml.jsp">
79
                                             <a style="text-decoration:none;" href="<%=SERVER_URL_WITH_CONTEXT%>/spatial/kml.jsp">
80 80
                                               <br/> 
81 81
                                               Download Google Earth KML
82
                                               <img border="0" src="<%=STYLE_SKINS_URL%>/obfs/style/images/kml.gif">
82
                                               <img border="0" src="<%=SERVER_URL_WITH_CONTEXT%>/style/images/kml.gif">
83 83
                                             </a>
84 84
                                           </td>
85 85
                                          </tr> 
lib/style/skins/nceas/nceas.css
385 385
    border: solid black 1px;
386 386
    border-bottom: none;
387 387
}
388
	
388

  
389
/* override default td sizing specified in EML css */
390
.regular td {
391
    font-size: 87.5%;
392
}
393

  
389 394
.hide {
390 395
      display:none;
391 396
  }
......
416 421
       text-align: right;
417 422
    }
418 423

  
424
.rightCol a {
425
    border-bottom: none;
426
}
427

  
428
.rightCol img {
429
    margin: 0px;
430
}
431

  
432

  
433
.centerContentBorder {
434
        padding-left: 5px;
435
        padding-right: 5px;
436
        width: 98%;
437
}
438

  
439

  
419 440
/**
420 441
 *  This is add to overload the p+p function defined in eml.css.
421 442
 *  Refer to bug# 1306 for further details. 
lib/style/skins/nceas/index.jsp
74 74
<p class="intro">A number of the data sets were synthesized from multiple data sources that originated from the efforts of many contributors, while others originated from a single investigator. Credit for the data sets in this repository goes to the investigators who collected the data, as well as to the NCEAS working groups and scientists who compiled the data for synthetic purposes. See each data package for a list of the people and institutions involved. </p>
75 75
<p class="intro"> If you have any questions, comments or problems, please contact the repository administrator at <a href="mailto:help@nceas.ucsb.edu">help@nceas.ucsb.edu</a> </p>
76 76
<br>
77
<table class="tables" cellpadding="8" cellspacing="0">
77
<table class="tables regular" cellpadding="8" cellspacing="0">
78 78
  <tr class="sectheader">
79 79
    <td class="borderbottom"><a name="search" ></a>
80 80
        <p align="center" class="largetext"> Search for Data Sets </p></td>
......
119 119
<a href="<%=STYLE_SKINS_URL%>/nceas/map.jsp"> View Interactive Map </a> </div>
120 120
</td></tr></table>
121 121
<br><br>
122
<table class="tables" cellpadding="8" cellspacing="0">
122
<table class="tables regular" cellpadding="8" cellspacing="0">
123 123
  <tr class="sectheader">
124 124
    <td class="borderbottom" colspan="2" align="left"><span class="label"> </span>
125 125
        <p align="center" class="largetext"> Register information about a new NCEAS data set </p></td>
lib/style/skins/nceas/nceas-login.xsl
47 47
         <script language="JavaScript">
48 48
         <![CDATA[
49 49
            function search(){
50
                location.href = "]]><xsl:value-of select="$cgi-prefix" /><![CDATA["/register-dataset.cgi?cfg=nceas";
50
                location.href = "]]><xsl:value-of select="$cgi-prefix" /><![CDATA[/register-dataset.cgi?cfg=nceas";
51 51
            }]]>
52 52
         </script>
53 53
      </head>
lib/style/skins/nceas/nceas.js
1
 /*
1
/*
2 2
  *   '$RCSfile$'
3 3
  *     Purpose: Default style sheet for KNB project web pages 
4 4
  *              Using this stylesheet rather than placing styles directly in 
lib/style/skins/nrs/spatial/map.jsp
35 35
<head>
36 36
<title>Metacat Spatial Option Demo</title>
37 37

  
38
<link rel='StyleSheet' type='text/css' href='<%=STYLE_SKINS_URL%>/nrs/spatial/mapbuilder/lib/skin/default/docsStyle.css'>
39
<link rel='StyleSheet' type='text/css' href='<%=STYLE_SKINS_URL%>/nrs/spatial/mapbuilder/lib/skin/default/mapStyle.css'>
40
<link rel='StyleSheet' type='text/css' href='<%=STYLE_SKINS_URL%>/nrs/spatial/mapbuilder/lib/skin/default/button.css'>
41
<link rel='StyleSheet' type='text/css' href='<%=STYLE_SKINS_URL%>/nrs/spatial/mapbuilder/lib/skin/default/scalebar-fat.css'>
38
<link rel='StyleSheet' type='text/css' href='<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/skin/default/docsStyle.css'>
39
<link rel='StyleSheet' type='text/css' href='<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/skin/default/mapStyle.css'>
40
<link rel='StyleSheet' type='text/css' href='<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/skin/default/button.css'>
41
<link rel='StyleSheet' type='text/css' href='<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/skin/default/scalebar-fat.css'>
42 42

  
43 43
<script type="text/javascript">
44 44
  var mbConfigUrl="config.xml";
45 45
</script>
46 46

  
47
<script type="text/javascript" src="<%=STYLE_SKINS_URL%>/nrs/spatial/mapbuilder/lib/Mapbuilder.js"></script>
47
<script type="text/javascript" src="<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/Mapbuilder.js"></script>
48 48
</head>
49 49
<body onload="mbDoLoad()">
50 50

  
......
54 54
              <div id="mainMapPane" style="background-color:#b8d5f5;" />
55 55
              <div id="loading">
56 56
               <p> Loading Map
57
                <img src="<%=STYLE_SKINS_URL%>/nrs/spatial/mapbuilder/lib/skin/default/images/Loading.gif"/>
57
                <img src="<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/skin/default/images/Loading.gif"/>
58 58
               </p>
59 59
             </div>
60 60
            </td>
......
76 76
                                          <!-- <tr><td colspan="2" align="right" id="scalebar"/> </tr> -->
77 77
                                          <tr> 
78 78
                                           <td colspan="2" align="right" style="font-size:8pt;"> 
79
                                             <a style="text-decoration:none;" href="<%=STYLE_SKINS_URL%>/nrs/spatial/kml.jsp">
79
                                             <a style="text-decoration:none;" href="<%=SERVER_URL_WITH_CONTEXT%>/spatial/kml.jsp">
80 80
                                               <br/> 
81 81
                                               Download Google Earth KML
82
                                               <img border="0" src="<%=STYLE_SKINS_URL%>/nrs/style/images/kml.gif">
82
                                               <img border="0" src="<%=SERVER_URL_WITH_CONTEXT%>/style/images/kml.gif">
83 83
                                             </a>
84 84
                                           </td>
85 85
                                          </tr> 
lib/style/skins/saeon/saeon-login.xsl
32 32
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
33 33

  
34 34
  <xsl:output method="html"/>
35
  <xsl:param name="contextURL"/>
36
  <xsl:param name="cgi-prefix"/>
35 37
  <xsl:param name="qformat">saeon</xsl:param>
36 38
  <xsl:template match="/">
37 39
   <html>
......
45 47
      </head>
46 48

  
47 49
      <script language="JavaScript">
48
          insertTemplateOpening("{$contextURL}");
49
          insertSearchBox("{$contextURL}");
50
      </script>
50
		<![CDATA[
51
		   insertTemplateOpening("]]><xsl:value-of select="$contextURL" /><![CDATA[");
52
		   insertSearchBox("]]><xsl:value-of select="$contextURL" /><![CDATA[");
53
		  ]]>
54
     </script>
51 55
      <xsl:if test="count(login) &gt; 0">
52
 <script language="JavaScript">
53
           <![CDATA[
54
		function search(){
55
		location.href = "{$contextURL}/style/skins/saeon";
56
        }]]>
56
      	<script language="JavaScript">
57
          <![CDATA[
58
            function search(){
59
                location.href = "]]><xsl:value-of select="$cgi-prefix" /><![CDATA[/register-dataset.cgi?cfg=saeon";
60
            }]]>
57 61
        </script>
58 62
        <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="timerID=setTimeout('search()',2000)">
59 63
          <p class="text_plain">Welcome <xsl:value-of select="login/name"/>. You will be automatically redirected to the homepage</p>
......
65 69
          <p class="text_plain"><xsl:value-of select="unauth_login/message" /></p>
66 70
    	</body>
67 71
      </xsl:if>
68
      <p class="text_plain">Return to the <a href="{$contextURL}/style/skins/knp" target="_top">homepage</a>.
72
      <p class="text_plain">Return to the <a href="{$contextURL}/style/skins/saeon" target="_top">homepage</a>.
69 73
      </p>
70 74
      <script language="JavaScript">
71
          insertTemplateClosing("{$contextURL}");
72
      </script>
75
       <![CDATA[
76
          insertTemplateClosing("]]><xsl:value-of select="$contextURL" /><![CDATA[");
77
         ]]>
78
     </script>
73 79
    </html>
74 80
    </xsl:template>
75 81

  
lib/style/skins/saeon/saeon.css
454 454
	font-size: 12px;
455 455
}
456 456
.sectbody {
457
	background: #DEF1F1;
457
	background: #FFFFFF;
458 458
	font-size: 12px;
459 459
        font-weight: bold;}
460 460

  
461 461
.sectheader {
462
	background: #A3DADA;
462
	background: #A6C2A5;
463 463
	font-size: 12px;
464 464
        font-weight: bold;}
465 465

  
lib/style/skins/esa/esa-login.xsl
33 33

  
34 34
  <xsl:output method="html"/>
35 35
  <xsl:param name="qformat">default</xsl:param>
36
  <xsl:param name="contextURL"/>
36 37
  <xsl:template match="/">
37 38
   <html>
38 39
      <head>
......
44 45
                src="./style/common/branding.js" />
45 46
      </head>
46 47

  
47
      <script language="JavaScript">
48
          insertTemplateOpening("{$contextURL}");
49
          insertSearchBox("{$contextURL}");
50
      </script>
48
     <script language="JavaScript">
49
       <![CDATA[
50
          insertTemplateOpening("]]><xsl:value-of select="$contextURL" /><![CDATA[");
51
          insertSearchBox("]]><xsl:value-of select="$contextURL" /><![CDATA[");
52
         ]]>
53
     </script>
51 54
      <xsl:if test="count(login) &gt; 0">
52 55
      <xsl:choose>
53 56
      <xsl:when test="count(login/isModerator) &gt; 0">
54 57
           <script language="JavaScript">
55
	   <![CDATA[function search(){
58
           <![CDATA[
59
	   function search(){
56 60
		var searchForm = document.getElementById("search-form");
57 61
		var queryInput = document.createElement("input");
58 62
        	queryInput.setAttribute("type", "hidden");
......
60 64
        	queryInput.setAttribute("value", "<pathquery version=\"1.2\"><querytitle>Moderator-Search</querytitle><returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype><returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype><returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN</returndoctype><returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN</returndoctype><returndoctype>-//NCEAS//resource//EN</returndoctype><returndoctype>-//NCEAS//eml-dataset//EN</returndoctype><returnfield>originator/individualName/surName</returnfield><returnfield>originator/individualName/givenName</returnfield><returnfield>creator/individualName/surName</returnfield><returnfield>creator/individualName/givenName</returnfield><returnfield>originator/organizationName</returnfield><returnfield>creator/organizationName</returnfield><returnfield>dataset/title</returnfield><returnfield>keyword</returnfield><querygroup operator=\"INTERSECT\"><queryterm searchmode=\"not-contains\" casesensitive=\"false\"><value>public</value><pathexpr>dataset/access/allow/principal</pathexpr></queryterm><queryterm searchmode=\"not-contains\" casesensitive=\"false\"><value>Revision Requested</value><pathexpr>additionalMetadata/moderatorComment</pathexpr></queryterm></querygroup></pathquery>");
61 65
		searchForm.appendChild(queryInput);	
62 66
		searchForm.submit();
63
	}]]>
67
    };
68
    ]]>
64 69
        </script>
65 70
      	<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="timerID=setTimeout('search()',20)">
66 71
          <p class="text_plain">Welcome <xsl:value-of select="login/name"/>. You are now logged in as moderator.</p>
......
69 74
		<input type="hidden" name="qformat" value="esa"/>
70 75
		<input type="hidden" name="enableediting" value="true"/>
71 76
		<input type="hidden" name="message" value="You are now logged in as moderator."/>
77
    <input type="submit" name="submit query"/>
72 78
	</form>
73 79
    	</body>
74 80
      </xsl:when>
......
94 100
      <p class="text_plain">Return to the <a href="./style/skins/esa/" target="_top">Registry home</a>.
95 101
      </p>
96 102
      <script language="JavaScript">
97
          insertTemplateClosing("{$contextURL}");
103
       <![CDATA[
104
          insertTemplateClosing("]]<xsl:value-of select="$contextURL" /><![CDATA[");
105
          ]]>
98 106
      </script>
107

  
99 108
    </html>
100 109
    </xsl:template>
101 110

  
lib/style/skins/esa/spatial/map.jsp
35 35
<head>
36 36
<title>Metacat Spatial Option Demo</title>
37 37

  
38
<link rel='StyleSheet' type='text/css' href='<%=STYLE_SKINS_URL%>/esa/spatial/mapbuilder/lib/skin/default/docsStyle.css'>
39
<link rel='StyleSheet' type='text/css' href='<%=STYLE_SKINS_URL%>/esa/spatial/mapbuilder/lib/skin/default/mapStyle.css'>
40
<link rel='StyleSheet' type='text/css' href='<%=STYLE_SKINS_URL%>/esa/spatial/mapbuilder/lib/skin/default/button.css'>
41
<link rel='StyleSheet' type='text/css' href='<%=STYLE_SKINS_URL%>/esa/spatial/mapbuilder/lib/skin/default/scalebar-fat.css'>
38
<link rel='StyleSheet' type='text/css' href='<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/skin/default/docsStyle.css'>
39
<link rel='StyleSheet' type='text/css' href='<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/skin/default/mapStyle.css'>
40
<link rel='StyleSheet' type='text/css' href='<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/skin/default/button.css'>
41
<link rel='StyleSheet' type='text/css' href='<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/skin/default/scalebar-fat.css'>
42 42

  
43 43
<script type="text/javascript">
44 44
  var mbConfigUrl="config.xml";
45 45
</script>
46 46

  
47
<script type="text/javascript" src="<%=STYLE_SKINS_URL%>/esa/spatial/mapbuilder/lib/Mapbuilder.js"></script>
47
<script type="text/javascript" src="<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/Mapbuilder.js"></script>
48 48
</head>
49 49
<body onload="mbDoLoad()">
50 50

  
......
54 54
              <div id="mainMapPane" style="background-color:#b8d5f5;" />
55 55
              <div id="loading">
56 56
               <p> Loading Map
57
                <img src="<%=STYLE_SKINS_URL%>/esa/spatial/mapbuilder/lib/skin/default/images/Loading.gif"/>
57
                <img src="<%=SERVER_URL_WITH_CONTEXT%>/spatial/mapbuilder/lib/skin/default/images/Loading.gif"/>
58 58
               </p>
59 59
             </div>
60 60
            </td>
......
76 76
                                          <!-- <tr><td colspan="2" align="right" id="scalebar"/> </tr> -->
77 77
                                          <tr> 
78 78
                                           <td colspan="2" align="right" style="font-size:8pt;"> 
79
                                             <a style="text-decoration:none;" href="<%=STYLE_SKINS_URL%>/esa/spatial/kml.jsp">
79
                                             <a style="text-decoration:none;" href="<%=SERVER_URL_WITH_CONTEXT%>/spatial/kml.jsp">
80 80
                                               <br/> 
81 81
                                               Download Google Earth KML
82
                                               <img border="0" src="<%=STYLE_SKINS_URL%>/esa/style/images/kml.gif">
82
                                               <img border="0" src="<%=SERVER_URL_WITH_CONTEXT%>/style/images/kml.gif">
83 83
                                             </a>
84 84
                                           </td>
85 85
                                          </tr> 
lib/style/skins/esa/esa-resultset.xsl
33 33
  <xsl:output method="html"/>
34 34
  <xsl:param name="cgi-url" select='string("")'/>
35 35
  <xsl:param name="sessid"/>
36
  <xsl:param name="contextURL"/>
36 37
  <xsl:param name="qformat">default</xsl:param>
37 38
  <xsl:param name="enableediting">false</xsl:param>
38 39
  <xsl:param name="isModerator">false</xsl:param>
......
64 65
      </head>
65 66

  
66 67
      <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
67
      <script language="JavaScript">
68
        <script language="JavaScript">
68 69
          <![CDATA[
69
          insertTemplateOpening("{$contextURL}");
70
          insertSearchBox("{$contextURL}");
71
          ]]>
72
      </script>
70
          insertTemplateOpening("]]><xsl:value-of select="$contextURL" /><![CDATA[");
71
          insertSearchBox("]]><xsl:value-of select="$contextURL" /><![CDATA[");
72
         ]]>
73
        </script>
73 74
        <table width="100%" align="center" border="0" cellpadding="2" cellspacing="0">
74 75
           <tr>
75 76
             <td align="left"><br></br><p class="emphasis"><xsl:value-of select="$message"/><br></br><xsl:number value="count(resultset/document)" /> data set(s) found <xsl:if test="$enableediting ='true' and $isModerator = 'true'">for moderation</xsl:if></p></td>
......
140 141
               </form>
141 142
	      </xsl:when>
142 143
	      <xsl:otherwise>
143
		 <form action="{$servletURL}" method="POST">
144
		 <form action="{$contextURL}/metacat" method="POST">
144 145
                 <xsl:attribute name="name">
145 146
                   <xsl:value-of select="translate(./docid, '()-.', '____')" />
146 147
                 </xsl:attribute>

Also available in: Unified diff