Lines 97-109
Link Here
|
97 |
<li> |
97 |
<li> |
98 |
<div title="Copyright or publication year, for example: 2016"> |
98 |
<div title="Copyright or publication year, for example: 2016"> |
99 |
[% IF ( copyrightdate_required ) %] |
99 |
[% IF ( copyrightdate_required ) %] |
100 |
<label for="copyrightdate" class="required">Copyright date:</label> |
100 |
<label for="copyrightdate" class="required">Publication year:</label> |
101 |
<input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="10" maxlength="4" value="[% copyrightdate | html %]" required="required" /> |
101 |
<input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="10" maxlength="4" value="[% copyrightdate | html %]" required="required" /> |
102 |
<span class="required">Required</span> |
102 |
<span class="required">Required</span> |
103 |
[% ELSE %] |
103 |
[% ELSE %] |
104 |
<label for="copyrightdate">Copyright date:</label> |
104 |
<label for="copyrightdate">Publication year:</label> |
105 |
<input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="10" maxlength="4" value="[% copyrightdate | html %]" /> |
105 |
<input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="10" maxlength="4" value="[% copyrightdate | html %]" /> |
106 |
[% END %] |
106 |
[% END %] |
|
|
107 |
<span class="hint">Copyright or publication year, for example: 2016</span> |
107 |
</div> |
108 |
</div> |
108 |
</li> |
109 |
</li> |
109 |
[% UNLESS Koha.Preference( 'OPACSuggestionAutoFill' ) %] |
110 |
[% UNLESS Koha.Preference( 'OPACSuggestionAutoFill' ) %] |
Lines 461-468
Link Here
|
461 |
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] |
462 |
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] |
462 |
[% INCLUDE 'datatables.inc' %] |
463 |
[% INCLUDE 'datatables.inc' %] |
463 |
<script> |
464 |
<script> |
464 |
var MSG_UNDO_AUTOFILL_SUGGESTION = _("Undo"); |
|
|
465 |
var MSG_SEARCH_GOOGLE_BOOKS = _("Search Google Books"); |
466 |
[% IF ( loggedinusername ) %] |
465 |
[% IF ( loggedinusername ) %] |
467 |
function enableCheckboxActions(){ |
466 |
function enableCheckboxActions(){ |
468 |
// Enable/disable controls if checkboxes are checked |
467 |
// Enable/disable controls if checkboxes are checked |