Project

General

Profile

« Previous | Next » 

Revision 4348

Added by daigle over 15 years ago

Remove ant tokens

View differences:

lib/style/skins/sbclter/sbclter.css
38 38
    background-color:           #ffffff;
39 39
    padding:                    0px;
40 40
    border:                     0px;
41
/*  background-image:           url('@systemidserver@@style-skins-path@/@default-style@/images/bg.gif');
41
/*  background-image:           url('images/bg.gif');
42 42
/*  background-position:        top left;     /* No NN4 */
43 43
/*  background-repeat:          repeat-y;     /* No NN4 */
44 44

  
......
69 69
    padding:                    0px;
70 70
    border:                     0px;
71 71
    background-color:           #ffffff;
72
/*  background-image:           url('@systemidserver@@style-skins-path@/@default-style@/images/data_catalog_header_bg.jpg'); */
72
/*  background-image:           url('images/data_catalog_header_bg.jpg'); */
73 73

  
74 74
    height:                     60px; /* begin hack for ie5win */
75 75
    width:                      100%;
......
108 108
    margin:                     0px 0px 0px 0px; /* T R B L */
109 109
    padding:                    0px;
110 110
    border:                     0px;
111
    background-image:           url('@systemidserver@@style-skins-path@/@default-style@/images/sbclter-logo.gif');
111
    background-image:           url('images/sbclter-logo.gif');
112 112
    background-position:        top left;     /* No NN4 */
113 113
    background-repeat:          no-repeat;         /* No NN4 */
114 114
    width:                      99px; /* begin hack for 1e5win */
......
131 131
    margin:                     0px 0px 0px 0px; /* T R B L */
132 132
    padding:                    0px;
133 133
    border:                     0px;
134
    background-image:           url('@systemidserver@@style-skins-path@/@default-style@/images/sbclter-coastal-header.jpg');
134
    background-image:           url('images/sbclter-coastal-header.jpg');
135 135
    background-position:        top right;     /* No NN4 */
136 136
    background-repeat:          no-repeat;         /* No NN4 */
137 137
    height:                     60px; /* begin hack for 1e5win */
......
153 153
    padding:                    0px;
154 154
    border:                     0px;
155 155
    background-color:           #ffffff;
156
/*  background-image:           url('@systemidserver@@style-skins-path@/@default-style@/images/data_catalog_header_search.jpg') */
156
/*  background-image:           url('images/data_catalog_header_search.jpg') */
157 157
    background-position:        top left;     /* No NN4 */
158 158
    background-repeat:          no-repeat;         /* No NN4 */
159 159
/*  height:                     60px; /* begin hack for ie5win */
lib/style/skins/sbclter/publications.jsp
56 56
    </style>
57 57
    <meta http-equiv="Content-Type" content="text/html" charset="utf-8" />
58 58
    <link rel="stylesheet" type="text/css"
59
          href="@style-skins-path@/@default-style@/@default-style@.css" />
59
          href="<%= STYLE_SKINS_URL %>/sbclter/sbclter.css" />
60 60
  <!-- thanks to son-of-suckerfish javascript for making the hover menus work in IE
61 61
  see http://www.htmldog.com/articles/suckerfish/dropdowns/  -->
62 62
  <script type="text/javascript"><!--//--><![CDATA[//><!--
......
90 90
  
91 91
   <!-- this statement for importing directly into a variable.  -->
92 92
   <%--
93
  <c:import url="@systemidserver@/@servlet-path@?action=read&qformat=xml&docid=sbc_pubs_test.1" charEncoding="UTF-8" var="xmldoc" />  
93
  <c:import url="${SERVLET_URL}?action=read&qformat=xml&docid=sbc_pubs_test.1" charEncoding="UTF-8" var="xmldoc" />  
94 94
  --%>
95 95
   
96 96
  <!-- this statement used when using reader -->
97
  <c:import url="@systemidserver@/@servlet-path@?action=read&qformat=xml&docid=sbc_pubs_test.1" 
97
  <c:import url="${SERVLET_URL}?action=read&qformat=xml&docid=sbc_pubs_test.1" 
98 98
	varReader="xmlSource" >
99 99
	<x:parse var="xmldoc" xml="${xmlSource}" scope="application" />
100 100
  </c:import>
lib/style/skins/sbclter/sbclter.xml
4 4
    The location of the default XSL stylesheet that is used when an unknown XML
5 5
    document type is encountered but needs to be displayed in HTML.
6 6
  -->
7
  <default-style>@systemidserver@@style-common-path@/ascii-treeview.xsl</default-style>
7
  <default-style>/style/common/ascii-treeview.xsl</default-style>
8 8

  
9 9
  <!-- Resultset XSL mapping:
10 10
    The location of the XSL stylesheet that is used to display the results of a
......
12 12
  -->
13 13
  <doctype publicid="-//NCEAS//resultset//EN">
14 14
    <target
15
    publicid="-//W3C//HTML//EN">@systemidserver@@style-skins-path@/@default-style@/templates/xsl/resultset.xsl</target>
15
    publicid="-//W3C//HTML//EN">/style/skins/sbclter/templates/xsl/resultset.xsl</target>
16 16
  </doctype>
17 17

  
18
  <!-- EML 2.0.0 XSL mapping:
19
    The location of the XSL stylesheet that is used to display an EML 2.0.0 XML
20
    file that is returned from the metadata catalog.
21
  
22 18
  <doctype publicid="eml://ecoinformatics.org/eml-2.0.0">
23
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml/eml-2.0.0.xsl</target>
24
  </doctype> -->
25

  
26
  <doctype publicid="eml://ecoinformatics.org/eml-2.0.0">
27
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-skins-path@/@default-style@/eml/eml-2.0.0.xsl</target>
19
    <target publicid="-//W3C//HTML//EN">/style/shared/eml-2.0.0/eml.xsl</target>
28 20
  </doctype>
29 21

  
30 22
  <!-- EML 2.0.1 XSL mapping:
......
32 24
    file that is returned from the metadata catalog.
33 25
  -->
34 26
  <doctype publicid="eml://ecoinformatics.org/eml-2.0.1">
35
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-skins-path@/@default-style@/eml/eml-2.0.0.xsl</target>
27
    <target publicid="-//W3C//HTML//EN">/style/shared/eml-2.0.0/eml.xsl</target>
36 28
  </doctype>
37 29

  
38 30
  <!-- EML 2.1.0 XSL mapping:
......
40 32
    file that is returned from the metadata catalog.
41 33
  -->
42 34
  <doctype publicid="eml://ecoinformatics.org/eml-2.1.0">
43
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-skins-path@/@default-style@/eml/eml-2.0.0.xsl</target>
35
    <target publicid="-//W3C//HTML//EN">/style/shared/eml.xsl</target>
44 36
  </doctype>
45 37

  
46 38

  
......
51 43
	-->
52 44

  
53 45
  <doctype publicid="citationList">
54
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-skins-path@/@default-style@/templates/xsl/sbcCitationList.xsl</target>
46
    <target publicid="-//W3C//HTML//EN">/style/skins/sbclter/templates/xsl/sbcCitationList.xsl</target>
55 47
  </doctype>
56 48

  
57 49
</style-set>
lib/style/skins/sbclter/templates/xsl/resultset.xsl
42 42
  <xsl:param name="servletURL"/>
43 43
  
44 44
  <!-- import the header, footer, and sidebars for customized styling -->
45
  <xsl:import href="{$contextURL}/style/skins/{$qformat}/templates/xsl/pageheader.xsl"/>
46
  <xsl:import href="{$contextURL}/style/skins/{$qformat}/templates/xsl/pagefooter.xsl"/>
47
  <xsl:import href="{$contextURL}/style/skins/{$qformat}/templates/xsl/page_leftsidebar.xsl"/>
48
  <xsl:import href="{$contextURL}/style/skins/{$qformat}/templates/xsl/page_rightsidebar.xsl"/>
49
  <xsl:import href="{$contextURL}/style/skins/{$qformat}/templates/xsl/loginbox.xsl"/>
50
  <xsl:import href="{$contextURL}/style/skins/{$qformat}/templates/xsl/searchbox.xsl"/>
45
  <xsl:import href="{$contextURL}/style/skins/sbclter/templates/xsl/pageheader.xsl"/>
46
  <xsl:import href="{$contextURL}/style/skins/sbclter/templates/xsl/pagefooter.xsl"/>
47
  <xsl:import href="{$contextURL}/style/skins/sbclter/templates/xsl/page_leftsidebar.xsl"/>
48
  <xsl:import href="{$contextURL}/style/skins/sbclter/templates/xsl/page_rightsidebar.xsl"/>
49
  <xsl:import href="{$contextURL}/style/skins/sbclter/templates/xsl/loginbox.xsl"/>
50
  <xsl:import href="{$contextURL}/style/skins/sbclter/templates/xsl/searchbox.xsl"/>
51 51

  
52 52
  <!-- send the resultset back to the browser styled in HTML -->
53 53
  <xsl:output method="html" encoding="iso-8859-1" indent="yes" standalone="yes"
......
62 62
   <html>
63 63
      <head>
64 64
        <link rel="stylesheet" type="text/css" 
65
              href="{$contextURL}/style/skins/{$qformat}/{$qformat}.css" />
65
              href="{$contextURL}/style/skins/sbclter/sbclter.css" />
66 66
        <script language="Javascript" type="text/JavaScript"
67
          src="{$contextURL}/style/skins/{$qformat}/{$qformat}.js" />
67
          src="{$contextURL}/style/skins/sbclter/sbclter.js" />
68 68
        <script language="Javascript" type="text/JavaScript"
69
          src="{$contextURL}/style/common/{$qformat}/branding.js" />
69
          src="{$contextURL}/style/common/branding.js" />
70 70
        <script language="JavaScript">
71 71
          <![CDATA[
72 72
          function submitform(action,form_ref) {
73 73
              form_ref.action.value=action;
74 74
              form_ref.sessionid.value="]]><xsl:value-of select="$sessid" /><![CDATA[";
75
              form_ref.qformat.value="]]><xsl:value-of select="$qformat" /><![CDATA[";
75
              form_ref.qformat.value="sbclter";
76 76
              form_ref.submit();
77 77
          }
78 78
          ]]>
......
81 81
          <![CDATA[  
82 82
          function view_entity(form_ref) {
83 83
               form_ref.sessionid.value="]]><xsl:value-of select="$sessid" /><![CDATA[";
84
              form_ref.qformat.value="]]><xsl:value-of select="$qformat" /><![CDATA[";
84
              form_ref.qformat.value="sbclter";
85 85
              form_ref.submit();
86 86
          }
87 87
            ]]>          
......
273 273
                      <xsl:variable name="URLsubstr" select="substring-after($URL, 'ecogrid://')"/>
274 274
                      <xsl:variable name="docID" select="substring-after($URLsubstr, '/')"/>
275 275
                       <xsl:variable name="URL1">
276
                       	<xsl:text>{$servletURL}?action=read&amp;qformat=</xsl:text><xsl:value-of select="$qformat"/><xsl:text>&amp;docid=</xsl:text><xsl:value-of select="$docID"/>
276
                       	<xsl:text>{$servletURL}?action=read&amp;qformat=sbclter</xsl:text><xsl:text>&amp;docid=</xsl:text><xsl:value-of select="$docID"/>
277 277
                           
278 278
                        <!-- <xsl:text>http://sbcdata.lternet.edu/catalog/metacat?action=read&amp;qformat=</xsl:text>
279 279
                        	<xsl:value-of select="$qformat"/>
......
289 289
                         <!-- 
290 290
                         else, assume the url content is the just name of a metacat table -->
291 291
                       <xsl:variable name="URL1">
292
                          <xsl:text>{$servletURL}?action=read&amp;qformat=</xsl:text>
293
                           <xsl:value-of select="$qformat"/>
292
                          <xsl:text>{$servletURL}?action=read&amp;qformat=sbclter</xsl:text>
294 293
                           <xsl:text>&amp;docid=</xsl:text>
295 294
                           <xsl:value-of select="$URL"/>
296 295
                       </xsl:variable>
......
320 319
          
321 320
                  <form action="{$servletURL}" method="POST">
322 321
                    <input type="hidden" name="action" value="read"/>
323
               <input type="hidden" name="qformat" value="{$qformat}"/>
322
               <input type="hidden" name="qformat" value="sbclter"/>
324 323
                 <input type="hidden" name="sessionid"  value="{$sessid}"/>
325 324
                    <input type="hidden" name="docid">
326 325
                    <xsl:attribute name="value">
......
335 334
              <form action="{$cgi-url}/register-dataset.cgi" 
336 335
                    method="POST">
337 336
                    <input type="hidden" name="stage" value="modify"/>  
338
                   <input type="hidden" name="cfg" value="{$qformat}"/>
337
                   <input type="hidden" name="cfg" value="sbclter"/>
339 338
                   <input type="hidden" name="sessionid"  value="{$sessid}"/>
340 339
                <input type="hidden" name="docid">
341 340
                  <xsl:attribute name="value">
......
348 347
              <form action="{$cgi-url}/register-dataset.cgi" 
349 348
                    method="POST">
350 349
                    <input type="hidden" name="stage" value="delete"/>  
351
                   <input type="hidden" name="cfg" value="{$qformat}"/>
350
                   <input type="hidden" name="cfg" value="sbclter"/>
352 351
                   <input type="hidden" name="sessionid"  value="{$sessid}"/>
353 352
                <input type="hidden" name="docid">
354 353
                  <xsl:attribute name="value">
lib/style/skins/sbclter/templates/xsl/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">
lib/style/skins/sbclter/templates/xsl/sbcCitationList.xsl
48 48
        normalize-space(pubDate)]" use="concat(pubDate,':',creator/individualName/surName)"/>
49 49
    <!--
50 50
    
51
      create a path to the tooltip.js (get tokens in for this)      @style-skins-path@/{$qformat}  -->
51
      create a path to the tooltip.js (get tokens in for this)      /style/skins/{$qformat}  -->
52 52
    <xsl:variable name="javascript_path">/catalog/style/skins/sbclter</xsl:variable>
53 53
    <!--
54 54
    
......
57 57
    <xsl:variable name="style">sbclter</xsl:variable>
58 58
    <xsl:variable name="metacat_url">
59 59
        <xsl:value-of select="$catalog"/>
60
        <xsl:text>metacat?action=read&amp;qformat=</xsl:text>
61
        <xsl:value-of select="$style"/>
60
        <xsl:text>metacat?action=read&amp;qformat=sbclter</xsl:text>
62 61
        <xsl:text>&amp;docid=</xsl:text>
63 62
        <!-- docid attached later -->
64 63
    </xsl:variable>
lib/style/skins/sbclter/templates/xsl/searchbox.xsl
31 31
<xsl:stylesheet 
32 32
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" 
33 33
  xmlns:url="http://www.jclark.com/xt/java/java.net.URLEncoder" exclude-result-prefixes="url">
34
  
35
  <!-- This parameter gets overidden by the chosen default qformat -->
36
  <xsl:param name="qformat">default</xsl:param>
37
  <xsl:param name="servletURL"/>
34 38

  
35 39
  <xsl:output method="html" encoding="iso-8859-1" indent="yes" standalone="yes"
36 40
    doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
......
77 81
            </pathquery>]]>   <!-- end of cdata query -->
78 82
          </xsl:variable>
79 83
          <xsl:if test="function-available('url:encode')">
80
            <a href="@systemidserver@@servlet-path@?action=squery&amp;qformat=@default-style@&amp;query={url:encode($my_query)}">
84
            <a href="{$servletURL}?action=squery&amp;qformat=sbclter&amp;query={url:encode($my_query)}">
81 85
              <xsl:text>All SBCLTER Data Packages </xsl:text> 
82 86
            </a>
83 87
          </xsl:if>         
lib/style/skins/sbclter/templates/xsl/page_leftsidebar.xsl
53 53
      <img src="{$contextURL}/style/skins/{$qformat}/images/nav_search_orange.jpg" alt=""/>
54 54
      <img src="{$contextURL}/style/skins/{$qformat}/images/nav_kelp.jpg" alt="" />
55 55
    </div>
56
    <div id="left_sidebar"><img src="{$contextURL}/style/skins/{$qformat}/images/nav_data_catalog_white.jpg" alt="data catalog" /><img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_search_orange.jpg" alt=""/><img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_kelp.jpg" alt="" /></div>
56
    <div id="left_sidebar"><img src="{$contextURL}/style/skins/{$qformat}/images/nav_data_catalog_white.jpg" alt="data catalog" /><img src="{$contextURL}/style/skins/{$qformat}/images/nav_search_orange.jpg" alt=""/><img src="{$contextURL}/style/skins/{$qformat}/images/nav_kelp.jpg" alt="" /></div>
57 57
    -->
58 58
   
59 59
    <!--
lib/style/skins/sbclter/templates/xsl/loginbox.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="contextURL"/>
33
  <!-- This parameter gets overidden by the chosen default qformat -->
34
  <xsl:param name="qformat">default</xsl:param>
32 35

  
33 36
  <xsl:output method="html" encoding="iso-8859-1" indent="yes" standalone="yes"
34 37
    doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
......
40 43
      <div id="loginbox">
41 44
        <!--
42 45
        <form name="loginForm" method="POST" 
43
          action="@systemidserver@@style-skins-path@/@default-style@/index.jsp">
46
          action="{$contextURL}/style/skins/{$qformat}/index.jsp">
44 47
          <label class="login"><%=loginStatus%></label>
45 48
          <% if (!isLoggedIn) {%> 
46 49
          <label class="login" for="username">username</label>
......
54 57
          <input type="hidden" name="action" value="login">
55 58
          <input type="hidden" name="ldapusername"  value="">
56 59
          <input type="hidden" name="organization"  value="LTER">
57
          <input type="hidden" name="qformat" value="@default-style@">
60
          <input type="hidden" name="qformat" value="{$qformat}">
58 61
          <input type="hidden" name="enableediting" value="true">
59 62
        </form> 
60 63
        -->
lib/style/skins/sbclter/templates/xsl/pageheader.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="httpServer"/>
32 33

  
33 34
  <xsl:output method="html" encoding="iso-8859-1" indent="yes" standalone="yes"
34 35
    doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
......
78 79
<!-- use these when you have a second url token
79 80
      <xsl:comment>begin the header-memu</xsl:comment>
80 81
      <div class="header-menu">
81
        <a class="menu" href="@systemidserver@/index.html">Home</a> |
82
        <a class="menu" href="@systemidserver@/sites/index.html">Site</a> |
83
        <a class="menu" href="@systemidserver@/people/index.html">People</a> |
84
        <a class="menu" href="@systemidserver@/research/index.html">Research</a> |
85
        <a class="menu" href="@systemidserver@/data/index.html">Data</a> |
86
        <a class="menu" href="@systemidserver@/education/index.html">Education</a> |
87
        <a class="menu" href="@systemidserver@/affiliates/index.html">Affiliates</a>
82
        <a class="menu" href="{$httpServer}/index.html">Home</a> |
83
        <a class="menu" href="{$httpServer}/sites/index.html">Site</a> |
84
        <a class="menu" href="{$httpServer}/people/index.html">People</a> |
85
        <a class="menu" href="{$httpServer}/research/index.html">Research</a> |
86
        <a class="menu" href="{$httpServer}/data/index.html">Data</a> |
87
        <a class="menu" href="{$httpServer}/education/index.html">Education</a> |
88
        <a class="menu" href="{$httpServer}/affiliates/index.html">Affiliates</a>
88 89
      </div>                                                  
89 90
      <xsl:comment>end the header-memu</xsl:comment>
90 91
  -->
lib/style/skins/sbclter/templates/jsp/table_dp_list.tmpl
2 2
 <c:forEach items="${dp_group}" var="current_dp">
3 3
  <tr>
4 4
   <td>
5
		<a href="http://@httpserver@@servlet-path@?action=read&qformat=@default-style@&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})
5
		<a href="<%= SERVLET_URL %>?action=read&qformat=sbclter&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})
6 6
		</td>
7 7
  </tr>
8 8
 </c:forEach>
lib/style/skins/sbclter/templates/jsp/header.jsp
35 35
      //*/
36 36
%>
37 37

  
38

  
39

  
40 38
<%@ include file="portal_settings.jsp"%>
41 39
<%@ include file="include_session_vars.jsp"%>
42 40
<%
......
54 52
    <title>SBCLTER Data Catalog</title>
55 53
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
56 54
    <link rel="stylesheet" type="text/css"
57
          href="@style-skins-path@/@default-style@/@default-style@.css" />
55
          href="<%=STYLE_SKINS_URL%>/sbclter/sbclter.css" />
58 56
  </head>
59 57

  
60 58
  <body>
......
85 83

  
86 84
    <!--begin the left sidebar area-->
87 85
    <!--
88
    <div id="left_sidebar"><img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_data_catalog_white.jpg" alt="data catalog" /><img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_search_orange.jpg" alt=""/><img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_kelp.jpg" alt="" /></div>
86
    <div id="left_sidebar"><img src="<%=STYLE_SKINS_URL%>/sbclter/images/nav_data_catalog_white.jpg" alt="data catalog" /><img src="<%=STYLE_SKINS_URL%>/sbclter/images/nav_search_orange.jpg" alt=""/><img src="<%=STYLE_SKINS_URL%>/sbclter/images/nav_kelp.jpg" alt="" /></div>
89 87
    -->
90 88
   
91 89
    <!-- begin content -->
......
110 108
      <!--
111 109
      <div id="loginbox">
112 110
        <form name="loginForm" method="POST" 
113
          action="@systemidserver@@style-skins-path@/@default-style@/index.jsp">
111
          action="<%=STYLE_SKINS_URL%>/sbclter/index.jsp">
114 112
          <label class="login"><%=loginStatus%></label>
115 113
          <% if (!isLoggedIn) {%> 
116 114
          <label class="login" for="username">username</label>
......
124 122
          <input type="hidden" name="action" value="login">
125 123
          <input type="hidden" name="ldapusername"  value="">
126 124
          <input type="hidden" name="organization"  value="LTER">
127
          <input type="hidden" name="qformat" value="@default-style@">
125
          <input type="hidden" name="qformat" value="sbclter">
128 126
          <input type="hidden" name="enableediting" value="true">
129 127
        </form> 
130 128
      </div>
......
147 145
        <tr>
148 146
        <td>
149 147
	<a 
150
	href="@systemidserver@@servlet-path@?action=squery&amp;qformat=@default-style@&amp;query=
148
	href="<%= SERVLET_URL %>?action=squery&amp;qformat=sbclter&amp;query=
151 149
      	<%= java.net.URLEncoder.encode(
152 150
	"<?xml version=\"1.0\"?>" +
153 151
         "<pathquery version=\"1.2\">" +
......
171 169
        <br />
172 170

  
173 171
	<a 
174
	href="@systemidserver@@servlet-path@?action=squery&amp;qformat=@default-style@&amp;query=
172
	href="<%= SERVLET_URL %>?action=squery&amp;qformat=sbclter&amp;query=
175 173
      	<%= java.net.URLEncoder.encode(
176 174
	"<?xml version=\"1.0\"?>" +
177 175
         "<pathquery version=\"1.2\">" +
......
196 194
             
197 195
             
198 196
	<a 
199
	href="@systemidserver@@servlet-path@?action=squery&amp;qformat=@default-style@&amp;query=
197
	href="<%= SERVLET_URL %>?action=squery&amp;qformat=sbclter&amp;query=
200 198
      	<%= java.net.URLEncoder.encode(
201 199
	"<?xml version=\"1.0\"?>" +
202 200
         "<pathquery version=\"1.2\">" +
......
221 219
            
222 220
            
223 221
        <a 
224
	href="@systemidserver@@servlet-path@?action=squery&amp;qformat=@default-style@&amp;query=
222
	href="<%= SERVLET_URL %>?action=squery&amp;qformat=sbclter&amp;query=
225 223
      	<%= java.net.URLEncoder.encode(
226 224
	"<?xml version=\"1.0\"?>" +
227 225
         "<pathquery version=\"1.2\">" +
lib/style/skins/sbclter/templates/jsp/include_session_vars.jsp
54 54
  Metacat     metacat                  = null;
55 55
  HttpSession rfSession                = null;
56 56
  boolean     isLoggedIn               = false;
57
//String      relativeRoot             = "@style-skins-path@/sbclter";
58
//String      knbSiteUrl               = "@knb-site-url@";
59
//String      include_portalhead_title = null;
60 57
  
61 58
  //////////////////////////////////////////////////////////////////////////////  
62 59
  
lib/style/skins/sbclter/templates/jsp/portal_settings.jsp
28 28
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
29 29
  */
30 30
%>
31

  
32
<%@ include file="../../../../common/common-settings.jsp"%>
33
<%@ include file="../../../../common/configure-check.jsp"%>
34

  
31 35
<% 
32 36

  
33 37
// GLOBAL CONSTANTS FOR KNB PORTAL PAGE /////////////////////////////////////
34 38

  
35
  // URL of metacat to be used for login & searching:
36
//  String      METACAT_URL           = "http://knb.ecoinformatics.org/knb/servlet/metacat";
37
    String      METACAT_URL           = "@systemidserver@@servlet-path@";
38

  
39 39
  // default title for :
40 40
  String      DEFAULT_PORTALHEAD_TITLE = "NEW Biocomplexity Data Search";
41 41
  
42
  // label for logout form button when user *is* logged in:
43
  String      LOGOUT_LABEL          = "logout";
44
  
45
  // label for login form button when user is *not* logged in:
46
  String      LOGIN_LABEL           = "login";
47
  
48
  // last part of LDAP username to be appended after organization
49
  String      LDAP_DOMAIN           = ",dc=ecoinformatics,dc=org";
50
  
51 42
  // if true, POST variables echoed at bottom of client's browser window in a big yellow box
52
    boolean     DEBUG_TO_BROWSER      = false;
43
  // Set this value to override the global value
44
  //  boolean     DEBUG_TO_BROWSER      = false;
53 45
  
54
    String      COMMON_SEARCH_METACAT_POST_FIELDS   =
55
               "<input type=\"hidden\" name=\"action\"        value=\"query\"\\>\n"
56
              +"<input type=\"hidden\" name=\"qformat\"       value=\"sbclter\"\\>\n"
57
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"creator/individualName/surName\"\\>\n"
58
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"creator/organizationName\"\\>\n"
59
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"dataset/title\"\\>\n"
60
//              +"<input type=\"hidden\" name=\"returnfield\"   value=\"title\"\\>\n"
61
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"keyword\"\\>\n"
62
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"dataset/dataTable/distribution/online/url\"\\>\n"
63
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"dataset/dataTable/distribution/inline\"\\>\n"
64
              +"<input type=\"hidden\" name=\"returndoctype\" value=\"eml://ecoinformatics.org/eml-2.0.0\"\\>\n";
65

  
66
  String      SIMPLE_SEARCH_METACAT_POST_FIELDS   =
67
                "<input type=\"hidden\" name=\"operator\"      value=\"UNION\"\\>\n"
68
                +COMMON_SEARCH_METACAT_POST_FIELDS;
69

  
70
  String      ADVANCED_SEARCH_METACAT_POST_FIELDS   =
71
                "<input type=\"hidden\" name=\"operator\"      value=\"INTERSECT\"\\>\n"
72
                +COMMON_SEARCH_METACAT_POST_FIELDS;
73
                              
74
/*******************************************************************************/
75
/*******************************************************************************/
46
  // Add any local post fields to COMMON_SEARCH_METACAT_POST_FIELDS, 
47
  // SIMPLE_SEARCH_METACAT_POST_FIELDS, and ADVANCED_SEARCH_METACAT_POST_FIELD here
48
  String      COMMON_SEARCH_METACAT_POST_FIELDS  +=
49
              + "<input type=\"hidden\" name=\"qformat\"       value=\"sbclter\"\\>\n"
50
              + "<input type=\"hidden\" name=\"returnfield\"   value=\"dataset/dataTable/distribution/online/url\"\\>\n"
51
              + "<input type=\"hidden\" name=\"returnfield\"   value=\"dataset/dataTable/distribution/inline\"\\>\n";
52
                            
76 53
%>
lib/style/skins/sbclter/publications.html
40 40
  var start = fullURL.indexOf("?");
41 41
  var params = "";
42 42
  if (start > 0) params = fullURL.substring(start,fullURL.length);
43
  // the ant build script will substitute the tokens in below that are wrapped in '@ ... @'
44
  document.location.href="@systemidserver@@style-skins-path@/@default-style@/index.jsp" + params;
43
  document.location.href="./index.jsp" + params;
45 44
}
46 45
</script>
47 46
</head>
lib/style/skins/sbclter/index.jsp
21 21
        @import url("http://sbc.lternet.edu/sbclter_wrapper.css");
22 22
  </style>
23 23
  <link rel="stylesheet" type="text/css"
24
          href="@style-skins-path@/@default-style@/@default-style@.css" /> 
24
          href="<%=STYLE_SKINS_URL%>/sbclter/sbclter.css" /> 
25 25

  
26 26
  <!-- thanks to son-of-suckerfish javascript for making the hover menus work in IE
27 27
  see http://www.htmldog.com/articles/suckerfish/dropdowns/  -->
......
88 88
        <tr>
89 89
          <td>Show metadata for all SBC LTER datasets:</td>
90 90
        <td>           
91
        <a	href="@systemidserver@@servlet-path@?action=squery&amp;qformat=@default-style@&amp;query=
91
        <a	href="<%=SERVLET_URL%>?action=squery&amp;qformat=sbclter&amp;query=
92 92
      	<%= java.net.URLEncoder.encode(
93 93
	"<?xml version=\"1.0\"?>" +
94 94
         "<pathquery version=\"1.2\">" +
......
158 158
						<table class="group  onehundred_percent">
159 159
						 <c:forEach items="${streamchemistry_dps}" var="current_dp">
160 160
  						<tr>
161
   						<td><a href="http://@httpserver@@servlet-path@?action=read&qformat=@default-style@&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
161
   						<td><a href="<%=SERVLET_URL%>?action=read&qformat=sbclter&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
162 162
              <td class="text_align_right">
163 163
               <c:if test="${!empty current_dp.queryapp_controller}">
164 164
                  <a href="http://sbclter.msi.ucsb.edu/${current_dp.queryapp_controller}">Browse station map and/or query data</a> 
......
173 173
                <table class="group  onehundred_percent">
174 174
                <c:forEach items="${hydrology_dps}" var="current_dp">
175 175
                  <tr>
176
                  <td><a href="http://@httpserver@@servlet-path@?action=read&qformat=@default-style@&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
176
                  <td><a href="<%=SERVLET_URL%>?action=read&qformat=sbclter&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
177 177
            <td class="text_align_right">
178 178
             <c:if test="${!empty current_dp.queryapp_controller}">
179 179
                  <a href="http://sbclter.msi.ucsb.edu/${current_dp.queryapp_controller}">Browse station map and/or query data</a> 
......
187 187
						     <table class="group  onehundred_percent">
188 188
                <c:forEach items="${gis_dps}" var="current_dp">
189 189
                  <tr>
190
                  <td><a href="http://@httpserver@@servlet-path@?action=read&qformat=@default-style@&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
190
                  <td><a href="<%=SERVLET_URL%>?action=read&qformat=sbclter&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
191 191
            <td class="text_align_right">
192 192
            <c:if test="${!empty current_dp.queryapp_controller}">
193 193
                  <a href="http://sbclter.msi.ucsb.edu/${current_dp.queryapp_controller}">Browse station map and/or query data</a> 
......
203 203
								<table class="group  onehundred_percent">
204 204
  							<c:forEach items="${biogeochemistry_core_dps}" var="current_dp">
205 205
    							<tr>
206
									<td><a href="http://@httpserver@@servlet-path@?action=read&qformat=@default-style@&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
206
									<td><a href="<%=SERVLET_URL%>?action=read&qformat=sbclter&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
207 207
                  <td  class="text_align_right">
208 208
                   <c:if test="${!empty current_dp.queryapp_controller}">
209 209
                  <a href="http://sbclter.msi.ucsb.edu/${current_dp.queryapp_controller}">Browse station map and/or query data</a> 
......
216 216
								<table class="group  onehundred_percent">
217 217
  							<c:forEach items="${biogeochemistry_campaign_dps}" var="current_dp">
218 218
    							<tr>
219
									<td><a href="http://@httpserver@@servlet-path@?action=read&qformat=@default-style@&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
219
									<td><a href="<%=SERVLET_URL%>?action=read&qformat=sbclter&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
220 220
                  <td class="text_align_right">
221 221
                   <c:if test="${!empty current_dp.queryapp_controller}">
222 222
                  <a href="http://sbclter.msi.ucsb.edu/${current_dp.queryapp_controller}">Browse station map and/or query data</a> 
......
243 243
            <table class="group  onehundred_percent">
244 244
             <c:forEach items="${biomasspp_kelp_dps}" var="current_dp">
245 245
              <tr>
246
              <td><a href="http://@httpserver@@servlet-path@?action=read&qformat=@default-style@&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
246
              <td><a href="<%=SERVLET_URL%>?action=read&qformat=sbclter&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
247 247
              <td class="text_align_right">
248 248
               <c:if test="${!empty current_dp.queryapp_controller}">
249 249
                  <a href="http://sbclter.msi.ucsb.edu/${current_dp.queryapp_controller}">Browse station map and/or query data</a> 
......
258 258
                <table class="group  onehundred_percent">
259 259
                <c:forEach items="${biomasspp_phyto_dps}" var="current_dp">
260 260
                  <tr>
261
                  <td><a href="http://@httpserver@@servlet-path@?action=read&qformat=@default-style@&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
261
                  <td><a href="<%=SERVLET_URL%>?action=read&qformat=sbclter&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
262 262
            <td class="text_align_right">
263 263
             <c:if test="${!empty current_dp.queryapp_controller}">
264 264
                  <a href="http://sbclter.msi.ucsb.edu/${current_dp.queryapp_controller}">Browse station map and/or query data</a> 
......
282 282
            <table class="group  onehundred_percent">
283 283
             <c:forEach items="${population_dps}" var="current_dp">
284 284
              <tr>
285
              <td><a href="http://@httpserver@@servlet-path@?action=read&qformat=@default-style@&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
285
              <td><a href="<%=SERVLET_URL%>?action=read&qformat=sbclter&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
286 286
              <td class="text_align_right">
287 287
                <c:if test="${!empty current_dp.queryapp_controller}">
288 288
                  <a href="http://sbclter.msi.ucsb.edu/${current_dp.queryapp_controller}">Browse station map and/or query data</a> 
......
307 307
            <table class="group  onehundred_percent">
308 308
             <c:forEach items="${foodweb_dps}" var="current_dp">
309 309
              <tr>
310
              <td><a href="http://@httpserver@@servlet-path@?action=read&qformat=@default-style@&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
310
              <td><a href="<%=SERVLET_URL%>?action=read&qformat=sbclter&docid=${current_dp.docid}">${current_dp.name}</a> (${current_dp.docid})</td>
311 311
              <td class="text_align_right">
312 312
               <c:if test="${!empty current_dp.queryapp_controller}">
313 313
                  <a href="http://sbclter.msi.ucsb.edu/${current_dp.queryapp_controller}">Browse station map and/or query data</a> 
lib/style/skins/sbclter/index.html
40 40
  var start = fullURL.indexOf("?");
41 41
  var params = "";
42 42
  if (start > 0) params = fullURL.substring(start,fullURL.length);
43
  // the ant build script will substitute the tokens in below that are wrapped in '@ ... @'
44
 //  document.location.href="@systemidserver@@style-skins-path@/@default-style@/index.jsp" + params;
45
  document.location.href="@systemidserver@/data/dataCollectionsPortal.html" + params;
43
 //  document.location.href="./index.jsp" + params;
44
  document.location.href="./data/dataCollectionsPortal.html" + params;
46 45
}
47 46
</script>
48 47
</head>

Also available in: Unified diff