Lines 100-112
Link Here
|
100 |
<li> |
100 |
<li> |
101 |
<div title="Copyright or publication year, for example: 2016"> |
101 |
<div title="Copyright or publication year, for example: 2016"> |
102 |
[% IF ( copyrightdate_required ) %] |
102 |
[% IF ( copyrightdate_required ) %] |
103 |
<label for="copyrightdate" class="required">Copyright date:</label> |
103 |
<label for="copyrightdate" class="required">Publication year:</label> |
104 |
<input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="10" maxlength="4" value="[% copyrightdate | html %]" required="required" /> |
104 |
<input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="10" maxlength="4" value="[% copyrightdate | html %]" required="required" /> |
105 |
<span class="required">Required</span> |
105 |
<span class="required">Required</span> |
106 |
[% ELSE %] |
106 |
[% ELSE %] |
107 |
<label for="copyrightdate">Copyright date:</label> |
107 |
<label for="copyrightdate">Publication year:</label> |
108 |
<input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="10" maxlength="4" value="[% copyrightdate | html %]" /> |
108 |
<input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="10" maxlength="4" value="[% copyrightdate | html %]" /> |
109 |
[% END %] |
109 |
[% END %] |
|
|
110 |
<span class="hint">Copyright or publication year, for example: 2016</span> |
110 |
</div> |
111 |
</div> |
111 |
</li> |
112 |
</li> |
112 |
[% END %] |
113 |
[% END %] |
Lines 479-486
Link Here
|
479 |
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] |
480 |
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] |
480 |
[% INCLUDE 'datatables.inc' %] |
481 |
[% INCLUDE 'datatables.inc' %] |
481 |
<script> |
482 |
<script> |
482 |
var MSG_UNDO_AUTOFILL_SUGGESTION = _("Undo"); |
|
|
483 |
var MSG_SEARCH_GOOGLE_BOOKS = _("Search Google Books"); |
484 |
[% IF ( loggedinusername ) %] |
483 |
[% IF ( loggedinusername ) %] |
485 |
function enableCheckboxActions(){ |
484 |
function enableCheckboxActions(){ |
486 |
// Enable/disable controls if checkboxes are checked |
485 |
// Enable/disable controls if checkboxes are checked |