Project

General

Profile

« Previous | Next » 

Revision 5143

I've replaced hard-coded URL strings in the PARC skin files with their appropriate variables in JSP, TT2, and XSL.

View differences:

lib/style/skins/parc/parc-common.xsl
84 84
						</a>
85 85
					</li>
86 86
					<li class="collapsed">
87
						<a href="http://data.piscoweb.org/catalog/style/skins/parc">
87
						<a href="{$contextURL}">
88 88
						   Repository</a>
89 89
					</li>
90 90
					<li class="collapsed">
lib/style/skins/parc/parc-login.xsl
61 61
          <ul id="main_nav">
62 62
              <ul class="menu">
63 63
                  <li class="collapsed"><a href="http://www.palmyraresearch.org">Home</a></li>
64
                  <li class="collapsed"><a href="http://data.piscoweb.org/catalog/style/skins/parc">Repository</a></li>
64
                  <li class="collapsed"><a href="{$contextURL}">Repository</a></li>
65 65
                  <li class="collapsed"><a href="{$cgi-prefix}/register-dataset.cgi?cfg=parc">Register</a></li>
66 66
            </ul>
67 67
        </ul>
lib/style/skins/parc/index.jsp
53 53
    <div id="navigation">
54 54
        <ul id="main_nav">
55 55
            <ul class="menu">
56
                <li class="collapsed"><a href="http://www.palmyraresearch.org">Home</a></li>
57
                <li class="collapsed"><a href="http://data.piscoweb.org/catalog/style/skins/parc">Repository</a></li>
56
                <li class="collapsed"><a href="<%=SERVER_URL%>">Home</a></li>
57
                <li class="collapsed"><a href="<%=CONTEXT_URL%>">Repository</a></li>
58 58
                <li class="collapsed"><a href="<%=CGI_URL%>/register-dataset.cgi?cfg=parc">Register</a></li>
59 59
                <li class="collapsed"><span id="login_block"></span></li>
60 60
            </ul>
lib/style/skins/parc/map.jsp
31 31
<head>
32 32
<title>PARC Data Repository Interactive Map</title>
33 33
  <link rel="stylesheet" type="text/css" 
34
        href="<%=STYLE_SKINS_URL%>/nceas/nceas.css">
34
        href="<%=STYLE_SKINS_URL%>/parc/parc.css">
35 35
  <script language="JavaScript" type="text/JavaScript"
36
          src="<%=STYLE_SKINS_URL%>/nceas/nceas.js"></script>
36
          src="<%=STYLE_SKINS_URL%>/parc/parc.js"></script>
37 37
  <script language="JavaScript" type="text/JavaScript"
38 38
          src="<%=STYLE_COMMON_URL%>/branding.js"></script>
39 39
  <script type="text/javascript" 
40
          src="<%=STYLE_SKINS_URL%>/nceas/navigation.js"></script>
40
          src="<%=STYLE_SKINS_URL%>/parc/navigation.js"></script>
41 41
  <script type="text/javascript"
42
          src="<%=STYLE_SKINS_URL%>/nceas/search.js"></script>
42
          src="<%=STYLE_SKINS_URL%>/parc/search.js"></script>
43 43

  
44 44
</head>
45 45
<body id="Overview" onload="loginStatus('<%=SERVLET_URL%>', '<%=CGI_URL%>');">
......
51 51
        <p></p>
52 52
        <ul id="main_nav">
53 53
            <ul class="menu">
54
                <li class="collapsed"><a href="http://www.palmyraresearch.org">Home</a></li>
55
                <li class="collapsed"><a href="http://data.piscoweb.org/catalog/style/skins/parc">Repository</a></li>
54
                <li class="collapsed"><a href="<%=SERVER_URL%>">Home</a></li>
55
                <li class="collapsed"><a href="<%=CONTEXT_URL%>">Repository</a></li>
56 56
                <li class="collapsed"><a href="<%=CGI_URL%>/register-dataset.cgi?cfg=parc">Register</a></li>
57 57
                <li class="collapsed"><span id="login_block"></span></li>
58 58
            </ul>
......
67 67

  
68 68
<div id="footer">
69 69
    <div id="footer_logos">
70
                <a href="http://www.msi.ucsb.edu/"><img
71
src="images/logo_msi.jpg" alt="MSI: Marine Science Institute" height="66"
72
width="132"></a><a href="http://www.nsf.gov/"><img src="images/logo_nsf.jpg"
73
alt="NSF: National Science 
74
Foundation" height="66" width="70"></a><a href="http://www.ucsb.edu/"><img
75
src="images/logo_ucsb.jpg" alt="UCSB: University of California at Santa Barbara"
76
height="66" width="132"></a>
77
    </div> <!-- footer_logos -->
78
    <div id="footer_contact">
79
        <span class="contact_name">National Center for Ecological Analysis and Synthesis</span>
80

  
81
        <span class="contact_address">735 State Street, Suite 300, Santa Barbara, CA 93101</span>
82
        <span class="copyright">Copyright &copy; 2007 The Regents of the
83
University of California, All Rights Reserved</span>
84
        <span class="copyright"><a href="http://www.ucsb.edu/" title="Visit the
85
UCSB website">UC Santa Barbara</a>, Santa Barbara CA 93106 &bull; (805)
86
893-8000</span>
87
        <span class="copyright"><a href="mailto:webmaster@nceas.ucsb.edu"
88
title="E-mail the PARC webmaster">Contact</a> &bull; <a
89
href="http://www.ucsb.edu/policies/terms-of-use.shtml">Terms of Use</a> &bull; <a
90
href="http://www.nceas.ucsb.edu/accessibility" title="PARC is committed to the
91
accessibility of its products for all users">Accessibility</a></span>
92

  
93
        
94 70
    </div> <!-- footer_contact -->
95 71
</div>
96 72

  
lib/style/common/templates/parcHeader.tmpl
26 26
          </a>
27 27
        </li>
28 28
        <li class="collapsed">
29
          <a href="http://data.piscoweb.org/catalog/style/skins/parc">
29
          <a href="[% contextUrl %]">
30 30
            Repository
31 31
          </a>
32 32
        </li>

Also available in: Unified diff