Lines 564-586
$(document).ready(function() {
Link Here
|
564 |
[% IF ( sortfield == "itemcallnumber" ) %]<option value="itemcallnumber" selected="selected">Call number</option>[% ELSE %]<option value="itemcallnumber">Call number</option>[% END %] |
564 |
[% IF ( sortfield == "itemcallnumber" ) %]<option value="itemcallnumber" selected="selected">Call number</option>[% ELSE %]<option value="itemcallnumber">Call number</option>[% END %] |
565 |
</select> |
565 |
</select> |
566 |
</li> |
566 |
</li> |
567 |
[% IF (OpacAllowPublicListCreation) %] |
567 |
[% IF ( OpacAllowPublicListCreation || category2 ) %] |
568 |
<li> |
568 |
<li> |
569 |
<label for="category">Category:</label> |
569 |
<label for="category">Category:</label> |
570 |
<select name="category" id="category"> |
570 |
<select name="category" id="category"> |
571 |
[% IF ( category1 ) %]<option value="1" selected="selected">Private</option>[% ELSE %]<option value="1">Private</option>[% END %] |
571 |
[% IF ( category1 ) %]<option value="1" selected="selected">Private</option>[% ELSE %]<option value="1">Private</option>[% END %] |
572 |
[% IF ( category2 ) %]<option value="2" selected="selected">Public</option>[% ELSE %]<option value="2">Public</option>[% END %] |
572 |
[% IF ( category2 ) %]<option value="2" selected="selected">Public</option>[% ELSE %]<option value="2">Public</option>[% END %] |
573 |
</select> |
573 |
</select> |
|
|
574 |
[% IF ( category2 && !OpacAllowPublicListCreation ) %] |
575 |
The library has disabled the ability for patrons to create new public lists. If you make your list private, you will not be able to make it public again. |
576 |
[% END %] |
574 |
</li> |
577 |
</li> |
575 |
[% INCLUDE list_permissions %] |
578 |
[% INCLUDE list_permissions %] |
576 |
[% END %] |
579 |
[% END %] |
577 |
</ol> |
580 |
</ol> |
578 |
[% UNLESS ( OpacAllowPublicListCreation ) %] |
581 |
[% UNLESS ( OpacAllowPublicListCreation || category2 ) %] |
579 |
[% IF ( category2 ) %] |
582 |
<input type="hidden" name="category" value="1" /> |
580 |
<input type="hidden" name="category" value="2" /> |
|
|
581 |
[% ELSE %] |
582 |
<input type="hidden" name="category" value="1" /> |
583 |
[% END %] |
584 |
[% END %] |
583 |
[% END %] |
585 |
</fieldset> |
584 |
</fieldset> |
586 |
<fieldset class="action"><input type="submit" value="Save" class="submit" /> [% IF ( showprivateshelves ) %]<a class="cancel" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=[% shelfnumber %]&display=privateshelves">Cancel</a>[% ELSE %]<a class="cancel" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=[% shelfnumber %]">Cancel</a>[% END %]</fieldset> |
585 |
<fieldset class="action"><input type="submit" value="Save" class="submit" /> [% IF ( showprivateshelves ) %]<a class="cancel" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=[% shelfnumber %]&display=privateshelves">Cancel</a>[% ELSE %]<a class="cancel" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=[% shelfnumber %]">Cancel</a>[% END %]</fieldset> |
587 |
- |
|
|