View | Details | Raw Unified | Return to bug 9032
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt (+2 lines)
Lines 40-45 Link Here
40
        [% IF errcode==6 %]<div class="alert">Sorry, but you did not enter any valid email address.</div>[% END %]
40
        [% IF errcode==6 %]<div class="alert">Sorry, but you did not enter any valid email address.</div>[% END %]
41
        [% IF errcode==7 %]<div class="alert">Sorry, but we could not accept this key. The invitation may have expired. Contact the patron who sent you the invitation.</div>[% END %]
41
        [% IF errcode==7 %]<div class="alert">Sorry, but we could not accept this key. The invitation may have expired. Contact the patron who sent you the invitation.</div>[% END %]
42
        [% IF errcode==8 %]<div class="alert">As owner of a list you cannot accept an invitation for sharing it.</div>[% END %]
42
        [% IF errcode==8 %]<div class="alert">As owner of a list you cannot accept an invitation for sharing it.</div>[% END %]
43
        <p><a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves">Return to your lists</a></p>
43
44
44
    [% ELSIF op=='invite' %]
45
    [% ELSIF op=='invite' %]
45
        <div id="invite">
46
        <div id="invite">
Lines 57-62 Link Here
57
        </fieldset>
58
        </fieldset>
58
        <fieldset class="action">
59
        <fieldset class="action">
59
            <input type="submit" value="Send" class="btn" />
60
            <input type="submit" value="Send" class="btn" />
61
            <a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves" class="cancel">Cancel</a>
60
        </fieldset>
62
        </fieldset>
61
        </form>
63
        </form>
62
        </div>
64
        </div>
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shareshelf.tt (+2 lines)
Lines 21-26 Link Here
21
        [% IF errcode==6 %]<div class="dialog alert">Sorry, but you did not enter any valid email address.</div>[% END %]
21
        [% IF errcode==6 %]<div class="dialog alert">Sorry, but you did not enter any valid email address.</div>[% END %]
22
        [% IF errcode==7 %]<div class="dialog alert">Sorry, but we could not accept this key. The invitation may have expired. Contact the patron who sent you the invitation.</div>[% END %]
22
        [% IF errcode==7 %]<div class="dialog alert">Sorry, but we could not accept this key. The invitation may have expired. Contact the patron who sent you the invitation.</div>[% END %]
23
        [% IF errcode==8 %]<div class="dialog alert">As owner of a list you cannot accept an invitation for sharing it.</div>[% END %]
23
        [% IF errcode==8 %]<div class="dialog alert">As owner of a list you cannot accept an invitation for sharing it.</div>[% END %]
24
        <p><a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves">Return to your lists</a></p>
24
25
25
    [% ELSIF op=='invite' %]
26
    [% ELSIF op=='invite' %]
26
        <form method="post" onsubmit="return $('#invite_address').val().trim()!='';">
27
        <form method="post" onsubmit="return $('#invite_address').val().trim()!='';">
Lines 35-40 Link Here
35
36
36
            <fieldset class="action">
37
            <fieldset class="action">
37
                <input type="submit" value="Send" />
38
                <input type="submit" value="Send" />
39
                <a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves" class="cancel">Cancel</a>
38
            </fieldset>
40
            </fieldset>
39
        </form>
41
        </form>
40
42
(-)a/opac/opac-shareshelf.pl (-3 / +2 lines)
Lines 283-290 sub stringtokey { Link Here
283
283
284
sub alphabet_ordinal {
284
sub alphabet_ordinal {
285
    my ($char, $alphabet) = @_;
285
    my ($char, $alphabet) = @_;
286
    for( 0..$#$alphabet ) {
286
    for my $ord ( 0..$#$alphabet ) {
287
        return $_ if $char eq $alphabet->[$_];
287
        return $ord if $char eq $alphabet->[$ord];
288
    }
288
    }
289
    return ''; #ignore missing chars
289
    return ''; #ignore missing chars
290
}
290
}
291
- 

Return to bug 9032