Project

General

Profile

« Previous | Next » 

Revision 3389

Added by Jing Tao over 17 years ago

Change the token from server to httpserver in case server is not set https ( server has the https port).

View differences:

lib/style/skins/kepler/resultset.xsl
288 288
                  <td class="text_plain">
289 289
                    <a class="dl">
290 290
                      <xsl:attribute name="href">
291
                        <xsl:text>http://@server@/authority/data?lsid=</xsl:text>
291
                        <xsl:text>http://@httpserver@/authority/data?lsid=</xsl:text>
292 292
                        <xsl:value-of select="./param[@name=concat('entity/property[@name=', $sq, 'karId', $sq, ']/@value')]"/>
293 293
                      </xsl:attribute>
294 294

  
lib/style/skins/kepler/kepler.cfg
1 1
#
2 2
# General configuration parameters
3 3
#
4
metacatUrl = http://@server@@servlet-path@
4
metacatUrl = http://@httpserver@@servlet-path@
5 5
username = uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
6 6
password = kepler
7 7
ldapUrl = @ldapUrl@
lib/style/skins/kepler/entity.xsl
158 158

  
159 159
              <div style="text-align: center;">
160 160
                <a>
161
                  <xsl:attribute name="href">http://@server@/authority/data?lsid=<xsl:value-of select="/entity/property[@name='karId']/@value"/></xsl:attribute>
161
                  <xsl:attribute name="href">http://@httpserver@/authority/data?lsid=<xsl:value-of select="/entity/property[@name='karId']/@value"/></xsl:attribute>
162 162
                  <xsl:text>Download</xsl:text>
163 163
                </a>
164 164
              </div>

Also available in: Unified diff