Project

General

Profile

« Previous | Next » 

Revision 2432

Added by sgarg over 19 years ago

Replaced Usage Constraints with Usage Rights and Data Originator with Dataset Owner.

(Commit done by Saurabh Garg for Veronique)

View differences:

lib/style/common/templates/entryForm.tmpl
2012 2012
        </td>
2013 2013
    </tr>  
2014 2014
  
2015
  <tr class="sectbody"><td class="rightCol"><span class="label">*Usage Constraints</span></td>
2015
  <tr class="sectbody"><td class="rightCol"><span class="label">*Usage Rights</span></td>
2016 2016
      <td colspan="5" align="left">
2017 2017
      
2018 2018
      
......
2024 2024
                <option>Select restrictions here.</option>
2025 2025
	    [% END %]
2026 2026
            <option>No restrictions</option>
2027
            <option>Obtain permission from originator(s)</option>
2027
            <option>Obtain permission from data set owner(s)</option>
2028 2028
            <option>Other</option>
2029 2029
          </select>  -->
2030 2030
	  
......
2034 2034
            <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="no restrictions"><span class="regtext">No restrictions&nbsp;&nbsp;</span>
2035 2035
          [%END%]
2036 2036
          [% IF form == 're_entry' && useConstraints == "permissions" %]		  
2037
  	    <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="permissions" CHECKED><span class="regtext">Obtain permission from originator(s)&nbsp;&nbsp;</span>
2037
  	    <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="permissions" CHECKED><span class="regtext">Obtain permission from data set owner(s)&nbsp;&nbsp;</span>
2038 2038
          [%ELSE%]
2039
            <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="permissions"><span class="regtext">Obtain permission from originator(s)&nbsp;&nbsp;</span>
2039
            <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="permissions"><span class="regtext">Obtain permission from data set owner(s)&nbsp;&nbsp;</span>
2040 2040
          [%END%]
2041 2041
          </td></tr>
2042 2042
	  
lib/style/common/templates/genericGuide.tmpl
363 363
digital (e.g., computer file) or hardcopy (e.g., paper), or specify any other type of data medium the data are recorded on (e.g., video tape).</span></td></tr>
364 364

  
365 365

  
366
<tr class="sectbody"><td colspan="2" align="left"><span class="label">*Usage Constraints:</span><span class="regtext"> Specify the usage constraints that apply
367
to the data set. </span></td></tr>
366
<tr class="sectbody"><td colspan="2" align="left"><span class="label">*Usage Rights:</span><span class="regtext"> Specify the usage rights that apply
367
to the data set (e.g., no restrictions, obtain permission from data set owner(s), cite the data set in publications, etc.). </span></td></tr>
368 368

  
369 369
<tr class="sectbody"><td colspan="2" align="left"><span class="label">URL:</span><span class="regtext"> If available, provide a link for the
370 370
location of more metadata or the data set itself (this URL should be as permanent as possible).</span></td></tr>
src/perl/register-dataset.cgi
745 745
        $FORM::useOrigAddress);
746 746
    push(@invalidParams, "Data medium is missing.")
747 747
    unless (hasContent($FORM::dataMedium) || $FORM::dataMedium =~ /elect/);
748
    push(@invalidParams, "Usage constraints is missing.")
748
    push(@invalidParams, "Usage rights are missing.")
749 749
    unless (hasContent($FORM::useConstraints));
750 750
    
751 751
    return \@invalidParams;

Also available in: Unified diff