[% USE Koha %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Share a list [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %][% END %] [% INCLUDE 'bodytag.inc' bodyid='opac-shareshelf' bodyclass='scrollto' %] [% INCLUDE 'masthead.inc' %]
[% IF ( OpacNav ) %]
[% END %] [%# This section contains the essential code for error messages and three operations: invite, confirm_invite and accept. %]

Share a list with another patron

[% IF errcode %] [% IF errcode==1 && op %]
The operation [% op %] is not supported.
[% END %] [% IF errcode==1 && !op %]
No operation parameter has been passed.
[% END %] [% IF errcode==2 %]
Invalid shelf number.
[% END %] [% IF errcode==3 %]
The feature of sharing lists is not in use in this library.
[% END %] [% IF errcode==4 %]
You can only share a list if you are the owner.
[% END %] [% IF errcode==5 %]
You cannot share a public list.
[% END %] [% IF errcode==6 %]
Sorry, but you did not enter a valid email address.
[% END %] [% IF errcode==7 %]
Sorry, but we could not accept this key. The invitation may have expired. Contact the patron who sent you the invitation.
[% END %] [% IF errcode==8 %]
As owner of a list you cannot accept an invitation for sharing it.
[% END %]

Return to your lists

[% ELSIF op=='invite' %]
  1. [% shelfname %]
Cancel
[% ELSIF op=='conf_invite' %]
[% IF approvedaddress %]

An invitation to share list [% shelfname %] will be sent shortly to [% approvedaddress %].

[% END %] [% IF failaddress %]

Something went wrong while processing the following addresses. Please check them. These are: [% failaddress %]

[% END %] [% IF approvedaddress %]

You will receive an email notification if someone accepts your share within two weeks.

[% END %]

Return to your lists

[% ELSIF op=='accept' %] [%# Nothing to do: we already display an error or we redirect. %] [% END %]
[%# End of essential part %]
[% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] [% END %]