[% USE Koha %] [% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnList ) %] [% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %] [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › [% IF ( viewshelf ) %]Contents of [% shelfname |html %][% ELSE %]Your lists[% END %][% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %][% END %] [% IF ( loggedinusername ) %][% INCLUDE 'bodytag.inc' bodyid='opac-userlists' bodyclass='scrollto' %][% ELSE %][% INCLUDE 'bodytag.inc' bodyid='opac-lists' bodyclass='scrollto' %][% END %] [% BLOCK list_permissions %]
  •  anyone else to add entries. (The owner of a list is always allowed to add entries, but needs permission to remove.)
  •  anyone to remove his own contributed entries.
  •  anyone to remove other contributed entries.
  • [% END %] [% BLOCK remove_share %] [%# Use: add parameter shelfnumber and add end form tag %]
    [% END %] [% INCLUDE 'masthead.inc' %]
    [% IF ( OpacNav||loggedinusername ) && !print %]
    [% END %] [% IF ( OpacNav||loggedinusername ) %]
    [% ELSE %]
    [% END %]
    [% IF ( paramsloop ) %] [% FOREACH paramsloo IN paramsloop %] [% IF ( paramsloo.already ) %]
    A list named [% paramsloo.already %] already exists!
    [% END %] [% IF ( paramsloo.addshelf_failed ) %]
    List could not be created. [% IF loggedinuser==0 %](Do not use the database administrator account.)[% END %]
    [% END %] [% IF ( paramsloo.status ) %]
    [% paramsloo.string %]
    [% END %] [% IF ( paramsloo.nobarcode ) %]
    ERROR: No barcode given.
    [% END %] [% IF ( paramsloo.noshelfnumber ) %]
    ERROR: No shelfnumber given.
    [% END %] [% IF ( paramsloo.need_confirm ) %]
    The list [% paramsloo.need_confirm %] is not empty.
    It has [% paramsloo.count %] [% IF ( paramsloo.single ) %]entry[% ELSE %]entries[% END %].
    Use the "Confirm" button below to confirm deletion.
    [% END %] [% IF ( paramsloo.nopermission ) %]
    ERROR: You do not have adequate permission for that action on list [% paramsloo.nopermission |html%].
    [% END %] [% IF ( paramsloo.failgetitem ) %]
    ERROR: No item found with barcode [% paramsloo.failgetitem %].
    [% END %] [% IF ( paramsloo.duplicatebiblio ) %]
    A record matching barcode [% paramsloo.duplicatebiblio %] has already been added.
    [% END %] [% IF ( paramsloo.delete_ok ) %]
    List [% paramsloo.delete_ok |html %] Deleted.
    [% END %] [% IF ( paramsloo.delete_fail ) %]
    ERROR: Database error. Delete (list number [% paramsloo.delete_fail |html %]) failed.
    [% END %] [% IF ( paramsloo.unrecognized ) %]
    ERROR: List number [% paramsloo.unrecognized %] unrecognized.
    [% END %] [% IF ( paramsloo.modifyfailure) %]
    ERROR: Shelf could not be renamed to [% paramsloo.modifyfailure %]. This name may not be unique for this type of list. Please check.
    [% END %] [% IF ( paramsloo.nothingdeleted) %]
    Warning: You could not delete any selected items from this shelf.
    [% END %] [% IF ( paramsloo.somedeleted) %]
    Warning: You could not delete all selected items from this shelf.
    [% END %] [% END # / FOREACH paramsloop %] [% END # / IF paramsloop %] [% IF ( viewshelf ) %]

    [% shelfname |html %] Subscribe to this list

    [% IF ( itemsloop ) %]
    New list | Download list [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] Send list [% END %] Print list [% IF ( manageshelf ) %] |
    [% IF ( showprivateshelves ) %] [% END %]
    [% IF showprivateshelves && Koha.Preference('OpacAllowSharingPrivateLists') %] Share list [% END %] [% ELSIF showprivateshelves # not manageshelf and private means shared %] [% INCLUDE remove_share %] [% END # / IF manageshelf %]
    | Select titles to: [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %] [% END %] [% IF ( TagsInputEnabled && loggedinusername ) %] Tag [% END %] [% IF ( loggedinusername && allowremovingitems ) %] [% END %]
    [% IF ( manageshelf ) %] [% END %]
    [% FOREACH itemsloo IN itemsloop %] [% UNLESS ( item_level_itypes ) %] [% END %] [% END # / FOREACH itemsloop %]
    [% UNLESS ( noItemTypeImages ) %] [% itemsloo.description %] [% END %] [% itemsloo.description %] [% IF ( itemsloo.XSLTBloc ) %] [% itemsloo.XSLTBloc %] [% ELSE %] [% IF ( itemsloo.BiblioDefaultViewmarc ) %] [% ELSE %] [% IF ( itemsloo.BiblioDefaultViewisbd ) %] [% ELSE %] [% END %] [% END %] [% IF ( itemsloo.title ) %] [% itemsloo.title |html %] [% ELSE %] No title [% END %] [% FOREACH subtitl IN itemsloo.subtitle %] [% subtitl.subfield|html %] [% END %] [% IF ( itemsloo.author ) %] by [% itemsloo.author %] [% ELSE %]   [% END %] Publication: [% IF ( itemsloo.place ) %] [% itemsloo.place %] [% END %] [% IF ( itemsloo.publishercode ) %] [% itemsloo.publishercode|html %] [% END %] [% IF ( itemsloo.publicationyear ) %] [% itemsloo.publicationyear %] [% ELSE %] [% IF ( itemsloo.copyrightdate ) %] [% itemsloo.copyrightdate %] [% END %] [% END %] [% IF ( itemsloo.pages ) %]. [% itemsloo.pages %][% END %] [% IF ( itemsloo.notes ) %], [% itemsloo.notes|html %][% END %] [% IF ( itemsloo.item('size') ) %] [% itemsloo.item('size') %][% END %] Holdings: [% IF ( itemsloo.ITEM_RESULTS ) %] [% FOREACH ITEM_RESULT IN itemsloo.ITEM_RESULTS %] [% ITEM_RESULT.homebranch %] [% IF ( ITEM_RESULT.location_opac ) %] , [% ITEM_RESULT.location_opac %] [% END %] [% IF ( ITEM_RESULT.itemcallnumber ) %] ([% ITEM_RESULT.itemcallnumber %]) [% IF ( loop.last ) %].[% ELSE %],[% END %] [% END %] [% END %] [% ELSE %] This record has no items. [% END %] [% END # / IF itemsloo.XSLTBloc %] [% IF ( TagsShowEnabled && itemsloo.TagLoop.size ) %]
    Tags:
      [% FOREACH TagLoo IN itemsloo.TagLoop %]
    • [% TagLoo.term %] ([% TagLoo.weight_total %])
    • [% END %]
    [% END %] [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %] [% UNLESS ( itemsloo.norequests ) %] [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] [% IF ( itemsloo.allow_onshelf_holds ) %] Place hold [% ELSE %] [% IF ( itemsloo.itemsissued ) %] Place hold [% END %] [% END %] [% END # / IF opacuserlogin %] [% END # / UNLESS itemsloo.norequests %] [% END # / RequestOnOpac %] [% IF ( TagsInputEnabled ) %] [% IF ( loggedinusername ) %] [% ELSIF ( loop.first ) %] Log in to add tags. [% END # / IF loggedinusername %] [% END # / IF TagsInputEnabled %] [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername && ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %] Save to another list [% END %] [% IF ( allowremovingitems ) %] [% END %] [% IF Koha.Preference( 'opacbookbag' ) == 1 %] [% IF ( itemsloo.incart ) %] [% ELSE %] [% END %] [% END # / IF opacbookbag %]
    [% IF ( pagination_bar ) %]
    [% pagination_bar %]
    [% END %] [% ELSE %]
    New list [% IF ( manageshelf ) %] |
    [% IF ( showprivateshelves ) %] [% END %]
    [% END # / IF manageshelf %]
    This list is empty. [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] You can add to your lists from the results of any search. [% END %]
    [% END # / IF itemsloop %] [% END # / IF viewshelf %] [% IF ( itemsloop && allowremovingitems ) %] [% ELSIF ( !itemsloop && manageshelf ) %]
    [% END %] [% IF ( edit ) %]
    Editing [% shelfname |html %]
    1. [% IF ( OpacAllowPublicListCreation || category2 ) %]
    2. [% IF ( category2 && !OpacAllowPublicListCreation ) %] 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. [% END %]
    3. [% INCLUDE list_permissions %] [% END %]
    [% UNLESS ( OpacAllowPublicListCreation || category2 ) %] [% END %]
    [% IF ( showprivateshelves ) %] Cancel [% ELSE %] Cancel [% END %]
    [% END # / IF edit %] [% UNLESS ( edit ) %] [% UNLESS ( viewshelf ) %] [% UNLESS ( shelves ) %]

    Lists

    [% IF ( showprivateshelves ) %]
    [% IF ( loggedinusername ) %] [% IF ( showprivateshelves ) %] [% IF ( shelveslooppriv ) %] [% FOREACH shelveslooppri IN shelveslooppriv %] [% END # / FOREACH shelveslooppri %]
    List name Contents Type  
    [% shelveslooppri.shelfname |html %] [% IF ( shelveslooppri.count ) %][% shelveslooppri.count %] [% IF ( shelveslooppri.single ) %]item[% ELSE %]items[% END %][% ELSE %]Empty[% END %] [% IF ( shelveslooppri.viewcategory1 ) %][% IF !shelveslooppri.shares %]Private[% ELSE %]Shared[% END %][% END %] [% IF ( shelveslooppri.mine ) %]
    [% IF ( shelveslooppri.confirm ) %] [% ELSE %] [% END %]
    [% IF Koha.Preference('OpacAllowSharingPrivateLists') %] Share [% END %] [% ELSE # not shelveslooppri.mine, so shared %] [% INCLUDE remove_share # if pref is off, you should still be able to remove shares %] [% END %] 
    [% pagination_bar %]
    [% ELSE %]

    No private lists.

    [% END # / IF shelveslooppriv %] [% END # / IF showprivateshelves %] [% ELSE %] [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
    Log in to create new lists.
    [% END %] [% END # IF loggedinusername %]
    [% END # / IF showprivateshelves %] [% IF ( showpublicshelves ) %]
    [% IF ( loggedinusername ) %] [% ELSE %] [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
    Log in to create new lists.
    [% END %] [% END # / IF loggedinusername %] [% IF ( shelvesloop ) %] [% FOREACH shelvesloo IN shelvesloop %] [% END # / FOREACH shelvesloop %]
    List name Contents Type 
    [% shelvesloo.shelfname |html %] [% shelvesloo.count %] [% IF ( shelvesloo.single ) %]item[% ELSE %]item(s)[% END %] [% IF ( shelvesloo.viewcategory2 ) %]Public[% END %] [% IF ( shelvesloo.mine ) %]
    [% IF ( shelvesloo.confirm ) %] [% ELSE %] [% END %]
    [% END %] 
    [% IF ( pagination_bar ) %]
    [% pagination_bar %]
    [% END %] [% ELSE %] [% IF ( showpublicshelves ) %]

    No public lists.

    [% END %] [% END # / IF shelvesloop %]
    [% END # / IF showprivateshelves %]
    [% END # / UNLESS shelves %] [% END # / UNLESS viewshelf %] [% END # / UNLESS edit %] [% IF ( shelves ) %]
    Create a new list
    1. [% IF ( already ) %] [% ELSE %] [% END %]
    2. [% IF (OpacAllowPublicListCreation) %]
    3. [% INCLUDE list_permissions %] [% END %]
    [% UNLESS (OpacAllowPublicListCreation) %] [% END %]
    Cancel
    [% END # / IF shelves %]
    [% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] [% END %]