Project

General

Profile

Revision 3667

Added by barteau over 13 years ago

Turnkey Installer modification: remove locale specific ant tokens with relative paths.

View differences:

lib/style/common/resultset-table.xsl
50 50
							<th class="tablehead_lcorner" align="right"
51 51
								valign="top">
52 52
								<img
53
									src="@style-skins-path@/default/images/transparent1x1.gif"
53
									src="./style/skins/default/images/transparent1x1.gif"
54 54
									width="1" height="1" />
55 55
							</th>
56 56
							<th class="tablehead"
......
78 78
							<th class="tablehead_rcorner" align="right"
79 79
								valign="top">
80 80
								<img
81
									src="@style-skins-path@/default/images/transparent1x1.gif"
81
									src="./style/skins/default/images/transparent1x1.gif"
82 82
									width="1" height="1" />
83 83
							</th>
84 84
						</tr>
......
102 102

  
103 103
								<td width="10">&#160;</td>
104 104
								<td class="text_plain">
105
									<form action="@servlet-path@"
105
									<form action="./metacat"
106 106
										method="POST">
107 107
										<xsl:attribute name="name"><xsl:value-of
108 108
												select="translate(./docid, '()-.', '____')" /></xsl:attribute>
......
209 209

  
210 210
								<xsl:if test="$enableediting = 'true'">
211 211
									<td class="text_plain">
212
										<form action="@servlet-path@"
212
										<form action="./metacat"
213 213
											method="POST">
214 214
											<input type="hidden"
215 215
												name="action" value="read" />
......
232 232
											</center>
233 233
										</form>
234 234
										<form
235
											action="@cgi-prefix@/register-dataset.cgi" method="POST">
235
											action="/cgi-bin/register-dataset.cgi" method="POST">
236 236
											<input type="hidden"
237 237
												name="stage" value="modify" />
238 238
											<input type="hidden"
......
254 254
											</center>
255 255
										</form>
256 256
										<form
257
											action="@cgi-prefix@/register-dataset.cgi" method="POST">
257
											action="/cgi-bin/register-dataset.cgi" method="POST">
258 258
											<input type="hidden"
259 259
												name="stage" value="delete" />
260 260
											<input type="hidden"
lib/style/common/keywords-list.xsl
35 35
    <html>
36 36
      <head>
37 37
        <link rel="stylesheet" type="text/css" 
38
              href="@style-skins-path@/{$qformat}/{$qformat}.css" />
38
              href="./style/skins/{$qformat}/{$qformat}.css" />
39 39
      </head>
40 40

  
41 41
      <body>
42 42
        <table width="100%">
43 43
          <tr>
44
            <td rowspan="2"><img src="@web-base-url@/images/KNBLogo.gif"/></td>
44
            <td rowspan="2"><img src="/images/KNBLogo.gif"/></td>
45 45
            <td colspan="7"><div class="title">Biocomplexity Data Search</div>
46 46
            </td>
47 47
          </tr>
48 48
          <tr>
49
            <td><a href="@web-base-url@" class="toollink"> KNB </a></td>
50
            <td><a href="@web-base-url@/data.html" class="toollink"> 
49
            <td><a href="" class="toollink"> KNB </a></td>
50
            <td><a href="/data.html" class="toollink"> 
51 51
                Data </a></td>
52
            <td><a href="@web-base-url@/people.html" class="toollink"> 
52
            <td><a href="/people.html" class="toollink"> 
53 53
                People </a></td>
54
            <td><a href="@web-base-url@/informatics" class="toollink"> 
54
            <td><a href="/informatics" class="toollink"> 
55 55
                Informatics </a></td>
56
            <td><a href="@web-base-url@/biodiversity" class="toollink"> 
56
            <td><a href="/biodiversity" class="toollink"> 
57 57
                Biodiversity </a></td>
58
            <td><a href="@web-base-url@/education" class="toollink"> 
58
            <td><a href="/education" class="toollink"> 
59 59
                Education </a></td>
60
            <td><a href="@web-base-url@/software" class="toollink"> 
60
            <td><a href="/software" class="toollink"> 
61 61
                Software </a></td>
62 62
         </tr>
63 63
         <tr>
64 64
          <td align="right" valign="top" colspan="7">
65
            <form action="@servlet-path@" method="POST">
65
            <form action="./metacat" method="POST">
66 66
             Data Search: <input type="text" name="anyfield" size="10" />
67 67
             <input type="hidden" name="action" value="query" />   
68 68
             <input type="hidden" name="qformat" value="knb" />
......
119 119
  <xsl:template match="param">
120 120
     <li>
121 121
     <a>
122
       <xsl:attribute name="href">@servlet-path@?action=query&amp;operator=INTERSECT&amp;qformat=knb&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.0&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.1&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&amp;returnfield=dataset/title&amp;returnfield=citation/title&amp;returnfield=software/title&amp;returnfield=protocol/title&amp;returnfield=keyword&amp;returnfield=originator/individualName/surName&amp;returnfield=creator/individualName/surName&amp;returnfield=originator/organizationName&amp;returnfield=creator/organizationName&amp;keyword=<xsl:value-of select="."/></xsl:attribute>
122
       <xsl:attribute name="href">./metacat?action=query&amp;operator=INTERSECT&amp;qformat=knb&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.0&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.1&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&amp;returnfield=dataset/title&amp;returnfield=citation/title&amp;returnfield=software/title&amp;returnfield=protocol/title&amp;returnfield=keyword&amp;returnfield=originator/individualName/surName&amp;returnfield=creator/individualName/surName&amp;returnfield=originator/organizationName&amp;returnfield=creator/organizationName&amp;keyword=<xsl:value-of select="."/></xsl:attribute>
123 123
     <xsl:value-of select="."/>
124 124
     </a> (<xsl:value-of select="count(//param[.=current()])"/>)
125 125
     </li>
lib/style/common/resultset.xsl
29 29
* into an HTML format suitable for rendering with modern web browsers.
30 30
-->
31 31
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
32
  <xsl:import href="@systemidserver@@style-common-path@/resultset-table.xsl"/>
32
  <xsl:import href="./style/common/resultset-table.xsl"/>
33 33
  
34 34
  <xsl:output method="html"/>
35 35
  <xsl:param name="sessid"/>
......
39 39
   <html>
40 40
      <head>
41 41
        <link rel="stylesheet" type="text/css" 
42
              href="@style-skins-path@/{$qformat}/{$qformat}.css" />
42
              href="./style/skins/{$qformat}/{$qformat}.css" />
43 43
        <script language="Javascript" type="text/JavaScript"
44
                src="@style-skins-path@/{$qformat}/{$qformat}.js" />
44
                src="./style/skins/{$qformat}/{$qformat}.js" />
45 45
        <script language="Javascript" type="text/JavaScript"
46
                src="@style-common-path@/branding.js" />
46
                src="./style/common/branding.js" />
47 47
        <script language="JavaScript">
48 48
          <![CDATA[
49 49
          function submitform(action,form_ref) {
lib/style/common/browse.xsl
35 35
    <html>
36 36
      <head>
37 37
        <link rel="stylesheet" type="text/css" 
38
              href="@style-skins-path@/{$qformat}/{$qformat}.css" />
38
              href="./style/skins/{$qformat}/{$qformat}.css" />
39 39
      </head>
40 40

  
41 41
      <body>
42 42
        <table width="100%">
43 43
          <tr>
44
            <td rowspan="2"><img src="@web-base-url@/images/KNBLogo.gif"/></td>
44
            <td rowspan="2"><img src="/images/KNBLogo.gif"/></td>
45 45
            <td colspan="7"><div class="title">Biocomplexity Data Search</div>
46 46
            </td>
47 47
          </tr>
48 48
          <tr>
49
            <td><a href="@web-base-url@" class="toollink"> KNB </a></td>
50
            <td><a href="@web-base-url@/data.html" class="toollink"> 
49
            <td><a href="" class="toollink"> KNB </a></td>
50
            <td><a href="/data.html" class="toollink"> 
51 51
                Data </a></td>
52
            <td><a href="@web-base-url@/people.html" class="toollink"> 
52
            <td><a href="/people.html" class="toollink"> 
53 53
                People </a></td>
54
            <td><a href="@web-base-url@/informatics" class="toollink"> 
54
            <td><a href="/informatics" class="toollink"> 
55 55
                Informatics </a></td>
56
            <td><a href="@web-base-url@/biodiversity" class="toollink"> 
56
            <td><a href="/biodiversity" class="toollink"> 
57 57
                Biodiversity </a></td>
58
            <td><a href="@web-base-url@/education" class="toollink"> 
58
            <td><a href="/education" class="toollink"> 
59 59
                Education </a></td>
60
            <td><a href="@web-base-url@/software" class="toollink"> 
60
            <td><a href="/software" class="toollink"> 
61 61
                Software </a></td>
62 62
         </tr>
63 63
         <tr>
64 64
          <td align="right" valign="top" colspan="7">
65
            <form action="@servlet-path@" method="POST">
65
            <form action="./metacat" method="POST">
66 66
             Data Search: <input type="text" name="anyfield" size="10" />
67 67
             <input type="hidden" name="action" value="query" />   
68 68
             <input type="hidden" name="qformat" value="knb" />
......
141 141
  <xsl:template match="param[@name='keyword']">
142 142
     <li>
143 143
     <a>
144
       <xsl:attribute name="href">@servlet-path@?action=query&amp;operator=INTERSECT&amp;qformat=knb&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.1&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.0&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&amp;returnfield=dataset/title&amp;returnfield=citation/title&amp;returnfield=software/title&amp;returnfield=protocol/title&amp;returnfield=keyword&amp;returnfield=originator/individualName/surName&amp;returnfield=creator/individualName/surName&amp;returnfield=originator/organizationName&amp;returnfield=creator/organizationName&amp;keyword=<xsl:value-of select="."/></xsl:attribute>
144
       <xsl:attribute name="href">./metacat?action=query&amp;operator=INTERSECT&amp;qformat=knb&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.1&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.0&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&amp;returnfield=dataset/title&amp;returnfield=citation/title&amp;returnfield=software/title&amp;returnfield=protocol/title&amp;returnfield=keyword&amp;returnfield=originator/individualName/surName&amp;returnfield=creator/individualName/surName&amp;returnfield=originator/organizationName&amp;returnfield=creator/organizationName&amp;keyword=<xsl:value-of select="."/></xsl:attribute>
145 145
     <xsl:value-of select="."/>
146 146
     </a> (<xsl:value-of select="count(//param[.=current()])"/>)
147 147
     </li>
......
150 150
  <xsl:template match="param[@name='surName']">
151 151
     <li>
152 152
     <a>
153
       <xsl:attribute name="href">@servlet-path@?action=query&amp;operator=INTERSECT&amp;qformat=knb&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.0&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.1&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&amp;returnfield=dataset/title&amp;returnfield=citation/title&amp;returnfield=software/title&amp;returnfield=protocol/title&amp;returnfield=keyword&amp;returnfield=originator/individualName/surName&amp;returnfield=creator/individualName/surName&amp;returnfield=originator/organizationName&amp;returnfield=creator/organizationName&amp;surName=<xsl:value-of select="."/></xsl:attribute>
153
       <xsl:attribute name="href">./metacat?action=query&amp;operator=INTERSECT&amp;qformat=knb&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.0&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.1&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&amp;returnfield=dataset/title&amp;returnfield=citation/title&amp;returnfield=software/title&amp;returnfield=protocol/title&amp;returnfield=keyword&amp;returnfield=originator/individualName/surName&amp;returnfield=creator/individualName/surName&amp;returnfield=originator/organizationName&amp;returnfield=creator/organizationName&amp;surName=<xsl:value-of select="."/></xsl:attribute>
154 154
     <xsl:value-of select="."/>
155 155
     </a> (<xsl:value-of select="count(//param[.=current()])"/>)
156 156
     </li>
......
159 159
  <xsl:template match="param[@name='organizationName']">
160 160
     <li>
161 161
     <a>
162
       <xsl:attribute name="href">@servlet-path@?action=query&amp;operator=INTERSECT&amp;qformat=knb&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.0&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.1&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&amp;returnfield=dataset/title&amp;returnfield=citation/title&amp;returnfield=software/title&amp;returnfield=protocol/title&amp;returnfield=keyword&amp;returnfield=originator/individualName/surName&amp;returnfield=creator/individualName/surName&amp;returnfield=originator/organizationName&amp;returnfield=creator/organizationName&amp;organizationName=<xsl:value-of select="."/></xsl:attribute>
162
       <xsl:attribute name="href">./metacat?action=query&amp;operator=INTERSECT&amp;qformat=knb&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.0&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.1&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&amp;returnfield=dataset/title&amp;returnfield=citation/title&amp;returnfield=software/title&amp;returnfield=protocol/title&amp;returnfield=keyword&amp;returnfield=originator/individualName/surName&amp;returnfield=creator/individualName/surName&amp;returnfield=originator/organizationName&amp;returnfield=creator/organizationName&amp;organizationName=<xsl:value-of select="."/></xsl:attribute>
163 163
     <xsl:value-of select="."/>
164 164
     </a> (<xsl:value-of select="count(//param[.=current()])"/>)
165 165
     </li>
lib/style/common/login.xsl
37 37
   <html>
38 38
      <head>
39 39
        <link rel="stylesheet" type="text/css"
40
              href="@style-skins-path@/{$qformat}/{$qformat}.css" />
40
              href="./style/skins/{$qformat}/{$qformat}.css" />
41 41
        <script language="Javascript" type="text/JavaScript"
42
                src="@style-skins-path@/{$qformat}/{$qformat}.js" />
42
                src="./style/skins/{$qformat}/{$qformat}.js" />
43 43
        <script language="Javascript" type="text/JavaScript"
44
                src="@style-common-path@/branding.js" />
44
                src="./style/common/branding.js" />
45 45
      </head>
46 46

  
47 47
      <script language="JavaScript">
......
60 60
        <body>
61 61
        <xsl:attribute
62 62
          name="onload">javascript:timerId=setTimeout(search(
63
            '@cgi-prefix@/register-dataset.cgi?cfg=<xsl:value-of select="$qformat" />'), 
63
            '/cgi-bin/register-dataset.cgi?cfg=<xsl:value-of select="$qformat" />'), 
64 64
            2000)
65 65
        </xsl:attribute>
66 66
          <p class="text_plain">Welcome <xsl:value-of select="login/name"/>. You will be automatically redirected to the data registry.</p>
......
72 72
          <p class="text_plain"><xsl:value-of select="unauth_login/message" /></p>
73 73
    	</body>
74 74
      </xsl:if>
75
      <p class="text_plain">Return to the <a href="@systemidserver@@style-skins-path@/{$qformat}" target="_top">homepage</a>.
75
      <p class="text_plain">Return to the <a href="./style/skins/{$qformat}" target="_top">homepage</a>.
76 76
      </p>
77 77
      <script language="JavaScript">
78 78
          insertTemplateClosing();

Also available in: Unified diff