Project

General

Profile

« Previous | Next » 

Revision 3915

Added by walbridge over 16 years ago

Merging Perl changes into detokenization branch. Removes usage of tokens from all Perl and Perl Template Toolkit files, instead using pure Java .property files to manage settings. Basic path for eliminating .cfg files from Perl, and skin.config files from Java side. Backported changes from 1.8.1RC1 release.

View differences:

lib/style/common/templates/nceasFooter.tmpl
1 1
  <div id="footer">
2 2
      <div id="footer_logos">
3 3
        <a href="http://www.msi.ucsb.edu/">
4
          <img src="@systemidserver@@style-skins-path@/nceas/images/logo_msi.jpg"
4
          <img src="[% styleSkinsPath %]/nceas/images/logo_msi.jpg"
5 5
            alt="MSI: Marine Science Institute" height="66" width="132"/></a>
6 6
        <a href="http://www.nsf.gov/">
7
          <img src="@systemidserver@@style-skins-path@/nceas/images/logo_nsf.jpg"
7
          <img src="[% styleSkinsPath %]/nceas/images/logo_nsf.jpg"
8 8
            alt="NSF: National Science Foundation" height="66"
9 9
            width="70"/></a>
10 10
        <a href="http://www.ucsb.edu/">
11
          <img src="@systemidserver@@style-skins-path@/nceas/images/logo_ucsb.jpg"
11
          <img src="[% styleSkinsPath %]/nceas/images/logo_ucsb.jpg"
12 12
            alt="UCSB: University of California at Santa Barbara"
13 13
            height="66" width="132"/></a>
14 14
      </div><!-- footer_logos -->
lib/style/common/templates/ldapResetPass.tmpl
12 12
    
13 13
    
14 14
    <table class="intro" cellpadding="3" cellspacing="0"><tr><td>
15
    <form name="passwdForm" action="@cgiurl@" method="post">
15
    <form name="passwdForm" action="[% cgiurl %]" method="post">
16 16
      <input type="hidden" name="stage" value="[% stage %]"/>
17 17
      <input type="hidden" name="cfg" value="[% cfg %]"/>
18 18
          
lib/style/common/templates/ldapChangePass.tmpl
4 4
    <tr><td align="left"><span class="regtext">Enter the required information below to change your KNB password.  
5 5
    You will need to know your username and your old password, and choose a new password (which is entered twice for confirmation). 
6 6
    Required fields are denoted by an asterisk (*).</span></td></tr>
7
    <tr><td align="left"><a href="@cgiurl@?stage=initresetpass&cfg=[% cfg %]">Forgot your old password?</a></td></tr>
7
    <tr><td align="left"><a href="[% cgiurl %]?stage=initresetpass&cfg=[% cfg %]">Forgot your old password?</a></td></tr>
8 8
    <tr><td align="left"> <span class="label">[% errorMessage %]</span></td></tr>
9 9
  </table>
10 10
    
11 11
    
12 12
    
13 13
   <table class="intro" cellpadding="3" cellspacing="0"><tr><td>
14
    <form name="passwdForm" action="@cgiurl@" method="post">
14
    <form name="passwdForm" action="[% cgiurl %]" method="post">
15 15
      <input type="hidden" name="stage" value="[% stage %]"/>
16 16
      <input type="hidden" name="cfg" value="[% cfg %]"/>
17 17
      
lib/style/common/templates/esaModNotification.tmpl
2 2
Ecological Society of America moderator notice:
3 3
[% IF stage == 'mod_accept' %]
4 4

  
5
You have accepted the metadata entry for [%contactName%]'s article, [%dpTitle%].  This part of the article's submission process is now complete.  You can see the metadata entry as it currently stands at @servlet-path@?action=read&cfg=esa&docid=[%docid%].  Once published, the entry will be available at @servlet-path@?action=read&cfg=esa&docid=[%docid%].
5
You have accepted the metadata entry for [%contactName%]'s article, [%dpTitle%].  This part of the article's submission process is now complete.  You can see the metadata entry as it currently stands at [% servletPath %]?action=read&cfg=esa&docid=[%docid%].  Once published, the entry will be available at [% servletPath %]?action=read&cfg=esa&docid=[%docid%].
6 6

  
7 7
[% ELSIF stage == 'mod_decline' %]		
8 8

  
......
13 13

  
14 14
[% ELSIF stage == 'mod_revise' %]
15 15

  
16
You have sent back for review the metadata entry for [%contactName%]'s article, [%dpTitle%].  Your comments on the areas that could be improved are noted below. You can edit the metadata entry as it currently stands at @cgi-prefix@/register-dataset.cgi?stage=modify&cfg=esa&docid=[%docid%].
16
You have sent back for review the metadata entry for [%contactName%]'s article, [%dpTitle%].  Your comments on the areas that could be improved are noted below. You can edit the metadata entry as it currently stands at [% cgiPrefix %]/register-dataset.cgi?stage=modify&cfg=esa&docid=[%docid%].
17 17

  
18 18
Your Comments:
19 19
[%comment%]
......
27 27
We are happy to inform you that the metadata entry for your article submission,
28 28
[%dpTitle%], has been accepted.  This part of the submission process is now
29 29
complete.  Your metadata entry can be cited in the future as <LSID>, and will be
30
viewable online at @servlet-path@?action=read&cfg=esa&docid=[%docid%] after publication.  Thank you for your cooperation.
30
viewable online at [% servletPath %]?action=read&cfg=esa&docid=[%docid%] after publication.  Thank you for your cooperation.
31 31

  
32 32
The Ecological Society of America
33 33
 		
......
62 62
[%dpTitle%], is still missing some relevant information.  Please read the
63 63
reviewer's comments below for any suggested additions and changes.  You are strongly
64 64
encouraged to go back and address these issues with your entry.  You can login,
65
edit, and resubmit your entry at @cgi-prefix@/register-dataset.cgi?stage=modify&cfg=esa&docid=[%docid%]. 
65
edit, and resubmit your entry at [% cgiPrefix %]/register-dataset.cgi?stage=modify&cfg=esa&docid=[%docid%]. 
66 66

  
67 67
The Ecological Society of America
68 68

  
lib/style/common/templates/getReviews.tmpl
4 4
  <title>Reviews</title>
5 5
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6 6

  
7
  <script src="@systemidserver@@style-common-path@/prototype.js"></script>
8
  <script src="@systemidserver@@style-common-path@/accordion.js"></script>
9
  <script src="@systemidserver@@style-common-path@/review_behaviors.js"></script>
10
  <link href="@systemidserver@@style-common-path@/reviews.css" media="all" rel="Stylesheet" type="text/css" />
7
  <script src="[% styleCommonPath %]/prototype.js"></script>
8
  <script src="[% styleCommonPath %]/accordion.js"></script>
9
  <script src="[% styleCommonPath %]/review_behaviors.js"></script>
10
  <link href="[% styleCommonPath %]/reviews.css" media="all" rel="Stylesheet" type="text/css" />
11 11

  
12 12
</head>
13 13

  
......
16 16
[% IF isModerator == 'true' %]
17 17
	<div class="comment_form">
18 18
	<p class="sectionnames">Moderator Actions</p>
19
	<form target="_top" id="reviewForm" method="POST" action="@cgi-prefix@/register-dataset.cgi">
19
	<form target="_top" id="reviewForm" method="POST" action="[% cgiPrefix %]/register-dataset.cgi">
20 20
		<input value="mod_accept" id="stage" name="stage" type="hidden">
21 21
		<input value="esa" name="cfg" type="hidden">
22 22
		<input name="docid" type="hidden" value="[%docid%]">
......
36 36
[% IF reviewdocid != '' %]
37 37
	<h3 style="margin-top:-8px" class="review_emphasis">
38 38
	Reviews 
39
	<img id="busy" src="@systemidserver@@html-path@/style/images/spinner.gif" style="display:none; margin-bottom: -3px;"/>
39
	<img id="busy" src="[% baseUrl %]/style/images/spinner.gif" style="display:none; margin-bottom: -3px;"/>
40 40
	</h3>
41 41

  
42 42
	<!-- ajax will populate this node -->
lib/style/common/templates/entryForm.js
1068 1068
        new_row_button.type = 'button';
1069 1069
        new_row_button.value = 'Delete';
1070 1070

  
1071
        // Permissions check boxes
1072
        var radio_value_a = 'public';
1073
        var radio_value_b = 'private';
1074
        var new_radio_a = document.createElement('input');
1075
        var new_radio_b = document.createElement('input');
1076
        new_radio_a.type = new_radio_b.type = 'radio';
1077
        // get the file upload name, use the number to keep track of the file we're setting permissions on
1078
        new_radio_a.name = new_radio_b.name = 'uploadperm_' + element.name.split("_")[1];
1079
        new_radio_a.value = radio_value_a;
1080
        new_radio_b.value = radio_value_b;
1081
        new_radio_a.checked = false;
1082
        new_radio_b.checked = true; // when adding new files, default is private
1083
         
1071 1084
        // References
1072 1085
        new_row.element = element;
1073 1086

  
......
1089 1102
            //    which nixes your already queued uploads
1090 1103
            return false;
1091 1104
        };
1105
       
1106
        // filename may include path, show only file name itself
1107
        var name_pattern = element.value.replace(/.*[\/\\](.*)/, "$1");
1092 1108

  
1093 1109
        // Set row value
1094
        new_row.innerHTML = element.value + " ";
1095
  
1110
        new_row.appendChild( document.createTextNode(name_pattern + " ") );
1111
        
1112
        // Add in radio buttons and their text
1113
        new_row.appendChild( new_radio_a );
1114
        new_row.appendChild( document.createTextNode(capitalize(radio_value_a) + " ") );
1115
        new_row.appendChild( new_radio_b );
1116
        new_row.appendChild( document.createTextNode(capitalize(radio_value_b) + " ") );
1117

  
1096 1118
        // Add button
1097 1119
        new_row.appendChild( new_row_button );
1098 1120

  
......
1127 1149
        }
1128 1150
    }
1129 1151
}
1152

  
1153
function capitalize(word) {
1154
    return word.charAt(0).toUpperCase() + word.substr(1).toLowerCase();
1155
}
lib/style/common/templates/entryForm.tmpl
1
[% IF cfg == 'nceas' %]
2
  [% INCLUDE "nceasHeader.tmpl" %]
3
[% ELSE %]
4
  [% INCLUDE "genericHeader.tmpl" %]
5
[% END %]
1
[% INCLUDE $templates.header %]
6 2

  
7
  <script language="JavaScript" type="text/javascript" src="@systemidserver@@style-common-path@/templates/entryForm.js">
3
  <script language="JavaScript" type="text/javascript" src="[% styleCommonPath %]/templates/entryForm.js">
8 4
  </script>
9 5

  
10 6
      [% IF form != 're_entry' %]	
......
12 8
      
13 9
      <table class="intro" cellpadding="3" cellspacing="0">
14 10
      
15
      <tr><td align="left"><span class="emphasis">Data [%IF cfg =='nceas'%] Repository [% ELSE %] Registry [% END %] Form</td></tr>
11
      <tr><td align="left"><span class="emphasis">[% config.type %] Form</span></td></tr>
16 12
      <tr><td align="left"><span class="regtext">Use this form to submit a new data set description for
17
         inclusion in the [%IF cfg =='nceas'%] repository [% ELSE %] registry [% END %].</span>
13
         inclusion in the [% config.type | lower %].</span>
18 14
		 [%IF cfg =='esa' %]<span class="redbold">This metadata registry is ONLY for entries associated with articles for ESA publications.</span>
19 15
		 		<span class="regtext">  For those wishing to make public metadata entries not associated with 
20 16
					ESA, <a href="http://knb.ecoinformatics.org">The Knowledge Network for Biocomplexity</a> runs a
......
24 20
		 </td></tr>
25 21
      <tr><td></td></tr>
26 22
      <tr><td align="left"><span class="regtext">Please have a look at the 
27
      <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide" target="guide">
28
        <span class="boldlink">Guide for Completing the Data [%IF cfg =='nceas'%] Repository [% ELSE %] Registry [% END %] Form</span></a> 
23
      <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide" target="guide">
24
        <span class="boldlink">Guide for Completing the Data [% config.type %] Form</span></a> 
29 25
        before you start filling in this form. Also, use your browser's 
30 26
        Reload/Refresh function to make sure you see the latest version of this 
31 27
        page.</span></td></tr>
......
39 35
	  [% END %]
40 36
	  
41 37
      <tr><td align="left"><span class="regtext">If you have any questions, comments or problems 
42
      regarding this form, please contact [% adminname %] at 
43
      <a href="mailto:[% recipient %]"><span class="boldlink">[% recipient %]</span></a></span>.      
38
      regarding this form, please contact [% email.admin %] at 
39
      <a href="mailto:[% email.recipient %]"><span class="boldlink">[% email.recipient %]</span></a></span>.      
44 40
      </td></tr><tr><td></td></tr>
45 41
      [% ELSE %]
46 42
      
47 43
      
48 44
      <table class="intro" cellpadding="3" cellspacing="0">
49
      <tr><td align="left"><span class="regtext">Use this page to edit the data set description that you submitted earlier to the [%IF cfg =='nceas'%] 
50
      repository [% ELSE %] registry [% END %].
45
      <tr><td align="left"><span class="regtext">Use this page to edit the data set description that you submitted earlier to the [% config.type | lower %].
51 46
      [%IF docid !=''%]
52
      <br>The ID of this data set is: <span class="boldlink"><a href="@servlet-path@?action=read&qformat=[% cfg %]&docid=[% docid %]">[% docid %]</a>
47
      <br>The ID of this data set is: <span class="boldlink"><a href="[% servletPath %]?action=read&qformat=[% cfg %]&docid=[% docid %]">[% docid %]</a>
53 48
      </span>
54 49
      [%END%]
55 50
      </span></td></tr>
56
      <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide" target="guide">
57
        <span class="boldlink">Guide for Completing the Data [%IF cfg =='nceas'%] Repository [% ELSE %] Registry [% END %] Form</span></a> 
51
      <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide" target="guide">
52
        <span class="boldlink">Guide for Completing the Data [% config.type %] Form</span></a> 
58 53
        for help with filling in this form.</span></td</tr>
59 54
      <tr><td></td></tr>
60 55
      <tr><td align="left"><span class="regtext">If you have any questions, comments or problems 
61
      regarding this form, please contact [% adminname %] at 
62
      <a href="mailto:[% recipient %]"><span class="boldling">[% recipient %]</span></a>.</span>
56
      regarding this form, please contact [% email.admin %] at 
57
      <a href="mailto:[% email.recipient %]"><span class="boldling">[% email.recipient %]</span></a>.</span>
63 58
      </td></tr><tr><td></td></tr>
64 59
      [% END %]
65 60
      
......
72 67
      </table>
73 68

  
74 69

  
75
<form action="@cgi-prefix@/register-dataset.cgi" enctype="multipart/form-data" method="post">
70
<form action="[% cgiPrefix %]/register-dataset.cgi" enctype="multipart/form-data" method="post">
76 71
  <input type="hidden" name="cfg" value="[% cfg %]">
77 72
  <input type="hidden" name="docid" value="[% docid %]">
78 73
  <input type="hidden" name="stage" value="insert">
79 74
  <input type="hidden" name="showSiteList" value="[% showSiteList %]">
80 75
  <input type="hidden" name="showWgList" value="[% showWgList %]">
81 76
  <input type="hidden" name="showOrganization" value="[% showOrganization %]">
82
  <input type="hidden" name="lsite" value="[% lsite %]">
83
  <input type="hidden" name="usite" value="[% usite %]">
77
  <input type="hidden" name="lsite" value="[% config.site %]">
84 78
  <input type="hidden" name="hasKeyword" value="[% hasKeyword %]">
85 79
  <input type="hidden" name="hasTemporal" value="[% hasTemporal %]">
86 80
  <input type="hidden" name="hasSpatial" value="[% hasSpatial %]">
......
93 87
  
94 88
        <table class="tables" cellpadding="5" cellspacing="0">
95 89
        <tr class="sectheader"><td colspan="5" align="left"><span class="label">NAME OF SUBMITTER&nbsp;
96
	<a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Submitter" target="guide">
90
	<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Submitter" target="guide"></span>
97 91
        <span class="smalltext">(What's this?)</span></a></td>
98 92
        <td class="rightCol"><span><a onClick="submitterBit=swap(event, 'submitterTable', submitterBit)" style="cursor:pointer">Hide</a></span></td>
99 93
        </tr>
......
109 103
	
110 104
        <table class="tables" cellpadding="5" cellspacing="0">
111 105
        <tr class="sectheader"><td colspan="5" align="left"><span class="label">BASIC INFORMATION&nbsp;
112
	<a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#BasicInformation" target="guide">
106
	<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#BasicInformation" target="guide">
113 107
        <span class="smalltext">(What's this?)</span></a></td>
114 108
        <td class="rightCol"><span><a onClick="basicInfoBit=swap(event, 'basicInfoTable', basicInfoBit)" style="cursor:pointer">Hide</a></span></td>
115 109
        </tr>
......
120 114
        </td></tr>
121 115
		
122 116
	[% IF showSiteList == 'true' %]
123
        <tr class="sectbody" id="sitelist"><td class="rightCol"><span class="label">*[% usite %] Name</span></td>
117
        <tr class="sectbody" id="sitelist"><td class="rightCol"><span class="label">*[% config.site | ucfirst %] Name</span></td>
124 118
	  <td colspan="5"><select name="site" class="longwidth">
125 119
	    [% IF form == 're_entry' %]
126 120
	    	<option selected>[%site%]</option>
127 121
	    [% ELSE %]
128
	        <option>Select your [% lsite %] here.</option>
122
	        <option>Select your [% config.site %] here.</option>
129 123
	    [% END %]
130 124
            [% FOREACH site = siteList %]
131 125
              <option>[% site %]</option>
......
161 155
       
162 156
    <table class="tables" cellpadding="5" cellspacing="0">
163 157
        <tr class="sectheader"><td colspan="5" align="left"><span class="label">PRINCIPAL DATA SET OWNER&nbsp;</span>
164
	<a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetOriginator" 
158
	<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetOriginator" 
165 159
	target="guide"><span class="smalltext">(What's this?)</span></a></td>
166 160
        <td class="rightCol"><span><a onClick="dsoBit=swap(event, 'dsoTable', dsoBit)" style="cursor:pointer">Hide</a></span></td>
167 161
        </tr>
......
261 255
    </table>
262 256
   
263 257
    <table class="tables" cellpadding="5" cellspacing="0">
264
    <tr class="sectheader"><td colspan="5" align="left"><span class="label">ASSOCIATED PARTIES&nbsp;</span><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#AdditionalOriginators"
258
    <tr class="sectheader"><td colspan="5" align="left"><span class="label">ASSOCIATED PARTIES&nbsp;</span><a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#AdditionalOriginators"
265 259
         target="guide"><span class="smalltext">(What's this?)</span></a></td>
266 260
         <td class="rightCol"><span><a onClick="apBit=swap(event, 'apTable', apBit)" style="cursor:pointer">Hide</a></span></td>
267 261
    </tr>
......
312 306
            <td class="rightCol">
313 307
                <a style="cursor:pointer">
314 308
                    <img onClick="cleanTextNodes('aoHRRow', 'addaorow');moveUpRow(event)"
315
                    src="@systemidserver@@html-path@/style/images/previous.gif"
309
                    src="[% baseUrl %]/style/images/previous.gif"
316 310
                    alt="Move Up" border="0"/>
317 311
                </a>
318 312
                <a style="cursor:pointer">
319 313
                    <img onClick="cleanTextNodes('aoHRRow', 'addaorow');moveDownRow(event, 'addaorow')"
320
                    src="@systemidserver@@html-path@/style/images/next.gif"
314
                    src="[% baseUrl %]/style/images/next.gif"
321 315
                    alt="Move Down" border="0"/>
322 316
                </a>
323 317
                <a style="cursor:pointer">
324
                    <img src="@systemidserver@@html-path@/style/images/delete.gif"
318
                    <img src="[% baseUrl %]/style/images/delete.gif"
325 319
                    onClick="delRow(event)" alt="Delete" border="0"/>
326 320
                </a>
327 321
            </td>
......
340 334
    </table>
341 335
   
342 336
    <table class="tables" cellpadding="5" cellspacing="0">  		    
343
  <tr class="sectheader"><td colspan="5" align="left"><span class="label">DATA SET ABSTRACT&nbsp;</span><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetAbstract"
337
  <tr class="sectheader"><td colspan="5" align="left"><span class="label">DATA SET ABSTRACT&nbsp;</span><a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetAbstract"
344 338
          target="guide"><span class="smalltext">(What's this?)</span></td>
345 339
          <td class="rightCol"><span><a onClick="abstractBit=swap(event, 'abstractTable', abstractBit)" style="cursor:pointer">Hide</a></span></td>        
346 340
  </tr>  
......
353 347
   
354 348
  [% IF hasKeyword == 'true' %]
355 349
    <table class="tables" cellpadding="5" cellspacing="0">
356
  <tr class="sectheader"><td colspan="5" align="left"><span class="label">KEYWORD INFORMATION <span class="label">&nbsp;</span><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#KeywordInformation"
350
  <tr class="sectheader"><td colspan="5" align="left"><span class="label">KEYWORD INFORMATION <span class="label">&nbsp;</span><a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#KeywordInformation"
357 351
        target="guide"><span class="smalltext">(What's this?)</span></a></td>
358 352
        <td class="rightCol"><span><a onClick="keywordBit=swap(event, 'keywordTable', keywordBit)" style="cursor:pointer">Hide</a></span></td>
359 353
        </tr>
......
422 416
            <td class="rightCol">
423 417
                <a style="cursor:pointer">
424 418
                    <img onClick="cleanTextNodes('keywordHRRow', 'addkeyrow');moveUpRow(event)"
425
                    src="@systemidserver@@html-path@/style/images/previous.gif"
419
                    src="[% baseUrl %]/style/images/previous.gif"
426 420
                    alt="Move Up" border="0"/>
427 421
                </a>
428 422
                <a style="cursor:pointer">
429 423
                    <img onClick="cleanTextNodes('keywordHRRow', 'addkeyrow');moveDownRow(event, 'addkeyrow')"
430
                    src="@systemidserver@@html-path@/style/images/next.gif"
424
                    src="[% baseUrl %]/style/images/next.gif"
431 425
                    alt="Move Down" border="0"/>
432 426
                </a>
433 427
                <a style="cursor:pointer">
434
                    <img src="@systemidserver@@html-path@/style/images/delete.gif"
428
                    <img src="[% baseUrl %]/style/images/delete.gif"
435 429
                    onClick="delRow(event)" alt="Delete" border="0"/>
436 430
                </a>
437 431
            </td>
......
456 450
   
457 451
  <table class="tables" cellpadding="5" cellspacing="0">   
458 452
  <tr class="sectheader"><td colspan="5" align="left"><span class="label">
459
  TEMPORAL COVERAGE OF DATA&nbsp;</span><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#TemporalCoverageOfData"
453
  TEMPORAL COVERAGE OF DATA&nbsp;</span><a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#TemporalCoverageOfData"
460 454
   target="guide"><span class="smalltext">(What's this?)</span></a></td>
461
   <td class="rightCol"e<span><a onClick="temporalBit=swap(event, 'temporalTable', temporalBit)" style="cursor:pointer">Hide</a></span></td>
455
   <td class="rightCol"><span><a onClick="temporalBit=swap(event, 'temporalTable', temporalBit)" style="cursor:pointer">Hide</a></span></td>
462 456
   </tr>
463 457
   </table>
464 458
   
......
566 560

  
567 561
  <table class="tables" cellpadding="5" cellspacing="0">  
568 562

  
569
  <tr class="sectheader"><td colspan="5" align="left"><span class="label">SPATIAL COVERAGE OF DATA&nbsp;</span><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#SpatialCoverageOfData" 
563
  <tr class="sectheader"><td colspan="5" align="left"><span class="label">SPATIAL COVERAGE OF DATA&nbsp;</span><a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#SpatialCoverageOfData" 
570 564
  target="guide"><span class="smalltext">(What's this?)</span></a>
571 565
 </td>
572 566
 <td class="rightCol"><span><a onClick="spatialBit=swap(event, 'spatialTable', spatialBit)" style="cursor:pointer">Hide</a></span></td>
......
591 585
  [% IF showSiteList == 'true' %]
592 586
    <tr class="sectbody"><td align="left" valign="top" colspan="6">
593 587
        <input class="label" type="CHECKBOX" name="useSiteCoord" [%useSiteCoord%]>
594
        <span class="regtext">Use [% lsite %] coordinates. (This indicates that the data were
595
        collected at the [% lsite %]. If you check this box, you don't need
588
        <span class="regtext">Use [% config.site %] coordinates. (This indicates that the data were
589
        collected at the [% config.site %]. If you check this box, you don't need
596 590
        to fill in the lat./long. fields below).</span>
597 591
        </td>
598 592
    </tr>
......
713 707
   <table class="tables" cellpadding="5" cellspacing="0">  
714 708

  
715 709
        <tr class="sectheader"><td colspan="5" align="left">
716
        <span class="label">TAXONOMIC COVERAGE OF DATA&nbsp;</span><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#TaxonomicCoverage" 
710
        <span class="label">TAXONOMIC COVERAGE OF DATA&nbsp;</span><a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#TaxonomicCoverage" 
717 711
	target="guide"><span class="smalltext">(What's this?)</span></a> </td>
718 712
        <td class="rightCol"><span><a onClick="taxonomicBit=swap(event, 'taxonomicTable', taxonomicBit)" style="cursor:pointer">Hide</a></span></td>
719 713
        </tr>
......
763 757
                <td class="rightCol">
764 758
                    <a style="cursor:pointer">
765 759
                        <img onClick="cleanTextNodes('taxonHRRow', 'addtaxarow');moveUpRow(event)"
766
                        src="@systemidserver@@html-path@/style/images/previous.gif"
760
                        src="[% baseUrl %]/style/images/previous.gif"
767 761
                        alt="Move Up" border="0"/>
768 762
                    </a>
769 763
                    <a style="cursor:pointer">
770 764
                        <img onClick="cleanTextNodes('taxonHRRow', 'addtaxarow');moveDownRow(event, 'addtaxarow')"
771
                        src="@systemidserver@@html-path@/style/images/next.gif"
765
                        src="[% baseUrl %]/style/images/next.gif"
772 766
                        alt="Move Down" border="0"/>
773 767
                    </a>
774 768
                    <a style="cursor:pointer">
775
                        <img src="@systemidserver@@html-path@/style/images/delete.gif"
769
                        <img src="[% baseUrl %]/style/images/delete.gif"
776 770
                        onClick="delRow(event)" alt="Delete" border="0"/>
777 771
                    </a>
778 772
                </td>
......
803 797
   <table class="tables" cellpadding="5" cellspacing="0">  
804 798
  <tr class="sectheader"><td colspan="5" align="left">
805 799
  <span class="label">DATA COLLECTION METHODS&nbsp;</span>
806
  <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Methods" target="guide"><span class="smalltext">(What's this?)</span></a></td>
800
  <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Methods" target="guide"><span class="smalltext">(What's this?)</span></a></td>
807 801
  <td class="rightCol"><span><a onClick="methodBit=swap(event, 'methodTable', methodBit)" style="cursor:pointer">Hide</a></span></td>
808 802
  </tr>
809 803
     </table>
......
862 856
 
863 857
   <table class="tables" cellpadding="5" cellspacing="0">    
864 858
  <tr class="sectheader"><td colspan="5" align="left">
865
  <span class="label">DATA SET CONTACT&nbsp;</span><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetContactAddress" target="guide"><span class="smalltext">(What's this?)</span></a></td>
859
  <span class="label">DATA SET CONTACT&nbsp;</span><a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetContactAddress" target="guide"><span class="smalltext">(What's this?)</span></a></td>
866 860
  <td class="rightCol"><span><a onClick="dscBit=swap(event, 'dscTable', dscBit)" style="cursor:pointer">Hide</a></span></td>
867 861
  </tr>
868 862
     </table>
......
976 970
   
977 971
   <table class="tables" cellpadding="5" cellspacing="0">  
978 972
  <tr class="sectheader"><td colspan="5" align="left">
979
  <span class="label">DISTRIBUTION INFORMATION&nbsp;</span><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DistributionIinformation" 
973
  <span class="label">DISTRIBUTION INFORMATION&nbsp;</span><a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DistributionIinformation" 
980 974
  target="guide"><span class="smalltext">(What's this?)</span></a></td>
981 975
  <td class="rightCol"><span><a onClick="distBit=swap(event, 'distTable', distBit)" style="cursor:pointer">Hide</a></span></td>
982 976
  </tr>
......
1056 1050
  <!-- Associated Data -->
1057 1051
  <table class="tables" cellpadding="5" cellspacing="0">
1058 1052
  <tr class="sectheader"><td colspan="5" align="left">
1059
  <span class="label">UPLOAD DATA&nbsp;</span><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#XXX" 
1053
  <span class="label">UPLOAD DATA&nbsp;</span><a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#XXX" 
1060 1054
  target="guide"><span class="smalltext">(What's this?)</span></a></td>
1061
  <td class="rightCol"><span><a onClick="distBit=swap(event, 'uploadTable', uploadBit)" style="cursor:pointer">Hide</a></span></td>
1055
  <td class="rightCol"><span><a onClick="uploadBit=swap(event, 'uploadTable', uploadBit)" style="cursor:pointer">Hide</a></span></td>
1062 1056
  </tr>
1063 1057
   </table>
1064 1058
  <table class="tables" cellpadding="5" cellspacing="0" id="uploadTable">
......
1072 1066
           [% WHILE cnt < upCount %]
1073 1067
                [% SET fileSum = "upload_${cnt}" %]
1074 1068
                [% SET fileName = "uploadname_${cnt}" %]
1075
                [% SET fileType = "uploadtype_${cnt}" %] 
1069
                [% SET fileType = "uploadtype_${cnt}" %]
1076 1070
                [% IF fileSum %]
1077 1071
                    <input type="hidden" name="[%fileSum%]" value="[% $fileSum %]"> 
1078 1072
                    <input type="hidden" name="[%fileName%]" value="[% $fileName %]"> 
......
1087 1081
  </tr>
1088 1082
  <tr class="sectbody">
1089 1083
    <td class="rightCol" valign="top"><span class="label">Attached Files:</span></td>
1090
    <td colspan="5">
1084
    <td colspan="5" class="regtext">
1091 1085
    [% IF !upCount %]
1092 1086
        <div id="file_comment">
1093 1087
            (<i>None currently attached</i>)
......
1095 1089
    [% END %]
1096 1090
    <div id="files_list">[% IF form == 're_entry' && upCount %]
1097 1091
    [% cnt = 0 %]
1092

  
1098 1093
    [% WHILE cnt < upCount %]
1099 1094
        [% SET fileName = "uploadname_${cnt}" %]
1100
        [% IF fileName %]<div>[% $fileName %] <input type="button" value="Delete" onclick="deleteFile(event, [%fileName%]);"/></div>[% END %]
1095
        [% SET filePerm = "uploadperm_${cnt}" %]
1096
        [% IF $filePerm == 'public' %]
1097
          [% SET perm_a = "checked" %]
1098
          [% SET perm_b = "" %]
1099
        [% ELSE %]
1100
          [% SET perm_a = "" %]
1101
          [% SET perm_b = "checked" %]
1102
        [% END %]
1103
        [% IF fileName %]<div>
1104
          [% $fileName %]
1105
          <input type="radio" name="[% filePerm %]" value="public" [% perm_a %]> Public
1106
          <input type="radio" name="[% filePerm %]" value="private" [% perm_b %]> Private
1107

  
1108
          <input type="button" value="Delete" onclick="deleteFile(event, [%fileName%]);"/></div>[% END %]
1101 1109
        [% cnt = cnt + 1 %]
1102 1110
    [% END %]
1103 1111
    [% END %]</div></td>
......
1120 1128
   
1121 1129
</form>
1122 1130

  
1123
[% IF cfg == 'nceas' %]
1124
  [% INCLUDE "nceasFooter.tmpl" %]
1125
[% ELSE %]
1126
  [% INCLUDE "genericFooter.tmpl" %]
1127
[% END %]
1131
[% INCLUDE $templates.footer %]
lib/style/common/templates/genericHeader.tmpl
25 25
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
26 26
<html>
27 27
<head>
28
  <title>[%IF cfg =='account'%]Account Management[% ELSE %] [% orgabbrev %] Data [%IF cfg =='nceas'%] Repository [% ELSE %] Registry [% END %] [% END %]</title>
28
  <title>[% config.abbrev %] Data [% config.type %]</title>
29 29
  <link rel="stylesheet" type="text/css" 
30
        href="@systemidserver@@style-skins-path@/[%cfg%]/[%cfg%].css">
30
        href="[% styleSkinsPath %]/[% cfg %]/[% cfg %].css">
31 31
  <script language="JavaScript" type="text/JavaScript"
32
          src="@systemidserver@@style-skins-path@/[%cfg%]/[%cfg%].js"></script>
32
          src="[% styleSkinsPath %]/[% cfg %]/[% cfg %].js"></script>
33 33
  <script language="JavaScript" type="text/JavaScript"
34
          src="@systemidserver@@style-common-path@/branding.js"></script>
34
          src="[% styleCommonPath %]/branding.js"></script>
35 35
</head>
36 36

  
37 37
<body>
38 38
      <script language="JavaScript" type="text/javascript">
39
          insertTemplateOpening();
39
          insertTemplateOpening("[% baseUrl %]");
40 40
      </script>
lib/style/common/templates/ldapRegister.tmpl
55 55
    // -->
56 56
    </script>
57 57

  
58
    <form name="loginForm" action="@cgiurl@" method="post">
58
    <form name="loginForm" action="[% cgiurl %]" method="post">
59 59
      <input type="hidden" name="stage" value="[% stage %]"/>
60 60
      <input type="hidden" name="cfg" value="[% cfg %]"/>
61 61
      <table hspace="20" border="0">
......
93 93
                   value="[% allParams.o %]"/>
94 94
            [% ELSE %]
95 95
            <select name="o">
96
	      <!--[% FOREACH org = orgList %]
97
		[% IF allParams.o == org %]
98
                  <option value="[% org %]" selected>[% org %]</option>
99
                [% ELSE %]
100
                  <option value="[% org %]">[% org %]</option>
101
                [% END %]
102
              [% END %]-->
103 96
                  <option value="unaffiliated">unaffiliated</option>
104 97
            </select>
105 98
            [% END %]
lib/style/common/templates/confirmData.tmpl
22 22
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 23
-->
24 24

  
25
[% IF cfg == 'nceas' %]
26
  [% INCLUDE "nceasHeader.tmpl" %]
27
[% ELSE %]
28
  [% INCLUDE "genericHeader.tmpl" %]
29
[% END %]
25
[% INCLUDE $templates.header %]
30 26

  
31
[% IF cfg == 'nrs' %]
32
  [% lsite = 'reserve' %]
33
  [% usite = 'Reserve' %]
34
[% ELSE %]
35
  [% lsite = 'station' %]
36
  [% usite = 'Station' %]
37
[% END %]
38

  
39 27
<table class="intro" cellpadding="3" cellspacing="0">
40 28
<tr><td align="left"><span class="regtext">
41
Please review the information that you entered in the [% orgabbrev %] 
42
 Data Registry Form. If the information below is correct, provide your username, organization, and password at the bottom of this page, and submit the information. 
43
If you need to edit something, click on the edit button that is provided at the bottom of this page.<span></td></tr>
29
Please review the information that you've entered.  To make changes, click on the edit button <a href="#buttons">at the bottom of the page</a>.<span></td></tr>
44 30

  
45
<tr><td align="left"><span class="regtext">You can print this page for your record.<span></td></tr> 
31
<tr><td align="left"><span class="regtext">Print this page to keep a copy for your records.<span></td></tr> 
46 32
</table>
47 33

  
48 34
<table class="intro" cellpadding="3" cellspacing="0">
......
68 54
    [% IF cfg == 'esa' %]
69 55
      <p><span class="label">Organization Name:</span>  [%site%]</p>
70 56
    [% ELSE %]
71
      <p><span class="label">[% usite %] Name:</span>  [%site%]</p>
57
      <p><span class="label">[% config.site | ucfirst %] Name:</span>  [%site%]</p>
72 58
    [% END %]
73 59
[% END %]
74 60

  
......
356 342
    [% cnt = 0 %]
357 343
    [% WHILE cnt < upCount %]
358 344
        [% SET fileName = "uploadname_${cnt}" %]
345
        [% SET filePerm = "uploadperm_${cnt}" %]
359 346
        [% cnt = cnt + 1 %]
360 347

  
361
        <p><span class="label">File #[% cnt %]:</span> [% $fileName %] </p>
348
        <p><span class="label">File #[% cnt %]:</span> [% $fileName %], [% $filePerm %] access</p>
362 349
    [% END %]
363 350
[% END %]
364 351
<hr>
......
425 412
</p>
426 413
<hr>
427 414

  
428
<form action="@cgi-prefix@/register-dataset.cgi" method="post">
415
<form action="[% cgiPrefix %]/register-dataset.cgi" method="post">
429 416
  <input type="hidden" name="cfg" value="[% cfg %]">
430 417
  <input type="hidden" name="docid" value="[% docid %]">
431 418
  <input type="hidden" name="stage" value="confirmed">
432 419
  <input type="hidden" name="showSiteList" value="[% showSiteList %]">
433 420
  <input type="hidden" name="showWgList" value="[% showWgList %]">
434 421
  <input type="hidden" name="showOrganization" value="[% showOrganization %]">
435
  <input type="hidden" name="lsite" value="[% lsite %]">
436
  <input type="hidden" name="usite" value="[% usite %]">
422
  <input type="hidden" name="lsite" value="[% config.site %]">
437 423
  <input type="hidden" name="hasKeyword" value="[% hasKeyword %]">
438 424
  <input type="hidden" name="hasSpatial" value="[% hasSpatial %]">
439 425
  <input type="hidden" name="hasTemporal" value="[% hasTemporal %]">
......
550 536
  [% END %]
551 537
  <input type="hidden" name="studyExtentDescription" value="[%studyExtentDescription%]">
552 538
  <input type="hidden" name="samplingDescription" value="[%samplingDescription%]">
553
  <input type="hidden" name="fileCount" value="[%fileCount%]">
554 539
  <input type="hidden" name="upCount" value="[%upCount%]">
555 540
  [% fCount = 0 %]
556 541
  [% IF upCount > 0 %]
......
562 547
      [% SET fileSum = "upload_${cnt}" %]
563 548
      [% SET fileName = "uploadname_${cnt}" %]
564 549
      [% SET fileType = "uploadtype_${cnt}" %] 
550
      [% SET filePerm = "uploadperm_${cnt}" %]
565 551

  
566 552
      [% IF fileSum %]
567 553
        <input type="hidden" name="[% fileSum %]" value="[% $fileSum %]">
568 554
        <input type="hidden" name="[% fileName %]" value="[% $fileName %]">
569 555
        <input type="hidden" name="[% fileType %]" value="[% $fileType %]">
556
        <input type="hidden" name="[% filePerm %]" value="[% $filePerm %]">
570 557
      [% END %]
571 558
      [% cnt = cnt + 1 %]
572 559
  [% END %]
......
579 566
      and password. This is for the protection of your metadata. The
580 567
      username and password will prevent any unauthorized person from
581 568
      modifying your metadata. If you do not have an account, click <a
582
      target="ldap" href="@cgi-prefix@/ldapweb.cgi?cfg=[% cfg %]">here</a>. 
569
      target="ldap" href="[% cgiPrefix %]/ldapweb.cgi?cfg=[% cfg %]">here</a>. 
583 570
      If you don't remember your password, you can
584 571
      have it reset and e-mailed to you by clicking <a target="ldap"
585
      href="@cgi-prefix@/ldapweb.cgi?stage=initresetpass&cfg=[% cfg %]">here</a>. If you want to 
572
      href="[% cgiPrefix %]/ldapweb.cgi?stage=initresetpass&cfg=[% cfg %]">here</a>. If you want to 
586 573
      change your password, click <a target="ldap"
587
      href="@cgi-prefix@/ldapweb.cgi?stage=initchangepass&cfg=[% cfg %]">here</a>.
574
      href="[% cgiPrefix %]/ldapweb.cgi?stage=initchangepass&cfg=[% cfg %]">here</a>.
588 575
      </span>
589 576
      <table cellspacing="0" border="0" cellpadding="9" width="360" align="left">
590 577
        <tr>
......
624 611
<p>&nbsp;</p>
625 612
[% END %]
626 613

  
614
<a name="buttons"></a>
627 615
<table class="intro" cellspacing="0" cellpadding="3" >
628 616
  <tr><td align="left">
629 617
  <p><span class="label">Is the information above correct?</span></p> 
......
635 623
</table>
636 624
</form>
637 625
<p>&nbsp;</p>
638
[% IF cfg == 'nceas' %]
639
  [% INCLUDE "nceasFooter.tmpl" %]
640
[% ELSE %]
641
  [% INCLUDE "genericFooter.tmpl" %]
642
[% END %]
626
[% INCLUDE $templates.footer %]
lib/style/common/templates/genericGuide.tmpl
23 23
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24 24
-->
25 25

  
26
[% IF cfg == 'nceas' %]
27
  [% INCLUDE "nceasHeader.tmpl" %]
28
[% ELSE %]
29
  [% INCLUDE "genericHeader.tmpl" %]
30
[% END %]
26
[% INCLUDE $templates.header %]
31 27

  
32
[% IF cfg == 'nrs' %]
33
  [% lsite = 'reserve' %]
34
  [% usite = 'Reserve' %]
35
[% ELSE %]
36
  [% lsite = 'station' %]
37
  [% usite = 'Station' %]
38
[% END %]
39

  
40 28
<table class="intro" cellpadding="8" cellspacing="0">
41 29

  
42
<tr><td align="left"><span class="emphasis">Guide for Completing the Data [%IF cfg =='nceas'%] Repository [% ELSE %] Registry [% END %] Form</td></tr>
43
<tr><td align="left"><span class="regtext">This guide provides information on how to fill in the online [% orgabbrev %] Data [%IF cfg =='nceas'%] Repository [% ELSE %] 
44
Registry [% END %] Form. 
30
<tr><td align="left"><span class="emphasis">Guide for Completing the Data [% config.type %] Form</td></tr>
31
<tr><td align="left"><span class="regtext">This guide provides information on how to fill in the online [% config.abbrev %] Data [% config.type %] Form. 
45 32
There are 11 sections to the form; some fields are required (denoted by an asterisk *),
46 33
while others are optional. When you are done completing a section, you have the option of clicking on "<span class="colorbold">Hide</span>" 
47 34
(on the right side of each section header) to hide the information you just entered. Information on individual fields and examples for their content are provided below.
......
110 97

  
111 98
[% IF cfg == 'obfs' || cfg == 'nrs' || cfg == 'specnet'%]
112 99

  
113
<tr><td colspan="2" align="left"><span class="label">*[% usite %] Name:</span>
114
<span class="regtext">Select a [% lsite %] from the drop-down list to indicate that the data set is
115
affiliated with the [% lsite %]. We use "affiliation" in a rather
100
<tr><td colspan="2" align="left"><span class="label">*[% config.site | ucfirst %] Name:</span>
101
<span class="regtext">Select a [% config.site %] from the drop-down list to indicate that the data set is
102
affiliated with the [% config.site %]. We use "affiliation" in a rather
116 103
permissive sense to mean, for example, that the data set was or has
117
been generated at the [% lsite %]; that the owner is affiliated
118
with the [% lsite %] or was affiliated with the [% lsite %] when the data
119
set was generated; or that the data set is owned by the [% lsite %]; etc.
104
been generated at the [% config.site %]; that the owner is affiliated
105
with the [% config.site %] or was affiliated with the [% config.site %] when the data
106
set was generated; or that the data set is owned by the [% config.site %]; etc.
120 107
</td></tr>
121 108

  
122 109
<tr><td colspan="2" align="left"><span class="regtext"><u>Note:</u>
123 110
If the data were collected at a site other than a
124
[% lsite %] listed in the drop-down menu, you can indicate so in the
111
[% config.site %] listed in the drop-down menu, you can indicate so in the
125 112
abstract and/or title. You can also indicate this in the keywords
126 113
with a locality keyword.</span></td></tr> 
127 114

  
......
344 331

  
345 332
<tr><td colspan="2" align="left"><span class="regtext">Contact information of the person to be contacted for more information on the data
346 333
set or to obtain the data set itself. This is analogous to the Principal Data Set Owner information above. Please 
347
<a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetOriginator" target="_self">see that section</a> for more information on filling out the 
334
<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetOriginator" target="_self">see that section</a> for more information on filling out the 
348 335
individual fields. If the Data Set Contact and the Principal Data Set Owner are the same, check the box provided.</span></td></tr>
349 336

  
350 337

  
......
359 346

  
360 347
[% IF cfg == 'obfs' || cfg == 'nrs' || cfg == 'specnet'%]
361 348
Keep in mind that this information, although not required, can be extremely useful
362
for locating the data set at a [% lsite %].
349
for locating the data set at a [% config.site %].
363 350
[%END%]
364 351
</span></td></tr>
365 352
<tr><td colspan="2" align="left"><span class="label">*Data Medium</font>:</span><span class="regtext"> Specify whether the data medium is 
......
379 366
</table>
380 367
<p></p>
381 368

  
382
[% IF cfg == 'nceas' %]
383
  [% INCLUDE "nceasFooter.tmpl" %]
384
[% ELSE %]
385
  [% INCLUDE "genericFooter.tmpl" %]
386
[% END %]
369
[% INCLUDE $templates.footer %]
lib/style/common/templates/genericResponse.tmpl
1
[% IF cfg == 'nceas' %]
2
  [% INCLUDE "nceasHeader.tmpl" %]
3
[% ELSE %]
4
  [% INCLUDE "genericHeader.tmpl" %]
5
[% END %]
1
[% INCLUDE $templates.header %]
6 2

  
7 3
    [% IF status == 'success' %]
8 4
        
......
14 10
        [%ELSE%]
15 11
	    <tr><td align="left"><span class="regtext">Your data set description has been [% function  %].  Thank you.</span></td></tr>
16 12
            <tr><td align="left"><span class="regtext">You can see the data set description by clicking 
17
	    <a href="@servlet-path@?action=read&qformat=[% cfg %]&docid=[% docid %]">here</a>.</span></td></tr> 	   
13
	    <a href="[% servletPath %]?action=read&qformat=[% cfg %]&docid=[% docid %]">here</a>.</span></td></tr> 	   
18 14
        [%END%]
19 15
      </table>
20 16
    [% ELSE %]
......
52 48
            <tr><td align="left"><span class="regtext">Click <a href = "javascript:history.back()">here</a> to return
53 49
            to the previous page, and enter the correct username, organization, and password.</td></tr> 
54 50
            [%ELSE%]
55
                <tr><td align="left"><span class="regtext">To register a new data set, click <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]" target="_top">here</a>.
51
                <tr><td align="left"><span class="regtext">To register a new data set, click <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]" target="_top">here</a>.
56 52
		Otherwise, use the toolbar links above to navigate.</span></td></tr>
57 53
            [%END%]
58 54
            </table>
59 55
        [% ELSE %]
60 56
            [% IF status == 'success' %]
61 57
                <table class="intro" cellpadding="8" cellspacing="0">
62
                    <tr><td align="left"><span class="regtext">To register a new data set, click <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]" target="_top">here</a>.
58
                    <tr><td align="left"><span class="regtext">To register a new data set, click <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]" target="_top">here</a>.
63 59
                    Otherwise, use the toolbar links above to navigate.</span></td></tr>
64 60
                </table>
65 61
            [% ELSE %]
66 62
                [% IF status != 'failure_no_resubmit' %]
67
                    <form name="editForm" action="@cgi-prefix@/register-dataset.cgi" method="post">
63
                    <form name="editForm" action="[% cgiPrefix %]/register-dataset.cgi" method="post">
68 64
                        <input type="hidden" name="cfg" value="[% cfg %]">
69 65
                        <input type="hidden" name="docid" value="[% docid %]">
70 66
                        <input type="hidden" name="stage" value="confirmed">
......
215 211
                            [% SET fileSum = "upload_${cnt}" %]
216 212
                            [% SET fileName = "uploadname_${cnt}" %]
217 213
                            [% SET fileType = "uploadtype_${cnt}" %]
214
                            [% SET filePerm = "uploadperm_${cnt}" %]
218 215

  
219 216
                            [% IF fileSum %]
220 217

  
221 218
                                <input type="hidden" name="[% fileSum %]" value="[% $fileSum %]">
222 219
                                <input type="hidden" name="[% fileName %]" value="[% $fileName %]">
223 220
                                <input type="hidden" name="[% fileType %]" value="[% $fileType %]">
221
                                <input type="hidden" name="[% filePerm %]" value="[% $filePerm %]">
224 222
                            [% END %]
225 223
                            [% cnt = cnt + 1 %]
226 224
                        [% END %]
......
243 241
            [% END %]
244 242
        [% END %]
245 243
    [% END %]
246
[% IF cfg == 'nceas' %]
247
  [% INCLUDE "nceasFooter.tmpl" %]
248
[% ELSE %]
249
  [% INCLUDE "genericFooter.tmpl" %]
250
[% END %]
244
[% INCLUDE $templates.footer %]
lib/style/common/templates/genericFooter.tmpl
1 1
<script language="JavaScript" type="text/javascript">
2
    insertTemplateClosing();
2
    insertTemplateClosing("[% baseUrl %]");
3 3
</script>
4 4
</body>
5 5
</html>
lib/style/common/templates/deleteData.tmpl
22 22
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 23
-->
24 24

  
25
[% IF cfg == 'nceas' %]
26
  [% INCLUDE "nceasHeader.tmpl" %]
27
[% ELSE %]
28
  [% INCLUDE "genericHeader.tmpl" %]
29
[% END %]
25
[% INCLUDE $templates.header %]
30 26

  
31
[% IF cfg == 'nrs' %]
32
  [% lsite = 'reserve' %]
33
  [% usite = 'Reserve' %]
34
[% ELSE %]
35
  [% lsite = 'station' %]
36
  [% usite = 'Station' %]
37
[% END %]
38

  
39

  
40 27
<table class="intro" cellpadding="3" cellspacing="0">
41
<tr><td align="left"><span class="regtext">You have requested deletion of a data set description entered in the [% orgabbrev %] Data Registry Form. 
28
<tr><td align="left"><span class="regtext">You have requested deletion of a data set description entered in the [% config.abbrev %] Data Registry Form. 
42 29
Please enter your username, organization, and password to delete this document.</span><p>&nbsp;</p>
43 30

  
44
<form action="@cgi-prefix@/register-dataset.cgi" method="post">
31
<form action="[% cgiPrefix %]/register-dataset.cgi" method="post">
45 32
  <input type="hidden" name="cfg" value="[% cfg %]">
46 33
  <input type="hidden" name="docid" value="[% docid %]">
47 34
  <input type="hidden" name="stage" value="delete_confirm"> 
......
96 83
  </tr>
97 84
</table>
98 85
</form>
99
<p>&nbsp;</p>
100
[% IF cfg == 'nceas' %]
101
  [% INCLUDE "nceasFooter.tmpl" %]
102
[% ELSE %]
103
  [% INCLUDE "genericFooter.tmpl" %]
104
[% END %]
86
<p></p>
87
[% INCLUDE $templates.footer %]
lib/style/common/templates/loginForm.tmpl
1
[% IF cfg == 'nceas' %]
2
  [% INCLUDE "nceasHeader.tmpl" %]
3
[% ELSE %]
4
  [% INCLUDE "genericHeader.tmpl" %]
5
[% END %]
1
[% INCLUDE $templates.header %]
6 2
      <script language="JavaScript">
7 3
function submitform(formObj) {
8 4

  
......
48 44
          
49 45
        
50 46
				<p><span class="greenbold">Step 1: Create an Account</span> <br>
51
		   			Create an account by registering with the <a href="@cgi-prefix@/ldapweb.cgi?cfg=[%cfg%]">KNB</a>.
47
		   			Create an account by registering with the <a href="[% cgiPrefix %]/ldapweb.cgi?cfg=[%cfg%]">KNB</a>.
52 48

  
53 49
					Many scientists will already have accounts in the KNB, especially those 
54 50
					from institutions like NCEAS and LTER. If you already have an account 
......
65 61
		[% END %]
66 62
	  
67 63
      [% END %]
68
  <menu>
69
<form method="post" action="@cgi-prefix@/register-dataset.cgi" onsubmit="return submitform(this);" >
64
<form method="post" action="[% cgiPrefix %]/register-dataset.cgi" onsubmit="return submitform(this);" >
70 65
    <input type="hidden" name="stage" value="login"> 
71 66
    <input type="hidden" name="username" value=""> 
72 67
    <input type="hidden" name="cfg" value="[%cfg%]"> 
......
128 123
      </tr>
129 124
    </table>
130 125
  </form>
131
  </menu>
132
  
133
[% IF cfg == 'nceas' %]
134
	Dont have an account yet? <a href="@cgi-prefix@/ldapweb.cgi">Create a new account</a>
135
	 <br />
136
	Forgot your password? <a href="@cgi-prefix@/ldapweb.cgi?stage=resetpass">Reset your password</a>
137
[% ELSE %]
138
  Dont have an account yet? <a href="@cgi-prefix@/ldapweb.cgi?cfg=[%cfg%]">Create a new account</a>
126

  
127
  <p>  
128
  Dont have an account yet? <a href="[% cgiPrefix %]/ldapweb.cgi?cfg=[%cfg%]">Create a new account</a>
139 129
  <br />
140
  Forgot your password? <a href="@cgi-prefix@/ldapweb.cgi?cfg=[%cfg%]&amp;stage=resetpass">Reset your password</a>
141
[% END %]
142

  
143
[% IF cfg == 'nceas' %]
144
  [% INCLUDE "nceasFooter.tmpl" %]
145
[% ELSE %]
146
  [% INCLUDE "genericFooter.tmpl" %]
147
[% END %]  
130
  Forgot your password? <a href="[% cgiPrefix %]/ldapweb.cgi?cfg=[%cfg%]&amp;stage=resetpass">Reset your password</a>
131
  </p>
132
[% INCLUDE $templtes.footer %]
lib/style/common/templates/nceasHeader.tmpl
4 4
  <title>NCEAS Data Repository</title>
5 5

  
6 6
  <link rel="stylesheet" type="text/css"
7
    href="@systemidserver@@style-skins-path@/nceas/nceas.css">
7
    href="[% styleSkinsPath %]/nceas/nceas.css">
8 8
  <script language="Javascript" type="text/JavaScript"
9
    src="@systemidserver@@style-skins-path@/nceas/nceas.js"></script>
9
    src="[% styleSkinsPath %]/nceas/nceas.js"></script>
10 10
  <script language="Javascript" type="text/JavaScript"
11
    src="@systemidserver@@style-common-path@/branding.js"></script>
11
    src="[% styleCommonPath %]/branding.js"></script>
12 12
  <script language="Javascript" type="text/javascript"
13
    src="@systemidserver@@style-skins-path@/nceas/navigation.js"></script>
13
    src="[% styleSkinsPath %]/nceas/navigation.js"></script>
14 14
  <link rel="stylesheet" type="text/css"
15
    href="@systemidserver@@style-skins-path@/nceas/nceas.css">
15
    href="[% styleSkinsPath %]/nceas/nceas.css">
16 16
</head>
17
<body id="Overview" onload="loginStatus();">
17
<body id="Overview" onload="loginStatus('[% metacatUrl %]', '[% cgiPrefix %]');">
18 18
  <div id="main_wrapper">
19 19

  
20 20
  <div id="header">
......
42 42
          </a>
43 43
        </li>
44 44
        <li class="collapsed">
45
          <a href="@cgi-prefix@/register-dataset.cgi?cfg=nceas">
45
          <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=nceas">
46 46
            Register
47 47
          </a>
48 48
        </li>
lib/style/common/templates/esaModResultTemplate.tmpl
13 13
</script>
14 14

  
15 15
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="timerID=setTimeout('search()',20)">
16
          <form id="search-form" action="@servlet-path@" method="post">
16
          <form id="search-form" action="[% servletPath %]" method="post">
17 17
                <input type="hidden" name="action" value="squery"/>
18 18
                <input type="hidden" name="qformat" value="esa"/>
19 19
                <input type="hidden" name="enableediting" value="true"/>

Also available in: Unified diff