Project

General

Profile

« Previous | Next » 

Revision 4348

Added by daigle almost 16 years ago

Remove ant tokens

View differences:

data_use_agreement.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:param name="cgi-url" select='string("")'/>
33
  <xsl:param name="contextURL"/>
34
  <!-- This parameter gets overidden by the chosen default qformat -->
35
  <xsl:param name="qformat">default</xsl:param>
36
  <xsl:param name="servletURL"/>
32 37

  
33 38
  <!-- import the header, footer, and sidebars for customized styling -->
34
  <xsl:import href="@systemidserver@@style-skins-path@/@default-style@/templates/xsl/pageheader.xsl"/>
35
  <xsl:import href="@systemidserver@@style-skins-path@/@default-style@/templates/xsl/pagefooter.xsl"/>
36
  <xsl:import href="@systemidserver@@style-skins-path@/@default-style@/templates/xsl/page_leftsidebar.xsl"/>
37
  <xsl:import href="@systemidserver@@style-skins-path@/@default-style@/templates/xsl/page_rightsidebar.xsl"/>
38
  <xsl:import href="@systemidserver@@style-skins-path@/@default-style@/templates/xsl/loginbox.xsl"/>
39
  <xsl:import href="@systemidserver@@style-skins-path@/@default-style@/templates/xsl/searchbox.xsl"/>
39
  <xsl:import href="{$contextURL}/style/skins/sbclter/templates/xsl/pageheader.xsl"/>
40
  <xsl:import href="{$contextURL}/style/skins/sbclter/templates/xsl/pagefooter.xsl"/>
41
  <xsl:import href="{$contextURL}/style/skins/sbclter/templates/xsl/page_leftsidebar.xsl"/>
42
  <xsl:import href="{$contextURL}/style/skins/sbclter/templates/xsl/page_rightsidebar.xsl"/>
43
  <xsl:import href="{$contextURL}/style/skins/sbclter/templates/xsl/loginbox.xsl"/>
44
  <xsl:import href="{$contextURL}/style/skins/sbclter/templates/xsl/searchbox.xsl"/>
40 45

  
41 46
  <!-- send the resultset back to the browser styled in HTML -->
42 47
  <xsl:output method="html" encoding="iso-8859-1" indent="yes" standalone="yes"
......
53 58
   <html>
54 59
      <head>
55 60
        <link rel="stylesheet" type="text/css" 
56
              href="@style-skins-path@/{$qformat}/{$qformat}.css" />
61
              href="{$contextURL}/style/skins/sbclter/sbclter.css" />
57 62
        <script language="Javascript" type="text/JavaScript"
58
          src="@style-skins-path@/{$qformat}/{$qformat}.js" />
63
          src="{$contextURL}/style/skins/sbclter/sbclter.js" />
59 64
        <script language="Javascript" type="text/JavaScript"
60
          src="@style-common-path@/branding.js" />
65
          src="{$contextURL}/style/common/branding.js" />
61 66
					
62 67
        <script language="JavaScript">
63 68
          <![CDATA[
64 69
          function submitform(action,form_ref) {
65 70
              form_ref.action.value=action;
66 71
              form_ref.sessionid.value="]]><xsl:value-of select="$sessid" /><![CDATA[";
67
              form_ref.qformat.value="]]><xsl:value-of select="$qformat" /><![CDATA[";
72
              form_ref.qformat.value="sbclter";
68 73
              form_ref.submit();
69 74
          }
70 75
          ]]>
......
145 150
                        <xsl:variable name="docID" select="substring-after($URL1, '/')"/>
146 151
                        <xsl:attribute name="href">
147 152
                          <!-- this needs to be on one line ... -->
148
                          <xsl:text>@systemidserver@@servlet-path@?action=read&amp;qformat=</xsl:text><xsl:value-of select="$qformat"/><xsl:text>&amp;docid=</xsl:text><xsl:value-of select="$docID"/>
153
                          <xsl:text>{$servletURL}?action=read&amp;qformat=sbclter&amp;docid=</xsl:text><xsl:value-of select="$docID"/>
149 154
                        </xsl:attribute>
150 155
                      </xsl:when>
151 156
                      
......
153 158
                      <xsl:otherwise>
154 159
                        <xsl:attribute name="href">
155 160
                          <!-- this needs to be on one line -->
156
                          <xsl:text>@systemidserver@@servlet-path@?action=read&amp;qformat=</xsl:text><xsl:value-of select="$qformat"/><xsl:text>&amp;docid=</xsl:text><xsl:value-of select="$URL"/>
161
                          <xsl:text>{$servletURL}?action=read&amp;qformat=sbclter&amp;docid=</xsl:text><xsl:value-of select="$URL"/>
157 162
                        </xsl:attribute>
158 163
                      </xsl:otherwise>
159 164
                    </xsl:choose>
......
174 179
                  </xsl:choose>
175 180
                </xsl:attribute>
176 181
          
177
                  <form action="@servlet-path@" method="POST">
182
                  <form action="{$servletURL}" method="POST">
178 183
                    <input type="hidden" name="action" value="read"/>
179
               <input type="hidden" name="qformat" value="{$qformat}"/>
184
               <input type="hidden" name="qformat" value="sbclter"/>
180 185
                 <input type="hidden" name="sessionid"  value="{$sessid}"/>
181 186
                    <input type="hidden" name="docid">
182 187
                    <xsl:attribute name="value">
......
188 193
               </input>
189 194
                    </center>
190 195
                  </form>
191
              <form action="@cgi-prefix@/register-dataset.cgi" 
196
              <form action="{$cgi-url}/register-dataset.cgi" 
192 197
                    method="POST">
193 198
                    <input type="hidden" name="stage" value="modify"/>  
194
                   <input type="hidden" name="cfg" value="{$qformat}"/>
199
                   <input type="hidden" name="cfg" value="sbclter"/>
195 200
                   <input type="hidden" name="sessionid"  value="{$sessid}"/>
196 201
                <input type="hidden" name="docid">
197 202
                  <xsl:attribute name="value">
......
201 206
                    <input type="SUBMIT"  value=" Edit " name="Edit">
202 207
                 </input>
203 208
                  </form>
204
              <form action="@cgi-prefix@/register-dataset.cgi" 
209
              <form action="{$cgi-url}/register-dataset.cgi" 
205 210
                    method="POST">
206 211
                    <input type="hidden" name="stage" value="delete"/>  
207
                   <input type="hidden" name="cfg" value="{$qformat}"/>
212
                   <input type="hidden" name="cfg" value="sbclter"/>
208 213
                   <input type="hidden" name="sessionid"  value="{$sessid}"/>
209 214
                <input type="hidden" name="docid">
210 215
                  <xsl:attribute name="value">

Also available in: Unified diff