Project

General

Profile

« Previous | Next » 

Revision 4373

Added by walbridge about 16 years ago

Change references of baseUrl to contextUrl, fix parsing error in confirmData which was throwing errors due to invalid keyword counts

View differences:

lib/style/common/templates/getReviews.tmpl
36 36
[% IF reviewdocid != '' %]
37 37
	<h3 style="margin-top:-8px" class="review_emphasis">
38 38
	Reviews 
39
	<img id="busy" src="[% baseUrl %]/style/images/spinner.gif" style="display:none; margin-bottom: -3px;"/>
39
	<img id="busy" src="[% contextUrl %]/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.tmpl
71 71
  <input type="hidden" name="cfg" value="[% cfg %]">
72 72
  <input type="hidden" name="docid" value="[% docid %]">
73 73
  <input type="hidden" name="stage" value="insert">
74
  <input type="hidden" name="lsite" value="[% config.site %]">
75 74
  
76 75
        <table class="tables" cellpadding="5" cellspacing="0">
77 76
        <tr class="sectheader"><td colspan="5" align="left"><span class="label">NAME OF SUBMITTER&nbsp;
......
294 293
            <td class="rightCol">
295 294
                <a style="cursor:pointer">
296 295
                    <img onClick="cleanTextNodes('aoHRRow', 'addaorow');moveUpRow(event)"
297
                    src="[% baseUrl %]/style/images/previous.gif"
296
                    src="[% contextUrl %]/style/images/previous.gif"
298 297
                    alt="Move Up" border="0"/>
299 298
                </a>
300 299
                <a style="cursor:pointer">
301 300
                    <img onClick="cleanTextNodes('aoHRRow', 'addaorow');moveDownRow(event, 'addaorow')"
302
                    src="[% baseUrl %]/style/images/next.gif"
301
                    src="[% contextUrl %]/style/images/next.gif"
303 302
                    alt="Move Down" border="0"/>
304 303
                </a>
305 304
                <a style="cursor:pointer">
306
                    <img src="[% baseUrl %]/style/images/delete.gif"
305
                    <img src="[% contextUrl %]/style/images/delete.gif"
307 306
                    onClick="delRow(event)" alt="Delete" border="0"/>
308 307
                </a>
309 308
            </td>
......
399 398
            <td class="rightCol">
400 399
                <a style="cursor:pointer">
401 400
                    <img onClick="cleanTextNodes('keywordHRRow', 'addkeyrow');moveUpRow(event)"
402
                    src="[% baseUrl %]/style/images/previous.gif"
401
                    src="[% contextUrl %]/style/images/previous.gif"
403 402
                    alt="Move Up" border="0"/>
404 403
                </a>
405 404
                <a style="cursor:pointer">
406 405
                    <img onClick="cleanTextNodes('keywordHRRow', 'addkeyrow');moveDownRow(event, 'addkeyrow')"
407
                    src="[% baseUrl %]/style/images/next.gif"
406
                    src="[% contextUrl %]/style/images/next.gif"
408 407
                    alt="Move Down" border="0"/>
409 408
                </a>
410 409
                <a style="cursor:pointer">
411
                    <img src="[% baseUrl %]/style/images/delete.gif"
410
                    <img src="[% contextUrl %]/style/images/delete.gif"
412 411
                    onClick="delRow(event)" alt="Delete" border="0"/>
413 412
                </a>
414 413
            </td>
......
729 728
                <td class="rightCol">
730 729
                    <a style="cursor:pointer">
731 730
                        <img onClick="cleanTextNodes('taxonHRRow', 'addtaxarow');moveUpRow(event)"
732
                        src="[% baseUrl %]/style/images/previous.gif"
731
                        src="[% contextUrl %]/style/images/previous.gif"
733 732
                        alt="Move Up" border="0"/>
734 733
                    </a>
735 734
                    <a style="cursor:pointer">
736 735
                        <img onClick="cleanTextNodes('taxonHRRow', 'addtaxarow');moveDownRow(event, 'addtaxarow')"
737
                        src="[% baseUrl %]/style/images/next.gif"
736
                        src="[% contextUrl %]/style/images/next.gif"
738 737
                        alt="Move Down" border="0"/>
739 738
                    </a>
740 739
                    <a style="cursor:pointer">
741
                        <img src="[% baseUrl %]/style/images/delete.gif"
740
                        <img src="[% contextUrl %]/style/images/delete.gif"
742 741
                        onClick="delRow(event)" alt="Delete" border="0"/>
743 742
                    </a>
744 743
                </td>
lib/style/common/templates/genericHeader.tmpl
36 36

  
37 37
<body>
38 38
      <script language="JavaScript" type="text/javascript">
39
          insertTemplateOpening("[% baseUrl %]");
39
          insertTemplateOpening("[% contextUrl %]");
40 40
      </script>
lib/style/common/templates/confirmData.tmpl
144 144
<a name="DataSetAbstract"></a>
145 145
<p><span class="sectionnames">DATA SET ABSTRACT</span><br>  [%abstract%]
146 146
</p>
147
 [% IF module.keyword == 'true' %]
147
 [% IF modules.keyword == 'true' %]
148 148
<hr>
149 149
<a name="KeywordInformation"></a>
150 150
<p><span class="sectionnames">KEYWORD INFORMATION</span> 
151 151

  
152 152
    [% numKey = 0 %]
153
    [% IF keyCount > 0 %]
153
    [% IF keyCount > 1 %]
154 154
        [% numKey = keyCount %]
155 155
    [% END %]
156 156

  
lib/style/common/templates/genericFooter.tmpl
1 1
<script language="JavaScript" type="text/javascript">
2
    insertTemplateClosing("[% baseUrl %]");
2
    insertTemplateClosing("[% contextUrl %]");
3 3
</script>
4 4
</body>
5 5
</html>

Also available in: Unified diff