+
+ [% 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 any 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 %]
+
+ [% ELSIF op=='invite' %]
+
+
+ [% ELSIF op=='conf_invite' %]
+
+ [% IF approvedaddress %]
+
An invitation to share list [% shelfname %] has been sent 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 %]
+
+