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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ISBDdetail.tt (-4 / +5 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; ISBD view</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › ISBD view') %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
Lines 8-15 Link Here
8
[% INCLUDE 'masthead.inc' %]
9
[% INCLUDE 'masthead.inc' %]
9
<div class="main">
10
<div class="main">
10
    <ul class="breadcrumb">
11
    <ul class="breadcrumb">
11
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
12
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
12
        <li><a href="#">ISBD view</a></li>
13
        <li><a href="#">[% t('ISBD view') %]</a></li>
13
    </ul>
14
    </ul>
14
15
15
    <div class="container-fluid">
16
    <div class="container-fluid">
Lines 19-25 Link Here
19
                    <div id="usermarcdetail">
20
                    <div id="usermarcdetail">
20
                        <div id="catalogue_detail_biblio">
21
                        <div id="catalogue_detail_biblio">
21
                            <div id="views">
22
                            <div id="views">
22
                                <span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber %]">Normal view</a></span> <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblio.biblionumber %]">MARC view</a></span> <span class="view current-view"><span id="ISBDview">ISBD view</span></span></div>
23
                                <span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber %]">[% t('Normal view') %]</a></span> <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblio.biblionumber %]">[% t('MARC view') %]</a></span> <span class="view current-view"><span id="ISBDview">[% t('ISBD view') %]</span></span></div>
23
24
24
                                <div id="isbdcontents">[% ISBD %]</div>
25
                                <div id="isbdcontents">[% ISBD %]</div>
25
26
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt (-13 / +14 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;  MARC details for record no. [% biblio.biblionumber %]</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %]  [% t('MARC details for record no.') %] [% biblio.biblionumber %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
Lines 8-15 Link Here
8
[% INCLUDE 'masthead.inc' %]
9
[% INCLUDE 'masthead.inc' %]
9
<div class="main">
10
<div class="main">
10
    <ul class="breadcrumb">
11
    <ul class="breadcrumb">
11
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
12
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
12
        <li><a href="#">MARC view: [% bibliotitle %]</a></li>
13
        <li><a href="#">[% t('MARC view:') %] [% bibliotitle %]</a></li>
13
    </ul>
14
    </ul>
14
15
15
    <div class="container-fluid">
16
    <div class="container-fluid">
Lines 20-33 Link Here
20
                        <div id="catalogue_detail_biblio">
21
                        <div id="catalogue_detail_biblio">
21
22
22
                            <div id="views">
23
                            <div id="views">
23
                                <span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber %]">Normal view</a></span>
24
                                <span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber %]">[% t('Normal view') %]</a></span>
24
                                <span class="view current-view"><span id="MARCview">MARC view</span></span>
25
                                <span class="view current-view"><span id="MARCview">[% t('MARC view') %]</span></span>
25
                                [% IF ( ISBD ) %]<span class="view"><a id="ISBDview"  href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblio.biblionumber %]">ISBD view</a></span>[% END %]
26
                                [% IF ( ISBD ) %]<span class="view"><a id="ISBDview" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblio.biblionumber %]">[% t('ISBD view') %]</a></span>[% END %]
26
                            </div>
27
                            </div>
27
                            <h1 class="title">[% bibliotitle %] (Record no. [% biblio.biblionumber %])</h1>
28
                            <h1 class="title">[% bibliotitle %] [% t('(Record no.') %] [% biblio.biblionumber %])</h1>
28
29
29
                            [% IF ( OPACXSLTDetailsDisplay ) %]
30
                            [% IF ( OPACXSLTDetailsDisplay ) %]
30
                                <div id="switchview_div">[ <a id="switchview" href="/cgi-bin/koha/opac-showmarc.pl?id=[% biblio.biblionumber %]&amp;viewas=html">view plain</a> ]</div>
31
                                <div id="switchview_div">[ <a id="switchview" href="/cgi-bin/koha/opac-showmarc.pl?id=[% biblio.biblionumber %]&viewas=html">[% t('view plain') %]</a> ]</div>
31
                                <div id="plainmarc"></div>
32
                                <div id="plainmarc"></div>
32
                            [% END %]
33
                            [% END %]
33
34
Lines 46-53 Link Here
46
                                    <tr><th colspan="2">[% tab1X.tag %]</th></tr>
47
                                    <tr><th colspan="2">[% tab1X.tag %]</th></tr>
47
                                    [% FOREACH subfiel IN tab1X.subfield %]
48
                                    [% FOREACH subfiel IN tab1X.subfield %]
48
                                            <tr>
49
                                            <tr>
49
                                                <td  >[% subfiel.marc_lib %]</td>
50
                                                <td>[% subfiel.marc_lib %]</td>
50
                                                <td  >[% subfiel.marc_value %]</td>
51
                                                <td>[% subfiel.marc_value %]</td>
51
                                            </tr>
52
                                            </tr>
52
                                        [% END %]
53
                                        [% END %]
53
                                    [% END %]
54
                                    [% END %]
Lines 73-79 Link Here
73
                                    [% END %]
74
                                    [% END %]
74
75
75
                                    [% FOREACH tab4X IN tab4XX %]
76
                                    [% FOREACH tab4X IN tab4XX %]
76
                                    <tr><th colspan="2" >[% tab4X.tag %]</th></tr>
77
                                    <tr><th colspan="2">[% tab4X.tag %]</th></tr>
77
                                    [% FOREACH subfiel IN tab4X.subfield %]
78
                                    [% FOREACH subfiel IN tab4X.subfield %]
78
                                            <tr>
79
                                            <tr>
79
                                                <td>[% subfiel.marc_lib %]</td>
80
                                                <td>[% subfiel.marc_lib %]</td>
Lines 135-141 Link Here
135
                            </div>
136
                            </div>
136
                            [% IF ( item_header_loop ) %]
137
                            [% IF ( item_header_loop ) %]
137
                                <table id="items" class="table table-bordered table-condensed table-striped">
138
                                <table id="items" class="table table-bordered table-condensed table-striped">
138
                                    <caption>Holdings</caption>
139
                                    <caption>[% t('Holdings') %]</caption>
139
                                    <thead>
140
                                    <thead>
140
                                        <tr>
141
                                        <tr>
141
                                            [% FOREACH header IN item_header_loop %]
142
                                            [% FOREACH header IN item_header_loop %]
Lines 154-160 Link Here
154
                                    </tbody>
155
                                    </tbody>
155
                                </table>
156
                                </table>
156
                            [% ELSE %]
157
                            [% ELSE %]
157
                                <p>No items available.</p>
158
                                <p>[% t('No items available.') %]</p>
158
                            [% END %]
159
                            [% END %]
159
                        </div> <!-- / #catalogue_detail_biblio -->
160
                        </div> <!-- / #catalogue_detail_biblio -->
160
                    </div> <!-- / #usermarcdetail -->
161
                    </div> <!-- / #usermarcdetail -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account-pay-error.tt (-10 / +11 lines)
Lines 1-4 Link Here
1
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your payment
1
[% PROCESS 'i18n.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Your payment') %]
2
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% BLOCK cssinclude %][% END %]
4
[% BLOCK cssinclude %][% END %]
4
</head>
5
</head>
Lines 8-16 Link Here
8
9
9
<div class="main">
10
<div class="main">
10
    <ul class="breadcrumb">
11
    <ul class="breadcrumb">
11
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
12
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
12
        <li><a href="/cgi-bin/koha/opac-user.pl">[% borrower.firstname %] [% borrower.surname %]</a> <span class="divider">&rsaquo;</span></li>
13
        <li><a href="/cgi-bin/koha/opac-user.pl">[% borrower.firstname %] [% borrower.surname %]</a> <span class="divider">›</span></li>
13
        <li><a href="#">Your payment</a></li>
14
        <li><a href="#">[% t('Your payment') %]</a></li>
14
    </ul>
15
    </ul>
15
16
16
    <div class="container-fluid">
17
    <div class="container-fluid">
Lines 24-42 Link Here
24
                <div id="useraccount" class="maincontent">
25
                <div id="useraccount" class="maincontent">
25
                    [% IF error %]
26
                    [% IF error %]
26
                        <div id="error" class="dialog alert">
27
                        <div id="error" class="dialog alert">
27
                            <p><strong>Error:</strong> there was a problem processing your payment</p>
28
                            <p><strong>[% t('Error:') %]</strong> [% t('there was a problem processing your payment') %]</p>
28
29
29
                            [% IF error == "PAYPAL_UNABLE_TO_CONNECT" %]
30
                            [% IF error == "PAYPAL_UNABLE_TO_CONNECT" %]
30
                                <p>Unable to connect to PayPal.</p>
31
                                <p>[% t('Unable to connect to PayPal.') %]</p>
31
                                <p>Please try again later.</p>
32
                                <p>[% t('Please try again later.') %]</p>
32
                            [% ELSIF error == "PAYPAL_ERROR_PROCESSING" %]
33
                            [% ELSIF error == "PAYPAL_ERROR_PROCESSING" %]
33
                                <p>Unable to verify payment.</p>
34
                                <p>[% t('Unable to verify payment.') %]</p>
34
                                <p>Please contact the library to verify your payment.</p>
35
                                <p>[% t('Please contact the library to verify your payment.') %]</p>
35
                            [% END %]
36
                            [% END %]
36
                        </div>
37
                        </div>
37
                    [% END %]
38
                    [% END %]
38
39
39
                    <a href="/cgi-bin/koha/opac-account.pl">Return to fine details</a>
40
                    <a href="/cgi-bin/koha/opac-account.pl">[% t('Return to fine details') %]</a>
40
                </div> <!-- / #useraccount -->
41
                </div> <!-- / #useraccount -->
41
            </div> <!-- / .span10 -->
42
            </div> <!-- / .span10 -->
42
        </div> <!-- / .row-fluid -->
43
        </div> <!-- / .row-fluid -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt (-48 / +49 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 6-12 Link Here
6
[% SET ENABLE_OPAC_PAYMENTS = Koha.Preference('EnablePayPalOpacPayments') || plugins %]
7
[% SET ENABLE_OPAC_PAYMENTS = Koha.Preference('EnablePayPalOpacPayments') || plugins %]
7
[% SET DISPLAY_PAYMENT_BLOCK = 0 %]
8
[% SET DISPLAY_PAYMENT_BLOCK = 0 %]
8
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
9
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your fines and charges</title>
10
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Your fines and charges') %]</title>
10
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
11
[% BLOCK cssinclude %]
12
[% BLOCK cssinclude %]
12
    [% Asset.css("css/datatables.css") %]
13
    [% Asset.css("css/datatables.css") %]
Lines 18-26 Link Here
18
19
19
<div class="main">
20
<div class="main">
20
    <ul class="breadcrumb">
21
    <ul class="breadcrumb">
21
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
22
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
22
        <li>[% IF BORROWER_INFO %]<a href="/cgi-bin/koha/opac-user.pl">[% BORROWER_INFO.firstname %] [% BORROWER_INFO.surname %]</a>[% END %] <span class="divider">&rsaquo;</span></li>
23
        <li>[% IF BORROWER_INFO %]<a href="/cgi-bin/koha/opac-user.pl">[% BORROWER_INFO.firstname %] [% BORROWER_INFO.surname %]</a>[% END %] <span class="divider">›</span></li>
23
        <li><a href="#">Your fines and charges</a></li>
24
        <li><a href="#">[% t('Your fines and charges') %]</a></li>
24
    </ul>
25
    </ul>
25
26
26
    <div class="container-fluid">
27
    <div class="container-fluid">
Lines 36-82 Link Here
36
                    [% IF message %]
37
                    [% IF message %]
37
                        <div class="alert alert-info">
38
                        <div class="alert alert-info">
38
                            [% IF message == 'valid_payment' %]
39
                            [% IF message == 'valid_payment' %]
39
                                <p>Your payment of $[% message_value %] has been processed successfully!</p>
40
                                <p>[% t('Your payment of $') %][% message_value %] [% t('has been processed successfully!') %]</p>
40
                            [% ELSIF message == 'duplicate_payment' %]
41
                            [% ELSIF message == 'duplicate_payment' %]
41
                                <p>A payment with the transaction id '[% message_value %]' has already been posted to an account.</p>
42
                                <p>[% t('A payment with the transaction id \'') %][% message_value %][% t('\' has already been posted to an account.') %]</p>
42
                                <p>Please contact a librarian for details.</p>
43
                                <p>[% t('Please contact a librarian for details.') %]</p>
43
                            [% ELSIF message == 'invalid_payment' %]
44
                            [% ELSIF message == 'invalid_payment' %]
44
                                <p>The transaction id '[% message_value %]' for this payment is invalid.</p>
45
                                <p>[% t('The transaction id \'') %][% message_value %][% t('\' for this payment is invalid.') %]</p>
45
                                <p>Please contact a librarian for details.</p>
46
                                <p>[% t('Please contact a librarian for details.') %]</p>
46
                            [% END %]
47
                            [% END %]
47
                        </div>
48
                        </div>
48
                    [% END %]
49
                    [% END %]
49
50
50
                    [% IF payment_error %]
51
                    [% IF payment_error %]
51
                        <div id="error" class="dialog alert">
52
                        <div id="error" class="dialog alert">
52
                            <p><strong>Error:</strong> there was a problem processing your payment</p>
53
                            <p><strong>[% t('Error:') %]</strong> [% t('there was a problem processing your payment') %]</p>
53
54
54
                            [% IF payment_error == "PAYPAL_UNABLE_TO_CONNECT" %]
55
                            [% IF payment_error == "PAYPAL_UNABLE_TO_CONNECT" %]
55
                                <p>Unable to connect to PayPal.</p>
56
                                <p>[% t('Unable to connect to PayPal.') %]</p>
56
                                <p>Please contact a librarian to verify your payment.</p>
57
                                <p>[% t('Please contact a librarian to verify your payment.') %]</p>
57
                            [% ELSIF payment_error == "PAYPAL_ERROR_PROCESSING" %]
58
                            [% ELSIF payment_error == "PAYPAL_ERROR_PROCESSING" %]
58
                                <p>Unable to verify payment.</p>
59
                                <p>[% t('Unable to verify payment.') %]</p>
59
                                <p>Please contact a librarian to verify your payment.</p>
60
                                <p>[% t('Please contact a librarian to verify your payment.') %]</p>
60
                            [% END %]
61
                            [% END %]
61
                        </div>
62
                        </div>
62
                    [% ELSIF payment %]
63
                    [% ELSIF payment %]
63
                        <div class="alert alert-info">
64
                        <div class="alert alert-info">
64
                            <p><strong>Payment applied:</strong> your payment of [% payment %] has been applied to your account</p>
65
                            <p><strong>[% t('Payment applied:') %]</strong> [% t('your payment of') %] [% payment %] [% t('has been applied to your account') %]</p>
65
                        </div>
66
                        </div>
66
                    [% END %]
67
                    [% END %]
67
68
68
                    <h3>Fines and charges</h3>
69
                    <h3>[% t('Fines and charges') %]</h3>
69
70
70
                    [% IF ( ACCOUNT_LINES ) %]
71
                    [% IF ( ACCOUNT_LINES ) %]
71
                        <form method="post" action="opac-account-pay.pl" class="form-horizontal">
72
                        <form method="post" action="opac-account-pay.pl" class="form-horizontal">
72
                        <table class="table table-bordered table-striped" id="finestable">
73
                        <table class="table table-bordered table-striped" id="finestable">
73
                            <thead>
74
                            <thead>
74
                                <tr>
75
                                <tr>
75
                                    [% IF ENABLE_OPAC_PAYMENTS %]<th>&nbsp;</th>[% END %]
76
                                    [% IF ENABLE_OPAC_PAYMENTS %]<th> </th>[% END %]
76
                                    <th class="title-string">Date</th>
77
                                    <th class="title-string">[% t('Date') %]</th>
77
                                    <th>Description</th>
78
                                    <th>[% t('Description') %]</th>
78
                                    <th>Fine amount</th>
79
                                    <th>[% t('Fine amount') %]</th>
79
                                    <th>Amount outstanding</th>
80
                                    <th>[% t('Amount outstanding') %]</th>
80
                                </tr>
81
                                </tr>
81
                            </thead>
82
                            </thead>
82
83
Lines 87-93 Link Here
87
                                [%- ELSE -%]
88
                                [%- ELSE -%]
88
                                    [%- SET COLSPAN = 3 -%]
89
                                    [%- SET COLSPAN = 3 -%]
89
                                [%- END -%]
90
                                [%- END -%]
90
                                <th class="sum" colspan="[% COLSPAN %]">Total due</th>
91
                                <th class="sum" colspan="[% COLSPAN %]">[% t('Total due') %]</th>
91
                                <td class="sum">[% total | $Price %]</td>
92
                                <td class="sum">[% total | $Price %]</td>
92
                            </tr>
93
                            </tr>
93
                            </tfoot>
94
                            </tfoot>
Lines 107-132 Link Here
107
                                        <td><span title="[% ACCOUNT_LINE.date %]">[% ACCOUNT_LINE.date | $KohaDates %]</span></td>
108
                                        <td><span title="[% ACCOUNT_LINE.date %]">[% ACCOUNT_LINE.date | $KohaDates %]</span></td>
108
                                        <td>
109
                                        <td>
109
                                            [% SWITCH ACCOUNT_LINE.accounttype %]
110
                                            [% SWITCH ACCOUNT_LINE.accounttype %]
110
                                            [% CASE 'Pay' %]Payment, thanks
111
                                            [% CASE 'Pay' %][% t('Payment, thanks') %]
111
                                            [% CASE 'Pay00' %]Payment, thanks (cash via SIP2)
112
                                            [% CASE 'Pay00' %][% t('Payment, thanks (cash via SIP2)') %]
112
                                            [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2)
113
                                            [% CASE 'Pay01' %][% t('Payment, thanks (VISA via SIP2)') %]
113
                                            [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2)
114
                                            [% CASE 'Pay02' %][% t('Payment, thanks (credit card via SIP2)') %]
114
                                            [% CASE 'N' %]New card
115
                                            [% CASE 'N' %][% t('New card') %]
115
                                            [% CASE 'F' %]Fine
116
                                            [% CASE 'F' %][% t('Fine') %]
116
                                            [% CASE 'A' %]Account management fee
117
                                            [% CASE 'A' %][% t('Account management fee') %]
117
                                            [% CASE 'M' %]Sundry
118
                                            [% CASE 'M' %][% t('Sundry') %]
118
                                            [% CASE 'L' %]Lost item
119
                                            [% CASE 'L' %][% t('Lost item') %]
119
                                            [% CASE 'W' %]Writeoff
120
                                            [% CASE 'W' %][% t('Writeoff') %]
120
                                            [% CASE 'FU' %]Accruing fine
121
                                            [% CASE 'FU' %][% t('Accruing fine') %]
121
                                            [% CASE 'HE' %]Hold waiting too long
122
                                            [% CASE 'HE' %][% t('Hold waiting too long') %]
122
                                            [% CASE 'Rent' %]Rental fee
123
                                            [% CASE 'Rent' %][% t('Rental fee') %]
123
                                            [% CASE 'FOR' %]Forgiven
124
                                            [% CASE 'FOR' %][% t('Forgiven') %]
124
                                            [% CASE 'LR' %]Lost item fee refund
125
                                            [% CASE 'LR' %][% t('Lost item fee refund') %]
125
                                            [% CASE 'PF' %]Processing fee
126
                                            [% CASE 'PF' %][% t('Processing fee') %]
126
                                            [% CASE 'PAY' %]Payment
127
                                            [% CASE 'PAY' %][% t('Payment') %]
127
                                            [% CASE 'WO' %]Writeoff
128
                                            [% CASE 'WO' %][% t('Writeoff') %]
128
                                            [% CASE 'C' %]Credit
129
                                            [% CASE 'C' %][% t('Credit') %]
129
                                            [% CASE 'CR' %]Credit
130
                                            [% CASE 'CR' %][% t('Credit') %]
130
                                            [% CASE %][% ACCOUNT_LINE.accounttype %]
131
                                            [% CASE %][% ACCOUNT_LINE.accounttype %]
131
                                          [%- END -%]
132
                                          [%- END -%]
132
                                          [%- IF ACCOUNT_LINE.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', ACCOUNT_LINE.payment_type, 1) %][% END %]
133
                                          [%- IF ACCOUNT_LINE.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', ACCOUNT_LINE.payment_type, 1) %][% END %]
Lines 143-156 Link Here
143
144
144
                            [% IF ENABLE_OPAC_PAYMENTS && DISPLAY_PAYMENT_BLOCK %]
145
                            [% IF ENABLE_OPAC_PAYMENTS && DISPLAY_PAYMENT_BLOCK %]
145
                                <fieldset class="pay-online hidden">
146
                                <fieldset class="pay-online hidden">
146
                                    <legend>Pay selected fines and charges</legend>
147
                                    <legend>[% t('Pay selected fines and charges') %]</legend>
147
                                        <span class="help-block"><h3>Payment method</h3></span>
148
                                        <span class="help-block"><h3>[% t('Payment method') %]</h3></span>
148
149
149
                                        [% IF Koha.Preference('EnablePayPalOpacPayments') %]
150
                                        [% IF Koha.Preference('EnablePayPalOpacPayments') %]
150
                                            <div class="control-group">
151
                                            <div class="control-group">
151
                                                <label class="radio">
152
                                                <label class="radio">
152
                                                    <input type="radio" name="payment_method" id="payment_method-paypal" value="paypal" checked="checked">
153
                                                    <input type="radio" name="payment_method" id="payment_method-paypal" value="paypal" checked="checked">
153
                                                    <!-- PayPal Logo --><a href="https://www.paypal.com/webapps/mpp/paypal-popup" title="How PayPal Works" class="paypal"><img src="https://www.paypalobjects.com/webstatic/mktg/logo/AM_SbyPP_mc_vs_dc_ae.jpg" border="0" alt="PayPal Acceptance Mark"></a><!-- PayPal Logo -->
154
                                                    <!-- PayPal Logo --><a href="https://www.paypal.com/webapps/mpp/paypal-popup" title="[% t('How PayPal Works') %]" class="paypal"><img src="https://www.paypalobjects.com/webstatic/mktg/logo/AM_SbyPP_mc_vs_dc_ae.jpg" border="0" alt="[% t('PayPal Acceptance Mark') %]"></a><!-- PayPal Logo -->
154
                                                </label>
155
                                                </label>
155
                                            </div>
156
                                            </div>
156
                                        [% END %]
157
                                        [% END %]
Lines 166-181 Link Here
166
167
167
                                        <div class="control-group">
168
                                        <div class="control-group">
168
                                            <input type="hidden" id="payment-amount" name="payment_amount" value="0" />
169
                                            <input type="hidden" id="payment-amount" name="payment_amount" value="0" />
169
                                            <button id="submit-pay" type="submit" class="btn" disabled="disabled">Make payment</button>
170
                                            <button id="submit-pay" type="submit" class="btn" disabled="disabled">[% t('Make payment') %]</button>
170
                                            <span id="amount-to-pay-label">
171
                                            <span id="amount-to-pay-label">
171
                                                Amount to pay: <span id="amount-to-pay">0.00</span>
172
                                                [% t('Amount to pay:') %] <span id="amount-to-pay">[% t('0.00') %]</span>
172
                                            </span>
173
                                            </span>
173
                                        </div>
174
                                        </div>
174
                                </fieldset>
175
                                </fieldset>
175
                            [% END %]
176
                            [% END %]
176
                        </form>
177
                        </form>
177
                    [% ELSE %]
178
                    [% ELSE %]
178
                        <h4>You have no fines or charges</h4>
179
                        <h4>[% t('You have no fines or charges') %]</h4>
179
                    [% END %]
180
                    [% END %]
180
                </div> <!-- / #useraccount -->
181
                </div> <!-- / #useraccount -->
181
            </div> <!-- / .span10 -->
182
            </div> <!-- / .span10 -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt (-20 / +21 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Add to your list</title>
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Add to your list') %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
[% BLOCK cssinclude %][% END %]
5
[% BLOCK cssinclude %][% END %]
5
</head>
6
</head>
Lines 12-20 Link Here
12
                        [% IF ( authorized ) %]
13
                        [% IF ( authorized ) %]
13
                            [% UNLESS ( newshelf ) %]
14
                            [% UNLESS ( newshelf ) %]
14
                                [% IF ( multiple ) %]
15
                                [% IF ( multiple ) %]
15
                                    <h1>Add [% total %] items to [% IF ( singleshelf ) %]<em>[% shelfname | html %]</em>: [% ELSE %]a list:[% END %]</h1>
16
                                    <h1>[% t('Add') %] [% total %] [% t('items to') %] [% IF ( singleshelf ) %]<em>[% shelfname | html %]</em>: [% ELSE %][% t('a list:') %][% END %]</h1>
16
                                [% ELSE %]
17
                                [% ELSE %]
17
                                    <h1>Add to [% IF ( singleshelf ) %]<em>[% shelfname | html %]</em>[% ELSE %]a list:[% END %]</h1>
18
                                    <h1>[% t('Add to') %] [% IF ( singleshelf ) %]<em>[% shelfname | html %]</em>[% ELSE %][% t('a list:') %][% END %]</h1>
18
                                [% END %]
19
                                [% END %]
19
                                <ul>
20
                                <ul>
20
                                    [% FOREACH biblio IN biblios %]
21
                                    [% FOREACH biblio IN biblios %]
Lines 26-44 Link Here
26
                                [% IF private_shelves.count or public_shelves.count or private_shelves_shared_with_me %]
27
                                [% IF private_shelves.count or public_shelves.count or private_shelves_shared_with_me %]
27
                                    <form name="f1" action="/cgi-bin/koha/opac-addbybiblionumber.pl" method="post">
28
                                    <form name="f1" action="/cgi-bin/koha/opac-addbybiblionumber.pl" method="post">
28
                                        <fieldset>
29
                                        <fieldset>
29
                                            <legend>Select a list</legend>
30
                                            <legend>[% t('Select a list') %]</legend>
30
                                            <label for="shelfnumber">Add to list:</label> <select name="shelfnumber" id="shelfnumber">
31
                                            <label for="shelfnumber">[% t('Add to list:') %]</label> <select name="shelfnumber" id="shelfnumber">
31
                                                [% IF private_shelves.count %]<optgroup label="Private lists">
32
                                                [% IF private_shelves.count %]<optgroup label="[% t('Private lists') %]">
32
                                                    [% FOREACH private_shelf IN private_shelves %]
33
                                                    [% FOREACH private_shelf IN private_shelves %]
33
                                                    <option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname | html%]</option>
34
                                                    <option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname | html%]</option>
34
                                                    [% END %]
35
                                                    [% END %]
35
                                                </optgroup>[% END %]
36
                                                </optgroup>[% END %]
36
                                                [% IF private_shelves_shared_with_me.count %]<optgroup label="Private lists shared with me">
37
                                                [% IF private_shelves_shared_with_me.count %]<optgroup label="[% t('Private lists shared with me') %]">
37
                                                    [% FOREACH private_shelf IN private_shelves_shared_with_me %]
38
                                                    [% FOREACH private_shelf IN private_shelves_shared_with_me %]
38
                                                    <option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname | html%]</option>
39
                                                    <option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname | html%]</option>
39
                                                    [% END %]
40
                                                    [% END %]
40
                                                </optgroup>[% END %]
41
                                                </optgroup>[% END %]
41
                                                [% IF public_shelves.count %]<optgroup label="Public lists">
42
                                                [% IF public_shelves.count %]<optgroup label="[% t('Public lists') %]">
42
                                                    [% FOREACH public_shelf IN public_shelves %]
43
                                                    [% FOREACH public_shelf IN public_shelves %]
43
                                                    <option value="[% public_shelf.shelfnumber %]">[% public_shelf.shelfname |html%]</option>
44
                                                    <option value="[% public_shelf.shelfnumber %]">[% public_shelf.shelfname |html%]</option>
44
                                                    [% END %]
45
                                                    [% END %]
Lines 51-60 Link Here
51
                                        </fieldset>
52
                                        </fieldset>
52
                                        <fieldset class="action">
53
                                        <fieldset class="action">
53
                                            <input type="submit" value="Save" class="btn" />
54
                                            <input type="submit" value="Save" class="btn" />
54
                                            <a class="close cancel" href="#">Cancel</a>
55
                                            <a class="close cancel" href="#">[% t('Cancel') %]</a>
55
                                        </fieldset>
56
                                        </fieldset>
56
                                    </form>
57
                                    </form>
57
                                    <p>...or...</p>
58
                                    <p>[% t('...or...') %]</p>
58
                                [% ELSE %]
59
                                [% ELSE %]
59
                                    [% IF ( singleshelf ) %]
60
                                    [% IF ( singleshelf ) %]
60
                                        <form name="f1" action="/cgi-bin/koha/opac-addbybiblionumber.pl" method="post">
61
                                        <form name="f1" action="/cgi-bin/koha/opac-addbybiblionumber.pl" method="post">
Lines 65-71 Link Here
65
                                            <input type="hidden" name="modifyshelfcontents" value="1" /></fieldset>
66
                                            <input type="hidden" name="modifyshelfcontents" value="1" /></fieldset>
66
                                            <fieldset class="action">
67
                                            <fieldset class="action">
67
                                                <input type="submit" value="Save" class="btn" />
68
                                                <input type="submit" value="Save" class="btn" />
68
                                                <a class="close cancel" href="#">Cancel</a>
69
                                                <a class="close cancel" href="#">[% t('Cancel') %]</a>
69
                                            </fieldset>
70
                                            </fieldset>
70
                                        </form>
71
                                        </form>
71
                                    [% END %]
72
                                    [% END %]
Lines 75-88 Link Here
75
                            [% UNLESS ( singleshelf ) %]
76
                            [% UNLESS ( singleshelf ) %]
76
                                <form name="f2" method="post" action="/cgi-bin/koha/opac-addbybiblionumber.pl">
77
                                <form name="f2" method="post" action="/cgi-bin/koha/opac-addbybiblionumber.pl">
77
                                    <fieldset>
78
                                    <fieldset>
78
                                        <legend>Add to a new list:</legend>
79
                                        <legend>[% t('Add to a new list:') %]</legend>
79
                                            <label for="newvirtualshelf">List name:</label>
80
                                            <label for="newvirtualshelf">[% t('List name:') %]</label>
80
                                            <input type="text" name="newvirtualshelf" id="newvirtualshelf" size="40" />
81
                                            <input type="text" name="newvirtualshelf" id="newvirtualshelf" size="40" />
81
                                            <label for="category">Category:</label>
82
                                            <label for="category">[% t('Category:') %]</label>
82
                                            <select name="category" id="category">
83
                                            <select name="category" id="category">
83
                                                <option value="1">Private</option>
84
                                                <option value="1">[% t('Private') %]</option>
84
                                                [% IF (OpacAllowPublicListCreation) %]
85
                                                [% IF (OpacAllowPublicListCreation) %]
85
                                                    <option value="2">Public</option>
86
                                                    <option value="2">[% t('Public') %]</option>
86
                                                [% END %]
87
                                                [% END %]
87
                                            </select>
88
                                            </select>
88
                                    </fieldset>
89
                                    </fieldset>
Lines 92-111 Link Here
92
                                    <fieldset class="action">
93
                                    <fieldset class="action">
93
                                        <input type="hidden" name="sortfield" value="title" />
94
                                        <input type="hidden" name="sortfield" value="title" />
94
                                        <input type="submit" value="Save" class="btn" />
95
                                        <input type="submit" value="Save" class="btn" />
95
                                        <a class="close cancel" href="#">Cancel</a>
96
                                        <a class="close cancel" href="#">[% t('Cancel') %]</a>
96
                                    </fieldset>
97
                                    </fieldset>
97
                                </form>
98
                                </form>
98
                            [% END # / UNLESS singleshelf %]
99
                            [% END # / UNLESS singleshelf %]
99
                        [% ELSE %]
100
                        [% ELSE %]
100
                            <p>
101
                            <p>
101
                                [% IF (errcode==1) %]
102
                                [% IF (errcode==1) %]
102
                                    Could not create new list. Please check if the name is unique.
103
                                    [% t('Could not create new list. Please check if the name is unique.') %]
103
                                [% ELSE %]
104
                                [% ELSE %]
104
                                    Sorry, you cannot add items to this list.
105
                                    [% t('Sorry, you cannot add items to this list.') %]
105
                                [% END %]
106
                                [% END %]
106
                            </p>
107
                            </p>
107
                        [% END # IF authorized %]
108
                        [% END # IF authorized %]
108
                        <p><a href="#" class="close">Close this window.</a></p>
109
                        <p><a href="#" class="close">[% t('Close this window.') %]</a></p>
109
                    </div> <!-- / #useraddbybiblionumber -->
110
                    </div> <!-- / #useraddbybiblionumber -->
110
                </div> <!-- / .span12 -->
111
                </div> <!-- / .span12 -->
111
            </div> <!-- / .row-fluid -->
112
            </div> <!-- / .row-fluid -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt (-124 / +121 lines)
Lines 1-8 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE Branches %]
4
[% USE Branches %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Advanced search</title>
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Advanced search') %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% BLOCK cssinclude %][% END %]
8
[% BLOCK cssinclude %][% END %]
8
</head>
9
</head>
Lines 11-18 Link Here
11
<form action="/cgi-bin/koha/opac-search.pl" method="get">
12
<form action="/cgi-bin/koha/opac-search.pl" method="get">
12
    <div class="main">
13
    <div class="main">
13
        <ul class="breadcrumb">
14
        <ul class="breadcrumb">
14
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
15
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
15
            <li><a href="#">Advanced search</a></li>
16
            <li><a href="#">[% t('Advanced search') %]</a></li>
16
        </ul>
17
        </ul>
17
18
18
        <div class="container-fluid">
19
        <div class="container-fluid">
Lines 21-102 Link Here
21
                    <!-- BOOLEAN SEARCH OPTIONS -->
22
                    <!-- BOOLEAN SEARCH OPTIONS -->
22
                    <div id="booleansearch" class="maincontent">
23
                    <div id="booleansearch" class="maincontent">
23
                        <fieldset>
24
                        <fieldset>
24
                            <legend>Search for:</legend>
25
                            <legend>[% t('Search for:') %]</legend>
25
                            [% FOREACH search_box IN search_boxes_loop %]
26
                            [% FOREACH search_box IN search_boxes_loop %]
26
                                <p>
27
                                <p>
27
                                    [% IF ( expanded_options ) %]
28
                                    [% IF ( expanded_options ) %]
28
                                        [% IF ( search_box.boolean ) %]
29
                                        [% IF ( search_box.boolean ) %]
29
                                            <select name="op">
30
                                            <select name="op">
30
                                                <option value="and" selected="selected">and</option>
31
                                                <option value="and" selected="selected">[% t('and') %]</option>
31
                                                <option value="or">or</option>
32
                                                <option value="or">[% t('or') %]</option>
32
                                                <option value="not">not</option>
33
                                                <option value="not">[% t('not') %]</option>
33
                                            </select>
34
                                            </select>
34
                                        [% END %]
35
                                        [% END %]
35
                                    [% ELSE %]
36
                                    [% ELSE %]
36
                                        <label for="search-field_[% loop.index %]">
37
                                        <label for="search-field_[% loop.index %]">
37
                                            [% IF loop.index == 0 %]
38
                                            [% IF loop.index == 0 %]
38
                                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
39
                                                      
39
                                            [% ELSE %]
40
                                            [% ELSE %]
40
                                                and
41
                                                [% t('and') %]
41
                                            [% END %]
42
                                            [% END %]
42
                                        </label>
43
                                        </label>
43
                                    [% END %]
44
                                    [% END %]
44
                                    [% IF ( expanded_options ) %][% left_content %][% END %]
45
                                    [% IF ( expanded_options ) %][% left_content %][% END %]
45
                                    <select name="idx" id="search-field_[% loop.index %]">
46
                                    <select name="idx" id="search-field_[% loop.index %]">
46
                                        <option value="kw">Keyword</option>
47
                                        <option value="kw">[% t('Keyword') %]</option>
47
                                        <option value="su,wrdl">Subject</option>
48
                                        <option value="su,wrdl">[% t('Subject') %]</option>
48
                                        [% IF ( expanded_options ) %]
49
                                        [% IF ( expanded_options ) %]
49
                                            <option value="su,phr">&nbsp;&nbsp;&nbsp;&nbsp; Subject phrase</option>
50
                                            <option value="su,phr">[% t('     Subject phrase') %]</option>
50
                                            <option value="su-br">&nbsp;&nbsp;&nbsp;&nbsp; Subject and broader terms</option>
51
                                            <option value="su-br">[% t('     Subject and broader terms') %]</option>
51
                                            <option value="su-na">&nbsp;&nbsp;&nbsp;&nbsp; Subject and narrower terms</option>
52
                                            <option value="su-na">[% t('     Subject and narrower terms') %]</option>
52
                                            <option value="su-rl">&nbsp;&nbsp;&nbsp;&nbsp; Subject and related terms</option>
53
                                            <option value="su-rl">[% t('     Subject and related terms') %]</option>
53
                                        [% END %]
54
                                        [% END %]
54
                                        <option value="ti">Title</option>
55
                                        <option value="ti">[% t('Title') %]</option>
55
                                        [% IF ( expanded_options ) %]
56
                                        [% IF ( expanded_options ) %]
56
                                            <option value="ti,phr">&nbsp;&nbsp;&nbsp;&nbsp; Title phrase</option>
57
                                            <option value="ti,phr">[% t('     Title phrase') %]</option>
57
                                            <option value="se,wrdl">Series title</option>
58
                                            <option value="se,wrdl">[% t('Series title') %]</option>
58
                                            [% IF ( Koha.Preference('OPACNumbersPreferPhrase') ) %]
59
                                            [% IF ( Koha.Preference('OPACNumbersPreferPhrase') ) %]
59
                                                <option value="callnum,phr">Call number</option>
60
                                                <option value="callnum,phr">[% t('Call number') %]</option>
60
                                            [% ELSE %]
61
                                            [% ELSE %]
61
                                                <option value="callnum">Call number</option>
62
                                                <option value="callnum">[% t('Call number') %]</option>
62
                                            [% END %]
63
                                            [% END %]
63
64
64
                                        [% END %]
65
                                        [% END %]
65
                                        <option value="au,wrdl">Author</option>
66
                                        <option value="au,wrdl">[% t('Author') %]</option>
66
                                        [% IF ( expanded_options ) %]
67
                                        [% IF ( expanded_options ) %]
67
                                            <option value="au,phr">&nbsp;&nbsp;&nbsp;&nbsp; Author phrase</option>
68
                                            <option value="au,phr">[% t('     Author phrase') %]</option>
68
                                            <option value="cpn,wrdl">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name</option>
69
                                            <option value="cpn,wrdl">[% t('     Corporate name') %]</option>
69
                                            <option value="cfn,wrdl">&nbsp;&nbsp;&nbsp;&nbsp; Conference name</option>
70
                                            <option value="cfn,wrdl">[% t('     Conference name') %]</option>
70
                                            <option value="cfn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Conference name phrase</option>
71
                                            <option value="cfn,phr">[% t('     Conference name phrase') %]</option>
71
                                            <option value="pn,wrdl">&nbsp;&nbsp;&nbsp;&nbsp; Personal name</option>
72
                                            <option value="pn,wrdl">[% t('     Personal name') %]</option>
72
                                            <option value="pn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Personal name phrase</option>
73
                                            <option value="pn,phr">[% t('     Personal name phrase') %]</option>
73
                                        [% END %]
74
                                        [% END %]
74
                                        [% IF ( expanded_options ) %]
75
                                        [% IF ( expanded_options ) %]
75
                                            <option value="nt">Notes/Comments</option>
76
                                            <option value="nt">[% t('Notes/Comments') %]</option>
76
                                            [% IF (marcflavour != 'UNIMARC') %]
77
                                            [% IF (marcflavour != 'UNIMARC') %]
77
                                                <option value="curriculum">Curriculum</option>
78
                                                <option value="curriculum">[% t('Curriculum') %]</option>
78
                                            [% END %]
79
                                            [% END %]
79
                                        [% END %]
80
                                        [% END %]
80
                                        <option value="pb,wrdl">Publisher</option>
81
                                        <option value="pb,wrdl">[% t('Publisher') %]</option>
81
                                        <option value="pl,wrdl">Publisher location</option>
82
                                        <option value="pl,wrdl">[% t('Publisher location') %]</option>
82
                                        [% IF ( expanded_options ) %]
83
                                        [% IF ( expanded_options ) %]
83
                                            [% IF ( Koha.Preference('OPACNumbersPreferPhrase') ) %]
84
                                            [% IF ( Koha.Preference('OPACNumbersPreferPhrase') ) %]
84
                                                <option value="sn,phr">Standard number</option>
85
                                                <option value="sn,phr">[% t('Standard number') %]</option>
85
                                            [% ELSE %]
86
                                            [% ELSE %]
86
                                                <option value="sn">Standard number</option>
87
                                                <option value="sn">[% t('Standard number') %]</option>
87
                                            [% END %]
88
                                            [% END %]
88
                                            <option value="nb">&nbsp;&nbsp;&nbsp;&nbsp; ISBN</option>
89
                                            <option value="nb">[% t('     ISBN') %]</option>
89
                                            <option value="ns">&nbsp;&nbsp;&nbsp;&nbsp; ISSN</option>
90
                                            <option value="ns">[% t('     ISSN') %]</option>
90
                                        [% ELSE %]
91
                                        [% ELSE %]
91
                                            <option value="nb">ISBN</option>
92
                                            <option value="nb">[% t('ISBN') %]</option>
92
                                        [% END %]
93
                                        [% END %]
93
                                        <option value="bc">Barcode</option>
94
                                        <option value="bc">[% t('Barcode') %]</option>
94
                                    </select>
95
                                    </select>
95
                                    <input type="text" size="30" name="q" title="Enter search terms" value="" />
96
                                    <input type="text" size="30" name="q" title="[% t('Enter search terms') %]" value="" />
96
                                    [% IF ( expanded_options ) %]
97
                                    [% IF ( expanded_options ) %]
97
                                        [% IF ( !loop.first ) %]
98
                                        [% IF ( !loop.first ) %]
98
                                            <a class="ButtonPlus" name="ButtonPlus" title="Add another field" href="#">[+]</a>
99
                                            <a class="ButtonPlus" name="ButtonPlus" title="[% t('Add another field') %]" href="#">[+]</a>
99
                                            <a class="ButtonLess" title="Remove field" href="#">[-]</a>
100
                                            <a class="ButtonLess" title="[% t('Remove field') %]" href="#">[-]</a>
100
                                        [% END %]
101
                                        [% END %]
101
                                    [% END %]
102
                                    [% END %]
102
                                </p>
103
                                </p>
Lines 120-129 Link Here
120
                            [% FOREACH advsearchloo IN advancedsearchesloop %]
121
                            [% FOREACH advsearchloo IN advancedsearchesloop %]
121
                                <li id="advsearch-tab-[% advsearchloo.advanced_search_type %]">
122
                                <li id="advsearch-tab-[% advsearchloo.advanced_search_type %]">
122
                                <a href="#advsearch-[% advsearchloo.advanced_search_type %]">
123
                                <a href="#advsearch-[% advsearchloo.advanced_search_type %]">
123
                               [% IF ( advsearchloo.advanced_search_type == 'itemtypes' ) %]Item type
124
                               [% IF ( advsearchloo.advanced_search_type == 'itemtypes' ) %][% t('Item type') %]
124
                               [% ELSIF ( advsearchloo.advanced_search_type == 'ccode' ) %]Collection
125
                               [% ELSIF ( advsearchloo.advanced_search_type == 'ccode' ) %][% t('Collection') %]
125
                               [% ELSIF ( advsearchloo.advanced_search_type == 'loc' ) %]Shelving location
126
                               [% ELSIF ( advsearchloo.advanced_search_type == 'loc' ) %][% t('Shelving location') %]
126
                               [% ELSE %]Something else
127
                               [% ELSE %][% t('Something else') %]
127
                               [% END %]
128
                               [% END %]
128
                               </a></li>
129
                               </a></li>
129
                            [% END %]
130
                            [% END %]
Lines 132-153 Link Here
132
                        [% FOREACH advsearchloo IN advancedsearchesloop %]
133
                        [% FOREACH advsearchloo IN advancedsearchesloop %]
133
                            <div id="advsearch-[% advsearchloo.advanced_search_type %]" class="advsearch">
134
                            <div id="advsearch-[% advsearchloo.advanced_search_type %]" class="advsearch">
134
                                <fieldset>
135
                                <fieldset>
135
                                    <legend>Limit to any of the following:</legend>
136
                                    <legend>[% t('Limit to any of the following:') %]</legend>
136
                                    <div class="row-fluid">
137
                                    <div class="row-fluid">
137
                                        [% FOREACH itemtypeloo IN advsearchloo.code_loop %]
138
                                        [% FOREACH itemtypeloo IN advsearchloo.code_loop %]
138
                                            [% IF (advsearchloo.advanced_search_type != 'itemtypes') OR (((!itemtypeloo.searchcategory) AND (itemtypeloo.cat == 0)) OR (itemtypeloo.cat == 1)) %]
139
                                            [% IF (advsearchloo.advanced_search_type != 'itemtypes') OR (((!itemtypeloo.searchcategory) AND (itemtypeloo.cat == 0)) OR (itemtypeloo.cat == 1)) %]
139
                                                <div class="span3">
140
                                                <div class="span3">
140
                                                    <input type="checkbox"
141
                                                    <input type="checkbox" id="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]" name="[% IF ( itemtypeloo.cat == 1 ) %]searchcat[% ELSE %]limit[% END %]" value="[% IF ( itemtypeloo.cat == 1 ) %][% itemtypeloo.code %][% ELSE %]mc-[% itemtypeloo.ccl %]:[% itemtypeloo.code %][% END %]" />
141
                                                        id="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]"
142
                                                        name="[% IF ( itemtypeloo.cat == 1 ) %]searchcat[% ELSE %]limit[% END %]"
143
                                                        value="[% IF ( itemtypeloo.cat == 1 ) %][% itemtypeloo.code %][% ELSE %]mc-[% itemtypeloo.ccl %]:[% itemtypeloo.code %][% END %]"
144
                                                    />
145
                                                    <label for="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]">
142
                                                    <label for="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]">
146
                                                        [% UNLESS ( noItemTypeImages ) %]
143
                                                        [% UNLESS ( noItemTypeImages ) %]
147
                                                            [% IF ( itemtypeloo.imageurl ) %]
144
                                                            [% IF ( itemtypeloo.imageurl ) %]
148
                                                                <img src="[% itemtypeloo.imageurl %]" alt="[% itemtypeloo.description %]" />
145
                                                                <img src="[% itemtypeloo.imageurl %]" alt="[% itemtypeloo.description %]" />
149
                                                            [% END %]
146
                                                            [% END %]
150
                                                            &nbsp;
147
                                                             
151
                                                        [% END %]
148
                                                        [% END %]
152
                                                        [% itemtypeloo.description %]
149
                                                        [% itemtypeloo.description %]
153
                                                    </label>
150
                                                    </label>
Lines 169-178 Link Here
169
                        <div id="pubrange">
166
                        <div id="pubrange">
170
                            <!-- PUB RANGE OPTION -->
167
                            <!-- PUB RANGE OPTION -->
171
                            <fieldset>
168
                            <fieldset>
172
                                <legend>Publication date range</legend>
169
                                <legend>[% t('Publication date range') %]</legend>
173
                                <label for="limit-yr">Date range:</label>
170
                                <label for="limit-yr">[% t('Date range:') %]</label>
174
                                <input type="text" size="30" id="limit-yr" name="limit-yr" title="Enter search terms" value="" />
171
                                <input type="text" size="30" id="limit-yr" name="limit-yr" title="[% t('Enter search terms') %]" value="" />
175
                                <p>For example:  1999-2001.  You could also use "-1987" for everything published in and before 1987 or "2008-" for everything published in 2008 and after.</p>
172
                                <p>[% t('For example:') %]  [% t('1999-2001.') %]  [% t('You could also use &#34;-1987&#34; for everything published in and before 1987 or &#34;2008-&#34; for everything published in 2008 and after.') %]</p>
176
                            </fieldset>
173
                            </fieldset>
177
                            <!-- /PUB RANGE OPTION -->
174
                            <!-- /PUB RANGE OPTION -->
178
                        </div>
175
                        </div>
Lines 184-195 Link Here
184
                    <div class="span3">
181
                    <div class="span3">
185
                        <div id="langfilter">
182
                        <div id="langfilter">
186
                            <fieldset>
183
                            <fieldset>
187
                                <legend>Language</legend>
184
                                <legend>[% t('Language') %]</legend>
188
                                <!-- LANGUAGE LIMIT -->
185
                                <!-- LANGUAGE LIMIT -->
189
                                <p>
186
                                <p>
190
                                    <label for="language-limit">Language: </label>
187
                                    <label for="language-limit">[% t('Language:') %] </label>
191
                                    <select id="language-limit" name="limit">
188
                                    <select id="language-limit" name="limit">
192
                                        <option value="">No limit</option>
189
                                        <option value="">[% t('No limit') %]</option>
193
                                            [% FOREACH search_languages_loo IN search_languages_loop %]
190
                                            [% FOREACH search_languages_loo IN search_languages_loop %]
194
                                                [% IF ( search_languages_loo.selected ) %]
191
                                                [% IF ( search_languages_loo.selected ) %]
195
                                                    <option value="ln,rtrn:[% search_languages_loo.iso639_2_code %]" selected="selected">[% search_languages_loo.language_description %]</option>
192
                                                    <option value="ln,rtrn:[% search_languages_loo.iso639_2_code %]" selected="selected">[% search_languages_loo.language_description %]</option>
Lines 212-221 Link Here
212
                            <!-- AVAILABILITY LIMITS -->
209
                            <!-- AVAILABILITY LIMITS -->
213
                            <div id="location">
210
                            <div id="location">
214
                                <fieldset>
211
                                <fieldset>
215
                                    <legend>Location and availability: </legend>
212
                                    <legend>[% t('Location and availability:') %] </legend>
216
                                    <label for="branchloop">Library:</label>
213
                                    <label for="branchloop">[% t('Library:') %]</label>
217
                                    <select name="limit" id="branchloop">
214
                                    <select name="limit" id="branchloop">
218
                                    <option value="">All libraries</option>
215
                                    <option value="">[% t('All libraries') %]</option>
219
                                    [% FOREACH BranchesLoo IN Branches.all( selected => opac_name ) %]
216
                                    [% FOREACH BranchesLoo IN Branches.all( selected => opac_name ) %]
220
                                        [% IF BranchesLoo.selected %]
217
                                        [% IF BranchesLoo.selected %]
221
                                            <option value="branch:[% BranchesLoo.branchcode %]" selected="selected">[% BranchesLoo.branchname %]</option>
218
                                            <option value="branch:[% BranchesLoo.branchcode %]" selected="selected">[% BranchesLoo.branchname %]</option>
Lines 225-241 Link Here
225
                                    [% END %]
222
                                    [% END %]
226
                                    </select>
223
                                    </select>
227
                                    [% IF search_groups %]
224
                                    [% IF search_groups %]
228
                                        <p>OR</p>
225
                                        <p>[% t('OR') %]</p>
229
                                        <label for="categoryloop">Groups of libraries</label>
226
                                        <label for="categoryloop">[% t('Groups of libraries') %]</label>
230
                                        <select name="multibranchlimit" id="categoryloop">
227
                                        <select name="multibranchlimit" id="categoryloop">
231
                                            <option value=""> -- none -- </option>
228
                                            <option value=""> [% t('-- none --') %] </option>
232
                                            [% FOREACH sg IN search_groups %]
229
                                            [% FOREACH sg IN search_groups %]
233
                                                <option value="[% sg.id %]">[% sg.title %]</option>
230
                                                <option value="[% sg.id %]">[% sg.title %]</option>
234
                                            [% END %]
231
                                            [% END %]
235
                                        </select>
232
                                        </select>
236
                                    [% END %]
233
                                    [% END %]
237
                                    <div style="margin-top:.4em">
234
                                    <div style="margin-top:.4em">
238
                                        <label for="available-items"><input type="checkbox" id="available-items" name="limit" value="available" /> Only items currently available for loan or reference</label>
235
                                        <label for="available-items"><input type="checkbox" id="available-items" name="limit" value="available" /> [% t('Only items currently available for loan or reference') %]</label>
239
                                    </div>
236
                                    </div>
240
                                </fieldset>
237
                                </fieldset>
241
                            </div> <!-- / #location -->
238
                            </div> <!-- / #location -->
Lines 250-257 Link Here
250
                    <!-- RANK LIMITS -->
247
                    <!-- RANK LIMITS -->
251
                        <div id="sortby">
248
                        <div id="sortby">
252
                            <fieldset>
249
                            <fieldset>
253
                                <legend>Sorting: </legend>
250
                                <legend>[% t('Sorting:') %] </legend>
254
                                <label for="sort_by">Sort by:</label>
251
                                <label for="sort_by">[% t('Sort by:') %]</label>
255
                                <select id="sort_by" name="sort_by">
252
                                <select id="sort_by" name="sort_by">
256
                                    [% INCLUDE 'resort_form.inc' %]
253
                                    [% INCLUDE 'resort_form.inc' %]
257
                                </select>
254
                                </select>
Lines 270-350 Link Here
270
                                <div id="subtypes">
267
                                <div id="subtypes">
271
                                    <div class="span3">
268
                                    <div class="span3">
272
                                        <fieldset>
269
                                        <fieldset>
273
                                            <legend>Audience</legend>
270
                                            <legend>[% t('Audience') %]</legend>
274
                                            <select id="subtype_audience" name="limit" class="subtype">
271
                                            <select id="subtype_audience" name="limit" class="subtype">
275
                                            <option value="" selected="selected" class="menuheader">Any audience</option>
272
                                            <option value="" selected="selected" class="menuheader">[% t('Any audience') %]</option>
276
                                                <option value="aud:a">Preschool</option>
273
                                                <option value="aud:a">[% t('Preschool') %]</option>
277
                                                <option value="aud:b">Primary</option>
274
                                                <option value="aud:b">[% t('Primary') %]</option>
278
                                                <option value="aud:c">Pre-adolescent</option>
275
                                                <option value="aud:c">[% t('Pre-adolescent') %]</option>
279
                                                <option value="aud:d">Adolescent</option>
276
                                                <option value="aud:d">[% t('Adolescent') %]</option>
280
                                                <option value="aud:e">Adult</option>
277
                                                <option value="aud:e">[% t('Adult') %]</option>
281
                                                <option value="aud:f">Specialized</option>
278
                                                <option value="aud:f">[% t('Specialized') %]</option>
282
                                                <option value="aud:g">General</option>
279
                                                <option value="aud:g">[% t('General') %]</option>
283
                                                <option value="aud:j">Juvenile</option>
280
                                                <option value="aud:j">[% t('Juvenile') %]</option>
284
                                            </select>
281
                                            </select>
285
                                        </fieldset>
282
                                        </fieldset>
286
                                    </div> <!-- / .span3 -->
283
                                    </div> <!-- / .span3 -->
287
284
288
                                    <div class="span3">
285
                                    <div class="span3">
289
                                        <fieldset>
286
                                        <fieldset>
290
                                            <legend>Content</legend>
287
                                            <legend>[% t('Content') %]</legend>
291
                                            <select id="subtype_content"  name="limit" class="subtype">
288
                                            <select id="subtype_content" name="limit" class="subtype">
292
                                                <option value="" selected="selected" class="menuheader">Any content</option>
289
                                                <option value="" selected="selected" class="menuheader">[% t('Any content') %]</option>
293
                                                <option value="fic:1">Fiction</option>
290
                                                <option value="fic:1">[% t('Fiction') %]</option>
294
                                                <option value="fic:0">Non-fiction</option>
291
                                                <option value="fic:0">[% t('Non-fiction') %]</option>
295
                                                <option value="bio:b">Biography</option>
292
                                                <option value="bio:b">[% t('Biography') %]</option>
296
                                                <option value="mus:j">Musical recording</option>
293
                                                <option value="mus:j">[% t('Musical recording') %]</option>
297
                                                <option value="mus:i">Non-musical recording</option>
294
                                                <option value="mus:i">[% t('Non-musical recording') %]</option>
298
                                            </select>
295
                                            </select>
299
                                        </fieldset>
296
                                        </fieldset>
300
                                    </div>
297
                                    </div>
301
298
302
                                    <div class="span3">
299
                                    <div class="span3">
303
                                        <fieldset>
300
                                        <fieldset>
304
                                            <legend>Format</legend>
301
                                            <legend>[% t('Format') %]</legend>
305
                                            <select id="subtype_format" name="limit" class="subtype">
302
                                            <select id="subtype_format" name="limit" class="subtype">
306
                                                <option value="" selected="selected" class="menuheader">Any format</option>
303
                                                <option value="" selected="selected" class="menuheader">[% t('Any format') %]</option>
307
                                                <option value="l-format:ta">Regular print</option>
304
                                                <option value="l-format:ta">[% t('Regular print') %]</option>
308
                                                <option value="l-format:tb">Large print</option>
305
                                                <option value="l-format:tb">[% t('Large print') %]</option>
309
                                                <option value="l-format:fk">Braille</option>
306
                                                <option value="l-format:fk">[% t('Braille') %]</option>
310
                                                <option value="">-----------</option>
307
                                                <option value="">-----------</option>
311
                                                <option value="l-format:sd">CD audio</option>
308
                                                <option value="l-format:sd">[% t('CD audio') %]</option>
312
                                                <option value="l-format:ss">Cassette recording</option>
309
                                                <option value="l-format:ss">[% t('Cassette recording') %]</option>
313
                                                <option value="l-format:vf">VHS tape / Videocassette</option>
310
                                                <option value="l-format:vf">[% t('VHS tape / Videocassette') %]</option>
314
                                                <option value="l-format:vd">DVD video / Videodisc</option>
311
                                                <option value="l-format:vd">[% t('DVD video / Videodisc') %]</option>
315
                                                <option value="l-format:co">CD software</option>
312
                                                <option value="l-format:co">[% t('CD software') %]</option>
316
                                                <option value="l-format:cr">Website</option>
313
                                                <option value="l-format:cr">[% t('Website') %]</option>
317
                                            </select>
314
                                            </select>
318
                                        </fieldset>
315
                                        </fieldset>
319
                                    </div> <!-- / .span3 -->
316
                                    </div> <!-- / .span3 -->
320
317
321
                                    <div class="span3">
318
                                    <div class="span3">
322
                                        <fieldset>
319
                                        <fieldset>
323
                                            <legend>Additional content types for books/printed materials</legend>
320
                                            <legend>[% t('Additional content types for books/printed materials') %]</legend>
324
                                            <select id="subtype_additional" name="limit" class="subtype">
321
                                            <select id="subtype_additional" name="limit" class="subtype">
325
                                                <option value="">Any</option>
322
                                                <option value="">[% t('Any') %]</option>
326
                                                <option value="ctype:a">Abstracts/summaries</option>
323
                                                <option value="ctype:a">[% t('Abstracts/summaries') %]</option>
327
                                                <option value="ctype:b">Bibliographies</option>
324
                                                <option value="ctype:b">[% t('Bibliographies') %]</option>
328
                                                <option value="ctype:c">Catalogs</option>
325
                                                <option value="ctype:c">[% t('Catalogs') %]</option>
329
                                                <option value="ctype:d">Dictionaries</option>
326
                                                <option value="ctype:d">[% t('Dictionaries') %]</option>
330
                                                <option value="ctype:e">Encyclopedias </option>
327
                                                <option value="ctype:e">[% t('Encyclopedias') %] </option>
331
                                                <option value="ctype:f">Handbooks</option>
328
                                                <option value="ctype:f">[% t('Handbooks') %]</option>
332
                                                <option value="ctype:g">Legal articles</option>
329
                                                <option value="ctype:g">[% t('Legal articles') %]</option>
333
                                                <option value="ctype:i">Indexes</option>
330
                                                <option value="ctype:i">[% t('Indexes') %]</option>
334
                                                <option value="ctype:j">Patent document</option>
331
                                                <option value="ctype:j">[% t('Patent document') %]</option>
335
                                                <option value="ctype:k">Discographies</option>
332
                                                <option value="ctype:k">[% t('Discographies') %]</option>
336
                                                <option value="ctype:l">Legislation</option>
333
                                                <option value="ctype:l">[% t('Legislation') %]</option>
337
                                                <option value="ctype:m">Theses</option>
334
                                                <option value="ctype:m">[% t('Theses') %]</option>
338
                                                <option value="ctype:n">Surveys</option>
335
                                                <option value="ctype:n">[% t('Surveys') %]</option>
339
                                                <option value="ctype:o">Reviews</option>
336
                                                <option value="ctype:o">[% t('Reviews') %]</option>
340
                                                <option value="ctype:p">Programmed texts</option>
337
                                                <option value="ctype:p">[% t('Programmed texts') %]</option>
341
                                                <option value="ctype:q">Filmographies</option>
338
                                                <option value="ctype:q">[% t('Filmographies') %]</option>
342
                                                <option value="ctype:r">Directories</option>
339
                                                <option value="ctype:r">[% t('Directories') %]</option>
343
                                                <option value="ctype:s">Statistics</option>
340
                                                <option value="ctype:s">[% t('Statistics') %]</option>
344
                                                <option value="ctype:t">Technical reports</option>
341
                                                <option value="ctype:t">[% t('Technical reports') %]</option>
345
                                                <option value="ctype:v">Legal cases and case notes</option>
342
                                                <option value="ctype:v">[% t('Legal cases and case notes') %]</option>
346
                                                <option value="ctype:w">Law reports and digests</option>
343
                                                <option value="ctype:w">[% t('Law reports and digests') %]</option>
347
                                                <option value="ctype:z">Treaties </option>
344
                                                <option value="ctype:z">[% t('Treaties') %] </option>
348
                                            </select>
345
                                            </select>
349
                                        </fieldset>
346
                                        </fieldset>
350
                                    </div> <!-- / .span3 -->
347
                                    </div> <!-- / .span3 -->
Lines 382-398 Link Here
382
[% INCLUDE 'opac-bottom.inc' %]
379
[% INCLUDE 'opac-bottom.inc' %]
383
[% BLOCK searchbuttons %]
380
[% BLOCK searchbuttons %]
384
    <p>
381
    <p>
385
        <input class="btn btn-success" type="submit" accesskey="s" name="do" title="Search" value="Search" />
382
        <input class="btn btn-success" type="submit" accesskey="s" name="do" title="[% t('Search') %]" value="Search" />
386
383
387
        [% IF ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.size > 0 ) %]
384
        [% IF ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.size > 0 ) %]
388
            [% IF expanded_options %]
385
            [% IF expanded_options %]
389
                <a href="/cgi-bin/koha/opac-search.pl?expanded_options=0" class="btn btn-default more-less-options">Fewer options</a>
386
                <a href="/cgi-bin/koha/opac-search.pl?expanded_options=0" class="btn btn-default more-less-options">[% t('Fewer options') %]</a>
390
            [% ELSIF not expanded_options %]
387
            [% ELSIF not expanded_options %]
391
                <a href="/cgi-bin/koha/opac-search.pl?expanded_options=1" class="btn btn-default more-less-options">More options</a>
388
                <a href="/cgi-bin/koha/opac-search.pl?expanded_options=1" class="btn btn-default more-less-options">[% t('More options') %]</a>
392
            [% END %]
389
            [% END %]
393
        [% END %]
390
        [% END %]
394
391
395
        <a href="/cgi-bin/koha/opac-search.pl?do=Clear" class="btn btn-default new-search">New search</a>
392
        <a href="/cgi-bin/koha/opac-search.pl?do=Clear" class="btn btn-default new-search">[% t('New search') %]</a>
396
    </p>
393
    </p>
397
[% END %]
394
[% END %]
398
395
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-alert-subscribe.tt (-10 / +11 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;  [% IF ( typeissue ) %]Subscribe to a subscription alert [% ELSIF ( typeissuecancel ) %] Unsubscribe from a subscription alert [% END %]</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %]  [% IF ( typeissue ) %][% t('Subscribe to a subscription alert') %] [% ELSIF ( typeissuecancel ) %] [% t('Unsubscribe from a subscription alert') %] [% END %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
Lines 9-17 Link Here
9
10
10
    <div class="main">
11
    <div class="main">
11
        <ul class="breadcrumb">
12
        <ul class="breadcrumb">
12
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
13
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
13
            <li><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]">Details for [% bibliotitle %]</a> <span class="divider">&rsaquo;</span></li>
14
            <li><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]">[% t('Details for') %] [% bibliotitle %]</a> <span class="divider">›</span></li>
14
            <li><a href="#">[% IF ( typeissue ) %]Subscribe to a subscription alert [% ELSIF ( typeissuecancel ) %] Unsubscribe from a subscription alert [% END %]</a></li>
15
            <li><a href="#">[% IF ( typeissue ) %][% t('Subscribe to a subscription alert') %] [% ELSIF ( typeissuecancel ) %] [% t('Unsubscribe from a subscription alert') %] [% END %]</a></li>
15
        </ul>
16
        </ul>
16
17
17
        <div class="container-fluid">
18
        <div class="container-fluid">
Lines 19-27 Link Here
19
                <div class="span12">
20
                <div class="span12">
20
                    <div id="useralertsubscribe">
21
                    <div id="useralertsubscribe">
21
                        [% IF ( typeissue ) %]
22
                        [% IF ( typeissue ) %]
22
                            <h1>Subscribe to a subscription alert</h1>
23
                            <h1>[% t('Subscribe to a subscription alert') %]</h1>
23
                            <form action="opac-alert-subscribe.pl" method="post">
24
                            <form action="opac-alert-subscribe.pl" method="post">
24
                                <p>Do you want to receive an email when a new issue for this subscription arrives?</p>
25
                                <p>[% t('Do you want to receive an email when a new issue for this subscription arrives?') %]</p>
25
                                <h4>[% bibliotitle %]</h4>
26
                                <h4>[% bibliotitle %]</h4>
26
                                [% IF ( notes ) %]<p>[% notes %]</p>[% END %]
27
                                [% IF ( notes ) %]<p>[% notes %]</p>[% END %]
27
                                <input type="hidden" name="subscriptionid" value="[% subscriptionid %]">
28
                                <input type="hidden" name="subscriptionid" value="[% subscriptionid %]">
Lines 29-41 Link Here
29
                                <input type="hidden" name="biblionumber" value="[% biblionumber | html %]">
30
                                <input type="hidden" name="biblionumber" value="[% biblionumber | html %]">
30
                                <input type="hidden" name="op" value="alert_confirmed">
31
                                <input type="hidden" name="op" value="alert_confirmed">
31
                                <input type="submit" class="btn" value="Yes">
32
                                <input type="submit" class="btn" value="Yes">
32
                                <a class="cancel" href="opac-serial-issues.pl?biblionumber=[% biblionumber | html %]" >No</a>
33
                                <a class="cancel" href="opac-serial-issues.pl?biblionumber=[% biblionumber | html %]">[% t('No') %]</a>
33
                            </form>
34
                            </form>
34
                        [% END %]
35
                        [% END %]
35
                        [% IF ( typeissuecancel ) %]
36
                        [% IF ( typeissuecancel ) %]
36
                            <h1>Unsubscribe from a subscription alert</h1>
37
                            <h1>[% t('Unsubscribe from a subscription alert') %]</h1>
37
                            <form action="opac-alert-subscribe.pl" method="post">
38
                            <form action="opac-alert-subscribe.pl" method="post">
38
                                <p>Please confirm that you do not want to receive email when a new issue arrives for this subscription.</p>
39
                                <p>[% t('Please confirm that you do not want to receive email when a new issue arrives for this subscription.') %]</p>
39
                                <h4>[% bibliotitle %]</h4>
40
                                <h4>[% bibliotitle %]</h4>
40
                                [% IF ( notes ) %]<p>[% notes %]</p>[% END %]
41
                                [% IF ( notes ) %]<p>[% notes %]</p>[% END %]
41
                                <input type="hidden" name="subscriptionid" value="[% subscriptionid %]">
42
                                <input type="hidden" name="subscriptionid" value="[% subscriptionid %]">
Lines 43-49 Link Here
43
                                <input type="hidden" name="biblionumber" value="[% biblionumber | html %]">
44
                                <input type="hidden" name="biblionumber" value="[% biblionumber | html %]">
44
                                <input type="hidden" name="op" value="cancel_confirmed">
45
                                <input type="hidden" name="op" value="cancel_confirmed">
45
                                <input type="submit" value="Yes" class="btn">
46
                                <input type="submit" value="Yes" class="btn">
46
                                <a href="opac-serial-issues.pl?biblionumber=[% biblionumber | html %]" class="cancel">No</a>
47
                                <a href="opac-serial-issues.pl?biblionumber=[% biblionumber | html %]" class="cancel">[% t('No') %]</a>
47
                            </form>
48
                            </form>
48
                        [% END %]
49
                        [% END %]
49
                    </div> <!-- / #useralertsubscribe -->
50
                    </div> <!-- / #useralertsubscribe -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt (-8 / +9 lines)
Lines 1-8 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% PROCESS 'opac-authorities.inc' %]
4
[% PROCESS 'opac-authorities.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;  Entry [% authtypetext %]</title>
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %]  [% t('Entry') %] [% authtypetext %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% BLOCK cssinclude %][% END %]
8
[% BLOCK cssinclude %][% END %]
8
</head>
9
</head>
Lines 11-19 Link Here
11
12
12
    <div class="main">
13
    <div class="main">
13
        <ul class="breadcrumb">
14
        <ul class="breadcrumb">
14
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
15
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
15
            <li><a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> <span class="divider">&rsaquo;</span></li>
16
            <li><a href="/cgi-bin/koha/opac-authorities-home.pl">[% t('Authority search') %]</a> <span class="divider">›</span></li>
16
            <li><a href="#">Entry [% authtypetext %]</a></li>
17
            <li><a href="#">[% t('Entry') %] [% authtypetext %]</a></li>
17
        </ul>
18
        </ul>
18
19
19
        <div class="container-fluid">
20
        <div class="container-fluid">
Lines 31-40 Link Here
31
                    <div id="userauthMARCdetails" class="maincontent">
32
                    <div id="userauthMARCdetails" class="maincontent">
32
                        <div id="views">
33
                        <div id="views">
33
                            <span class="view">
34
                            <span class="view">
34
                                <a id="Normalview" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid %]">Normal view</a>
35
                                <a id="Normalview" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid %]">[% t('Normal view') %]</a>
35
                            </span>
36
                            </span>
36
                            <span class="view">
37
                            <span class="view">
37
                                <span id="MARCview">MARC view</span>
38
                                <span id="MARCview">[% t('MARC view') %]</span>
38
                            </span>
39
                            </span>
39
                        </div>
40
                        </div>
40
41
Lines 44-51 Link Here
44
                            </div>
45
                            </div>
45
                        [% END %]
46
                        [% END %]
46
47
47
                        <h1>Entry [% authtypetext %]</h1>
48
                        <h1>[% t('Entry') %] [% authtypetext %]</h1>
48
                        <p><a href="opac-search.pl?type=opac&amp;q=[% authid %]&amp;idx=an,phr">Number of records used in: [% count %]</a></p>
49
                        <p><a href="opac-search.pl?type=opac&q=[% authid %]&idx=an,phr">[% t('Number of records used in:') %] [% count %]</a></p>
49
                            [% FOREACH Tag0X IN Tab0XX %]
50
                            [% FOREACH Tag0X IN Tab0XX %]
50
                                <p><b>[% Tag0X.tag %]</b></p>
51
                                <p><b>[% Tag0X.tag %]</b></p>
51
                                <ul>
52
                                <ul>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt (-11 / +12 lines)
Lines 1-8 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% PROCESS 'opac-authorities.inc' %]
4
[% PROCESS 'opac-authorities.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Authority search &rsaquo; [% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</title>
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Authority search ›') %] [% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% BLOCK cssinclude %][% END %]
8
[% BLOCK cssinclude %][% END %]
8
</head>
9
</head>
Lines 11-18 Link Here
11
12
12
    <div class="main">
13
    <div class="main">
13
        <ul class="breadcrumb">
14
        <ul class="breadcrumb">
14
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
15
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
15
            <li><a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> <span class="divider">&rsaquo;</span></li>
16
            <li><a href="/cgi-bin/koha/opac-authorities-home.pl">[% t('Authority search') %]</a> <span class="divider">›</span></li>
16
            <li><a href="#">[% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</a></li>
17
            <li><a href="#">[% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</a></li>
17
        </ul>
18
        </ul>
18
19
Lines 31-40 Link Here
31
                    <div id="userauthdetails" class="maincontent">
32
                    <div id="userauthdetails" class="maincontent">
32
                        <div id="views">
33
                        <div id="views">
33
                            <span class="view">
34
                            <span class="view">
34
                                <span id="Normalview">Normal view</span>
35
                                <span id="Normalview">[% t('Normal view') %]</span>
35
                            </span>
36
                            </span>
36
                            <span class="view">
37
                            <span class="view">
37
                                <a id="MARCview" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid %]&amp;marc=1">MARC view</a>
38
                                <a id="MARCview" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid %]&marc=1">[% t('MARC view') %]</a>
38
                            </span>
39
                            </span>
39
                        </div>
40
                        </div>
40
41
Lines 47-59 Link Here
47
                        <h1>[% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</h1>
48
                        <h1>[% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</h1>
48
49
49
                        <div class="usedin">
50
                        <div class="usedin">
50
                            [% IF count %]<a href="/cgi-bin/koha/opac-search.pl?type=opac&amp;q=[% authid %]&amp;idx=an,phr">Number of records used in: [% count %]</a>[% ELSE %]This authority is not used in any records.[% END %]
51
                            [% IF count %]<a href="/cgi-bin/koha/opac-search.pl?type=opac&q=[% authid %]&idx=an,phr">[% t('Number of records used in:') %] [% count %]</a>[% ELSE %][% t('This authority is not used in any records.') %][% END %]
51
                        </div>
52
                        </div>
52
53
53
                        <div class="authstanza">
54
                        <div class="authstanza">
54
                            [% FOREACH authorize IN summary.authorized %]
55
                            [% FOREACH authorize IN summary.authorized %]
55
                                <div class="heading authorized auth[% seefro.field %]">
56
                                <div class="heading authorized auth[% seefro.field %]">
56
                                    <span class="label">Preferred form: </span>
57
                                    <span class="label">[% t('Preferred form:') %] </span>
57
                                    <span class="authorized">[% authorize.heading %]</span>
58
                                    <span class="authorized">[% authorize.heading %]</span>
58
                                </div>
59
                                </div>
59
                            [% END %]
60
                            [% END %]
Lines 62-68 Link Here
62
63
63
                        [% IF summary.seefrom.size %]
64
                        [% IF summary.seefrom.size %]
64
                            <div class="authstanza seefrom">
65
                            <div class="authstanza seefrom">
65
                                <div class="authstanzaheading">Used for/see from:</div>
66
                                <div class="authstanzaheading">[% t('Used for/see from:') %]</div>
66
                                <ul class="seefrom">
67
                                <ul class="seefrom">
67
                                    [% FOREACH seefro IN summary.seefrom %]
68
                                    [% FOREACH seefro IN summary.seefrom %]
68
                                        <li class="heading seefrom auth[% seefro.field %]">
69
                                        <li class="heading seefrom auth[% seefro.field %]">
Lines 79-85 Link Here
79
80
80
                        [% IF summary.seealso.size %]
81
                        [% IF summary.seealso.size %]
81
                            <div class="authstanza seealso">
82
                            <div class="authstanza seealso">
82
                                <div class="authstanzaheading">See also:</div>
83
                                <div class="authstanzaheading">[% t('See also:') %]</div>
83
                                <ul class="seelso">
84
                                <ul class="seelso">
84
                                    [% FOREACH seeals IN summary.seealso %]
85
                                    [% FOREACH seeals IN summary.seealso %]
85
                                        <li class="heading seealso auth[% seeals.field %]">
86
                                        <li class="heading seealso auth[% seeals.field %]">
Lines 96-102 Link Here
96
97
97
                        [% IF marcflavour == 'UNIMARC' && summary.otherscript %]
98
                        [% IF marcflavour == 'UNIMARC' && summary.otherscript %]
98
                            <div class="authstanza">
99
                            <div class="authstanza">
99
                                <div class="authstanzaheading">Other forms:</div>
100
                                <div class="authstanzaheading">[% t('Other forms:') %]</div>
100
                                <ul>
101
                                <ul>
101
                                    [% FOREACH otherscrip IN summary.otherscript %]
102
                                    [% FOREACH otherscrip IN summary.otherscript %]
102
                                        <li>
103
                                        <li>
Lines 110-116 Link Here
110
111
111
                        <div id="authdescriptions" class="toptabs">
112
                        <div id="authdescriptions" class="toptabs">
112
                            <ul>
113
                            <ul>
113
                                <li id="tab_descriptions"><a href="#descriptions">Notes</a></li>
114
                                <li id="tab_descriptions"><a href="#descriptions">[% t('Notes') %]</a></li>
114
                            </ul>
115
                            </ul>
115
                            <div id="descriptions">
116
                            <div id="descriptions">
116
                                <div class="content_set">
117
                                <div class="content_set">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt (-53 / +54 lines)
Lines 1-10 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %]
4
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
5
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
5
    Log in to your account
6
    [% t('Log in to your account') %]
6
[% ELSE %]
7
[% ELSE %]
7
    Catalog login disabled
8
    [% t('Catalog login disabled') %]
8
[% END %]</title>
9
[% END %]</title>
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
10
[% BLOCK cssinclude %][% END %]
11
[% BLOCK cssinclude %][% END %]
Lines 14-21 Link Here
14
15
15
<div class="main">
16
<div class="main">
16
    <ul class="breadcrumb">
17
    <ul class="breadcrumb">
17
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
18
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
18
        <li><a href="#">Log in</a></li>
19
        <li><a href="#">[% t('Log in') %]</a></li>
19
    </ul>
20
    </ul>
20
21
21
    <div class="container-fluid">
22
    <div class="container-fluid">
Lines 27-74 Link Here
27
                        [% IF ( nopermission ) %]
28
                        [% IF ( nopermission ) %]
28
                            <!-- This is what is displayed if user doesnt have permission -->
29
                            <!-- This is what is displayed if user doesnt have permission -->
29
                            <div class="alert">
30
                            <div class="alert">
30
                                <h3>Access denied</h3>
31
                                <h3>[% t('Access denied') %]</h3>
31
                                <p>Sorry, the system doesn't think you have permission to access this page. </p>
32
                                <p>[% t('Sorry, the system doesn\'t think you have permission to access this page.') %] </p>
32
                                [% IF SCO_login %]
33
                                [% IF SCO_login %]
33
                                    <p><a href="/cgi-bin/koha/sco/sco-main.pl?logout.x=1">Log out and try again with a different user.</a></p>
34
                                    <p><a href="/cgi-bin/koha/sco/sco-main.pl?logout.x=1">[% t('Log out and try again with a different user.') %]</a></p>
34
                                [% ELSIF SCI_login %]
35
                                [% ELSIF SCI_login %]
35
                                    <p><a href="/cgi-bin/koha/sci/sci-main.pl?logout.x=1">Log out and try again with a different user.</a></p>
36
                                    <p><a href="/cgi-bin/koha/sci/sci-main.pl?logout.x=1">[% t('Log out and try again with a different user.') %]</a></p>
36
                                [% END %]
37
                                [% END %]
37
                            </div>
38
                            </div>
38
                        [% END %]
39
                        [% END %]
39
40
40
                        [% IF ( loginprompt ) %]
41
                        [% IF ( loginprompt ) %]
41
                            <!-- login prompt time-->
42
                            <!-- login prompt time-->
42
                            <h3>Log in to your account</h3>
43
                            <h3>[% t('Log in to your account') %]</h3>
43
44
44
                            [% IF ( timed_out ) %]
45
                            [% IF ( timed_out ) %]
45
                                <!-- This is what is displayed if login has timed out -->
46
                                <!-- This is what is displayed if login has timed out -->
46
                                <div class="alert alert-info">
47
                                <div class="alert alert-info">
47
                                    <p>Sorry, your session has timed out. Please log in again.</p>
48
                                    <p>[% t('Sorry, your session has timed out. Please log in again.') %]</p>
48
                                </div>
49
                                </div>
49
                            [% END %]
50
                            [% END %]
50
51
51
                            [% IF ( different_ip ) %]
52
                            [% IF ( different_ip ) %]
52
                                <!-- This is what is displayed if user doesnt have permission -->
53
                                <!-- This is what is displayed if user doesnt have permission -->
53
                                <div class="alert alert-info">
54
                                <div class="alert alert-info">
54
                                    <p>You are logging from a different IP address. Please log in again.</p>
55
                                    <p>[% t('You are logging from a different IP address. Please log in again.') %]</p>
55
                                </div>
56
                                </div>
56
                            [% END %]
57
                            [% END %]
57
58
58
59
59
                            [% IF too_many_login_attempts %]
60
                            [% IF too_many_login_attempts %]
60
                                <div class="alert alert-info">
61
                                <div class="alert alert-info">
61
                                This account has been locked!
62
                                [% t('This account has been locked!') %]
62
                                [% IF Koha.Preference('OpacResetPassword') %]
63
                                [% IF Koha.Preference('OpacResetPassword') %]
63
                                    <a href="/cgi-bin/koha/opac-password-recovery.pl">You must reset your password</a>.
64
                                    <a href="/cgi-bin/koha/opac-password-recovery.pl">[% t('You must reset your password') %]</a>.
64
                                [% ELSE %]
65
                                [% ELSE %]
65
                                    Please contact a library staff member.
66
                                    [% t('Please contact a library staff member.') %]
66
                                [% END %]
67
                                [% END %]
67
                                </div>
68
                                </div>
68
                            [% ELSIF invalid_username_or_password %]
69
                            [% ELSIF invalid_username_or_password %]
69
                                <!-- This is what is displayed if user doesnt have permission -->
70
                                <!-- This is what is displayed if user doesnt have permission -->
70
                                <div class="alert alert-info">
71
                                <div class="alert alert-info">
71
                                    <p>You entered an incorrect username or password. Please try again! And remember, passwords are case sensitive.</p>
72
                                    <p>[% t('You entered an incorrect username or password. Please try again! And remember, passwords are case sensitive.') %]</p>
72
                                </div>
73
                                </div>
73
                            [% END %]
74
                            [% END %]
74
75
Lines 76-103 Link Here
76
                                [% IF ( invalidShibLogin ) %]
77
                                [% IF ( invalidShibLogin ) %]
77
                                    <!-- This is what is displayed if shibboleth login has failed to match a koha user -->
78
                                    <!-- This is what is displayed if shibboleth login has failed to match a koha user -->
78
                                    <div class="alert alert-info">
79
                                    <div class="alert alert-info">
79
                                    <p>Sorry, your Shibboleth identity does not match a valid library identity.</p>
80
                                    <p>[% t('Sorry, your Shibboleth identity does not match a valid library identity.') %]</p>
80
                                    [% IF ( casAuthentication ) %]
81
                                    [% IF ( casAuthentication ) %]
81
                                        [% IF ( invalidCasLogin ) %]
82
                                        [% IF ( invalidCasLogin ) %]
82
                                            <!-- This is what is displayed if cas login has failed -->
83
                                            <!-- This is what is displayed if cas login has failed -->
83
                                            <p>Sorry, the CAS login also failed. If you have a local login you may use that below.</p>
84
                                            <p>[% t('Sorry, the CAS login also failed. If you have a local login you may use that below.') %]</p>
84
                                        [% ELSE %]
85
                                        [% ELSE %]
85
                                            <p>If you have a CAS account, you may use that below.</p>
86
                                            <p>[% t('If you have a CAS account, you may use that below.') %]</p>
86
                                        [% END %]
87
                                        [% END %]
87
                                    [% ELSE %]
88
                                    [% ELSE %]
88
                                        <p>If you have a local account, you may use that below.</p>
89
                                        <p>[% t('If you have a local account, you may use that below.') %]</p>
89
                                    [% END %]
90
                                    [% END %]
90
                                    </div>
91
                                    </div>
91
                            [% ELSE %]
92
                            [% ELSE %]
92
                                <h4>Shibboleth Login</h4>
93
                                <h4>[% t('Shibboleth Login') %]</h4>
93
                                <p><a href="[% shibbolethLoginUrl %]">If you have a Shibboleth account, please click here to log in.</a></p>
94
                                <p><a href="[% shibbolethLoginUrl %]">[% t('If you have a Shibboleth account, please click here to log in.') %]</a></p>
94
                            [% END %]
95
                            [% END %]
95
                            [% IF ( casAuthentication ) %]
96
                            [% IF ( casAuthentication ) %]
96
                                <h4>CAS login</h4>
97
                                <h4>[% t('CAS login') %]</h4>
97
                                <p>If you do not have a Shibboleth account, but you do have a CAS account, you can use CAS.</p>
98
                                <p>[% t('If you do not have a Shibboleth account, but you do have a CAS account, you can use CAS.') %]</p>
98
                            [% ELSE %]
99
                            [% ELSE %]
99
                                <h4>Local login</h4>
100
                                <h4>[% t('Local login') %]</h4>
100
                                <p>If you do not have a Shibboleth account, but you do have a local login, then you may login below.</p>
101
                                <p>[% t('If you do not have a Shibboleth account, but you do have a local login, then you may login below.') %]</p>
101
                            [% END %]
102
                            [% END %]
102
103
103
                        [% END %]
104
                        [% END %]
Lines 105-115 Link Here
105
                        [% IF ( casAuthentication ) %]
106
                        [% IF ( casAuthentication ) %]
106
                            [% IF ( shibbolethAuthentication ) %]
107
                            [% IF ( shibbolethAuthentication ) %]
107
                                [% IF ( casServerUrl ) %]
108
                                [% IF ( casServerUrl ) %]
108
                                    <p><a href="[% casServerUrl %]">Please click here to log in.</a><p>
109
                                    <p><a href="[% casServerUrl %]">[% t('Please click here to log in.') %]</a><p>
109
                                [% END %]
110
                                [% END %]
110
111
111
                                [% IF ( casServersLoop ) %]
112
                                [% IF ( casServersLoop ) %]
112
                                    <p>Please choose against which one you would like to authenticate: </p>
113
                                    <p>[% t('Please choose against which one you would like to authenticate:') %] </p>
113
                                    <ul>
114
                                    <ul>
114
                                        [% FOREACH casServer IN casServersLoop %]
115
                                        [% FOREACH casServer IN casServersLoop %]
115
                                            <li><a href="[% casServer.value %]">[% casServer.name %]</a></li>
116
                                            <li><a href="[% casServer.value %]">[% casServer.name %]</a></li>
Lines 117-135 Link Here
117
                                    </ul>
118
                                    </ul>
118
                                [% END %]
119
                                [% END %]
119
                            [% ELSE %]
120
                            [% ELSE %]
120
                                <h4>CAS login</h4>
121
                                <h4>[% t('CAS login') %]</h4>
121
122
122
                                [% IF ( invalidCasLogin ) %]
123
                                [% IF ( invalidCasLogin ) %]
123
                                    <!-- This is what is displayed if cas login has failed -->
124
                                    <!-- This is what is displayed if cas login has failed -->
124
                                    <p>Sorry, the CAS login failed.</p>
125
                                    <p>[% t('Sorry, the CAS login failed.') %]</p>
125
                                [% END %]
126
                                [% END %]
126
127
127
                                [% IF ( casServerUrl ) %]
128
                                [% IF ( casServerUrl ) %]
128
                                   <p><a href="[% casServerUrl %]">If you have a CAS account, please click here to log in.</a><p>
129
                                   <p><a href="[% casServerUrl %]">[% t('If you have a CAS account, please click here to log in.') %]</a><p>
129
                                [% END %]
130
                                [% END %]
130
131
131
                                [% IF ( casServersLoop ) %]
132
                                [% IF ( casServersLoop ) %]
132
                                    <p>If you have a CAS account, please choose against which one you would like to authenticate:</p>
133
                                    <p>[% t('If you have a CAS account, please choose against which one you would like to authenticate:') %]</p>
133
                                    <ul>
134
                                    <ul>
134
                                        [% FOREACH casServer IN casServersLoop %]
135
                                        [% FOREACH casServer IN casServersLoop %]
135
                                        <li><a href="[% casServer.value %]">[% casServer.name %]</a></li>
136
                                        <li><a href="[% casServer.value %]">[% casServer.name %]</a></li>
Lines 139-161 Link Here
139
                            [% END %]
140
                            [% END %]
140
141
141
                            [% IF ( shibbolethAuthentication ) %]
142
                            [% IF ( shibbolethAuthentication ) %]
142
                                <p>Nothing</p>
143
                                <p>[% t('Nothing') %]</p>
143
                            [% ELSE %]
144
                            [% ELSE %]
144
                                <h4>Local login</h4>
145
                                <h4>[% t('Local login') %]</h4>
145
                                <p>If you do not have a CAS account, but do have a local account, you can still log in: </p>
146
                                <p>[% t('If you do not have a CAS account, but do have a local account, you can still log in:') %] </p>
146
                            [% END %]
147
                            [% END %]
147
148
148
                        [% END # / IF casAuthentication %]
149
                        [% END # / IF casAuthentication %]
149
150
150
                        [% IF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %]
151
                        [% IF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %]
151
                            [% IF ( invalidGoogleOpenIDConnectLogin ) %]
152
                            [% IF ( invalidGoogleOpenIDConnectLogin ) %]
152
                                <h4>Google login</h4>
153
                                <h4>[% t('Google login') %]</h4>
153
                                <p>Sorry, your Google login failed. <span class="error">[% invalidGoogleOpenIDConnectLogin %]</span></p>
154
                                <p>[% t('Sorry, your Google login failed.') %] <span class="error">[% invalidGoogleOpenIDConnectLogin %]</span></p>
154
                                <p>Please note that the Google login will only work if you are using the e-mail address registered with this library.</p>
155
                                <p>[% t('Please note that the Google login will only work if you are using the e-mail address registered with this library.') %]</p>
155
                                <p>If you want to, you can try to <a href="/cgi-bin/koha/svc/auth/googleopenidconnect?reauthenticate=select_account">log in using a different account</a>
156
                                <p>[% t('If you want to, you can try to') %] <a href="/cgi-bin/koha/svc/auth/googleopenidconnect?reauthenticate=select_account">[% t('log in using a different account') %]</a>
156
                            [% END %]
157
                            [% END %]
157
                                <a href="/cgi-bin/koha/svc/auth/googleopenidconnect" class="btn btn-primary" id="openid_connect">Log in with Google</a>
158
                                <a href="/cgi-bin/koha/svc/auth/googleopenidconnect" class="btn btn-primary" id="openid_connect">[% t('Log in with Google') %]</a>
158
                                <p>If you do not have a Google account, but do have a local account, you can still log in: </p>
159
                                <p>[% t('If you do not have a Google account, but do have a local account, you can still log in:') %] </p>
159
                        [% END %]
160
                        [% END %]
160
161
161
                        [% IF SCO_login %]
162
                        [% IF SCO_login %]
Lines 170-207 Link Here
170
                            [% FOREACH INPUT IN INPUTS %]
171
                            [% FOREACH INPUT IN INPUTS %]
171
                                <input type="hidden" name="[% INPUT.name |html %]" value="[% INPUT.value |html %]" />
172
                                <input type="hidden" name="[% INPUT.name |html %]" value="[% INPUT.value |html %]" />
172
                            [% END %]
173
                            [% END %]
173
                            <label for="userid">Login</label>
174
                            <label for="userid">[% t('Login') %]</label>
174
                            <input type="text"  size="25" id="userid"  name="userid" />
175
                            <input type="text" size="25" id="userid" name="userid" />
175
                            <label for="password">Password</label><input type="password"  size="25" id="password"  name="password" />
176
                            <label for="password">[% t('Password') %]</label><input type="password" size="25" id="password" name="password" />
176
                            </fieldset>
177
                            </fieldset>
177
178
178
                            <input type="submit" value="Log in" class="btn" />
179
                            <input type="submit" value="Log in" class="btn" />
179
                            [% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %]
180
                            [% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %]
180
                                <div id="forgotpassword">
181
                                <div id="forgotpassword">
181
                                    <a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a>
182
                                    <a href="/cgi-bin/koha/opac-password-recovery.pl">[% t('Forgot your password?') %]</a>
182
                                </div>
183
                                </div>
183
                            [% END %]
184
                            [% END %]
184
                            <div id="nologininstructions">
185
                            <div id="nologininstructions">
185
                            [% IF Koha.Preference('OpacLoginInstructions') %]
186
                            [% IF Koha.Preference('OpacLoginInstructions') %]
186
                                [% Koha.Preference('OpacLoginInstructions') %]
187
                                [% Koha.Preference('OpacLoginInstructions') %]
187
                            [% ELSE %]
188
                            [% ELSE %]
188
                                <h5>Don't have a password yet?</h5>
189
                                <h5>[% t('Don\'t have a password yet?') %]</h5>
189
                                <p>If you don't have a password yet, stop by the circulation desk the next time you're in the library. We'll happily set one up for you.</p>
190
                                <p>[% t('If you don\'t have a password yet, stop by the circulation desk the next time you\'re in the library. We\'ll happily set one up for you.') %]</p>
190
                                <h5>Don't have a library card?</h5>
191
                                <h5>[% t('Don\'t have a library card?') %]</h5>
191
                                <p>If you don't have a library card, stop by your local library to sign up.</p>
192
                                <p>[% t('If you don\'t have a library card, stop by your local library to sign up.') %]</p>
192
                            [% END # / IF Koha.Preference('OpacLoginInstructions') %]
193
                            [% END # / IF Koha.Preference('OpacLoginInstructions') %]
193
194
194
                            [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<span id="registrationinstructions"><a href="/cgi-bin/koha/opac-memberentry.pl">You may register here.</a></span>
195
                            [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<span id="registrationinstructions"><a href="/cgi-bin/koha/opac-memberentry.pl">[% t('You may register here.') %]</a></span>
195
                            [% END %]
196
                            [% END %]
196
                            </div>
197
                            </div>
197
                            </form>
198
                            </form>
198
                        [% END # / IF loginprompt %]
199
                        [% END # / IF loginprompt %]
199
200
200
                    [% ELSE %]
201
                    [% ELSE %]
201
                        <h4>Logging on to the catalog has not been enabled by the library.</h4>
202
                        <h4>[% t('Logging on to the catalog has not been enabled by the library.') %]</h4>
202
                        <ul>
203
                        <ul>
203
                            <li>To report this error, you can email the Koha Administrator.<a href="mailto:[% admin %]">Email</a></li>
204
                            <li>[% t('To report this error, you can email the Koha Administrator.') %]<a href="mailto:[% admin %]">[% t('Email') %]</a></li>
204
                            <li>Use top menu bar to navigate to another part of Koha.</li>
205
                            <li>[% t('Use top menu bar to navigate to another part of Koha.') %]</li>
205
                        </ul>
206
                        </ul>
206
                    [% END # / IF opacuserlogin %]
207
                    [% END # / IF opacuserlogin %]
207
208
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authorities-home.tt (-18 / +19 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Authority search</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Authority search') %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
Lines 9-16 Link Here
9
10
10
    <div class="main">
11
    <div class="main">
11
        <ul class="breadcrumb">
12
        <ul class="breadcrumb">
12
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
13
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
13
            <li><a href="#">Authority search</a></li>
14
            <li><a href="#">[% t('Authority search') %]</a></li>
14
        </ul>
15
        </ul>
15
16
16
        <div class="container-fluid">
17
        <div class="container-fluid">
Lines 30-39 Link Here
30
                            <input type="hidden" name="op" value="do_search" />
31
                            <input type="hidden" name="op" value="do_search" />
31
                            <input type="hidden" name="type" value="opac" />
32
                            <input type="hidden" name="type" value="opac" />
32
                            <fieldset class="rows">
33
                            <fieldset class="rows">
33
                                <legend>Authority search</legend>
34
                                <legend>[% t('Authority search') %]</legend>
34
                                <ol>
35
                                <ol>
35
                                    <li>
36
                                    <li>
36
                                        <label for="authtypecode">Authority type: </label>
37
                                        <label for="authtypecode">[% t('Authority type:') %] </label>
37
                                        <select name="authtypecode" id="authtypecode">
38
                                        <select name="authtypecode" id="authtypecode">
38
                                            [% FOREACH authority_type IN authority_types %]
39
                                            [% FOREACH authority_type IN authority_types %]
39
                                                [% IF authority_type.authtypecode == authtypecode %]
40
                                                [% IF authority_type.authtypecode == authtypecode %]
Lines 45-77 Link Here
45
                                        </select>
46
                                        </select>
46
                                    </li>
47
                                    </li>
47
                                    <li>
48
                                    <li>
48
                                        <label for="anywhere">Search options:</label>
49
                                        <label for="anywhere">[% t('Search options:') %]</label>
49
                                        <select name="operator" id="anywhere">
50
                                        <select name="operator" id="anywhere">
50
                                            <option value="contains">contains</option>
51
                                            <option value="contains">[% t('contains') %]</option>
51
                                            <option value="start">starts with</option>
52
                                            <option value="start">[% t('starts with') %]</option>
52
                                            <option value="is">is exactly</option>
53
                                            <option value="is">[% t('is exactly') %]</option>
53
                                        </select>
54
                                        </select>
54
                                    </li>
55
                                    </li>
55
                                    <li>
56
                                    <li>
56
                                        <label for="value">Term(s):</label>
57
                                        <label for="value">[% t('Term(s):') %]</label>
57
                                        <input type="text" name="value" id="value" value="[% value %]" />
58
                                        <input type="text" name="value" id="value" value="[% value %]" />
58
                                    </li>
59
                                    </li>
59
                                    <li>
60
                                    <li>
60
                                        <label for="marclist">Where:</label>
61
                                        <label for="marclist">[% t('Where:') %]</label>
61
                                        <select name="marclist" id="marclist">
62
                                        <select name="marclist" id="marclist">
62
                                            <option value="all" selected="selected">in the complete record</option>
63
                                            <option value="all" selected="selected">[% t('in the complete record') %]</option>
63
                                            <option value="match">in any heading</option>
64
                                            <option value="match">[% t('in any heading') %]</option>
64
                                            <option value="mainentry">in main entry</option>
65
                                            <option value="mainentry">[% t('in main entry') %]</option>
65
                                        </select>
66
                                        </select>
66
                                    </li>
67
                                    </li>
67
                                    <li>
68
                                    <li>
68
                                        <input type="hidden" name="and_or" value="and" />
69
                                        <input type="hidden" name="and_or" value="and" />
69
                                        <input type="hidden" name="excluding" value="" />
70
                                        <input type="hidden" name="excluding" value="" />
70
                                        <label for="orderby">Order by: </label>
71
                                        <label for="orderby">[% t('Order by:') %] </label>
71
                                        <select name="orderby" id="orderby">
72
                                        <select name="orderby" id="orderby">
72
                                            <option value="">None</option>
73
                                            <option value="">[% t('None') %]</option>
73
                                            <option value="HeadingAsc" selected="selected">Heading ascendant</option>
74
                                            <option value="HeadingAsc" selected="selected">[% t('Heading ascendant') %]</option>
74
                                            <option value="HeadingDsc">Heading descendant</option>
75
                                            <option value="HeadingDsc">[% t('Heading descendant') %]</option>
75
                                        </select>
76
                                        </select>
76
                                    </li>
77
                                    </li>
77
                                </ol>
78
                                </ol>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt (-13 / +14 lines)
Lines 1-8 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% PROCESS 'opac-authorities.inc' %]
3
[% PROCESS 'opac-authorities.inc' %]
3
[% PROCESS 'authorities-search-results.inc' %]
4
[% PROCESS 'authorities-search-results.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; [% IF ( total ) %]Authority search result[% ELSE %]No results found[% END %]</title>
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %] [% IF ( total ) %][% t('Authority search result') %][% ELSE %][% t('No results found') %][% END %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% BLOCK cssinclude %][% END %]
8
[% BLOCK cssinclude %][% END %]
8
</head>
9
</head>
Lines 11-19 Link Here
11
12
12
    <div class="main">
13
    <div class="main">
13
        <ul class="breadcrumb">
14
        <ul class="breadcrumb">
14
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
15
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
15
            <li><a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> <span class="divider">&rsaquo;</span></li>
16
            <li><a href="/cgi-bin/koha/opac-authorities-home.pl">[% t('Authority search') %]</a> <span class="divider">›</span></li>
16
            <li><a href="#">Results</a></li>
17
            <li><a href="#">[% t('Results') %]</a></li>
17
        </ul>
18
        </ul>
18
19
19
        <div class="container-fluid">
20
        <div class="container-fluid">
Lines 29-35 Link Here
29
                    <div class="span12">
30
                    <div class="span12">
30
                [% END %]
31
                [% END %]
31
                    <div id="userauthsearchresults" class="maincontent">
32
                    <div id="userauthsearchresults" class="maincontent">
32
                        <h1>Authority search results</h1>
33
                        <h1>[% t('Authority search results') %]</h1>
33
34
34
                        [% IF total %]
35
                        [% IF total %]
35
                            <div class="pages">[% pagination_bar %]</div>
36
                            <div class="pages">[% pagination_bar %]</div>
Lines 37-48 Link Here
37
                        <div id="results">
38
                        <div id="results">
38
                            [% IF ( total ) %]
39
                            [% IF ( total ) %]
39
                                [% IF ( countfuzzy ) %]
40
                                [% IF ( countfuzzy ) %]
40
                                    <p><b>Showing [% resultcount %] of about [% total %] results</b></p>
41
                                    <p><b>[% t('Showing') %] [% resultcount %] [% t('of about') %] [% total %] [% t('results') %]</b></p>
41
                                [% ELSE %]
42
                                [% ELSE %]
42
                                    <p><b>Results [% from %] to [% to %] of [% total %]</b></p>
43
                                    <p><b>[% t('Results') %] [% from %] [% t('to') %] [% to %] [% t('of') %] [% total %]</b></p>
43
                                [% END %]
44
                                [% END %]
44
                            [% ELSE %]
45
                            [% ELSE %]
45
                                No results found.
46
                                [% t('No results found.') %]
46
                            [% END %]
47
                            [% END %]
47
                        </div>
48
                        </div>
48
49
Lines 51-60 Link Here
51
                                <table class="table table-bordered table-striped">
52
                                <table class="table table-bordered table-striped">
52
                                    <thead>
53
                                    <thead>
53
                                        <tr>
54
                                        <tr>
54
                                            <th colspan="2">Authorized headings</th>
55
                                            <th colspan="2">[% t('Authorized headings') %]</th>
55
                                            <th>Type of heading</th>
56
                                            <th>[% t('Type of heading') %]</th>
56
                                            [% UNLESS ( isEDITORS ) %]
57
                                            [% UNLESS ( isEDITORS ) %]
57
                                                <th>Biblio records</th>
58
                                                <th>[% t('Biblio records') %]</th>
58
                                            [% END %]
59
                                            [% END %]
59
                                        </tr>
60
                                        </tr>
60
                                    </thead>
61
                                    </thead>
Lines 62-72 Link Here
62
                                        [% FOREACH resul IN result %]
63
                                        [% FOREACH resul IN result %]
63
                                            <tr>
64
                                            <tr>
64
                                                <td>[% PROCESS authresult summary=resul.summary %]</td>
65
                                                <td>[% PROCESS authresult summary=resul.summary %]</td>
65
                                                <td><a href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% resul.authid %]">Details</a>
66
                                                <td><a href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% resul.authid %]">[% t('Details') %]</a>
66
                                                <td>[% resul.authtype %]</td>
67
                                                <td>[% resul.authtype %]</td>
67
                                                [% UNLESS ( resul.isEDITORS ) %]
68
                                                [% UNLESS ( resul.isEDITORS ) %]
68
                                                    <td>
69
                                                    <td>
69
                                                         [% IF resul.used > 0 %]<a href="/cgi-bin/koha/opac-search.pl?type=opac&amp;op=do_search&amp;q=an=[% resul.authid %]">[% resul.used %] biblios</a>[% ELSE %]0 biblios[% END %]
70
                                                         [% IF resul.used > 0 %]<a href="/cgi-bin/koha/opac-search.pl?type=opac&op=do_search&q=an=[% resul.authid %]">[% resul.used %] [% t('biblios') %]</a>[% ELSE %][% t('0 biblios') %][% END %]
70
                                                    </td>
71
                                                    </td>
71
                                                [% END %]
72
                                                [% END %]
72
                                            </tr>
73
                                            </tr>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt (-44 / +45 lines)
Lines 1-10 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Asset %]
4
[% USE Asset %]
4
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && TagsEnabled && TagsInputOnList ) %]
5
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && TagsEnabled && TagsInputOnList ) %]
5
6
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your cart</title>
8
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Your cart') %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
[% BLOCK cssinclude %]<style type="text/css">.item-status { display: inline; } @media print { body { height: 99%; } }</style>[% END %]
10
[% BLOCK cssinclude %]<style type="text/css">.item-status { display: inline; } @media print { body { height: 99%; } }</style>[% END %]
10
</head>
11
</head>
Lines 14-60 Link Here
14
            <div class="row-fluid">
15
            <div class="row-fluid">
15
                <div class="span12">
16
                <div class="span12">
16
                    <div id="userbasket">
17
                    <div id="userbasket">
17
                        <h2>Your cart</h2>
18
                        <h2>[% t('Your cart') %]</h2>
18
                            <div id="toolbar" class="toolbar">
19
                            <div id="toolbar" class="toolbar">
19
                                [% IF ( verbose ) %]
20
                                [% IF ( verbose ) %]
20
                                    <a href="opac-basket.pl" class="brief">Brief display</a>
21
                                    <a href="opac-basket.pl" class="brief">[% t('Brief display') %]</a>
21
                                [% ELSE %]
22
                                [% ELSE %]
22
                                    <a href="opac-basket.pl" class="detail">More details</a>
23
                                    <a href="opac-basket.pl" class="detail">[% t('More details') %]</a>
23
                                [% END %]
24
                                [% END %]
24
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
25
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
25
                                    <a class="send" href="opac-basket.pl">Send</a>
26
                                    <a class="send" href="opac-basket.pl">[% t('Send') %]</a>
26
                                [% END %]
27
                                [% END %]
27
                                <a class="download" href="opac-basket.pl">Download</a>
28
                                <a class="download" href="opac-basket.pl">[% t('Download') %]</a>
28
                                <a class="print-large" href="#">Print</a>
29
                                <a class="print-large" href="#">[% t('Print') %]</a>
29
                                <a class="empty" href="opac-basket.pl">Empty and close</a>
30
                                <a class="empty" href="opac-basket.pl">[% t('Empty and close') %]</a>
30
                                <a class="hide close" href="opac-basket.pl">Hide window</a>
31
                                <a class="hide close" href="opac-basket.pl">[% t('Hide window') %]</a>
31
                            </div>
32
                            </div>
32
33
33
                            <div id="selections-toolbar" class="toolbar">
34
                            <div id="selections-toolbar" class="toolbar">
34
                                <a id="CheckAll" href="#">Select all</a>
35
                                <a id="CheckAll" href="#">[% t('Select all') %]</a>
35
                                <a id="CheckNone" href="#">Clear all</a>
36
                                <a id="CheckNone" href="#">[% t('Clear all') %]</a>
36
                                <span class="sep">|</span>
37
                                <span class="sep">|</span>
37
                                <span class="links" id="tag_hides">
38
                                <span class="links" id="tag_hides">
38
                                    <span id="selections">Select titles to: </span>
39
                                    <span id="selections">[% t('Select titles to:') %] </span>
39
                                    <a href="#" class="deleteshelf disabled">Remove</a>
40
                                    <a href="#" class="deleteshelf disabled">[% t('Remove') %]</a>
40
                                    [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %]
41
                                    [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %]
41
                                        [% IF ( ( Koha.Preference( 'virtualshelves' ) == 1 ) && loggedinusername ) %]
42
                                        [% IF ( ( Koha.Preference( 'virtualshelves' ) == 1 ) && loggedinusername ) %]
42
                                            <a href="#" class="newshelf disabled">Add to a list</a>
43
                                            <a href="#" class="newshelf disabled">[% t('Add to a list') %]</a>
43
                                        [% END %]
44
                                        [% END %]
44
                                        [% IF ( Koha.Preference( 'RequestOnOpac' ) == 1 ) %]
45
                                        [% IF ( Koha.Preference( 'RequestOnOpac' ) == 1 ) %]
45
                                            <a href="#" class="hold disabled">Place hold</a>
46
                                            <a href="#" class="hold disabled">[% t('Place hold') %]</a>
46
                                        [% END %]
47
                                        [% END %]
47
                                        [% IF ( TagsInputEnabled && loggedinusername ) %]
48
                                        [% IF ( TagsInputEnabled && loggedinusername ) %]
48
                                            <a href="#" id="tagsel_tag" class="disabled">Tag</a>
49
                                            <a href="#" id="tagsel_tag" class="disabled">[% t('Tag') %]</a>
49
                                        [% END %]
50
                                        [% END %]
50
                                    [% END # / IF opacuserlogin %]
51
                                    [% END # / IF opacuserlogin %]
51
                                </span>
52
                                </span>
52
                                [% IF ( TagsInputEnabled && loggedinusername ) %]
53
                                [% IF ( TagsInputEnabled && loggedinusername ) %]
53
                                <span id="tagsel_form" style="display:none">
54
                                <span id="tagsel_form" style="display:none">
54
                                    <label for="tagsel_new">New tag:</label>
55
                                    <label for="tagsel_new">[% t('New tag:') %]</label>
55
                                    <input name="tagsel_new" id="tagsel_new" maxlength="100" />
56
                                    <input name="tagsel_new" id="tagsel_new" maxlength="100" />
56
                                    <input id="tagsel_button" name="tagsel_button" class="input tagsel_button" title="Add" type="submit" value="Add">
57
                                    <input id="tagsel_button" name="tagsel_button" class="input tagsel_button" title="[% t('Add') %]" type="submit" value="Add">
57
                                    <a href="#" id="tagsel_cancel">Cancel</a>
58
                                    <a href="#" id="tagsel_cancel">[% t('Cancel') %]</a>
58
                                </span>
59
                                </span>
59
                                [% END %]
60
                                [% END %]
60
                            </div>
61
                            </div>
Lines 69-87 Link Here
69
                                                [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author |html %][% END %]
70
                                                [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author |html %][% END %]
70
                                    </h3>
71
                                    </h3>
71
                                    <!-- COinS / Openurl -->
72
                                    <!-- COinS / Openurl -->
72
                                    <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=[% BIBLIO_RESULT.author %]&amp;rft.btitle=[% BIBLIO_RESULT.title |url %]&amp;rft.date=[% BIBLIO_RESULT.publicationyear %]&amp;rft.tpages=[% BIBLIO_RESULT.item('size') %]&amp;rft.isbn=[% BIBLIO_RESULT.isbn |url %]&amp;rft.aucorp=&amp;rft.place=[% BIBLIO_RESULT.place %]&amp;rft.pub=[% BIBLIO_RESULT.publisher |url %]&amp;rft.edition=[% BIBLIO_RESULT.edition %]&amp;rft.series=[% BIBLIO_RESULT.series %]&amp;rft.genre="></span>
73
                                    <span class="Z3988" title="[% t('ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=') %][% BIBLIO_RESULT.author %][% t('&amp;rft.btitle=') %][% BIBLIO_RESULT.title |url %][% t('&amp;rft.date=') %][% BIBLIO_RESULT.publicationyear %][% t('&amp;rft.tpages=') %][% BIBLIO_RESULT.item('size') %][% t('&amp;rft.isbn=') %][% BIBLIO_RESULT.isbn |url %][% t('&amp;rft.aucorp=&amp;rft.place=') %][% BIBLIO_RESULT.place %][% t('&amp;rft.pub=') %][% BIBLIO_RESULT.publisher |url %][% t('&amp;rft.edition=') %][% BIBLIO_RESULT.edition %][% t('&amp;rft.series=') %][% BIBLIO_RESULT.series %][% t('&amp;rft.genre=') %]"></span>
73
74
74
                                    <table class="table">
75
                                    <table class="table">
75
                                        [% IF ( BIBLIO_RESULT.isbn ) %]
76
                                        [% IF ( BIBLIO_RESULT.isbn ) %]
76
                                            <tr>
77
                                            <tr>
77
                                                <th scope="row">ISBN</th>
78
                                                <th scope="row">[% t('ISBN') %]</th>
78
                                                <td>[% BIBLIO_RESULT.isbn %]</td>
79
                                                <td>[% BIBLIO_RESULT.isbn %]</td>
79
                                            </tr>
80
                                            </tr>
80
                                        [% END %]
81
                                        [% END %]
81
82
82
                                        [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
83
                                        [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
83
                                        <tr>
84
                                        <tr>
84
                                            <th scope="row">Author(s)</th>
85
                                            <th scope="row">[% t('Author(s)') %]</th>
85
                                            <td>
86
                                            <td>
86
                                               [% IF ( BIBLIO_RESULT.author ) %]
87
                                               [% IF ( BIBLIO_RESULT.author ) %]
87
                                                   <p>[% BIBLIO_RESULT.author %]</p>
88
                                                   <p>[% BIBLIO_RESULT.author %]</p>
Lines 101-107 Link Here
101
102
102
                                        [% IF ( BIBLIO_RESULT.publishercode ) %]
103
                                        [% IF ( BIBLIO_RESULT.publishercode ) %]
103
                                            <tr>
104
                                            <tr>
104
                                                <th scope="row">Publisher</th>
105
                                                <th scope="row">[% t('Publisher') %]</th>
105
                                                <td>[% BIBLIO_RESULT.place %] [% BIBLIO_RESULT.publishercode %] [% BIBLIO_RESULT.publicationyear %]
106
                                                <td>[% BIBLIO_RESULT.place %] [% BIBLIO_RESULT.publishercode %] [% BIBLIO_RESULT.publicationyear %]
106
                                                </td>
107
                                                </td>
107
                                            </tr>
108
                                            </tr>
Lines 109-129 Link Here
109
110
110
                                        [% IF ( BIBLIO_RESULT.pages ) %]
111
                                        [% IF ( BIBLIO_RESULT.pages ) %]
111
                                            <tr>
112
                                            <tr>
112
                                                <th scope="row">Details</th>
113
                                                <th scope="row">[% t('Details') %]</th>
113
                                                <td>[% BIBLIO_RESULT.pages %] [% BIBLIO_RESULT.illus %] [% BIBLIO_RESULT.item('size') %]</td>
114
                                                <td>[% BIBLIO_RESULT.pages %] [% BIBLIO_RESULT.illus %] [% BIBLIO_RESULT.item('size') %]</td>
114
                                            </tr>
115
                                            </tr>
115
                                        [% END %]
116
                                        [% END %]
116
117
117
                                        [% IF ( BIBLIO_RESULT.seriestitle ) %]
118
                                        [% IF ( BIBLIO_RESULT.seriestitle ) %]
118
                                        <tr>
119
                                        <tr>
119
                                            <th scope="row">Collection</th>
120
                                            <th scope="row">[% t('Collection') %]</th>
120
                                            <td> [% BIBLIO_RESULT.seriestitle %]</td>
121
                                            <td> [% BIBLIO_RESULT.seriestitle %]</td>
121
                                        </tr>
122
                                        </tr>
122
                                        [% END %]
123
                                        [% END %]
123
124
124
                                        [% IF ( BIBLIO_RESULT.MARCSUBJCTS ) %]
125
                                        [% IF ( BIBLIO_RESULT.MARCSUBJCTS ) %]
125
                                        <tr>
126
                                        <tr>
126
                                            <th scope="row">Subject(s)</th>
127
                                            <th scope="row">[% t('Subject(s)') %]</th>
127
                                            <td>[% FOREACH MARCSUBJCT IN BIBLIO_RESULT.MARCSUBJCTS %]
128
                                            <td>[% FOREACH MARCSUBJCT IN BIBLIO_RESULT.MARCSUBJCTS %]
128
                                                   <p> [% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
129
                                                   <p> [% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
129
                                                        [% MARCSUBJECT_SUBFIELDS_LOO.separator %][% MARCSUBJECT_SUBFIELDS_LOO.value %][% END %]
130
                                                        [% MARCSUBJECT_SUBFIELDS_LOO.separator %][% MARCSUBJECT_SUBFIELDS_LOO.value %][% END %]
Lines 133-146 Link Here
133
                                        [% END %]
134
                                        [% END %]
134
135
135
                                        [% IF ( BIBLIO_RESULT.copyrightdate ) %]
136
                                        [% IF ( BIBLIO_RESULT.copyrightdate ) %]
136
                                            <tr><th scope="row">Copyright</th>
137
                                            <tr><th scope="row">[% t('Copyright') %]</th>
137
                                                <td> [% BIBLIO_RESULT.copyrightdate %]</td>
138
                                                <td> [% BIBLIO_RESULT.copyrightdate %]</td>
138
                                            </tr>
139
                                            </tr>
139
                                        [% END %]
140
                                        [% END %]
140
141
141
                                        [% IF ( BIBLIO_RESULT.MARCNOTES ) %]
142
                                        [% IF ( BIBLIO_RESULT.MARCNOTES ) %]
142
                                            <tr>
143
                                            <tr>
143
                                                <th scope="row">Notes</th>
144
                                                <th scope="row">[% t('Notes') %]</th>
144
                                                <td>
145
                                                <td>
145
                                                [% FOREACH MARCNOTE IN BIBLIO_RESULT.MARCNOTES %]
146
                                                [% FOREACH MARCNOTE IN BIBLIO_RESULT.MARCNOTES %]
146
                                                    <p>
147
                                                    <p>
Lines 157-198 Link Here
157
158
158
                                        [% IF ( BIBLIO_RESULT.unititle ) %]
159
                                        [% IF ( BIBLIO_RESULT.unititle ) %]
159
                                            <tr>
160
                                            <tr>
160
                                                <th scope="row">Unified title</th>
161
                                                <th scope="row">[% t('Unified title') %]</th>
161
                                                <td> [% BIBLIO_RESULT.unititle %]</td>
162
                                                <td> [% BIBLIO_RESULT.unititle %]</td>
162
                                            </tr>
163
                                            </tr>
163
                                        [% END %]
164
                                        [% END %]
164
165
165
                                        [% IF ( BIBLIO_RESULT.serial ) %]
166
                                        [% IF ( BIBLIO_RESULT.serial ) %]
166
                                            <tr>
167
                                            <tr>
167
                                                <th scope="row">Serial</th>
168
                                                <th scope="row">[% t('Serial') %]</th>
168
                                                <td>[% BIBLIO_RESULT.serial %]</td>
169
                                                <td>[% BIBLIO_RESULT.serial %]</td>
169
                                            </tr>
170
                                            </tr>
170
                                        [% END %]
171
                                        [% END %]
171
172
172
                                        [% IF ( BIBLIO_RESULT.dewey ) %]
173
                                        [% IF ( BIBLIO_RESULT.dewey ) %]
173
                                            <tr>
174
                                            <tr>
174
                                                <th scope="row">Dewey</th>
175
                                                <th scope="row">[% t('Dewey') %]</th>
175
                                                <td>[% BIBLIO_RESULT.dewey %]</td>
176
                                                <td>[% BIBLIO_RESULT.dewey %]</td>
176
                                            </tr>
177
                                            </tr>
177
                                        [% END %]
178
                                        [% END %]
178
179
179
                                        [% IF ( BIBLIO_RESULT.classification ) %]
180
                                        [% IF ( BIBLIO_RESULT.classification ) %]
180
                                            <tr>
181
                                            <tr>
181
                                                <th scope="row">Classification</th>
182
                                                <th scope="row">[% t('Classification') %]</th>
182
                                                <td> [% BIBLIO_RESULT.classification %]</td>
183
                                                <td> [% BIBLIO_RESULT.classification %]</td>
183
                                            </tr>
184
                                            </tr>
184
                                        [% END %]
185
                                        [% END %]
185
186
186
                                        [% IF ( BIBLIO_RESULT.lccn ) %]
187
                                        [% IF ( BIBLIO_RESULT.lccn ) %]
187
                                            <tr>
188
                                            <tr>
188
                                                <th scope="row">LCCN</th>
189
                                                <th scope="row">[% t('LCCN') %]</th>
189
                                                <td> [% BIBLIO_RESULT.lccn %]</td>
190
                                                <td> [% BIBLIO_RESULT.lccn %]</td>
190
                                            </tr>
191
                                            </tr>
191
                                        [% END %]
192
                                        [% END %]
192
193
193
                                        [% IF BIBLIO_RESULT.MARCURLS.size %]
194
                                        [% IF BIBLIO_RESULT.MARCURLS.size %]
194
                                            <tr>
195
                                            <tr>
195
                                                <th scope="row">URL(s)</th>
196
                                                <th scope="row">[% t('URL(s)') %]</th>
196
                                                <td>
197
                                                <td>
197
                                                   [% FOREACH MARCurl IN BIBLIO_RESULT.MARCURLS %]
198
                                                   [% FOREACH MARCurl IN BIBLIO_RESULT.MARCURLS %]
198
                                                        [% IF MARCurl.part %]<p>[% MARCurl.part %]</p>[% END %]
199
                                                        [% IF MARCurl.part %]<p>[% MARCurl.part %]</p>[% END %]
Lines 210-216 Link Here
210
                                        [% END %]
211
                                        [% END %]
211
212
212
                                        <tr>
213
                                        <tr>
213
                                            <th scope="row">Location(s) (Status)</th>
214
                                            <th scope="row">[% t('Location(s) (Status)') %]</th>
214
                                            <td>
215
                                            <td>
215
                                                [% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %]
216
                                                [% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %]
216
                                                    <ul>
217
                                                    <ul>
Lines 225-231 Link Here
225
                                                        [% END %]
226
                                                        [% END %]
226
                                                    </ul>
227
                                                    </ul>
227
                                                [% ELSE %]
228
                                                [% ELSE %]
228
                                                    This record has no items.
229
                                                    [% t('This record has no items.') %]
229
                                                [% END %]
230
                                                [% END %]
230
                                            </td>
231
                                            </td>
231
                                        </tr>
232
                                        </tr>
Lines 239-249 Link Here
239
                                <table id="itemst" class="table table-bordered table-striped">
240
                                <table id="itemst" class="table table-bordered table-striped">
240
                                    <thead>
241
                                    <thead>
241
                                        <tr>
242
                                        <tr>
242
                                            <th class="noprint">&nbsp;</th>
243
                                            <th class="noprint"> </th>
243
                                            <th>Title</th>
244
                                            <th>[% t('Title') %]</th>
244
                                            <th>Author</th>
245
                                            <th>[% t('Author') %]</th>
245
                                            <th>Year</th>
246
                                            <th>[% t('Year') %]</th>
246
                                            <th>Location (Status)</th>
247
                                            <th>[% t('Location (Status)') %]</th>
247
                                        </tr>
248
                                        </tr>
248
                                    </thead>
249
                                    </thead>
249
                                    <tbody>
250
                                    <tbody>
Lines 255-263 Link Here
255
                                            <td>
256
                                            <td>
256
                                                <a href="#" onclick="openBiblio('[% BIBLIO_RESULT.dest %]',[% BIBLIO_RESULT.biblionumber %])">[% BIBLIO_RESULT.title |html %][% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %][% subtitl.subfield |html %][% END %][% END %]</a>
257
                                                <a href="#" onclick="openBiblio('[% BIBLIO_RESULT.dest %]',[% BIBLIO_RESULT.biblionumber %])">[% BIBLIO_RESULT.title |html %][% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %][% subtitl.subfield |html %][% END %][% END %]</a>
257
                                                <!-- COinS / Openurl -->
258
                                                <!-- COinS / Openurl -->
258
                                                <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=[% BIBLIO_RESULT.author %]&amp;rft.btitle=[% BIBLIO_RESULT.title |url %]&amp;rft.date=[% BIBLIO_RESULT.publicationyear %]&amp;rft.tpages=[% BIBLIO_RESULT.item('size') %]&amp;rft.isbn=[% BIBLIO_RESULT.isbn |url %]&amp;rft.aucorp=&amp;rft.place=[% BIBLIO_RESULT.place %]&amp;rft.pub=[% BIBLIO_RESULT.publisher |url %]&amp;rft.edition=[% BIBLIO_RESULT.edition %]&amp;rft.series=[% BIBLIO_RESULT.series %]&amp;rft.genre="></span>
259
                                                <span class="Z3988" title="[% t('ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=') %][% BIBLIO_RESULT.author %][% t('&amp;rft.btitle=') %][% BIBLIO_RESULT.title |url %][% t('&amp;rft.date=') %][% BIBLIO_RESULT.publicationyear %][% t('&amp;rft.tpages=') %][% BIBLIO_RESULT.item('size') %][% t('&amp;rft.isbn=') %][% BIBLIO_RESULT.isbn |url %][% t('&amp;rft.aucorp=&amp;rft.place=') %][% BIBLIO_RESULT.place %][% t('&amp;rft.pub=') %][% BIBLIO_RESULT.publisher |url %][% t('&amp;rft.edition=') %][% BIBLIO_RESULT.edition %][% t('&amp;rft.series=') %][% BIBLIO_RESULT.series %][% t('&amp;rft.genre=') %]"></span>
259
                                                [% IF ( TagsInputEnabled && loggedinusername ) %]
260
                                                [% IF ( TagsInputEnabled && loggedinusername ) %]
260
                                                <span id="newtag[% BIBLIO_RESULT.biblionumber %]_status" class="tagstatus results_summary" style="display:none">Tag status here.</span>
261
                                                <span id="newtag[% BIBLIO_RESULT.biblionumber %]_status" class="tagstatus results_summary" style="display:none">[% t('Tag status here.') %]</span>
261
                                                [% END %]
262
                                                [% END %]
262
                                            </td>
263
                                            </td>
263
                                            <td>[% BIBLIO_RESULT.author %]</td>
264
                                            <td>[% BIBLIO_RESULT.author %]</td>
Lines 276-282 Link Here
276
                                                    [% END %]
277
                                                    [% END %]
277
                                                    ([% INCLUDE 'item-status.inc' item = ITEM_RESULT %])
278
                                                    ([% INCLUDE 'item-status.inc' item = ITEM_RESULT %])
278
                                                </li>
279
                                                </li>
279
                                                [% END %]</ul>[% ELSE %]This record has no items.[% END %]
280
                                                [% END %]</ul>[% ELSE %][% t('This record has no items.') %][% END %]
280
                                            </td>
281
                                            </td>
281
                                        </tr>
282
                                        </tr>
282
                                    [% END # / FOREACH BIBLIO_RESULT %]
283
                                    [% END # / FOREACH BIBLIO_RESULT %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-blocked.tt (-5 / +6 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog</title>
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog') %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
[% BLOCK cssinclude %][% END %]
5
[% BLOCK cssinclude %][% END %]
5
</head>
6
</head>
Lines 7-22 Link Here
7
[% INCLUDE 'masthead.inc' %]
8
[% INCLUDE 'masthead.inc' %]
8
<div class="main">
9
<div class="main">
9
    <ul class="breadcrumb">
10
    <ul class="breadcrumb">
10
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
11
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
11
        <li>Blocked record</li>
12
        <li>[% t('Blocked record') %]</li>
12
    </ul>
13
    </ul>
13
14
14
    <div class="container-fluid">
15
    <div class="container-fluid">
15
        <div class="row-fluid">
16
        <div class="row-fluid">
16
            <div class="span9">
17
            <div class="span9">
17
                <div id="opac-blocked-message">
18
                <div id="opac-blocked-message">
18
                    <h3>Blocked</h3>
19
                    <h3>[% t('Blocked') %]</h3>
19
                    <p>You are not authorized to view this record.</p>
20
                    <p>[% t('You are not authorized to view this record.') %]</p>
20
                    [% IF ( OpacSuppressionMessage ) %]
21
                    [% IF ( OpacSuppressionMessage ) %]
21
                        <div id="opacsuppressionmessage">
22
                        <div id="opacsuppressionmessage">
22
                            [% OpacSuppressionMessage %]
23
                            [% OpacSuppressionMessage %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt (-7 / +8 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;  Browse our catalog</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %]  [% t('Browse our catalog') %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
Lines 21-38 Link Here
21
                [% IF ( OpacNav ) %]<div class="span10">[% ELSE %]<div class="span12">[% END %]
22
                [% IF ( OpacNav ) %]<div class="span10">[% ELSE %]<div class="span12">[% END %]
22
23
23
                <div id="userbrowser">
24
                <div id="userbrowser">
24
                    <h1>Browse our catalog</h1>
25
                    <h1>[% t('Browse our catalog') %]</h1>
25
26
26
                    [% IF ( have_hierarchy ) %]
27
                    [% IF ( have_hierarchy ) %]
27
                        <ul>
28
                        <ul>
28
                            <li>
29
                            <li>
29
                                [% description %] <a href="opac-browser.pl">Top level</a>
30
                                [% description %] <a href="opac-browser.pl">[% t('Top level') %]</a>
30
                            </li>
31
                            </li>
31
                            <li style="list-style-type: none;">
32
                            <li style="list-style-type: none;">
32
                                <ul>
33
                                <ul>
33
                                    [% FOREACH HIERARCHY_LOO IN HIERARCHY_LOOP %]
34
                                    [% FOREACH HIERARCHY_LOO IN HIERARCHY_LOOP %]
34
                                        <li>
35
                                        <li>
35
                                            <a href="opac-browser.pl?level=[% HIERARCHY_LOO.level %]&amp;filter=[% HIERARCHY_LOO.classification |uri %]">[% HIERARCHY_LOO.description |html %]</a>
36
                                            <a href="opac-browser.pl?level=[% HIERARCHY_LOO.level %]&filter=[% HIERARCHY_LOO.classification |uri %]">[% HIERARCHY_LOO.description |html %]</a>
36
                                        </li>
37
                                        </li>
37
                                        <li style="list-style-type: none;">
38
                                        <li style="list-style-type: none;">
38
                                    [% END %]
39
                                    [% END %]
Lines 45-54 Link Here
45
                                                            [% IF ( LEVEL_LOO.endnode ) %]
46
                                                            [% IF ( LEVEL_LOO.endnode ) %]
46
                                                                <a href="opac-search.pl?q=Dewey-classification:[% LEVEL_LOO.classification |uri %]">[% LEVEL_LOO.description |html %]</a>
47
                                                                <a href="opac-search.pl?q=Dewey-classification:[% LEVEL_LOO.classification |uri %]">[% LEVEL_LOO.description |html %]</a>
47
                                                            [% ELSE %]
48
                                                            [% ELSE %]
48
                                                                <a href="opac-browser.pl?level=[% LEVEL_LOO.level %]&amp;filter=[% LEVEL_LOO.classification |uri %]">[% LEVEL_LOO.description |html %]</a>
49
                                                                <a href="opac-browser.pl?level=[% LEVEL_LOO.level %]&filter=[% LEVEL_LOO.classification |uri %]">[% LEVEL_LOO.description |html %]</a>
49
                                                            [% END %]
50
                                                            [% END %]
50
                                                        </p>
51
                                                        </p>
51
                                                        <p style="font-size:0.75em"><i>([% LEVEL_LOO.number %] biblios)</i></p>
52
                                                        <p style="font-size:0.75em"><i>([% LEVEL_LOO.number %] [% t('biblios)') %]</i></p>
52
                                                    </td>
53
                                                    </td>
53
                                                [% IF ( LEVEL_LOO.count3 ) %]</tr><tr>[% END %]
54
                                                [% IF ( LEVEL_LOO.count3 ) %]</tr><tr>[% END %]
54
                                                [% END %]
55
                                                [% END %]
Lines 62-68 Link Here
62
                            </li>
63
                            </li>
63
                        </ul>
64
                        </ul>
64
                    [% ELSE %]
65
                    [% ELSE %]
65
                        <div class="warning">The browser table is empty. this feature is not fully set-up. See the <a href="http://wiki.koha-community.org/wiki/Opac_browse_feature">Koha Wiki</a> for more information on what it does and how to configure it.</div>
66
                        <div class="warning">[% t('The browser table is empty. this feature is not fully set-up. See the') %] <a href="http://wiki.koha-community.org/wiki/Opac_browse_feature">[% t('Koha Wiki') %]</a> [% t('for more information on what it does and how to configure it.') %]</div>
66
                    [% END # / IF have_hierarchy %]
67
                    [% END # / IF have_hierarchy %]
67
68
68
                    </div> <!-- / .userbrowser -->
69
                    </div> <!-- / .userbrowser -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt (-26 / +27 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 5-11 Link Here
5
[% USE ItemTypes %]
6
[% USE ItemTypes %]
6
[% USE Branches %]
7
[% USE Branches %]
7
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
8
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Course reserves for [% course.course_name %]</title>
9
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Course reserves for') %] [% course.course_name %]</title>
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
10
[% BLOCK cssinclude %]
11
[% BLOCK cssinclude %]
11
    [% Asset.css("css/datatables.css") %]
12
    [% Asset.css("css/datatables.css") %]
Lines 17-40 Link Here
17
18
18
<div class="main">
19
<div class="main">
19
    <ul class="breadcrumb">
20
    <ul class="breadcrumb">
20
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
21
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
21
        <li><a href="/cgi-bin/koha/opac-course-reserves.pl">Course reserves</a> <span class="divider">&rsaquo;</span></li>
22
        <li><a href="/cgi-bin/koha/opac-course-reserves.pl">[% t('Course reserves') %]</a> <span class="divider">›</span></li>
22
        <li><a href="#">Course reserves for <i>[% course.course_name %]</i></a></li>
23
        <li><a href="#">[% t('Course reserves for') %] <i>[% course.course_name %]</i></a></li>
23
    </ul>
24
    </ul>
24
25
25
    <div class="container-fluid">
26
    <div class="container-fluid">
26
        <div class="row-fluid">
27
        <div class="row-fluid">
27
            <div class="span12">
28
            <div class="span12">
28
29
29
                <h2>Course reserves for <i>[% course.course_name %]</i></h2>
30
                <h2>[% t('Course reserves for') %] <i>[% course.course_name %]</i></h2>
30
                <div class="rows">
31
                <div class="rows">
31
                    <ol>
32
                    <ol>
32
                        [% IF ( course.term ) %]<li><span class="label">Term:</span> [% AuthorisedValues.GetByCode( 'TERM', course.term ) %]</li>[% END %]
33
                        [% IF ( course.term ) %]<li><span class="label">[% t('Term:') %]</span> [% AuthorisedValues.GetByCode( 'TERM', course.term ) %]</li>[% END %]
33
                        <li><span class="label">Department:</span> [% AuthorisedValues.GetByCode( 'DEPARTMENT', course.department ) %]</li>
34
                        <li><span class="label">[% t('Department:') %]</span> [% AuthorisedValues.GetByCode( 'DEPARTMENT', course.department ) %]</li>
34
                        [% IF ( course.course_number ) %]<li><span class="label">Course number:</span> [% course.course_number %]</li>[% END %]
35
                        [% IF ( course.course_number ) %]<li><span class="label">[% t('Course number:') %]</span> [% course.course_number %]</li>[% END %]
35
                        [% IF ( course.section ) %]<li><span class="label">Section:</span> [% course.section %]</li>[% END %]
36
                        [% IF ( course.section ) %]<li><span class="label">[% t('Section:') %]</span> [% course.section %]</li>[% END %]
36
                        [% IF ( course.instructors ) %]
37
                        [% IF ( course.instructors ) %]
37
                            <li><span class="label">Instructors:</span>
38
                            <li><span class="label">[% t('Instructors:') %]</span>
38
                                <ul>
39
                                <ul>
39
                                    [% FOREACH i IN course.instructors %]
40
                                    [% FOREACH i IN course.instructors %]
40
                                        <li><div class="instructor">[% i.firstname %] [% i.surname %]</div></li>
41
                                        <li><div class="instructor">[% i.firstname %] [% i.surname %]</div></li>
Lines 42-48 Link Here
42
                                </ul>
43
                                </ul>
43
                            </li>
44
                            </li>
44
                        [% END %]
45
                        [% END %]
45
                        [% IF ( course.public_note ) %]<li><span class="label">Notes:</span> [% course.public_note %]</li>[% END %]
46
                        [% IF ( course.public_note ) %]<li><span class="label">[% t('Notes:') %]</span> [% course.public_note %]</li>[% END %]
46
                    </ol>
47
                    </ol>
47
                </div>
48
                </div>
48
49
Lines 50-66 Link Here
50
                    <table id="course-items-table" class="table table-bordered table-striped table-condensed">
51
                    <table id="course-items-table" class="table table-bordered table-striped table-condensed">
51
                        <thead>
52
                        <thead>
52
                            <tr>
53
                            <tr>
53
                                <th class="anti-the">Title</th>
54
                                <th class="anti-the">[% t('Title') %]</th>
54
                                <th>Author</th>
55
                                <th>[% t('Author') %]</th>
55
                                <th>Item type</th>
56
                                <th>[% t('Item type') %]</th>
56
                                <th>Location</th>
57
                                <th>[% t('Location') %]</th>
57
                                <th>Collection</th>
58
                                <th>[% t('Collection') %]</th>
58
                                <th>Call number</th>
59
                                <th>[% t('Call number') %]</th>
59
                                <th>Copy number</th>
60
                                <th>[% t('Copy number') %]</th>
60
                                <th>Status</th>
61
                                <th>[% t('Status') %]</th>
61
                                <th class="title-string">Date due</th>
62
                                <th class="title-string">[% t('Date due') %]</th>
62
                                <th>Notes</th>
63
                                <th>[% t('Notes') %]</th>
63
                                <th>Link</th>
64
                                <th>[% t('Link') %]</th>
64
                            </tr>
65
                            </tr>
65
                        </thead>
66
                        </thead>
66
67
Lines 70-76 Link Here
70
                                    <td><a href="opac-detail.pl?biblionumber=[% cr.biblio.biblionumber %]">[% cr.biblio.title %]</a></td>
71
                                    <td><a href="opac-detail.pl?biblionumber=[% cr.biblio.biblionumber %]">[% cr.biblio.title %]</a></td>
71
                                    <td>[% cr.biblio.author %]</td>
72
                                    <td>[% cr.biblio.author %]</td>
72
                                    <td>[% ItemTypes.GetDescription( cr.item.itype ) %]</td>
73
                                    <td>[% ItemTypes.GetDescription( cr.item.itype ) %]</td>
73
                                    <td>[% Branches.GetName( cr.item.holdingbranch ) %] <br/> <i>[% AuthorisedValues.GetByCode( 'LOC', cr.item.location ) %]</i></td>
74
                                    <td>[% Branches.GetName( cr.item.holdingbranch ) %] <br /> <i>[% AuthorisedValues.GetByCode( 'LOC', cr.item.location ) %]</i></td>
74
                                    <td>[% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) %]</td>
75
                                    <td>[% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) %]</td>
75
                                    <td>[% cr.item.itemcallnumber %]</td>
76
                                    <td>[% cr.item.itemcallnumber %]</td>
76
                                    <td>[% cr.item.copynumber %]</td>
77
                                    <td>[% cr.item.copynumber %]</td>
Lines 83-91 Link Here
83
                                        [% END %]
84
                                        [% END %]
84
                                    </td>
85
                                    </td>
85
                                    <td>[% IF (cr.item.uri) %]
86
                                    <td>[% IF (cr.item.uri) %]
86
                                            <a href="[% cr.item.uri %]">Item URI</a>
87
                                            <a href="[% cr.item.uri %]">[% t('Item URI') %]</a>
87
                                        [% ELSIF (cr.biblioitem.url) %]
88
                                        [% ELSIF (cr.biblioitem.url) %]
88
                                            <a href="[% cr.biblioitem.url %]">Record URL</a>
89
                                            <a href="[% cr.biblioitem.url %]">[% t('Record URL') %]</a>
89
                                        [% END %]
90
                                        [% END %]
90
                                    </td>
91
                                    </td>
91
                                </tr>
92
                                </tr>
Lines 95-101 Link Here
95
                [% ELSE %]
96
                [% ELSE %]
96
                    <br style="clear:both;" />
97
                    <br style="clear:both;" />
97
                    <div class="alert alert-info">
98
                    <div class="alert alert-info">
98
                        <p>No reserves have been selected for this course.</p>
99
                        <p>[% t('No reserves have been selected for this course.') %]</p>
99
                    </div>
100
                    </div>
100
                [% END %]
101
                [% END %]
101
            </div> <!-- / .span12 -->
102
            </div> <!-- / .span12 -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt (-12 / +13 lines)
Lines 1-9 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE AuthorisedValues %]
4
[% USE AuthorisedValues %]
4
5
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Courses</title>
7
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Courses') %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
[% BLOCK cssinclude %]
9
[% BLOCK cssinclude %]
9
    [% Asset.css("css/datatables.css") %]
10
    [% Asset.css("css/datatables.css") %]
Lines 15-40 Link Here
15
16
16
<div class="main">
17
<div class="main">
17
    <ul class="breadcrumb">
18
    <ul class="breadcrumb">
18
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
19
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
19
        <li><a href="#">Course reserves</a></li>
20
        <li><a href="#">[% t('Course reserves') %]</a></li>
20
    </ul>
21
    </ul>
21
22
22
    <div class="container-fluid">
23
    <div class="container-fluid">
23
        <div class="row-fluid">
24
        <div class="row-fluid">
24
            <div class="span12">
25
            <div class="span12">
25
26
26
                    <h1>Courses</h1>
27
                    <h1>[% t('Courses') %]</h1>
27
28
28
                    <table id="course_reserves_table" class="table table-bordered table-striped table-condensed">
29
                    <table id="course_reserves_table" class="table table-bordered table-striped table-condensed">
29
                        <thead>
30
                        <thead>
30
                            <tr>
31
                            <tr>
31
                                <th>Name</th>
32
                                <th>[% t('Name') %]</th>
32
                                <th>Dept.</th>
33
                                <th>[% t('Dept.') %]</th>
33
                                <th>Course #</th>
34
                                <th>[% t('Course #') %]</th>
34
                                <th>Section</th>
35
                                <th>[% t('Section') %]</th>
35
                                <th>Term</th>
36
                                <th>[% t('Term') %]</th>
36
                                <th>Instructors</th>
37
                                <th>[% t('Instructors') %]</th>
37
                                <th>Notes</th>
38
                                <th>[% t('Notes') %]</th>
38
                            </tr>
39
                            </tr>
39
                        </thead>
40
                        </thead>
40
41
Lines 48-54 Link Here
48
                                    <td>[% AuthorisedValues.GetByCode( 'TERM' c.term ) %]</td>
49
                                    <td>[% AuthorisedValues.GetByCode( 'TERM' c.term ) %]</td>
49
                                    <td>
50
                                    <td>
50
                                      [% FOREACH i IN c.instructors %]
51
                                      [% FOREACH i IN c.instructors %]
51
                                          <div class="instructor"><span class"inst_surname">[% i.surname %]</span>[% IF i.firstname %]<span class="instr_separator">, </span><span class="instr_firstname">[% i.firstname %]</span>[% END %]</div>
52
                                          <div class="instructor"><span class"inst_surname"="">[% i.surname %]</span>[% IF i.firstname %]<span class="instr_separator">, </span><span class="instr_firstname">[% i.firstname %]</span>[% END %]</div>
52
                                      [% END %]
53
                                      [% END %]
53
                                    </td>
54
                                    </td>
54
                                    <td>[% c.public_note %]</td>
55
                                    <td>[% c.public_note %]</td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-228 / +214 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Math %]
3
[% USE Math %]
3
[% USE Koha %]
4
[% USE Koha %]
Lines 32-38 Link Here
32
    [% SET protocol = "http://" %]
33
    [% SET protocol = "http://" %]
33
[% END %]
34
[% END %]
34
[% INCLUDE 'doc-head-open.inc' %]
35
[% INCLUDE 'doc-head-open.inc' %]
35
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Details for: [% title |html %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl.subfield |html %][% END %]</title>
36
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Details for:') %] [% title |html %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl.subfield |html %][% END %]</title>
36
[% INCLUDE 'doc-head-close.inc' %]
37
[% INCLUDE 'doc-head-close.inc' %]
37
[% IF ( bidi ) %]
38
[% IF ( bidi ) %]
38
  [% BLOCK cssinclude %][% Asset.css("css/right-to-left.css") %][% END %]
39
  [% BLOCK cssinclude %][% Asset.css("css/right-to-left.css") %][% END %]
Lines 48-55 Link Here
48
49
49
<div class="main">
50
<div class="main">
50
    <ul class="breadcrumb">
51
    <ul class="breadcrumb">
51
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
52
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
52
        <li><a href="#"><span>Details for: </span>[% title |html %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl.subfield |html %][% END %]</a></li>
53
        <li><a href="#"><span>[% t('Details for:') %] </span>[% title |html %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl.subfield |html %][% END %]</a></li>
53
    </ul>
54
    </ul>
54
55
55
    <div class="container-fluid">
56
    <div class="container-fluid">
Lines 67-85 Link Here
67
                        [% ELSE %]
68
                        [% ELSE %]
68
                            <a href="http://www.amazon[% AmazonTld %]/dp/[% normalized_isbn %][% AmazonAssocTag %]">
69
                            <a href="http://www.amazon[% AmazonTld %]/dp/[% normalized_isbn %][% AmazonAssocTag %]">
69
                        [% END %]
70
                        [% END %]
70
                            <img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="Cover image" /></a>
71
                            <img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="[% t('Cover image') %]" /></a>
71
                    [% END %]
72
                    [% END %]
72
73
73
                    [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
74
                    [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
74
                        [% IF ( content_identifier_exists ) %]
75
                        [% IF ( content_identifier_exists ) %]
75
                            [% IF ( using_https ) %]
76
                            [% IF ( using_https ) %]
76
                                <img src="https://secure.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/[% SyndeticsCoverImageSize %].GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% normalized_upc %]&amp;oclc=[% normalized_oclc %]" alt="" class="thumbnail" />
77
                                <img src="https://secure.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/[% SyndeticsCoverImageSize %].GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% normalized_upc %]&oclc=[% normalized_oclc %]" alt="" class="thumbnail" />
77
                            [% ELSE %]
78
                            [% ELSE %]
78
                                <img src="http://www.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/[% SyndeticsCoverImageSize %].GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% normalized_upc %]&amp;oclc=[% normalized_oclc %]" alt="" class="thumbnail" />
79
                                <img src="http://www.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/[% SyndeticsCoverImageSize %].GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% normalized_upc %]&oclc=[% normalized_oclc %]" alt="" class="thumbnail" />
79
                            [% END %]
80
                            [% END %]
80
81
81
                        [% ELSE %]
82
                        [% ELSE %]
82
                            <span class="no-image">No cover image available</span>
83
                            <span class="no-image">[% t('No cover image available') %]</span>
83
                        [% END %]
84
                        [% END %]
84
                    [% END %]
85
                    [% END %]
85
86
Lines 97-127 Link Here
97
                    [% IF ( BakerTaylorEnabled && bt_id ) %]
98
                    [% IF ( BakerTaylorEnabled && bt_id ) %]
98
                        [% IF BakerTaylorBookstoreURL %]
99
                        [% IF BakerTaylorBookstoreURL %]
99
                            [% IF ( OPACURLOpenInNewWindow ) %]
100
                            [% IF ( OPACURLOpenInNewWindow ) %]
100
                                <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]" target="_blank" rel="noreferrer"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
101
                                <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]" target="_blank" rel="noreferrer"><img alt="[% t('See Baker &amp; Taylor') %]" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
101
                            [% ELSE %]
102
                            [% ELSE %]
102
                                <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
103
                                <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="[% t('See Baker &amp; Taylor') %]" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
103
                            [% END %]
104
                            [% END %]
104
                        [% ELSE %]
105
                        [% ELSE %]
105
                            <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
106
                            <img alt="[% t('See Baker &amp; Taylor') %]" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
106
                        [% END %]
107
                        [% END %]
107
                    [% END %]
108
                    [% END %]
108
                    </div><!-- / #bookcover -->
109
                    </div><!-- / #bookcover -->
109
110
110
                    <abbr class="unapi-id" title="koha:biblionumber:[% biblio.biblionumber %]"><!-- unAPI --></abbr>
111
                    <abbr class="unapi-id" title="[% t('koha:biblionumber:') %][% biblio.biblionumber %]"><!-- unAPI --></abbr>
111
                    [% IF ( ocoins ) # COinS / Openurl %]
112
                    [% IF ( ocoins ) # COinS / Openurl %]
112
                        <span class="Z3988" title="[% ocoins %]"></span>
113
                        <span class="Z3988" title="[% ocoins %]"></span>
113
                    [% END %]
114
                    [% END %]
114
115
115
                    <div id="views">
116
                    <div id="views">
116
                        <span class="view current-view"><span id="Normalview">Normal view</span></span>
117
                        <span class="view current-view"><span id="Normalview">[% t('Normal view') %]</span></span>
117
                        <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblio.biblionumber %]">MARC view</a></span>
118
                        <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblio.biblionumber %]">[% t('MARC view') %]</a></span>
118
                        [% IF ( ISBD ) %]<span class="view"><a id="ISBDview" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblio.biblionumber %]">ISBD view</a></span>[% END %]
119
                        [% IF ( ISBD ) %]<span class="view"><a id="ISBDview" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblio.biblionumber %]">[% t('ISBD view') %]</a></span>[% END %]
119
                    </div>
120
                    </div>
120
                    [% IF ( OPACXSLTDetailsDisplay ) %]
121
                    [% IF ( OPACXSLTDetailsDisplay ) %]
121
                        [% XSLTBloc %]
122
                        [% XSLTBloc %]
122
                    [% ELSE %]
123
                    [% ELSE %]
123
                        <h1 class="title">[% title |html %][% IF ( subtitle ) %] <span class="subtitle">[% FOREACH subtitl IN subtitle %][% subtitl.subfield |html %] [% END %]</span>[% END %]</h1>
124
                        <h1 class="title">[% title |html %][% IF ( subtitle ) %] <span class="subtitle">[% FOREACH subtitl IN subtitle %][% subtitl.subfield |html %] [% END %]</span>[% END %]</h1>
124
                        [% IF ( author ) %]<h5 class="author">by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author |html %]</a></h5>[% END %]
125
                        [% IF ( author ) %]<h5 class="author">[% t('by') %] <a href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author |html %]</a></h5>[% END %]
125
126
126
                        <span class="results_summary">[% UNLESS ( item_level_itypes ) %]
127
                        <span class="results_summary">[% UNLESS ( item_level_itypes ) %]
127
                            [
128
                            [
Lines 136-164 Link Here
136
137
137
                        [% IF ( MARCAUTHORS ) %]
138
                        [% IF ( MARCAUTHORS ) %]
138
                            <div class="results_summary">
139
                            <div class="results_summary">
139
                                <span class="label">Additional authors:</span>
140
                                <span class="label">[% t('Additional authors:') %]</span>
140
                                [% IF OPACPopupAuthorsSearch %]
141
                                [% IF OPACPopupAuthorsSearch %]
141
                                    <!-- Author search term selection modal -->
142
                                    <!-- Author search term selection modal -->
142
                                    <div id="authorSearch" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="authorSearchLabel" aria-hidden="true">
143
                                    <div id="authorSearch" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="authorSearchLabel" aria-hidden="true">
143
                                        <div class="modal-header">
144
                                        <div class="modal-header">
144
                                            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
145
                                            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
145
                                            <h3 id="authorSearchLabel">Select the item(s) to search</h3>
146
                                            <h3 id="authorSearchLabel">[% t('Select the item(s) to search') %]</h3>
146
                                        </div>
147
                                        </div>
147
                                        <div class="modal-body">
148
                                        <div class="modal-body">
148
                                            <input type="checkbox" onchange="checkAll(this, '#authorsList')" /> <b>All</b>
149
                                            <input type="checkbox" onchange="checkAll(this, '#authorsList')" /> <b>[% t('All') %]</b>
149
                                            <ul id="authorsList">
150
                                            <ul id="authorsList">
150
                                                [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
151
                                                [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
151
                                                    <li>
152
                                                    <li>
152
                                                        [% IF (MARCAUTHOR.authoritylink) %]
153
                                                        [% IF (MARCAUTHOR.authoritylink) %]
153
                                                            <input type="checkbox" name="checkbox"
154
                                                            <input type="checkbox" name="checkbox" id="author_[% loop.count %]" onclick="makeAuthorRequest()" value="an:[% MARCAUTHOR.authoritylink %]" />
154
                                                                id="author_[% loop.count %]"
155
                                                                onclick="makeAuthorRequest()"
156
                                                                value="an:[% MARCAUTHOR.authoritylink %]" />
157
                                                        [% ELSE %]
155
                                                        [% ELSE %]
158
                                                            <input type="checkbox" name="checkbox"
156
                                                            <input type="checkbox" name="checkbox" id="author_[% loop.count %]" onclick="makeAuthorRequest()" value="au,wrdl:[% FOREACH SUBFIELD IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% SUBFIELD.value |url %][% UNLESS (loop.last) %]+[% END %][% END %]" />
159
                                                                id="author_[% loop.count %]"
160
                                                                onclick="makeAuthorRequest()"
161
                                                                value="au,wrdl:[% FOREACH SUBFIELD IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% SUBFIELD.value |url %][% UNLESS (loop.last) %]+[% END %][% END %]" />
162
                                                        [% END %]
157
                                                        [% END %]
163
                                                        <label for="author_[% loop.count %]">
158
                                                        <label for="author_[% loop.count %]">
164
                                                            [% FOREACH SUBFIELD IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
159
                                                            [% FOREACH SUBFIELD IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
Lines 170-177 Link Here
170
                                            </ul>
165
                                            </ul>
171
                                        </div>
166
                                        </div>
172
                                        <div class="modal-footer">
167
                                        <div class="modal-footer">
173
                                            <a id="validAuthorSearch" href="#" class="btn btn-primary">Search</a>
168
                                            <a id="validAuthorSearch" href="#" class="btn btn-primary">[% t('Search') %]</a>
174
                                            <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
169
                                            <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">[% t('Cancel') %]</a>
175
                                        </div>
170
                                        </div>
176
                                    </div>
171
                                    </div>
177
                                [% END # /OPACPopupAuthorsSearch %]
172
                                [% END # /OPACPopupAuthorsSearch %]
Lines 181-199 Link Here
181
                                    [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
176
                                    [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
182
                                        [% MARCAUTHOR_SUBFIELDS_LOO.separator %]
177
                                        [% MARCAUTHOR_SUBFIELDS_LOO.separator %]
183
                                        [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
178
                                        [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
184
                                            <a role="button" data-toggle="modal" title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value %]"
179
                                            <a role="button" data-toggle="modal" title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value %]" class="showauthors" data-count="[% authorsloop.count %]" href="/cgi-bin/koha/opac-search.pl?q=[% FOREACH link_loo IN MARCAUTHOR_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit |url %]:[% link_loo.link |url %][% END %]#authorSearch">[% MARCAUTHOR_SUBFIELDS_LOO.value %]</a>
185
                                            class="showauthors" data-count="[% authorsloop.count %]"
186
                                            href="/cgi-bin/koha/opac-search.pl?q=[% FOREACH link_loo IN MARCAUTHOR_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit |url %]:[% link_loo.link |url %][% END %]#authorSearch">[% MARCAUTHOR_SUBFIELDS_LOO.value %]</a>
187
                                        [% ELSE %]
180
                                        [% ELSE %]
188
                                            <a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value %]"
181
                                            <a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value %]" class="showauthors" href="/cgi-bin/koha/opac-search.pl?q=[% FOREACH link_loo IN MARCAUTHOR_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit |url %]:[% link_loo.link |url %][% END %]">[% MARCAUTHOR_SUBFIELDS_LOO.value %]</a>
189
                                            class="showauthors" href="/cgi-bin/koha/opac-search.pl?q=[% FOREACH link_loo IN MARCAUTHOR_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit |url %]:[% link_loo.link |url %][% END %]">[% MARCAUTHOR_SUBFIELDS_LOO.value %]</a>
190
                                        [% END %]
182
                                        [% END %]
191
                                    [% END %]
183
                                    [% END %]
192
                                    [% IF (MARCAUTHOR.authoritylink) %]
184
                                    [% IF (MARCAUTHOR.authoritylink) %]
193
                                        <a class='authlink' href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% MARCAUTHOR.authoritylink %]"><img style="vertical-align:middle" height="15" width="15" src="[% interface %]/[% theme %]/images/filefind.png"></a>
185
                                        <a class="authlink" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% MARCAUTHOR.authoritylink %]"><img style="vertical-align:middle" height="15" width="15" src="[% interface %]/[% theme %]/images/filefind.png"></a>
194
                                    [% END %]
186
                                    [% END %]
195
                                    [% IF IDREF and MARCAUTHOR.unimarc3 %]
187
                                    [% IF IDREF and MARCAUTHOR.unimarc3 %]
196
                                        <a href="/cgi-bin/koha/opac-idref.pl?unimarc3=[% MARCAUTHOR.unimarc3 %]" title="IdRef" rel="gb_page_center[600,500]">IdRef</a>
188
                                        <a href="/cgi-bin/koha/opac-idref.pl?unimarc3=[% MARCAUTHOR.unimarc3 %]" title="[% t('IdRef') %]" rel="gb_page_center[600,500]">[% t('IdRef') %]</a>
197
                                    [% END %]
189
                                    [% END %]
198
                                    [% UNLESS ( loop.last ) %]|[% END %]
190
                                    [% UNLESS ( loop.last ) %]|[% END %]
199
                                [% END # /FOREACH MARCAUTHORS %]
191
                                [% END # /FOREACH MARCAUTHORS %]
Lines 201-207 Link Here
201
                        [% END # IF MARCAUTHORS %]
193
                        [% END # IF MARCAUTHORS %]
202
194
203
                        [% IF ( MARCSERIES ) %]
195
                        [% IF ( MARCSERIES ) %]
204
                            <span class="results_summary series"><span class="label">Series:</span>
196
                            <span class="results_summary series"><span class="label">[% t('Series:') %]</span>
205
                                [% FOREACH MARCSERIE IN MARCSERIES %]
197
                                [% FOREACH MARCSERIE IN MARCSERIES %]
206
                                    [% FOREACH MARCSERIES_SUBFIELDS_LOO IN MARCSERIE.MARCSERIES_SUBFIELDS_LOOP %]
198
                                    [% FOREACH MARCSERIES_SUBFIELDS_LOO IN MARCSERIE.MARCSERIES_SUBFIELDS_LOOP %]
207
                                        [% IF ( MARCSERIES_SUBFIELDS_LOO.value ) %]
199
                                        [% IF ( MARCSERIES_SUBFIELDS_LOO.value ) %]
Lines 217-226 Link Here
217
                        [% END # /MARCSERIES %]
209
                        [% END # /MARCSERIES %]
218
210
219
                        [% IF ( editionstatement ) %]
211
                        [% IF ( editionstatement ) %]
220
                            <span class="results_summary edition"><span class="label">Edition statement:</span>[% editionstatement %][% IF ( editionresponsibility ) %]/[% editionresponsibility %][% END %]</span>
212
                            <span class="results_summary edition"><span class="label">[% t('Edition statement:') %]</span>[% editionstatement %][% IF ( editionresponsibility ) %]/[% editionresponsibility %][% END %]</span>
221
                        [% END %]
213
                        [% END %]
222
                        [% IF ( publishercode ) %]
214
                        [% IF ( publishercode ) %]
223
                            <span class="results_summary publisher"><span class="label">Published by :</span>
215
                            <span class="results_summary publisher"><span class="label">[% t('Published by :') %]</span>
224
                                <a href="/cgi-bin/koha/opac-search.pl?q=pb:[% publishercode |url %] ">
216
                                <a href="/cgi-bin/koha/opac-search.pl?q=pb:[% publishercode |url %] ">
225
                                    [% publishercode |html %]
217
                                    [% publishercode |html %]
226
                                </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %]
218
                                </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %]
Lines 228-250 Link Here
228
                        [% END %]
220
                        [% END %]
229
221
230
                        [% IF ( pages ) %]
222
                        [% IF ( pages ) %]
231
                            <span class="results_summary physical"><span class="label">Physical details:</span> [% pages %] [% illus %] [% size %]</span>
223
                            <span class="results_summary physical"><span class="label">[% t('Physical details:') %]</span> [% pages %] [% illus %] [% size %]</span>
232
                        [% END %]
224
                        [% END %]
233
225
234
                        [% IF ( MARCISBNS ) %]
226
                        [% IF ( MARCISBNS ) %]
235
                            <span class="results_summary isbn"><span class="label">ISBN:</span>[% FOREACH MARCISBN IN MARCISBNS %][% MARCISBN %][% IF ( loop.last ) %].[% ELSE %]; [% END %][% END %]</span>
227
                            <span class="results_summary isbn"><span class="label">[% t('ISBN:') %]</span>[% FOREACH MARCISBN IN MARCISBNS %][% MARCISBN %][% IF ( loop.last ) %].[% ELSE %]; [% END %][% END %]</span>
236
                        [% ELSE %]
228
                        [% ELSE %]
237
                            [% IF ( normalized_isbn ) %]
229
                            [% IF ( normalized_isbn ) %]
238
                                <span class="results_summary isbn"><span class="label">ISBN: </span>[% normalized_isbn %]</span>
230
                                <span class="results_summary isbn"><span class="label">[% t('ISBN:') %] </span>[% normalized_isbn %]</span>
239
                            [% END %]
231
                            [% END %]
240
                        [% END %]
232
                        [% END %]
241
233
242
                        [% IF ( issn ) %]
234
                        [% IF ( issn ) %]
243
                            <span class="results_summary issn"><span class="label">ISSN:</span>[% issn %]</span>
235
                            <span class="results_summary issn"><span class="label">[% t('ISSN:') %]</span>[% issn %]</span>
244
                        [% END %]
236
                        [% END %]
245
237
246
                        [% IF ( collectiontitle ) %]
238
                        [% IF ( collectiontitle ) %]
247
                            <span class="results_summary collection"><span class="label">Collection: </span>
239
                            <span class="results_summary collection"><span class="label">[% t('Collection:') %] </span>
248
                                [% collectiontitle %]
240
                                [% collectiontitle %]
249
                                [% IF ( collectionissn ) %] [% ', ISSN ' _  collectionissn %][% END %]
241
                                [% IF ( collectionissn ) %] [% ', ISSN ' _  collectionissn %][% END %]
250
                                [% IF ( collectionvolume ) %] [% ' ; ' _ collectionvolume %] [% END %]
242
                                [% IF ( collectionvolume ) %] [% ' ; ' _ collectionvolume %] [% END %]
Lines 253-259 Link Here
253
                        [% END %]
245
                        [% END %]
254
246
255
                        [% IF ( unititles ) %]
247
                        [% IF ( unititles ) %]
256
                            <span class="results_summary unititle"><span class="label">Uniform titles:</span>
248
                            <span class="results_summary unititle"><span class="label">[% t('Uniform titles:') %]</span>
257
                                [% FOREACH unititle IN unititles %]
249
                                [% FOREACH unititle IN unititles %]
258
                                    [% unititle.unititle %] ;
250
                                    [% unititle.unititle %] ;
259
                                [% END %]
251
                                [% END %]
Lines 262-280 Link Here
262
254
263
                        [% IF ( MARCSUBJCTS ) %]
255
                        [% IF ( MARCSUBJCTS ) %]
264
                            <div class="results_summary subject">
256
                            <div class="results_summary subject">
265
                                <span class="label">Subject(s):</span>
257
                                <span class="label">[% t('Subject(s):') %]</span>
266
258
267
                                [% IF OPACPopupAuthorsSearch %]
259
                                [% IF OPACPopupAuthorsSearch %]
268
                                    <!-- Search term selection modal -->
260
                                    <!-- Search term selection modal -->
269
                                    <div id="subjectSearch" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="subjectSearchLabel" aria-hidden="true">
261
                                    <div id="subjectSearch" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="subjectSearchLabel" aria-hidden="true">
270
                                        <div class="modal-header">
262
                                        <div class="modal-header">
271
                                            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
263
                                            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
272
                                            <h3 id="subjectSearchLabel">Select the term(s) to search</h3>
264
                                            <h3 id="subjectSearchLabel">[% t('Select the term(s) to search') %]</h3>
273
                                        </div>
265
                                        </div>
274
                                        <div id="subjectsList" class="modal-body">
266
                                        <div id="subjectsList" class="modal-body">
275
                                            <input type="checkbox" id="all_subjects" onchange="checkAll(this, '#subjectsList')" />
267
                                            <input type="checkbox" id="all_subjects" onchange="checkAll(this, '#subjectsList')" />
276
                                            <label for="all_subjects">
268
                                            <label for="all_subjects">
277
                                                <b>All</b>
269
                                                <b>[% t('All') %]</b>
278
                                            </label>
270
                                            </label>
279
                                            [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
271
                                            [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
280
                                                [% subjectsloop = loop %]
272
                                                [% subjectsloop = loop %]
Lines 295-302 Link Here
295
                                            [% END %]
287
                                            [% END %]
296
                                        </div>
288
                                        </div>
297
                                        <div class="modal-footer">
289
                                        <div class="modal-footer">
298
                                            <a href="#" id="validSubjectSearch" class="btn btn-primary">Search</a>
290
                                            <a href="#" id="validSubjectSearch" class="btn btn-primary">[% t('Search') %]</a>
299
                                            <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
291
                                            <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">[% t('Cancel') %]</a>
300
                                        </div>
292
                                        </div>
301
                                    </div>
293
                                    </div>
302
                                [% END # /OPACPopupAuthorsSearch%]
294
                                [% END # /OPACPopupAuthorsSearch%]
Lines 318-335 Link Here
318
                                [% END # / FOREACH MARCSUBJCTS %]
310
                                [% END # / FOREACH MARCSUBJCTS %]
319
                            </div>
311
                            </div>
320
                        [% ELSE # /IF MARCSUBJCTS %]
312
                        [% ELSE # /IF MARCSUBJCTS %]
321
                            [% IF ( subjects ) %]<span class="results_summary"><span class="label">Subject(s):</span> [% FOREACH subject IN subjects %]<a href="/cgi-bin/koha/opac-search.pl?q=su:[% subject.subject |url %]">[% subject.subject %]</a> | [% END %]</span>[% END %]
313
                            [% IF ( subjects ) %]<span class="results_summary"><span class="label">[% t('Subject(s):') %]</span> [% FOREACH subject IN subjects %]<a href="/cgi-bin/koha/opac-search.pl?q=su:[% subject.subject |url %]">[% subject.subject %]</a> | [% END %]</span>[% END %]
322
                        [% END %]
314
                        [% END %]
323
315
324
                        [% IF ( copyrightdate ) %]
316
                        [% IF ( copyrightdate ) %]
325
                            <span class="results_summary year"><span class="label">Year: </span>[% copyrightdate %]</span>
317
                            <span class="results_summary year"><span class="label">[% t('Year:') %] </span>[% copyrightdate %]</span>
326
                        [% END %]
318
                        [% END %]
327
319
328
                        [% UNLESS ( item_level_itypes ) %]
320
                        [% UNLESS ( item_level_itypes ) %]
329
                            [% IF ( imgeurl ) %]
321
                            [% IF ( imgeurl ) %]
330
                                <img src="[% imageurl %]" alt="" />
322
                                <img src="[% imageurl %]" alt="" />
331
                            [% END %]
323
                            [% END %]
332
                            <span class="results_summary itemtype"><span class="label">Item type: </span>
324
                            <span class="results_summary itemtype"><span class="label">[% t('Item type:') %] </span>
333
                                [% IF ( description ) %]
325
                                [% IF ( description ) %]
334
                                    [% description %]
326
                                    [% description %]
335
                                [% ELSE %]
327
                                [% ELSE %]
Lines 339-358 Link Here
339
                        [% END %]
331
                        [% END %]
340
332
341
                        [% IF ( MARCURLS ) %]
333
                        [% IF ( MARCURLS ) %]
342
                            <div class="results_summary online_resources"><span class="label">Online resources:</span>
334
                            <div class="results_summary online_resources"><span class="label">[% t('Online resources:') %]</span>
343
                                <ul>
335
                                <ul>
344
                                    [% FOREACH MARCurl IN MARCURLS %]
336
                                    [% FOREACH MARCurl IN MARCURLS %]
345
                                        <li>[% IF ( MARCurl.part ) %][% MARCurl.part %]<br />[% END %]
337
                                        <li>[% IF ( MARCurl.part ) %][% MARCurl.part %]<br />[% END %]
346
338
347
                                        [% IF ( OPACURLOpenInNewWindow ) %]
339
                                        [% IF ( OPACURLOpenInNewWindow ) %]
348
                                            [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
340
                                            [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
349
                                                <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL |url%]&amp;biblionumber=[% biblio.biblionumber %]" title="[% MARCurl.MARCURL %]" target="_blank" rel="noreferrer">
341
                                                <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL |url%]&biblionumber=[% biblio.biblionumber %]" title="[% MARCurl.MARCURL %]" target="_blank" rel="noreferrer">
350
                                            [% ELSE %]
342
                                            [% ELSE %]
351
                                                <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]" target="_blank" rel="noreferrer">
343
                                                <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]" target="_blank" rel="noreferrer">
352
                                            [% END %]
344
                                            [% END %]
353
                                        [% ELSE %]
345
                                        [% ELSE %]
354
                                            [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
346
                                            [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
355
                                                <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL |url%]&amp;biblionumber=[% biblio.biblionumber %]" title="[% MARCurl.MARCURL %]">
347
                                                <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL |url%]&biblionumber=[% biblio.biblionumber %]" title="[% MARCurl.MARCURL %]">
356
                                            [% ELSE %]
348
                                            [% ELSE %]
357
                                                <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">
349
                                                <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">
358
                                            [% END %]
350
                                            [% END %]
Lines 380-395 Link Here
380
                            <div class="results_summary"><div id="ltfl_tagbrowse" class="ltfl"></div></div>
372
                            <div class="results_summary"><div id="ltfl_tagbrowse" class="ltfl"></div></div>
381
                        [% END %]
373
                        [% END %]
382
                        <span class="results_summary">
374
                        <span class="results_summary">
383
                            <span class="label">Reviews from LibraryThing.com:</span>
375
                            <span class="label">[% t('Reviews from LibraryThing.com:') %]</span>
384
                            <span style="display: block;" class="ltfl_reviews"></span>
376
                            <span style="display: block;" class="ltfl_reviews"></span>
385
                        </span>
377
                        </span>
386
                    [% END # / LibraryThingForLibrariesID %]
378
                    [% END # / LibraryThingForLibrariesID %]
387
379
388
                    <!--This grabs all of the lists a bib record appears in -->
380
                    <!--This grabs all of the lists a bib record appears in -->
389
                    [% IF shelves.count %]
381
                    [% IF shelves.count %]
390
                        <span class="results_summary lists"><span class="label">List(s) this item appears in: </span>
382
                        <span class="results_summary lists"><span class="label">[% t('List(s) this item appears in:') %] </span>
391
                        [% FOREACH s IN shelves %]
383
                        [% FOREACH s IN shelves %]
392
                            <a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a>
384
                            <a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a>
393
                            [% IF ( loop.last ) %][% ELSE %]|[% END %]
385
                            [% IF ( loop.last ) %][% ELSE %]|[% END %]
394
                        [% END %]
386
                        [% END %]
395
                        </span>
387
                        </span>
Lines 398-442 Link Here
398
                    [% IF ( TagsShowEnabled ) %]
390
                    [% IF ( TagsShowEnabled ) %]
399
                        <div class="results_summary tags">
391
                        <div class="results_summary tags">
400
                            [% IF ( TagLoop ) %]
392
                            [% IF ( TagLoop ) %]
401
                                <span class="label">Tags from this library:</span>
393
                                <span class="label">[% t('Tags from this library:') %]</span>
402
                                <ul id="tagslist">
394
                                <ul id="tagslist">
403
                                    [% FOREACH TagLoo IN TagLoop %]
395
                                    [% FOREACH TagLoo IN TagLoop %]
404
                                        <li><a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term |url %]&amp;q=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a> <span class="weight">([% TagLoo.weight_total %])</span>
396
                                        <li><a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term |url %]&q=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a> <span class="weight">([% TagLoo.weight_total %])</span>
405
                                        [% IF ( loop.last ) %][% ELSE %], [% END %]
397
                                        [% IF ( loop.last ) %][% ELSE %], [% END %]
406
                                        </li>
398
                                        </li>
407
                                    [% END %]
399
                                    [% END %]
408
                                </ul>
400
                                </ul>
409
                            [% ELSE %]
401
                            [% ELSE %]
410
                                <span class="label">Tags from this library:</span> <span class="notags">No tags from this library for this title.</span>
402
                                <span class="label">[% t('Tags from this library:') %]</span> <span class="notags">[% t('No tags from this library for this title.') %]</span>
411
                            [% END %]
403
                            [% END %]
412
                            [% IF ( TagsInputEnabled ) %]
404
                            [% IF ( TagsInputEnabled ) %]
413
                                [% IF ( loggedinusername ) %]
405
                                [% IF ( loggedinusername ) %]
414
                                    <form id="tagform[% biblio.biblionumber %]" method="post" action="/cgi-bin/koha/opac-tags.pl" style="display:none;">
406
                                    <form id="tagform[% biblio.biblionumber %]" method="post" action="/cgi-bin/koha/opac-tags.pl" style="display:none;">
415
                                        <label for="newtag[% biblio.biblionumber %]">New tag(s), separated by a comma:</label>
407
                                        <label for="newtag[% biblio.biblionumber %]">[% t('New tag(s), separated by a comma:') %]</label>
416
                                        <p class="emoji-picker-container">
408
                                        <p class="emoji-picker-container">
417
                                          <input
409
                                          <input name="newtag[% biblio.biblionumber %]" id="newtag[% biblio.biblionumber %]" type="text" maxlength="100" data-emojiable="true" data-emoji-input="unicode">
418
                                            name="newtag[% biblio.biblionumber %]"
419
                                            id="newtag[% biblio.biblionumber %]"
420
                                            type="text"
421
                                            maxlength="100"
422
                                            data-emojiable="true"
423
                                            data-emoji-input="unicode">
424
                                        </p>
410
                                        </p>
425
                                        <input name="tagbutton" class="btn btn-small tagbutton" title="[% biblio.biblionumber %]" type="submit" value="Add" />
411
                                        <input name="tagbutton" class="btn btn-small tagbutton" title="[% biblio.biblionumber %]" type="submit" value="Add" />
426
                                        <a class="cancel_tag_add" id="cancel[% biblio.biblionumber %]" href="#">(done)</a>
412
                                        <a class="cancel_tag_add" id="cancel[% biblio.biblionumber %]" href="#">[% t('(done)') %]</a>
427
                                    </form>
413
                                    </form>
428
414
429
                                    <span id="newtag[% biblio.biblionumber %]_status" class="tagstatus" style="display:none;">
415
                                    <span id="newtag[% biblio.biblionumber %]_status" class="tagstatus" style="display:none;">
430
                                        Tag status here.
416
                                        [% t('Tag status here.') %]
431
                                    </span>
417
                                    </span>
432
                                    <a class="tag_add" id="tag_add[% biblio.biblionumber %]" href="#">Add tag(s)</a>
418
                                    <a class="tag_add" id="tag_add[% biblio.biblionumber %]" href="#">[% t('Add tag(s)') %]</a>
433
                                [% ELSE %]
419
                                [% ELSE %]
434
                                    <span id="login4tags">
420
                                    <span id="login4tags">
435
                                        [% IF Koha.Preference('casAuthentication') %]
421
                                        [% IF Koha.Preference('casAuthentication') %]
436
                                            [%# CAS authentication is too complicated for modal window %]
422
                                            [%# CAS authentication is too complicated for modal window %]
437
                                            <a href="/cgi-bin/koha/opac-user.pl">Log in to add tags.</a>
423
                                            <a href="/cgi-bin/koha/opac-user.pl">[% t('Log in to add tags.') %]</a>
438
                                        [% ELSE %]
424
                                        [% ELSE %]
439
                                            <a class="loginModal-trigger" data-toggle="modal" role="button" href="/cgi-bin/koha/opac-user.pl">Log in to add tags.</a>
425
                                            <a class="loginModal-trigger" data-toggle="modal" role="button" href="/cgi-bin/koha/opac-user.pl">[% t('Log in to add tags.') %]</a>
440
                                        [% END %]
426
                                        [% END %]
441
                                    </span>
427
                                    </span>
442
                                [% END %]
428
                                [% END %]
Lines 447-489 Link Here
447
                    [% IF ( SyndeticsEnabled ) %]
433
                    [% IF ( SyndeticsEnabled ) %]
448
                        [% IF ( SyndeticsSeries && SyndeticsSERIES1Exists ) %]
434
                        [% IF ( SyndeticsSeries && SyndeticsSERIES1Exists ) %]
449
                            <span class="results_summary">
435
                            <span class="results_summary">
450
                                <span class="label">Series information:</span>
436
                                <span class="label">[% t('Series information:') %]</span>
451
                                [% IF ( using_https ) %]
437
                                [% IF ( using_https ) %]
452
                                    <a target="_blank" rel="noreferrer" href="https://secure.syndetics.com/ffseries.aspx?isbn=[% normalized_isbn %]&amp;type=series&amp;num=1&amp;client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&amp;upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&amp;oclc=[% normalized_oclc %][% END %]">Click to open in new window</a>
438
                                    <a target="_blank" rel="noreferrer" href="https://secure.syndetics.com/ffseries.aspx?isbn=[% normalized_isbn %]&type=series&num=1&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]">[% t('Click to open in new window') %]</a>
453
                                [% ELSE %]
439
                                [% ELSE %]
454
                                    <a target="_blank" rel="noreferrer" href="http://www.syndetics.com/ffseries.aspx?isbn=[% normalized_isbn %]&amp;type=series&amp;num=1&amp;client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&amp;upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&amp;oclc=[% normalized_oclc %][% END %]">Click to open in new window</a>
440
                                    <a target="_blank" rel="noreferrer" href="http://www.syndetics.com/ffseries.aspx?isbn=[% normalized_isbn %]&type=series&num=1&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]">[% t('Click to open in new window') %]</a>
455
                                [% END %]
441
                                [% END %]
456
                            </span>
442
                            </span>
457
                        [% END # / IF SyndeticsSeries && SyndeticsSERIES1Exists%]
443
                        [% END # / IF SyndeticsSeries && SyndeticsSERIES1Exists%]
458
                        [% IF ( SyndeticsAVPROFILEExists ) %]
444
                        [% IF ( SyndeticsAVPROFILEExists ) %]
459
                            <span class="results_summary">
445
                            <span class="results_summary">
460
                                <span class="label">Audiovisual profile:</span>
446
                                <span class="label">[% t('Audiovisual profile:') %]</span>
461
                                [% IF ( using_https ) %]
447
                                [% IF ( using_https ) %]
462
                                    <a target="_blank" rel="noreferrer" href="https://secure.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/avprofile.html&amp;client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&amp;upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&amp;oclc=[% normalized_oclc %][% END %]&amp;type=xw10">Click to open in new window</a>
448
                                    <a target="_blank" rel="noreferrer" href="https://secure.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/avprofile.html&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]&type=xw10">[% t('Click to open in new window') %]</a>
463
                                [% ELSE %]
449
                                [% ELSE %]
464
                                    <a target="_blank" rel="noreferrer" href="http://www.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/avprofile.html&amp;client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&amp;upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&amp;oclc=[% normalized_oclc %][% END %]&amp;type=xw10">Click to open in new window</a>
450
                                    <a target="_blank" rel="noreferrer" href="http://www.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/avprofile.html&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]&type=xw10">[% t('Click to open in new window') %]</a>
465
                                [% END %]
451
                                [% END %]
466
                            </span>
452
                            </span>
467
                        [% END # / IF SyndeticsAVPROFILEExists %]
453
                        [% END # / IF SyndeticsAVPROFILEExists %]
468
454
469
                        [% IF ( SyndeticsFICTIONExists ) %]
455
                        [% IF ( SyndeticsFICTIONExists ) %]
470
                            <span class="results_summary">
456
                            <span class="results_summary">
471
                            <span class="label">Fiction notes:</span>
457
                            <span class="label">[% t('Fiction notes:') %]</span>
472
                                [% IF ( using_https ) %]
458
                                [% IF ( using_https ) %]
473
                                    <a target="_blank" rel="noreferrer" href="https://secure.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/fiction.html&amp;client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&amp;upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&amp;oclc=[% normalized_oclc %][% END %]&amp;type=xw10">Click to open in new window</a>
459
                                    <a target="_blank" rel="noreferrer" href="https://secure.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/fiction.html&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]&type=xw10">[% t('Click to open in new window') %]</a>
474
                                [% ELSE %]
460
                                [% ELSE %]
475
                                    <a target="_blank" rel="noreferrer" href="http://www.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/fiction.html&amp;client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&amp;upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&amp;oclc=[% normalized_oclc %][% END %]&amp;type=xw10">Click to open in new window</a>
461
                                    <a target="_blank" rel="noreferrer" href="http://www.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/fiction.html&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]&type=xw10">[% t('Click to open in new window') %]</a>
476
                                [% END %]
462
                                [% END %]
477
                            </span>
463
                            </span>
478
                        [% END # / IF SyndeticsFICTIONExists %]
464
                        [% END # / IF SyndeticsFICTIONExists %]
479
465
480
                        [% IF ( SyndeticsAwards && SyndeticsAWARDS1Exists ) %]
466
                        [% IF ( SyndeticsAwards && SyndeticsAWARDS1Exists ) %]
481
                            <span class="results_summary">
467
                            <span class="results_summary">
482
                                <span class="label">Awards:</span>
468
                                <span class="label">[% t('Awards:') %]</span>
483
                                [% IF ( using_https ) %]
469
                                [% IF ( using_https ) %]
484
                                    <a target="_blank" rel="noreferrer" href="https://secure.syndetics.com/ffawards.aspx?isbn=[% normalized_isbn %]&amp;type=awards&amp;client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&amp;upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&amp;oclc=[% normalized_oclc %][% END %]">Click to open in new window</a>
470
                                    <a target="_blank" rel="noreferrer" href="https://secure.syndetics.com/ffawards.aspx?isbn=[% normalized_isbn %]&type=awards&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]">[% t('Click to open in new window') %]</a>
485
                                [% ELSE %]
471
                                [% ELSE %]
486
                                    <a target="_blank" rel="noreferrer" href="http://www.syndetics.com/ffawards.aspx?isbn=[% normalized_isbn %]&amp;type=awards&amp;client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&amp;upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&amp;oclc=[% normalized_oclc %][% END %]">Click to open in new window</a>
472
                                    <a target="_blank" rel="noreferrer" href="http://www.syndetics.com/ffawards.aspx?isbn=[% normalized_isbn %]&type=awards&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]">[% t('Click to open in new window') %]</a>
487
                                [% END %]
473
                                [% END %]
488
                            </span>
474
                            </span>
489
                        [% END # / IF SyndeticsAwards && SyndeticsAWARDS1Exists %]
475
                        [% END # / IF SyndeticsAwards && SyndeticsAWARDS1Exists %]
Lines 497-503 Link Here
497
                                [% rating_avg_int = BLOCK %][% rating_avg | format("%.0f") %][% END %]
483
                                [% rating_avg_int = BLOCK %][% rating_avg | format("%.0f") %][% END %]
498
                                [% FOREACH i  IN [ 1 2 3 4 5  ] %]
484
                                [% FOREACH i  IN [ 1 2 3 4 5  ] %]
499
                                    [% IF rating_avg_int == i && borrowernumber %]
485
                                    [% IF rating_avg_int == i && borrowernumber %]
500
                                        <input class="auto-submit-star" type="radio" name="rating"  value="[% i %]"  checked="checked" />
486
                                        <input class="auto-submit-star" type="radio" name="rating" value="[% i %]" checked="checked" />
501
                                    [% ELSIF rating_avg_int == i %]
487
                                    [% ELSIF rating_avg_int == i %]
502
                                        <input class="auto-submit-star" type="radio" name="rating" value="[% i %]" checked="checked" disabled="disabled" />
488
                                        <input class="auto-submit-star" type="radio" name="rating" value="[% i %]" checked="checked" disabled="disabled" />
503
                                    [% ELSIF borrowernumber  %]
489
                                    [% ELSIF borrowernumber  %]
Lines 509-548 Link Here
509
495
510
                                <!-- define some hidden vars for ratings -->
496
                                <!-- define some hidden vars for ratings -->
511
497
512
                                <input  type="hidden" name='biblionumber'  value="[% biblio.biblionumber %]" />
498
                                <input type="hidden" name="biblionumber" value="[% biblio.biblionumber %]" />
513
                                <input  type="hidden" name='rating_value' id='rating_value' value="[% my_rating.rating_value %]" />
499
                                <input type="hidden" name="rating_value" id="rating_value" value="[% my_rating.rating_value %]" />
514
500
515
                                [% UNLESS ( rating_readonly ) %]&nbsp;  <input name="rate_button" type="submit" value="Rate me" />[% END %]&nbsp;
501
                                [% UNLESS ( rating_readonly ) %]   <input name="rate_button" type="submit" value="Rate me" />[% END %] 
516
502
517
                                [% IF my_rating %]
503
                                [% IF my_rating %]
518
                                    <span id="rating_value_text">your rating: [% my_rating.rating_value %], </span>
504
                                    <span id="rating_value_text">[% t('your rating:') %] [% my_rating.rating_value %], </span>
519
                                [% ELSE %]
505
                                [% ELSE %]
520
                                    <span id="rating_value_text"></span>
506
                                    <span id="rating_value_text"></span>
521
                                [% END %]
507
                                [% END %]
522
508
523
                                <span id="rating_text">average rating: [% rating_avg %] ([% ratings.count %] votes)</span>
509
                                <span id="rating_text">[% t('average rating:') %] [% rating_avg %] ([% ratings.count %] [% t('votes)') %]</span>
524
                            </div>
510
                            </div>
525
                        </form>
511
                        </form>
526
                    [% END # / IF OpacStarRatings != 'disable' %]
512
                    [% END # / IF OpacStarRatings != 'disable' %]
527
513
528
                    [% IF ( BakerTaylorContentURL ) %]
514
                    [% IF ( BakerTaylorContentURL ) %]
529
                        <span class="results_summary">
515
                        <span class="results_summary">
530
                        <span class="label">Enhanced content: </span>
516
                        <span class="label">[% t('Enhanced content:') %] </span>
531
                              [% IF ( OPACURLOpenInNewWindow ) %]<a href="[% BakerTaylorContentURL |html %]" target="_blank" rel="noreferrer">Content Cafe</a>[% ELSE %]<a href="[% BakerTaylorContentURL |html %]">Content Cafe</a>[% END %]
517
                              [% IF ( OPACURLOpenInNewWindow ) %]<a href="[% BakerTaylorContentURL |html %]" target="_blank" rel="noreferrer">[% t('Content Cafe') %]</a>[% ELSE %]<a href="[% BakerTaylorContentURL |html %]">[% t('Content Cafe') %]</a>[% END %]
532
                        </span>
518
                        </span>
533
                    [% END # / IF BakerTaylorContentURL %]
519
                    [% END # / IF BakerTaylorContentURL %]
534
520
535
                    [% IF ( NovelistSelectProfile && normalized_isbn ) %]
521
                    [% IF ( NovelistSelectProfile && normalized_isbn ) %]
536
                        [% IF ( NovelistSelectView == 'above') %]
522
                        [% IF ( NovelistSelectView == 'above') %]
537
                            <span class="results_summary NovelistSelect" style="display:none;">
523
                            <span class="results_summary NovelistSelect" style="display:none;">
538
                            <span class="label">Novelist Select: </span>
524
                            <span class="label">[% t('Novelist Select:') %] </span>
539
                            <div data-novelist-novelistselect="[% normalized_isbn %]"></div>
525
                            <div data-novelist-novelistselect="[% normalized_isbn %]"></div>
540
                            </span>
526
                            </span>
541
                        [% END %]
527
                        [% END %]
542
                    [% END # / IF NovelistSelectProfile %]
528
                    [% END # / IF NovelistSelectProfile %]
543
529
544
                    [% IF ( Babeltheque ) %]
530
                    [% IF ( Babeltheque ) %]
545
                        <input type="hidden" name="BW_id_isbn" id="BW_id_isbn" value="[% normalized_isbn %]"/>
531
                        <input type="hidden" name="BW_id_isbn" id="BW_id_isbn" value="[% normalized_isbn %]" />
546
                        <div id="BW_notes"></div>
532
                        <div id="BW_notes"></div>
547
                        <div id="BW_critiques"></div>
533
                        <div id="BW_critiques"></div>
548
                        <div id="BW_critiques_pro"></div>
534
                        <div id="BW_critiques_pro"></div>
Lines 558-634 Link Here
558
                        [% ELSE %]
544
                        [% ELSE %]
559
                            <li id="tab_holdings">
545
                            <li id="tab_holdings">
560
                        [% END %]
546
                        [% END %]
561
                        [% BLOCK holding_tab_title %][% IF SeparateHoldings %]<span>[% LoginBranchname %] holdings</span>[% ELSE %]<span>Holdings</span>[% END %][% END %]
547
                        [% BLOCK holding_tab_title %][% IF SeparateHoldings %]<span>[% LoginBranchname %] [% t('holdings') %]</span>[% ELSE %]<span>[% t('Holdings') %]</span>[% END %][% END %]
562
                            <a href="#holdings">[% PROCESS holding_tab_title %] [% UNLESS too_many_items %][% ' ( ' _ (itemloop.size || 0) _ ' )' %][% END %]</a>
548
                            <a href="#holdings">[% PROCESS holding_tab_title %] [% UNLESS too_many_items %][% ' ( ' _ (itemloop.size || 0) _ ' )' %][% END %]</a>
563
                        </li>
549
                        </li>
564
                        [% IF (SeparateHoldings) %]
550
                        [% IF (SeparateHoldings) %]
565
                            <li><a href="#otherholdings">Other holdings [% ' ( ' _ (otheritemloop.size || 0) _ ' )' %]</a></li>
551
                            <li><a href="#otherholdings">[% t('Other holdings') %] [% ' ( ' _ (otheritemloop.size || 0) _ ' )' %]</a></li>
566
                        [% END %]
552
                        [% END %]
567
                        [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
553
                        [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
568
                            <li id="tab_descriptions"> <a href="#descriptions">Title notes</a></li>
554
                            <li id="tab_descriptions"> <a href="#descriptions">[% t('Title notes') %]</a></li>
569
                        [% END %]
555
                        [% END %]
570
                        [% IF ( SYNDETICS_TOC ) %]
556
                        [% IF ( SYNDETICS_TOC ) %]
571
                            <li id="tab_toc"> <a href="#toc">TOC</a></li>
557
                            <li id="tab_toc"> <a href="#toc">[% t('TOC') %]</a></li>
572
                        [% END %]
558
                        [% END %]
573
                        [% IF ( SyndeticsEnabled ) %]
559
                        [% IF ( SyndeticsEnabled ) %]
574
                            [% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %]
560
                            [% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %]
575
                                <li id="tab_excerpt"> <a href="#excerpt">Excerpt</a></li>
561
                                <li id="tab_excerpt"> <a href="#excerpt">[% t('Excerpt') %]</a></li>
576
                            [% END %]
562
                            [% END %]
577
                            [% IF ( ( SyndeticsReviews && SYNDETICS_REVIEWS ) || ( LibraryThingForLibrariesTabbedView && LibraryThingForLibrariesID) ) %]
563
                            [% IF ( ( SyndeticsReviews && SYNDETICS_REVIEWS ) || ( LibraryThingForLibrariesTabbedView && LibraryThingForLibrariesID) ) %]
578
                                <li id="tab_reviews"> <a href="#reviews">Reviews</a></li>
564
                                <li id="tab_reviews"> <a href="#reviews">[% t('Reviews') %]</a></li>
579
                                [% IF ( LibraryThingForLibrariesID ) %]
565
                                [% IF ( LibraryThingForLibrariesID ) %]
580
                                    <li id="tab_LTFLreviews">
566
                                    <li id="tab_LTFLreviews">
581
                                        <script src="https://www.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID %]"></script>
567
                                        <script src="https://www.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID %]"></script>
582
                                        <noscript>This page contains enriched content visible when JavaScript is enabled or by clicking <a href="https://www.librarything.com/forlibraries/noscript.php?id=[% LibraryThingForLibrariesID %]&amp;accessibility=1">here</a>.</noscript>
568
                                        <noscript>[% t('This page contains enriched content visible when JavaScript is enabled or by clicking &lt;a href=&#34;https://www.librarything.com/forlibraries/noscript.php?id=') %][% LibraryThingForLibrariesID %][% t('&amp;amp;accessibility=1&#34;&gt;here&lt;/a&gt;.') %]</noscript>
583
                                    </li>
569
                                    </li>
584
                                [% END %]
570
                                [% END %]
585
                            [% END %]
571
                            [% END %]
586
                            [% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %]
572
                            [% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %]
587
                                <li id="tab_anotes"> <a href="#anotes">About the author</a></li>
573
                                <li id="tab_anotes"> <a href="#anotes">[% t('About the author') %]</a></li>
588
                            [% END %]
574
                            [% END %]
589
                        [% END # / IF SyndeticsEnabled %]
575
                        [% END # / IF SyndeticsEnabled %]
590
576
591
                        [% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %]
577
                        [% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %]
592
                            <li id="tab_LFTLSimilarItems"> <a href="#LFTLSimilarItems">Similar items</a></li>
578
                            <li id="tab_LFTLSimilarItems"> <a href="#LFTLSimilarItems">[% t('Similar items') %]</a></li>
593
                            <li id="tab_LTFLTagBrowse"> <a href="#LTFLTagBrowse">Tag browser</a></li>
579
                            <li id="tab_LTFLTagBrowse"> <a href="#LTFLTagBrowse">[% t('Tag browser') %]</a></li>
594
                        [% END %]
580
                        [% END %]
595
581
596
                        [% IF ( subscriptionsnumber ) %]
582
                        [% IF ( subscriptionsnumber ) %]
597
                            [% IF ( defaulttab == 'subscriptions' ) %]<li id="tab_subscriptions" class="ui-tabs-active">[% ELSE %]<li id="tab_subscriptions">[% END %]
583
                            [% IF ( defaulttab == 'subscriptions' ) %]<li id="tab_subscriptions" class="ui-tabs-active">[% ELSE %]<li id="tab_subscriptions">[% END %]
598
                                <a href="#subscriptions">Subscriptions ( [% subscriptionsnumber %] )</a>
584
                                <a href="#subscriptions">[% t('Subscriptions (') %] [% subscriptionsnumber %] )</a>
599
                            </li>
585
                            </li>
600
                        [% END %]
586
                        [% END %]
601
587
602
                        [% IF Koha.Preference( 'reviewson' ) == 1 %]
588
                        [% IF Koha.Preference( 'reviewson' ) == 1 %]
603
                            <li id="tab_comments"><a href="#comments">Comments[% ' ( ' _ (reviews.size || 0) _ ' )' %]</a></li>
589
                            <li id="tab_comments"><a href="#comments">[% t('Comments') %][% ' ( ' _ (reviews.size || 0) _ ' )' %]</a></li>
604
                        [% END %]
590
                        [% END %]
605
591
606
                        [% IF ( NovelistSelectProfile && normalized_isbn ) %]
592
                        [% IF ( NovelistSelectProfile && normalized_isbn ) %]
607
                            [% IF ( NovelistSelectView == 'tab') %]
593
                            [% IF ( NovelistSelectView == 'tab') %]
608
                                <li id="tab_NovelistSelect" class="NovelistSelect" style="display:none;"> <a href="#NovelistSelect">Novelist Select</a></li>
594
                                <li id="tab_NovelistSelect" class="NovelistSelect" style="display:none;"> <a href="#NovelistSelect">[% t('Novelist Select') %]</a></li>
609
                            [% END %]
595
                            [% END %]
610
                        [% END %]
596
                        [% END %]
611
597
612
                        [% IF ( OPACFRBRizeEditions && XISBNS ) %]
598
                        [% IF ( OPACFRBRizeEditions && XISBNS ) %]
613
                            <li id="tab_editions"><a href="#editions">Editions</a></li>
599
                            <li id="tab_editions"><a href="#editions">[% t('Editions') %]</a></li>
614
                        [% END %]
600
                        [% END %]
615
601
616
                        [% IF ( serialcollection ) %]
602
                        [% IF ( serialcollection ) %]
617
                            [% IF ( defaulttab == 'serialcollection' ) %]<li id="tab_serialcollection" class="ui-tabs-active">[% ELSE %]<li id="tab_serialcollection">[% END %]
603
                            [% IF ( defaulttab == 'serialcollection' ) %]<li id="tab_serialcollection" class="ui-tabs-active">[% ELSE %]<li id="tab_serialcollection">[% END %]
618
                                <a href="#serialcollection">Serial collection</a>
604
                                <a href="#serialcollection">[% t('Serial collection') %]</a>
619
                            </li>
605
                            </li>
620
                        [% END %]
606
                        [% END %]
621
607
622
                        [% IF ( OPACLocalCoverImages && localimages.size ) %]
608
                        [% IF ( OPACLocalCoverImages && localimages.size ) %]
623
                            <li id="tab_images"><a href="#images">Images</a></li>
609
                            <li id="tab_images"><a href="#images">[% t('Images') %]</a></li>
624
                        [% END %]
610
                        [% END %]
625
611
626
                        [% IF ( HTML5MediaEnabled && HTML5MediaSets ) %]
612
                        [% IF ( HTML5MediaEnabled && HTML5MediaSets ) %]
627
                            [% IF ( defaulttab == 'media' ) %]<li id="tab_html5media" class="ui-tabs-active">[% ELSE %]<li id="tab_html5media">[% END %]<a href="#html5media">Play media</a></li>
613
                            [% IF ( defaulttab == 'media' ) %]<li id="tab_html5media" class="ui-tabs-active">[% ELSE %]<li id="tab_html5media">[% END %]<a href="#html5media">[% t('Play media') %]</a></li>
628
                        [% END %]
614
                        [% END %]
629
615
630
                        [% IF ( IDreamBooksReviews ) %]
616
                        [% IF ( IDreamBooksReviews ) %]
631
                            <li id='tab_idb_critic_reviews' style="display:none;"><a href='#idb_critic_reviews'>Book reviews by critics ( XXX )</a></li>
617
                            <li id="tab_idb_critic_reviews" style="display:none;"><a href="#idb_critic_reviews">[% t('Book reviews by critics ( XXX )') %]</a></li>
632
                        [% END %]
618
                        [% END %]
633
                    </ul>
619
                    </ul>
634
620
Lines 637-645 Link Here
637
                            <table id="serialcollectiont" class="table table-bordered table-striped">
623
                            <table id="serialcollectiont" class="table table-bordered table-striped">
638
                            <thead>
624
                            <thead>
639
                                <tr>
625
                                <tr>
640
                                    <th id="serial_library">Library</th>
626
                                    <th id="serial_library">[% t('Library') %]</th>
641
                                    <th id="serial_collection">Serial collection</th>
627
                                    <th id="serial_collection">[% t('Serial collection') %]</th>
642
                                    <th id="serial_itemcallnumber">Item call number</th>
628
                                    <th id="serial_itemcallnumber">[% t('Item call number') %]</th>
643
                                </tr>
629
                                </tr>
644
                            </thead>
630
                            </thead>
645
                            <tbody>
631
                            <tbody>
Lines 658-683 Link Here
658
644
659
                    <div id="holdings">
645
                    <div id="holdings">
660
                        [% IF too_many_items %]
646
                        [% IF too_many_items %]
661
                            <p>This record has many physical items ([% items_count %]). <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber %]&amp;viewallitems=1">Click here to view them all.</a></p>
647
                            <p>[% t('This record has many physical items (') %][% items_count %]). <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber %]&viewallitems=1">[% t('Click here to view them all.') %]</a></p>
662
                        [% ELSIF ( itemloop.size ) %]
648
                        [% ELSIF ( itemloop.size ) %]
663
                            [% INCLUDE items_table items=itemloop tab="holdings" table_id="holdingst" %]
649
                            [% INCLUDE items_table items=itemloop tab="holdings" table_id="holdingst" %]
664
                            [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %]
650
                            [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %]
665
                              [% IF acquisition_details.total_quantity == 1 %]
651
                              [% IF acquisition_details.total_quantity == 1 %]
666
                                <span>1 item is on order.</span>
652
                                <span>[% t('1 item is on order.') %]</span>
667
                              [% ELSE %]
653
                              [% ELSE %]
668
                                <span>[% acquisition_details.total_quantity %] items are on order.</span>
654
                                <span>[% acquisition_details.total_quantity %] [% t('items are on order.') %]</span>
669
                              [% END %]
655
                              [% END %]
670
                            [% END %]
656
                            [% END %]
671
                            [% IF holds_count.defined || priority %]
657
                            [% IF holds_count.defined || priority %]
672
                                <div id="bib_holds">
658
                                <div id="bib_holds">
673
                                    [% IF holds_count.defined %]
659
                                    [% IF holds_count.defined %]
674
                                        <span>Total holds: [% holds_count %]</span>
660
                                        <span>[% t('Total holds:') %] [% holds_count %]</span>
675
                                    [% END %]
661
                                    [% END %]
676
                                    [% IF priority %]
662
                                    [% IF priority %]
677
                                        [% IF holds_count.defined %]
663
                                        [% IF holds_count.defined %]
678
                                            <span>(priority [% priority %])</span>
664
                                            <span>[% t('(priority') %] [% priority %])</span>
679
                                        [% ELSE %]
665
                                        [% ELSE %]
680
                                            <span>Overall queue priority: [% priority %]</span>
666
                                            <span>[% t('Overall queue priority:') %] [% priority %]</span>
681
                                        [% END %]
667
                                        [% END %]
682
                                    [% END %]
668
                                    [% END %]
683
                                </div>
669
                                </div>
Lines 685-701 Link Here
685
                        [% ELSE %]
671
                        [% ELSE %]
686
                            [% IF ( ALTERNATEHOLDINGS ) %]
672
                            [% IF ( ALTERNATEHOLDINGS ) %]
687
                                [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
673
                                [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
688
                                    <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div>
674
                                    <div id="alternateholdings"><span class="holdings_label">[% t('Holdings:') %]</span> [% ALTERNATEHOLDING.holding %]</div>
689
                                [% END %]
675
                                [% END %]
690
                            [% ELSE %]
676
                            [% ELSE %]
691
                                [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %]
677
                                [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %]
692
                                  [% IF acquisition_details.total_quantity == 1 %]
678
                                  [% IF acquisition_details.total_quantity == 1 %]
693
                                    <span>1 item is on order.</span>
679
                                    <span>[% t('1 item is on order.') %]</span>
694
                                  [% ELSE %]
680
                                  [% ELSE %]
695
                                    <span>[% acquisition_details.total_quantity %] items are on order.</span>
681
                                    <span>[% acquisition_details.total_quantity %] [% t('items are on order.') %]</span>
696
                                  [% END %]
682
                                  [% END %]
697
                                [% ELSE %]
683
                                [% ELSE %]
698
                                    <div id="noitems">No physical items for this record</div>
684
                                    <div id="noitems">[% t('No physical items for this record') %]</div>
699
                                [% END %]
685
                                [% END %]
700
                            [% END %]
686
                            [% END %]
701
                        [% END # IF itemloop.size %]
687
                        [% END # IF itemloop.size %]
Lines 709-715 Link Here
709
                            [% IF (otheritemloop.size) %]
695
                            [% IF (otheritemloop.size) %]
710
                                [% INCLUDE items_table items=otheritemloop tab="otherholdings" table_id="otherholdingst" %]
696
                                [% INCLUDE items_table items=otheritemloop tab="otherholdings" table_id="otherholdingst" %]
711
                            [% ELSE %]
697
                            [% ELSE %]
712
                                <span>No other items.</span>
698
                                <span>[% t('No other items.') %]</span>
713
                            [% END %]
699
                            [% END %]
714
                            [% INCLUDE shelfbrowser tab='otherholdings' %]
700
                            [% INCLUDE shelfbrowser tab='otherholdings' %]
715
                        </div>
701
                        </div>
Lines 720-726 Link Here
720
                            <div class="content_set">
706
                            <div class="content_set">
721
707
722
                            [% IF ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY ) %]
708
                            [% IF ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY ) %]
723
                                <h4>Enhanced descriptions from Syndetics:</h4>
709
                                <h4>[% t('Enhanced descriptions from Syndetics:') %]</h4>
724
                                <p>[% SYNDETICS_SUMMARY %]</p>
710
                                <p>[% SYNDETICS_SUMMARY %]</p>
725
                            [% END %]
711
                            [% END %]
726
712
Lines 750-756 Link Here
750
                        [% IF ( SyndeticsTOC && SYNDETICS_TOC ) %]
736
                        [% IF ( SyndeticsTOC && SYNDETICS_TOC ) %]
751
                            <div id="toc">
737
                            <div id="toc">
752
                                <div class="content_set">
738
                                <div class="content_set">
753
                                    <h3>Table of contents provided by Syndetics</h3>
739
                                    <h3>[% t('Table of contents provided by Syndetics') %]</h3>
754
                                        <ul>
740
                                        <ul>
755
                                            [% FOREACH SYNDETICS_TO IN SYNDETICS_TOC %]
741
                                            [% FOREACH SYNDETICS_TO IN SYNDETICS_TOC %]
756
                                                <li><b>[% SYNDETICS_TO.l %] [% SYNDETICS_TO.t %]</b>[% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p %])[% END %]</li>
742
                                                <li><b>[% SYNDETICS_TO.l %] [% SYNDETICS_TO.t %]</b>[% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p %])[% END %]</li>
Lines 763-769 Link Here
763
                        [% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %]
749
                        [% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %]
764
                            <div id="excerpt">
750
                            <div id="excerpt">
765
                                <div class="content_set">
751
                                <div class="content_set">
766
                                    <h3>Excerpt provided by Syndetics</h3>
752
                                    <h3>[% t('Excerpt provided by Syndetics') %]</h3>
767
                                    [% SYNDETICS_EXCERPT %]
753
                                    [% SYNDETICS_EXCERPT %]
768
                                </div>
754
                                </div>
769
                            </div>
755
                            </div>
Lines 772-778 Link Here
772
                        [% IF ( SyndeticsReviews && SYNDETICS_REVIEWS ) %]
758
                        [% IF ( SyndeticsReviews && SYNDETICS_REVIEWS ) %]
773
                            <div id="reviews">
759
                            <div id="reviews">
774
                                <div class="content_set">
760
                                <div class="content_set">
775
                                    <h3>Reviews provided by Syndetics</h3>
761
                                    <h3>[% t('Reviews provided by Syndetics') %]</h3>
776
                                    [% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %]
762
                                    [% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %]
777
                                        [% IF ( SYNDETICS_REVIEW.title ) %]
763
                                        [% IF ( SYNDETICS_REVIEW.title ) %]
778
                                            <h4>[% SYNDETICS_REVIEW.title %]</h4>
764
                                            <h4>[% SYNDETICS_REVIEW.title %]</h4>
Lines 792-798 Link Here
792
                        [% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %]
778
                        [% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %]
793
                            <div id="anotes">
779
                            <div id="anotes">
794
                                <div class="content_set">
780
                                <div class="content_set">
795
                                    <h3>Author notes provided by Syndetics</h3>
781
                                    <h3>[% t('Author notes provided by Syndetics') %]</h3>
796
                                    [% FOREACH SYNDETICS_ANOTE IN SYNDETICS_ANOTES %]
782
                                    [% FOREACH SYNDETICS_ANOTE IN SYNDETICS_ANOTES %]
797
                                        [% IF ( SYNDETICS_ANOTE.content ) %]
783
                                        [% IF ( SYNDETICS_ANOTE.content ) %]
798
                                            [% SYNDETICS_ANOTE.content %]
784
                                            [% SYNDETICS_ANOTE.content %]
Lines 804-863 Link Here
804
                    [% END # / IF SyndeticsEnabled %]
790
                    [% END # / IF SyndeticsEnabled %]
805
791
806
                    [% IF ( NovelistSelectProfile && NovelistSelectView == 'tab' && (normalized_isbn || normalized_upc) ) %]
792
                    [% IF ( NovelistSelectProfile && NovelistSelectView == 'tab' && (normalized_isbn || normalized_upc) ) %]
807
                       <div id="NovelistSelect" >
793
                       <div id="NovelistSelect">
808
                            <div data-novelist-novelistselect="[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]"></div>
794
                            <div data-novelist-novelistselect="[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]"></div>
809
                       </div>
795
                       </div>
810
                    [% END # / IF NovelistSelectProfile && NovelistSelectView == 'tab' %]
796
                    [% END # / IF NovelistSelectProfile && NovelistSelectView == 'tab' %]
811
797
812
                    [% IF ( subscriptionsnumber ) %]
798
                    [% IF ( subscriptionsnumber ) %]
813
                        <div id="subscriptions">
799
                        <div id="subscriptions">
814
                            <h2>This is a serial</h2>
800
                            <h2>[% t('This is a serial') %]</h2>
815
                            <p class="subscription_count">There are [% subscriptionsnumber %] subscription(s) associated with this title.</p>
801
                            <p class="subscription_count">[% t('There are') %] [% subscriptionsnumber %] [% t('subscription(s) associated with this title.') %]</p>
816
                            [% FOREACH subscription IN subscriptions %]
802
                            [% FOREACH subscription IN subscriptions %]
817
                                [% IF ( subscription.branchcode ) %]
803
                                [% IF ( subscription.branchcode ) %]
818
                                    <h3>At library: [% Branches.GetName( subscription.branchcode ) %]</h3>
804
                                    <h3>[% t('At library:') %] [% Branches.GetName( subscription.branchcode ) %]</h3>
819
                                [% ELSE %]
805
                                [% ELSE %]
820
                                    [% IF ( subscription.branchcode ) %]
806
                                    [% IF ( subscription.branchcode ) %]
821
                                        <h3>At library: [% subscription.branchcode %]</h3>
807
                                        <h3>[% t('At library:') %] [% subscription.branchcode %]</h3>
822
                                    [% END %]
808
                                    [% END %]
823
                                [% END %]
809
                                [% END %]
824
                                [% IF ( subscription.closed ) %]
810
                                [% IF ( subscription.closed ) %]
825
                                    <p class="subscription_closed">This subscription is closed.</p>
811
                                    <p class="subscription_closed">[% t('This subscription is closed.') %]</p>
826
                                [% END %]
812
                                [% END %]
827
                                [% IF ( subscription.callnumber ) %]
813
                                [% IF ( subscription.callnumber ) %]
828
                                  <p class="subscription_callnumber">Call number: [% subscription.callnumber %]</p>
814
                                  <p class="subscription_callnumber">[% t('Call number:') %] [% subscription.callnumber %]</p>
829
                                [% END %]
815
                                [% END %]
830
                                [% IF ( subscription.subscriptionnotes ) %]
816
                                [% IF ( subscription.subscriptionnotes ) %]
831
                                    <p class="subscription_notes">[% subscription.subscriptionnotes FILTER html_line_break %] </p>
817
                                    <p class="subscription_notes">[% subscription.subscriptionnotes FILTER html_line_break %] </p>
832
                                [% END %]
818
                                [% END %]
833
                                <p class="subscription_dates">Subscription from: [% subscription.histstartdate | $KohaDates %] to:[% IF ( subscription.histenddate ) %] [% subscription.histenddate | $KohaDates %] [% ELSE %] now (current)[% END %]</p>
819
                                <p class="subscription_dates">[% t('Subscription from:') %] [% subscription.histstartdate | $KohaDates %] [% t('to:') %][% IF ( subscription.histenddate ) %] [% subscription.histenddate | $KohaDates %] [% ELSE %] [% t('now (current)') %][% END %]</p>
834
                                [% IF ( subscription.letter ) %]<span class="email_notifications">
820
                                [% IF ( subscription.letter ) %]<span class="email_notifications">
835
                                    [% IF ( loggedinusername ) %]
821
                                    [% IF ( loggedinusername ) %]
836
                                        [% IF ( subscription.hasalert ) %]
822
                                        [% IF ( subscription.hasalert ) %]
837
                                            <span>You have subscribed to email notification on new issues. </span><a style="color:#000;" class="btn" title="Cancel email notification" href="/cgi-bin/koha/opac-alert-subscribe.pl?op=cancel&amp;subscriptionid=[% subscription.subscriptionid %]&amp;biblionumber=[% subscription.biblionumber %]">Cancel email notification</a>
823
                                            <span>[% t('You have subscribed to email notification on new issues.') %] </span><a style="color:#000;" class="btn" title="[% t('Cancel email notification') %]" href="/cgi-bin/koha/opac-alert-subscribe.pl?op=cancel&subscriptionid=[% subscription.subscriptionid %]&biblionumber=[% subscription.biblionumber %]">[% t('Cancel email notification') %]</a>
838
                                        [% ELSE %]
824
                                        [% ELSE %]
839
                                            <a style="color:#000;" class="btn" title="Subscribe to email notification on new issues" href="/cgi-bin/koha/opac-alert-subscribe.pl?subscriptionid=[% subscription.subscriptionid %]&amp;biblionumber=[% subscription.biblionumber %]">Subscribe to email notification on new issues</a>
825
                                            <a style="color:#000;" class="btn" title="[% t('Subscribe to email notification on new issues') %]" href="/cgi-bin/koha/opac-alert-subscribe.pl?subscriptionid=[% subscription.subscriptionid %]&biblionumber=[% subscription.biblionumber %]">[% t('Subscribe to email notification on new issues') %]</a>
840
                                        [% END %]
826
                                        [% END %]
841
                                    [% ELSE %]
827
                                    [% ELSE %]
842
                                        <span>You must log in if you want to subscribe to email notification on new issues</span>
828
                                        <span>[% t('You must log in if you want to subscribe to email notification on new issues') %]</span>
843
                                    [% END %]
829
                                    [% END %]
844
                                </span>[% END %]
830
                                </span>[% END %]
845
                                [% IF ( subscription.missinglist ) %]
831
                                [% IF ( subscription.missinglist ) %]
846
                                    <p class="subscription_missing">Missing issues: [% subscription.missinglist %] </p>
832
                                    <p class="subscription_missing">[% t('Missing issues:') %] [% subscription.missinglist %] </p>
847
                                [% END %]
833
                                [% END %]
848
                                [% IF ( subscription.opacnote ) %]
834
                                [% IF ( subscription.opacnote ) %]
849
                                    <p class="subscription_opacnote">[% subscription.opacnote FILTER html_line_break %]</p>
835
                                    <p class="subscription_opacnote">[% subscription.opacnote FILTER html_line_break %]</p>
850
                                [% END %]
836
                                [% END %]
851
                                [% IF ( subscription.latestserials ) %]
837
                                [% IF ( subscription.latestserials ) %]
852
                                    <p class="subscription_latestissues"> The [% subscription.opacdisplaycount %] latest issues for this subscription:</p>
838
                                    <p class="subscription_latestissues"> [% t('The') %] [% subscription.opacdisplaycount %] [% t('latest issues for this subscription:') %]</p>
853
                                    <table class="table table-bordered table-striped" id="subscriptionst">
839
                                    <table class="table table-bordered table-striped" id="subscriptionst">
854
                                        <thead>
840
                                        <thead>
855
                                        <tr>
841
                                        <tr>
856
                                            <th id="serial_serialseq" data-colname="serial_serialseq">Issue #</th>
842
                                            <th id="serial_serialseq" data-colname="serial_serialseq">[% t('Issue #') %]</th>
857
                                            <th id="serial_publisheddate" data-colname="serial_publisheddate" class="title-string">Publication date</th>
843
                                            <th id="serial_publisheddate" data-colname="serial_publisheddate" class="title-string">[% t('Publication date') %]</th>
858
                                            <th id="serial_planneddate" data-colname="serial_planneddate" class="title-string">Received date</th>
844
                                            <th id="serial_planneddate" data-colname="serial_planneddate" class="title-string">[% t('Received date') %]</th>
859
                                            <th id="serial_status" data-colname="serial_status">Status</th>
845
                                            <th id="serial_status" data-colname="serial_status">[% t('Status') %]</th>
860
                                            <th id="serial_notes" data-colname="serial_notes">Note</th>
846
                                            <th id="serial_notes" data-colname="serial_notes">[% t('Note') %]</th>
861
                                        </tr>
847
                                        </tr>
862
                                        </thead>
848
                                        </thead>
863
                                        <tbody>
849
                                        <tbody>
Lines 867-884 Link Here
867
                                                <td class="publisheddate">[% latestserial.publisheddate %]</td>
853
                                                <td class="publisheddate">[% latestserial.publisheddate %]</td>
868
                                                <td class="planneddate">[% latestserial.planneddate %]</td>
854
                                                <td class="planneddate">[% latestserial.planneddate %]</td>
869
                                                <td class="serial_status">
855
                                                <td class="serial_status">
870
                                                    [% IF (latestserial.status1 ) %]<span>Expected</span>[% END %]
856
                                                    [% IF (latestserial.status1 ) %]<span>[% t('Expected') %]</span>[% END %]
871
                                                    [% IF (latestserial.status2 ) %]<span>Arrived</span>[% END %]
857
                                                    [% IF (latestserial.status2 ) %]<span>[% t('Arrived') %]</span>[% END %]
872
                                                    [% IF (latestserial.status3 ) %]<span>Late</span>[% END %]
858
                                                    [% IF (latestserial.status3 ) %]<span>[% t('Late') %]</span>[% END %]
873
                                                    [% IF (latestserial.status4 ) %]<span>Missing</span>[% END %]
859
                                                    [% IF (latestserial.status4 ) %]<span>[% t('Missing') %]</span>[% END %]
874
                                                        [% IF (latestserial.status41 ) %]<span>Missing (never received)</span>[% END %]
860
                                                        [% IF (latestserial.status41 ) %]<span>[% t('Missing (never received)') %]</span>[% END %]
875
                                                        [% IF (latestserial.status42 ) %]<span>Missing (sold out)</span>[% END %]
861
                                                        [% IF (latestserial.status42 ) %]<span>[% t('Missing (sold out)') %]</span>[% END %]
876
                                                        [% IF (latestserial.status43 ) %]<span>Missing (damaged)</span>[% END %]
862
                                                        [% IF (latestserial.status43 ) %]<span>[% t('Missing (damaged)') %]</span>[% END %]
877
                                                        [% IF (latestserial.status44 ) %]<span>Missing (lost)</span>[% END %]
863
                                                        [% IF (latestserial.status44 ) %]<span>[% t('Missing (lost)') %]</span>[% END %]
878
                                                    [% IF (latestserial.status5 ) %]<span>Not issued</span>[% END %]
864
                                                    [% IF (latestserial.status5 ) %]<span>[% t('Not issued') %]</span>[% END %]
879
                                                    [% IF (latestserial.status6 ) %]<span>Delete</span>[% END %]
865
                                                    [% IF (latestserial.status6 ) %]<span>[% t('Delete') %]</span>[% END %]
880
                                                    [% IF (latestserial.status7 ) %]<span>Claimed</span>[% END %]
866
                                                    [% IF (latestserial.status7 ) %]<span>[% t('Claimed') %]</span>[% END %]
881
                                                    [% IF (latestserial.status8 ) %]<span>Stopped</span>[% END %]
867
                                                    [% IF (latestserial.status8 ) %]<span>[% t('Stopped') %]</span>[% END %]
882
                                                </td>
868
                                                </td>
883
                                                <td class="serial_notes">[% latestserial.notes %]</td>
869
                                                <td class="serial_notes">[% latestserial.notes %]</td>
884
                                            </tr>
870
                                            </tr>
Lines 887-893 Link Here
887
                                    </table>
873
                                    </table>
888
                                [% END # / IF subscription.latestserials %]
874
                                [% END # / IF subscription.latestserials %]
889
                            [% END # / FOREACH subscriptions %]
875
                            [% END # / FOREACH subscriptions %]
890
                            <p class="subscription_moredetails"><a href="opac-serial-issues.pl?biblionumber=[% biblio.biblionumber %]">More details</a></p>
876
                            <p class="subscription_moredetails"><a href="opac-serial-issues.pl?biblionumber=[% biblio.biblionumber %]">[% t('More details') %]</a></p>
891
                        </div> <!-- / #subscriptions -->
877
                        </div> <!-- / #subscriptions -->
892
                    [% END # IF subscriptionsnumber %]
878
                    [% END # IF subscriptionsnumber %]
893
879
Lines 923-938 Link Here
923
                                                    <img class="avatar" src="[% review.avatarurl %]" height="80" width="80" alt="" />
909
                                                    <img class="avatar" src="[% review.avatarurl %]" height="80" width="80" alt="" />
924
                                                [% END %]
910
                                                [% END %]
925
                                                [% IF review.approved %]
911
                                                [% IF review.approved %]
926
                                                    <h5>Your comment</h5>
912
                                                    <h5>[% t('Your comment') %]</h5>
927
                                                [% ELSE %]
913
                                                [% ELSE %]
928
                                                    <h5>Your comment (preview, pending approval)</h5>
914
                                                    <h5>[% t('Your comment (preview, pending approval)') %]</h5>
929
                                                [% END %]
915
                                                [% END %]
930
                                                <small>[% review.datereviewed | $KohaDates %]</small>
916
                                                <small>[% review.datereviewed | $KohaDates %]</small>
931
                                                <p>
917
                                                <p>
932
                                                    [% FILTER html_break %]
918
                                                    [% FILTER html_break %]
933
                                                        [% review.review |html %]
919
                                                        [% review.review |html %]
934
                                                    [% END %]
920
                                                    [% END %]
935
                                                    <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber %]&amp;reviewid=[% review.reviewid %]');">Edit</a>
921
                                                    <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber %]&reviewid=[% review.reviewid %]');">[% t('Edit') %]</a>
936
                                                </p>
922
                                                </p>
937
                                            </div>
923
                                            </div>
938
                                        [% ELSE %]
924
                                        [% ELSE %]
Lines 944-963 Link Here
944
                                                    [% END %]
930
                                                    [% END %]
945
                                                    [% SWITCH ShowReviewer %]
931
                                                    [% SWITCH ShowReviewer %]
946
                                                    [% CASE 'full' %]
932
                                                    [% CASE 'full' %]
947
                                                        <h5>Comment by [% review.patron.title %] [% review.patron.firstname %] [% review.patron.surname %]</h5>
933
                                                        <h5>[% t('Comment by') %] [% review.patron.title %] [% review.patron.firstname %] [% review.patron.surname %]</h5>
948
                                                    [% CASE 'first' %]
934
                                                    [% CASE 'first' %]
949
                                                        <h5>Comment by [% review.patron.firstname %]</h5>
935
                                                        <h5>[% t('Comment by') %] [% review.patron.firstname %]</h5>
950
                                                    [% CASE 'surname' %]
936
                                                    [% CASE 'surname' %]
951
                                                        <h5>Comment by [% review.patron.surname %]</h5>
937
                                                        <h5>[% t('Comment by') %] [% review.patron.surname %]</h5>
952
                                                    [% CASE 'firstandinitial' %]
938
                                                    [% CASE 'firstandinitial' %]
953
                                                        <h5>Comment by [% review.patron.firstname %] [% review.patron.surname|truncate(2,'.') %]</h5>
939
                                                        <h5>[% t('Comment by') %] [% review.patron.firstname %] [% review.patron.surname|truncate(2,'.') %]</h5>
954
                                                    [% CASE 'username' %]
940
                                                    [% CASE 'username' %]
955
                                                        <h5>Comment by [% review.patron.userid %]</h5>
941
                                                        <h5>[% t('Comment by') %] [% review.patron.userid %]</h5>
956
                                                    [% END %]
942
                                                    [% END %]
957
943
958
                                                    <small>[% review.datereviewed | $KohaDates %]</small>
944
                                                    <small>[% review.datereviewed | $KohaDates %]</small>
959
                                                [% ELSE %]
945
                                                [% ELSE %]
960
                                                    <h5>Patron comment on [% review.datereviewed | $KohaDates %]</h5>
946
                                                    <h5>[% t('Patron comment on') %] [% review.datereviewed | $KohaDates %]</h5>
961
                                                [% END # / IF ShowReviewer != "none" && review.patron %]
947
                                                [% END # / IF ShowReviewer != "none" && review.patron %]
962
                                                <p>
948
                                                <p>
963
                                                  [% FILTER html_break %]
949
                                                  [% FILTER html_break %]
Lines 968-991 Link Here
968
                                        [% END %]
954
                                        [% END %]
969
                                    [% END # / FOREACH reviews %]
955
                                    [% END # / FOREACH reviews %]
970
                                [% ELSE %]
956
                                [% ELSE %]
971
                                    <p>There are no comments for this item.</p>
957
                                    <p>[% t('There are no comments for this item.') %]</p>
972
                                [% END # / IF reviews %]
958
                                [% END # / IF reviews %]
973
959
974
                                [% IF ( loggedinusername ) %]
960
                                [% IF ( loggedinusername ) %]
975
                                    [% UNLESS ( loggedincommenter ) %]
961
                                    [% UNLESS ( loggedincommenter ) %]
976
                                       <div id="addcomment"> <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% biblio.biblionumber %]'); return false;">
962
                                       <div id="addcomment"> <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% biblio.biblionumber %]'); return false;">
977
                                            Post your comments on this item.
963
                                            [% t('Post your comments on this item.') %]
978
                                        </a></div>
964
                                        </a></div>
979
                                    [% END %]
965
                                    [% END %]
980
                                [% ELSE %]
966
                                [% ELSE %]
981
                                    <div id="addcomment"><a href="/cgi-bin/koha/opac-user.pl">Log in to your account</a> to post a comment.</div>
967
                                    <div id="addcomment"><a href="/cgi-bin/koha/opac-user.pl">[% t('Log in to your account') %]</a> [% t('to post a comment.') %]</div>
982
                                [% END # / IF loggedinusername %]
968
                                [% END # / IF loggedinusername %]
983
                            </div> <!-- / #comments -->
969
                            </div> <!-- / #comments -->
984
                        [% END # / IF reviewson %]
970
                        [% END # / IF reviewson %]
985
971
986
                        [% IF ( OPACFRBRizeEditions && XISBNS ) %]
972
                        [% IF ( OPACFRBRizeEditions && XISBNS ) %]
987
                            <div id="editions">
973
                            <div id="editions">
988
                                <h4>Other editions of this work</h4>
974
                                <h4>[% t('Other editions of this work') %]</h4>
989
                                <table class="table table-bordered table-striped">
975
                                <table class="table table-bordered table-striped">
990
                                    [% FOREACH XISBN IN XISBNS %]
976
                                    [% FOREACH XISBN IN XISBNS %]
991
                                        <tr>
977
                                        <tr>
Lines 997-1008 Link Here
997
                                            [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
983
                                            [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
998
                                                [% IF ( XISBN.content_identifier_exists ) %]
984
                                                [% IF ( XISBN.content_identifier_exists ) %]
999
                                                    [% IF ( using_https ) %]
985
                                                    [% IF ( using_https ) %]
1000
                                                        <img src="https://secure.syndetics.com/index.aspx?isbn=[% XISBN.browser_normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %][% IF ( XISBN.browser_normalized_upc ) %]&amp;upc=[% XISBN.browser_normalized_upc %][% END %][% IF ( XISBN.browser_normalized_oclc ) %]&amp;oclc=[% XISBN.browser_normalized_oclc %][% END %]&amp;type=xw10" alt="" />
986
                                                        <img src="https://secure.syndetics.com/index.aspx?isbn=[% XISBN.browser_normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %][% IF ( XISBN.browser_normalized_upc ) %]&upc=[% XISBN.browser_normalized_upc %][% END %][% IF ( XISBN.browser_normalized_oclc ) %]&oclc=[% XISBN.browser_normalized_oclc %][% END %]&type=xw10" alt="" />
1001
                                                    [% ELSE %]
987
                                                    [% ELSE %]
1002
                                                        <img src="http://www.syndetics.com/index.aspx?isbn=[% XISBN.browser_normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %][% IF ( XISBN.browser_normalized_upc ) %]&amp;upc=[% XISBN.browser_normalized_upc %][% END %][% IF ( XISBN.browser_normalized_oclc ) %]&amp;oclc=[% XISBN.browser_normalized_oclc %][% END %]&amp;type=xw10" alt="" />
988
                                                        <img src="http://www.syndetics.com/index.aspx?isbn=[% XISBN.browser_normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %][% IF ( XISBN.browser_normalized_upc ) %]&upc=[% XISBN.browser_normalized_upc %][% END %][% IF ( XISBN.browser_normalized_oclc ) %]&oclc=[% XISBN.browser_normalized_oclc %][% END %]&type=xw10" alt="" />
1003
                                                    [% END %]
989
                                                    [% END %]
1004
                                                [% ELSE %]
990
                                                [% ELSE %]
1005
                                                    <span class="no-image">No cover image available</span>
991
                                                    <span class="no-image">[% t('No cover image available') %]</span>
1006
                                                [% END # / IF  XISBN.content_identifier_exists %]
992
                                                [% END # / IF  XISBN.content_identifier_exists %]
1007
                                            [% END # / IF SyndeticsEnabled && SyndeticsCoverImages %]
993
                                            [% END # / IF SyndeticsEnabled && SyndeticsCoverImages %]
1008
                                            </td>
994
                                            </td>
Lines 1011-1018 Link Here
1011
                                                <td>[% XISBN.description %]</td>
997
                                                <td>[% XISBN.description %]</td>
1012
                                            [% END %]
998
                                            [% END %]
1013
                                            <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a>
999
                                            <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a>
1014
                                                [% IF ( XISBN.author ) %]<span> by </span>[% XISBN.author |html %][% END %]
1000
                                                [% IF ( XISBN.author ) %]<span> [% t('by') %] </span>[% XISBN.author |html %][% END %]
1015
                                                [% IF ( XISBN.copyrightdate ) %]<span> &copy;</span>[% XISBN.copyrightdate %][% END %]
1001
                                                [% IF ( XISBN.copyrightdate ) %]<span> ©</span>[% XISBN.copyrightdate %][% END %]
1016
                                                [% IF ( XISBN.publishercode ) %]
1002
                                                [% IF ( XISBN.publishercode ) %]
1017
                                                    <p>[% XISBN.publishercode |html %]
1003
                                                    <p>[% XISBN.publishercode |html %]
1018
                                                        [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %]
1004
                                                        [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %]
Lines 1033-1041 Link Here
1033
                                <p>
1019
                                <p>
1034
                                  [% SET ctrl_preload = ' controls preload=none' #translatability %]
1020
                                  [% SET ctrl_preload = ' controls preload=none' #translatability %]
1035
                                  <[% HTML5MediaParent _ ctrl_preload %] >
1021
                                  <[% HTML5MediaParent _ ctrl_preload %] >
1036
                                    <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]" [% HTML5MediaSet.typeblock %] />
1022
                                    <[% HTML5MediaSet.child %] [% t('src=&#34;') %][% HTML5MediaSet.srcblock %]" [% HTML5MediaSet.typeblock %] />
1037
                                    <span>[[% HTML5MediaParent %] tag not supported by your browser.]</span>
1023
                                    <span>[[% HTML5MediaParent %] tag not supported by your browser.]</span>
1038
                                  </[% HTML5MediaParent %]>
1024
                                  <!--[% HTML5MediaParent %]-->
1039
                                </p>
1025
                                </p>
1040
                              [% END %]
1026
                              [% END %]
1041
                            </div>
1027
                            </div>
Lines 1043-1052 Link Here
1043
1029
1044
                        [% IF ( OPACLocalCoverImages && localimages.size ) %]
1030
                        [% IF ( OPACLocalCoverImages && localimages.size ) %]
1045
                            <div id="images">
1031
                            <div id="images">
1046
                                <p>Click on an image to view it in the image viewer</p>
1032
                                <p>[% t('Click on an image to view it in the image viewer') %]</p>
1047
                                [% FOREACH image IN localimages %]
1033
                                [% FOREACH image IN localimages %]
1048
                                    [% IF image %]
1034
                                    [% IF image %]
1049
                                        <a class="localimage" href="/cgi-bin/koha/opac-imageviewer.pl?biblionumber=[% biblio.biblionumber %]&amp;imagenumber=[% image %]"><img alt="" src="/cgi-bin/koha/opac-image.pl?thumbnail=1&amp;imagenumber=[% image %]" /></a>
1035
                                        <a class="localimage" href="/cgi-bin/koha/opac-imageviewer.pl?biblionumber=[% biblio.biblionumber %]&imagenumber=[% image %]"><img alt="" src="/cgi-bin/koha/opac-image.pl?thumbnail=1&imagenumber=[% image %]" /></a>
1050
                                    [% END %]
1036
                                    [% END %]
1051
                                [% END %]
1037
                                [% END %]
1052
                            </div><!-- / #images -->
1038
                            </div><!-- / #images -->
Lines 1055-1068 Link Here
1055
                        [% IF ( IDreamBooksReviews ) %]
1041
                        [% IF ( IDreamBooksReviews ) %]
1056
                            <div id="idb_critic_reviews">
1042
                            <div id="idb_critic_reviews">
1057
                                <div id="idb_review_snippets"></div>
1043
                                <div id="idb_review_snippets"></div>
1058
                                <span><a id="seemoreidb">More book reviews at iDreamBooks.com</a></span>
1044
                                <span><a id="seemoreidb">[% t('More book reviews at iDreamBooks.com') %]</a></span>
1059
                            </div>
1045
                            </div>
1060
                        [% END %]
1046
                        [% END %]
1061
                </div> <!-- / #bibliodescriptions -->
1047
                </div> <!-- / #bibliodescriptions -->
1062
1048
1063
                [% IF ( NovelistSelectProfile && NovelistSelectView == 'below' && ( normalized_isbn || normalized_upc ) ) %]
1049
                [% IF ( NovelistSelectProfile && NovelistSelectView == 'below' && ( normalized_isbn || normalized_upc ) ) %]
1064
                    <div id="NovelistSelect">
1050
                    <div id="NovelistSelect">
1065
                        <h3>Novelist Select</h3>
1051
                        <h3>[% t('Novelist Select') %]</h3>
1066
                        <div data-novelist-novelistselect="[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]"></div>
1052
                        <div data-novelist-novelistselect="[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]"></div>
1067
                    </div>
1053
                    </div>
1068
                [% END %]
1054
                [% END %]
Lines 1094-1126 Link Here
1094
                    <div class="nav_results">
1080
                    <div class="nav_results">
1095
                        <div class="l_Results">
1081
                        <div class="l_Results">
1096
                            [% IF ( listResults ) %]
1082
                            [% IF ( listResults ) %]
1097
                                <a href="#" id="a_listResults">Browse results</a>
1083
                                <a href="#" id="a_listResults">[% t('Browse results') %]</a>
1098
                            [% ELSE %]
1084
                            [% ELSE %]
1099
                                <span>Browse results</span>
1085
                                <span>[% t('Browse results') %]</span>
1100
                            [% END %]
1086
                            [% END %]
1101
                        </div>
1087
                        </div>
1102
                        <ul class="pg_menu clearfix">
1088
                        <ul class="pg_menu clearfix">
1103
                            <li class="left_results">
1089
                            <li class="left_results">
1104
                                [% IF ( previousBiblionumber ) %]
1090
                                [% IF ( previousBiblionumber ) %]
1105
                                    <a href="opac-detail.pl?biblionumber=[% previousBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( previousTitle ) %][% previousTitle |html %][% ELSE %]previous biblio[% END %]">&laquo; Previous</a>
1091
                                    <a href="opac-detail.pl?biblionumber=[% previousBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="[% t('See:') %] [% IF ( previousTitle ) %][% previousTitle |html %][% ELSE %][% t('previous biblio') %][% END %]">[% t('« Previous') %]</a>
1106
                                [% ELSE %]
1092
                                [% ELSE %]
1107
                                    <span>Previous</span>
1093
                                    <span>[% t('Previous') %]</span>
1108
                                [% END %]
1094
                                [% END %]
1109
                            </li>
1095
                            </li>
1110
                            [%# busc is already URI encoded %]
1096
                            [%# busc is already URI encoded %]
1111
                            <li class="back_results"><a href="opac-search.pl?[% busc %]" title="Back to the results search list">Back to results</a></li>
1097
                            <li class="back_results"><a href="opac-search.pl?[% busc %]" title="[% t('Back to the results search list') %]">[% t('Back to results') %]</a></li>
1112
                            <li class="right_results">
1098
                            <li class="right_results">
1113
                                [% IF ( nextBiblionumber ) %]
1099
                                [% IF ( nextBiblionumber ) %]
1114
                                    <a href="opac-detail.pl?biblionumber=[% nextBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( nextTitle ) %][% nextTitle |html %][% ELSE %]next biblio[% END %]">Next &raquo;</a>
1100
                                    <a href="opac-detail.pl?biblionumber=[% nextBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="[% t('See:') %] [% IF ( nextTitle ) %][% nextTitle |html %][% ELSE %][% t('next biblio') %][% END %]">[% t('Next »') %]</a>
1115
                                [% ELSE %]
1101
                                [% ELSE %]
1116
                                    <span>Next</span>
1102
                                    <span>[% t('Next') %]</span>
1117
                                [% END %]
1103
                                [% END %]
1118
                            </li>
1104
                            </li>
1119
                        </ul>
1105
                        </ul>
1120
                        [% IF ( listResults ) %]
1106
                        [% IF ( listResults ) %]
1121
                        <div class="results-pagination">
1107
                        <div class="results-pagination">
1122
                            <div class="nav_pages">
1108
                            <div class="nav_pages">
1123
                                <span class="close_pagination"><a href="#" id="close_pagination">Close</a></span>
1109
                                <span class="close_pagination"><a href="#" id="close_pagination">[% t('Close') %]</a></span>
1124
                                <ul id="listResults"></ul>
1110
                                <ul id="listResults"></ul>
1125
                            </div>
1111
                            </div>
1126
                            <div class="pagination_list">
1112
                            <div class="pagination_list">
Lines 1135-1141 Link Here
1135
1121
1136
                [% IF ( NovelistSelectProfile && NovelistSelectView == 'right' && ( normalized_isbn || normalized_upc ) ) %]
1122
                [% IF ( NovelistSelectProfile && NovelistSelectView == 'right' && ( normalized_isbn || normalized_upc ) ) %]
1137
                    <div id="NovelistSelect">
1123
                    <div id="NovelistSelect">
1138
                        <h4>Novelist Select</h4>
1124
                        <h4>[% t('Novelist Select') %]</h4>
1139
                        <div data-novelist-novelistselect="[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]"></div>
1125
                        <div data-novelist-novelistselect="[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]"></div>
1140
                    </div>
1126
                    </div>
1141
                [% END %]
1127
                [% END %]
Lines 1149-1160 Link Here
1149
1135
1150
                [% IF ( SocialNetworks ) %]
1136
                [% IF ( SocialNetworks ) %]
1151
                    <div id="social_networks" class="clearfix">
1137
                    <div id="social_networks" class="clearfix">
1152
                        <span>Share</span>
1138
                        <span>[% t('Share') %]</span>
1153
                        <div><a id="facebook" href="http://www.facebook.com/sharer.php?u=[% current_url |url %]&amp;t=[% title |url %]" title="Share on Facebook">Facebook</a></div>
1139
                        <div><a id="facebook" href="http://www.facebook.com/sharer.php?u=[% current_url |url %]&t=[% title |url %]" title="[% t('Share on Facebook') %]">[% t('Facebook') %]</a></div>
1154
                        <div><a id="linkedin" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=[% current_url |url %]&amp;title=[% title |url %]" title="Share on LinkedIn">LinkedIn</a></div>
1140
                        <div><a id="linkedin" href="http://www.linkedin.com/shareArticle?mini=true&url=[% current_url |url %]&title=[% title |url %]" title="[% t('Share on LinkedIn') %]">[% t('LinkedIn') %]</a></div>
1155
                        <div><a id="email" href="mailto:?subject=[% title |url %]&amp;body=[% title |url %]%20([% current_url |url %])" title="Share by email">Email</a></div>
1141
                        <div><a id="email" href="mailto:?subject=[% title |url %]&body=[% title |url %]%20([% current_url |url %])" title="[% t('Share by email') %]">[% t('Email') %]</a></div>
1156
                        <div><div class="g-plusone" data-size="small" data-count="false"></div></div>
1142
                        <div><div class="g-plusone" data-size="small" data-count="false"></div></div>
1157
                        <div><a id="twitter" href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-text="[% title |url %]" data-lang="[% lang %]">Tweet</a></div>
1143
                        <div><a id="twitter" href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-text="[% title |url %]" data-lang="[% lang %]">[% t('Tweet') %]</a></div>
1158
                    </div>
1144
                    </div>
1159
                [% END %]
1145
                [% END %]
1160
            </div> <!-- / .ulactioncontainer -->
1146
            </div> <!-- / .ulactioncontainer -->
Lines 1162-1170 Link Here
1162
    </div> <!-- / .row-fluid -->
1148
    </div> <!-- / .row-fluid -->
1163
    <div class="row-fluid">
1149
    <div class="row-fluid">
1164
        [% IF ( LibraryThingForLibrariesID ) %]
1150
        [% IF ( LibraryThingForLibrariesID ) %]
1165
            <script src="https://ltfl.librarything.com/forlibraries/widget.js?systype=koha&amp;id=[% LibraryThingForLibrariesID %]"></script>
1151
            <script src="https://ltfl.librarything.com/forlibraries/widget.js?systype=koha&id=[% LibraryThingForLibrariesID %]"></script>
1166
            <noscript>This page contains enriched content visible when JavaScript is enabled or by clicking
1152
            <noscript>[% t('This page contains enriched content visible when JavaScript is enabled or by clicking') %]
1167
            <a href="https://www.librarything.com/forlibraries/noscript.php?id=[% LibraryThingForLibrariesID %]&amp;accessibility=1">here</a>.</noscript>
1153
            [% t('&lt;a href=&#34;https://www.librarything.com/forlibraries/noscript.php?id=') %][% LibraryThingForLibrariesID %][% t('&amp;amp;accessibility=1&#34;&gt;here&lt;/a&gt;.') %]</noscript>
1168
        [% END %]
1154
        [% END %]
1169
1155
1170
        [% IF ( NovelistSelectProfile && normalized_isbn ) %]
1156
        [% IF ( NovelistSelectProfile && normalized_isbn ) %]
Lines 1187-1220 Link Here
1187
        <thead>
1173
        <thead>
1188
            <tr>
1174
            <tr>
1189
        [% IF ( item_level_itypes ) %]
1175
        [% IF ( item_level_itypes ) %]
1190
                <th id="item_itemtype" data-colname="item_itemtype" class="itype">Item type</th>[% END %]
1176
                <th id="item_itemtype" data-colname="item_itemtype" class="itype">[% t('Item type') %]</th>[% END %]
1191
        [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]
1177
        [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]
1192
                <th id="item_current_location" data-colname="item_current_location" class="item_location">Current location</th>[% END %]
1178
                <th id="item_current_location" data-colname="item_current_location" class="item_location">[% t('Current location') %]</th>[% END %]
1193
        [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
1179
        [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
1194
                <th id="item_home_location" data-colname="item_home_location" class="item_location">Home library</th>[% END %]
1180
                <th id="item_home_location" data-colname="item_home_location" class="item_location">[% t('Home library') %]</th>[% END %]
1195
        [% IF ( itemdata_ccode ) %]
1181
        [% IF ( itemdata_ccode ) %]
1196
                <th id="item_ccode" data-colname="item_ccode" class="collection">Collection</th>[% END %]
1182
                <th id="item_ccode" data-colname="item_ccode" class="collection">[% t('Collection') %]</th>[% END %]
1197
        [% IF ( Koha.Preference('OpacLocationOnDetail') == 'column' && itemdata_location ) %]
1183
        [% IF ( Koha.Preference('OpacLocationOnDetail') == 'column' && itemdata_location ) %]
1198
                <th id="item_shelving_location" data-colname="item_shelving_location" class="shelving_location">Shelving location</th>[% END %]
1184
                <th id="item_shelving_location" data-colname="item_shelving_location" class="shelving_location">[% t('Shelving location') %]</th>[% END %]
1199
                <th id="item_callnumber" data-colname="item_callnumber" class="call_no">Call number</th>
1185
                <th id="item_callnumber" data-colname="item_callnumber" class="call_no">[% t('Call number') %]</th>
1200
        [% IF ( itemdata_enumchron ) %]
1186
        [% IF ( itemdata_enumchron ) %]
1201
                <th id="item_enumchron" data-colname="item_enumchron" class="vol_info">Vol info</th>[% END %]
1187
                <th id="item_enumchron" data-colname="item_enumchron" class="vol_info">[% t('Vol info') %]</th>[% END %]
1202
        [% IF ( itemdata_uri ) %]
1188
        [% IF ( itemdata_uri ) %]
1203
                <th id="item_url" data-colname="item_url" class="url">URL</th>[% END %]
1189
                <th id="item_url" data-colname="item_url" class="url">[% t('URL') %]</th>[% END %]
1204
        [% IF ( itemdata_copynumber ) %]
1190
        [% IF ( itemdata_copynumber ) %]
1205
                <th id="item_copy" data-colname="item_copy" class="copynumber">Copy number</th>[% END %]
1191
                <th id="item_copy" data-colname="item_copy" class="copynumber">[% t('Copy number') %]</th>[% END %]
1206
                <th id="item_status" data-colname="item_status" class="status">Status</th>
1192
                <th id="item_status" data-colname="item_status" class="status">[% t('Status') %]</th>
1207
        [% IF ( itemdata_itemnotes ) %]
1193
        [% IF ( itemdata_itemnotes ) %]
1208
                <th id="item_notes" data-colname="item_notes" class="notes">Notes</th>[% END %]
1194
                <th id="item_notes" data-colname="item_notes" class="notes">[% t('Notes') %]</th>[% END %]
1209
                <th id="item_datedue" data-colname="item_datedue" class="date_due">Date due</th>
1195
                <th id="item_datedue" data-colname="item_datedue" class="date_due">[% t('Date due') %]</th>
1210
                <th id="item_barcode" data-colname="item_barcode" class="barcode">Barcode</th>
1196
                <th id="item_barcode" data-colname="item_barcode" class="barcode">[% t('Barcode') %]</th>
1211
        [% IF holds_count.defined %]
1197
        [% IF holds_count.defined %]
1212
                <th id="item_holds" data-colname="item_holds">Item holds</th>
1198
                <th id="item_holds" data-colname="item_holds">[% t('Item holds') %]</th>
1213
        [% ELSIF show_priority %]
1199
        [% ELSIF show_priority %]
1214
                <th id="item_priority" data-colname="item_priority">Item hold queue priority</th>
1200
                <th id="item_priority" data-colname="item_priority">[% t('Item hold queue priority') %]</th>
1215
        [% END %]
1201
        [% END %]
1216
        [% IF ( ShowCourseReservesHeader ) %]
1202
        [% IF ( ShowCourseReservesHeader ) %]
1217
                <th id="item_coursereserves" data-colname="item_coursereserves">Course reserves</th>[% END %]
1203
                <th id="item_coursereserves" data-colname="item_coursereserves">[% t('Course reserves') %]</th>[% END %]
1218
            </tr>
1204
            </tr>
1219
        </thead>
1205
        </thead>
1220
        <tbody>
1206
        <tbody>
Lines 1292-1300 Link Here
1292
                            [% ITEM_RESULT.itemcallnumber %]
1278
                            [% ITEM_RESULT.itemcallnumber %]
1293
                            [% IF ( OPACShelfBrowser ) %]
1279
                            [% IF ( OPACShelfBrowser ) %]
1294
                                [% IF ( ITEM_RESULT.itemnumber == starting_itemnumber ) %]
1280
                                [% IF ( ITEM_RESULT.itemnumber == starting_itemnumber ) %]
1295
                                    (<a class="close_shelf" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber %]&amp;shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber %]#[% tab %]">Browse shelf</a>)
1281
                                    (<a class="close_shelf" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber %]#[% tab %]">[% t('Browse shelf') %]</a>)
1296
                                [% ELSE %]
1282
                                [% ELSE %]
1297
                                    (<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber %]&amp;shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber %]#[% tab %]">Browse shelf</a>)
1283
                                    (<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber %]#[% tab %]">[% t('Browse shelf') %]</a>)
1298
                                [% END %]
1284
                                [% END %]
1299
                            [% END %]
1285
                            [% END %]
1300
                        [% END %]
1286
                        [% END %]
Lines 1322-1330 Link Here
1322
                            [% IF ITEM_RESULT.uri %]
1308
                            [% IF ITEM_RESULT.uri %]
1323
                                [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1309
                                [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1324
                                    [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1310
                                    [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1325
                                    <a target="_blank" rel="noreferrer" href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&amp;biblionumber=[% biblio.biblionumber %]&amp;itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url"> Link to resource </a>
1311
                                    <a target="_blank" rel="noreferrer" href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&biblionumber=[% biblio.biblionumber %]&itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url"> [% t('Link to resource') %] </a>
1326
                                    [% ELSE %]
1312
                                    [% ELSE %]
1327
                                    <a href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&amp;biblionumber=[% biblio.biblionumber %]&amp;itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url"> Link to resource </a>
1313
                                    <a href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&biblionumber=[% biblio.biblionumber %]&itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url"> [% t('Link to resource') %] </a>
1328
                                    [% END %]
1314
                                    [% END %]
1329
1315
1330
                                [% ELSE %]
1316
                                [% ELSE %]
Lines 1347-1353 Link Here
1347
                            [% IF holds_count.defined %] [% ITEM_RESULT.holds_count %] [% END %]
1333
                            [% IF holds_count.defined %] [% ITEM_RESULT.holds_count %] [% END %]
1348
                            [% IF ITEM_RESULT.priority %]
1334
                            [% IF ITEM_RESULT.priority %]
1349
                                [% IF holds_count.defined %]
1335
                                [% IF holds_count.defined %]
1350
                                    <span>(priority [% ITEM_RESULT.priority %])</span>
1336
                                    <span>[% t('(priority') %] [% ITEM_RESULT.priority %])</span>
1351
                                [% ELSE %]
1337
                                [% ELSE %]
1352
                                    <span>[% ITEM_RESULT.priority %]</span>
1338
                                    <span>[% ITEM_RESULT.priority %]</span>
1353
                                [% END %]
1339
                                [% END %]
Lines 1383-1391 Link Here
1383
[% INCLUDE 'columns_settings.inc' %]
1369
[% INCLUDE 'columns_settings.inc' %]
1384
[% IF ( SocialNetworks ) %]
1370
[% IF ( SocialNetworks ) %]
1385
    <script src="https://apis.google.com/js/plusone.js"></script>
1371
    <script src="https://apis.google.com/js/plusone.js"></script>
1386
    //<![CDATA[
1372
    //<!--[CDATA[
1387
      {lang: '[% lang %]'}
1373
      {lang: '[% lang %]'}
1388
    //]]>
1374
    //]]-->
1389
    </script>
1375
    </script>
1390
    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
1376
    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
1391
[% END %]
1377
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt (-15 / +16 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Discharge</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Discharge') %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
Lines 9-16 Link Here
9
10
10
<div class="main">
11
<div class="main">
11
    <ul class="breadcrumb">
12
    <ul class="breadcrumb">
12
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
13
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
13
        <li><a href="#">Discharge</a></li>
14
        <li><a href="#">[% t('Discharge') %]</a></li>
14
    </ul>
15
    </ul>
15
16
16
    <div class="container-fluid">
17
    <div class="container-fluid">
Lines 22-53 Link Here
22
            </div>
23
            </div>
23
            <div class="span10">
24
            <div class="span10">
24
                <div id="discharge" class="maincontainer">
25
                <div id="discharge" class="maincontainer">
25
                    <h1>Discharge</h1>
26
                    <h1>[% t('Discharge') %]</h1>
26
                    [% FOR message IN messages %]
27
                    [% FOR message IN messages %]
27
                        <div class="dialog [% message.type %]">
28
                        <div class="dialog [% message.type %]">
28
                        [% IF message.code == "unable_to_generate_pdf" %]
29
                        [% IF message.code == "unable_to_generate_pdf" %]
29
                            An error occurs when generating the pdf file.
30
                            [% t('An error occurs when generating the pdf file.') %]
30
                            Please contact the staff to resolve this problem.
31
                            [% t('Please contact the staff to resolve this problem.') %]
31
                        [% END %]
32
                        [% END %]
32
                        </div>
33
                        </div>
33
                    [% END %]
34
                    [% END %]
34
35
35
                    [% IF success %]
36
                    [% IF success %]
36
                        <p>Your discharge request has been sent. Your discharge will be available on this page within a few days.</p>
37
                        <p>[% t('Your discharge request has been sent. Your discharge will be available on this page within a few days.') %]</p>
37
                    [% ELSIF available %]
38
                    [% ELSIF available %]
38
                        <a href="/cgi-bin/koha/opac-discharge.pl?op=get">Get your discharge</a></li>
39
                        <a href="/cgi-bin/koha/opac-discharge.pl?op=get">[% t('Get your discharge') %]</a></li>
39
                    [% ELSIF pending %]
40
                    [% ELSIF pending %]
40
                        <p>Your discharge will be available on this page within a few days.</p>
41
                        <p>[% t('Your discharge will be available on this page within a few days.') %]</p>
41
                    [% ELSIF has_issues %]
42
                    [% ELSIF has_issues %]
42
                        <p>You cannot be discharged, you have checked out items. Please return items before asking for a discharge.</p>
43
                        <p>[% t('You cannot be discharged, you have checked out items. Please return items before asking for a discharge.') %]</p>
43
                    [% ELSIF not messages %]
44
                    [% ELSIF not messages %]
44
                        <h2>What is a discharge?</h2>
45
                        <h2>[% t('What is a discharge?') %]</h2>
45
                        <p>This document certifies that you have returned all borrowed items. It is sometimes asked during a file transfer from a school to another. The discharge is sent by us to your school. You will also find it available on your reader account.</p>
46
                        <p>[% t('This document certifies that you have returned all borrowed items. It is sometimes asked during a file transfer from a school to another. The discharge is sent by us to your school. You will also find it available on your reader account.') %]</p>
46
                        <p><strong>Warning</strong>: This request is only valid if you are in good standing with the library. Once the application is made, you can not borrow library materials.</p>
47
                        <p><strong>[% t('Warning') %]</strong>[% t(': This request is only valid if you are in good standing with the library. Once the application is made, you can not borrow library materials.') %]</p>
47
                        [% IF has_checkouts %]
48
                        [% IF has_checkouts %]
48
                            <div class="dialog alert">You cannot be discharged, you have checked out items. Please return items before asking for a discharge.</div>
49
                            <div class="dialog alert">[% t('You cannot be discharged, you have checked out items. Please return items before asking for a discharge.') %]</div>
49
                        [% ELSE %]
50
                        [% ELSE %]
50
                            <a href="/cgi-bin/koha/opac-discharge.pl?op=request">Ask for a discharge</a>
51
                            <a href="/cgi-bin/koha/opac-discharge.pl?op=request">[% t('Ask for a discharge') %]</a>
51
                        [% END %]
52
                        [% END %]
52
53
53
                    [% END %]
54
                    [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadcart.tt (-10 / +11 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Download cart</title>
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Download cart') %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
[% BLOCK cssinclude %][% END %]
5
[% BLOCK cssinclude %][% END %]
5
</head>
6
</head>
Lines 9-33 Link Here
9
            <div class="row-fluid">
10
            <div class="row-fluid">
10
                <div class="span12">
11
                <div class="span12">
11
                    <div id="userdownloadcart">
12
                    <div id="userdownloadcart">
12
                        <h1>Download cart</h1>
13
                        <h1>[% t('Download cart') %]</h1>
13
                        <form method="post" action="/cgi-bin/koha/opac-downloadcart.pl">
14
                        <form method="post" action="/cgi-bin/koha/opac-downloadcart.pl">
14
                            <select name="format" id="format">
15
                            <select name="format" id="format">
15
                                <option value="">-- Choose format --</option>
16
                                <option value="">[% t('-- Choose format --') %]</option>
16
                                <option value="ris">RIS (Zotero, EndNote, others)</option>
17
                                <option value="ris">[% t('RIS (Zotero, EndNote, others)') %]</option>
17
                                <option value="bibtex">BibTeX</option>
18
                                <option value="bibtex">[% t('BibTeX') %]</option>
18
                                <option value="isbd">ISBD</option>
19
                                <option value="isbd">[% t('ISBD') %]</option>
19
                                <option value="iso2709">MARC</option>
20
                                <option value="iso2709">[% t('MARC') %]</option>
20
                                [% FOREACH csv_profile IN csv_profiles %]
21
                                [% FOREACH csv_profile IN csv_profiles %]
21
                                    <option value="[% csv_profile.export_format_id %]">CSV - [% csv_profile.profile %]</option>
22
                                    <option value="[% csv_profile.export_format_id %]">[% t('CSV -') %] [% csv_profile.profile %]</option>
22
                                [% END %]
23
                                [% END %]
23
                            </select>
24
                            </select>
24
                            <fieldset class="action">
25
                            <fieldset class="action">
25
                                <input type="hidden" name="bib_list" value="[% bib_list | html %]" />
26
                                <input type="hidden" name="bib_list" value="[% bib_list | html %]" />
26
                                <input type="submit" name="save" value="Go" />
27
                                <input type="submit" name="save" value="Go" />
27
                                    <a class="cancel close" href="#">Cancel</a>
28
                                    <a class="cancel close" href="#">[% t('Cancel') %]</a>
28
                            </fieldset>
29
                            </fieldset>
29
                        </form>
30
                        </form>
30
                        <p><a class="close" href="#">Close this window</a></p>
31
                        <p><a class="close" href="#">[% t('Close this window') %]</a></p>
31
                    </div> <!-- / #userdownloadcart -->
32
                    </div> <!-- / #userdownloadcart -->
32
                </div> <!-- / .span10 -->
33
                </div> <!-- / .span10 -->
33
            </div> <!-- / .row-fluid -->
34
            </div> <!-- / .row-fluid -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadshelf.tt (-18 / +19 lines)
Lines 1-26 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% IF ( fullpage ) %]
3
[% IF ( fullpage ) %]
3
    [% INCLUDE 'doc-head-open.inc' %]
4
    [% INCLUDE 'doc-head-open.inc' %]
4
    <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Download list [% shelf.shelfname | html %]</title>[% INCLUDE 'doc-head-close.inc' %]
5
    <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Download list') %] [% shelf.shelfname | html %]</title>[% INCLUDE 'doc-head-close.inc' %]
5
    [% BLOCK cssinclude %][% END %]
6
    [% BLOCK cssinclude %][% END %]
6
    </head>
7
    </head>
7
    [% INCLUDE 'bodytag.inc' bodyid='opac-downloadlist' %]
8
    [% INCLUDE 'bodytag.inc' bodyid='opac-downloadlist' %]
8
        [% INCLUDE 'masthead.inc' %]
9
        [% INCLUDE 'masthead.inc' %]
9
        <div class="main">
10
        <div class="main">
10
            <ul class="breadcrumb">
11
            <ul class="breadcrumb">
11
                <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
12
                <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
12
                [% IF ( loggedinusername ) %]
13
                [% IF ( loggedinusername ) %]
13
                    <li><a href="/cgi-bin/koha/opac-user.pl">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</a> <span class="divider">&rsaquo;</span></li>
14
                    <li><a href="/cgi-bin/koha/opac-user.pl">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</a> <span class="divider">›</span></li>
14
                [% END %]
15
                [% END %]
15
                <li>
16
                <li>
16
                    [% IF shelf.category == 1 %]
17
                    [% IF shelf.category == 1 %]
17
                        <a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=1">Your lists</a>
18
                        <a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=1">[% t('Your lists') %]</a>
18
                    [% ELSE %]
19
                    [% ELSE %]
19
                        <a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=2">Public lists</a>
20
                        <a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=2">[% t('Public lists') %]</a>
20
                    [% END %]
21
                    [% END %]
21
                    <span class="divider">&rsaquo;</span>
22
                    <span class="divider">›</span>
22
                </li>
23
                </li>
23
                <li>Download list <i>[% shelf.shelfname | html %]</i></li>
24
                <li>[% t('Download list') %] <i>[% shelf.shelfname | html %]</i></li>
24
            </ul>
25
            </ul>
25
            <div class="container-fluid">
26
            <div class="container-fluid">
26
                <div class="row-fluid">
27
                <div class="row-fluid">
Lines 44-72 Link Here
44
45
45
                            [% IF ( format ) %]
46
                            [% IF ( format ) %]
46
                                <div class="alert alert-info">
47
                                <div class="alert alert-info">
47
                                    <p>Your download should begin automatically.</p>
48
                                    <p>[% t('Your download should begin automatically.') %]</p>
48
                                </div>
49
                                </div>
49
                            [% ELSE %]
50
                            [% ELSE %]
50
                                <h1>Download list <i>[% shelf.shelfname | html %]</i></h1>
51
                                <h1>[% t('Download list') %] <i>[% shelf.shelfname | html %]</i></h1>
51
                                <form method="post" action="/cgi-bin/koha/opac-downloadshelf.pl">
52
                                <form method="post" action="/cgi-bin/koha/opac-downloadshelf.pl">
52
                                    <fieldset>
53
                                    <fieldset>
53
                                        <select name="format" id="dlformat" required="required">
54
                                        <select name="format" id="dlformat" required="required">
54
                                            <option value="">-- Choose format --</option>
55
                                            <option value="">[% t('-- Choose format --') %]</option>
55
                                            <option value="ris">RIS (Zotero, EndNote, others)</option>
56
                                            <option value="ris">[% t('RIS (Zotero, EndNote, others)') %]</option>
56
                                            <option value="bibtex">BibTeX</option>
57
                                            <option value="bibtex">[% t('BibTeX') %]</option>
57
                                            <option value="isbd">ISBD</option>
58
                                            <option value="isbd">[% t('ISBD') %]</option>
58
                                            <option value="iso2709">MARC</option>
59
                                            <option value="iso2709">[% t('MARC') %]</option>
59
                                            [% FOREACH csv_profile IN csv_profiles %]
60
                                            [% FOREACH csv_profile IN csv_profiles %]
60
                                            <option value="[% csv_profile.export_format_id |html %]">CSV - [% csv_profile.profile |html %]</option>
61
                                            <option value="[% csv_profile.export_format_id |html %]">[% t('CSV -') %] [% csv_profile.profile |html %]</option>
61
                                            [% END %]
62
                                            [% END %]
62
                                        </select>
63
                                        </select>
63
                                        <span class="required">Required</span>
64
                                        <span class="required">[% t('Required') %]</span>
64
                                    </fieldset>
65
                                    </fieldset>
65
66
66
                                    <fieldset class="action">
67
                                    <fieldset class="action">
67
                                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
68
                                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
68
                                        <input type="submit" name="save" class="btn" value="Go" />
69
                                        <input type="submit" name="save" class="btn" value="Go" />
69
                                        <a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber | html %]" class="cancel close" data-dismiss="modal">Cancel</a>
70
                                        <a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber | html %]" class="cancel close" data-dismiss="modal">[% t('Cancel') %]</a>
70
                                    </fieldset>
71
                                    </fieldset>
71
                                </form>
72
                                </form>
72
                                [% IF ( modal ) %]
73
                                [% IF ( modal ) %]
Lines 90-96 Link Here
90
                        [% ELSE %]
91
                        [% ELSE %]
91
92
92
                            <div class="alert">
93
                            <div class="alert">
93
                                <p>You do not have permission to download this list.</p>
94
                                <p>[% t('You do not have permission to download this list.') %]</p>
94
                            </div>
95
                            </div>
95
96
96
                        [% END # / invalidlist %]
97
                        [% END # / invalidlist %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt (-33 / +34 lines)
Lines 1-8 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Branches %]
4
[% USE Branches %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;  Full subscription history for [% bibliotitle %]</title>
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %]  [% t('Full subscription history for') %] [% bibliotitle %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% BLOCK cssinclude %]
8
[% BLOCK cssinclude %]
8
    <style>
9
    <style>
Lines 15-23 Link Here
15
16
16
    <div class="main">
17
    <div class="main">
17
        <ul class="breadcrumb">
18
        <ul class="breadcrumb">
18
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
19
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
19
            <li><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]">Details for [% bibliotitle %]</a> <span class="divider">&rsaquo;</span></li>
20
            <li><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]">[% t('Details for') %] [% bibliotitle %]</a> <span class="divider">›</span></li>
20
            <li><a href="#">Full subscription history</a></li>
21
            <li><a href="#">[% t('Full subscription history') %]</a></li>
21
        </ul>
22
        </ul>
22
23
23
        <div class="container-fluid">
24
        <div class="container-fluid">
Lines 25-36 Link Here
25
                <div class="span2">
26
                <div class="span2">
26
                    <div id="searchfacetscontainer">
27
                    <div id="searchfacetscontainer">
27
                        <div id="search-facets">
28
                        <div id="search-facets">
28
                            <h4>Refine your search</h4>
29
                            <h4>[% t('Refine your search') %]</h4>
29
                            <form action="/cgi-bin/koha/opac-serial-issues.pl" id="filterform">
30
                            <form action="/cgi-bin/koha/opac-serial-issues.pl" id="filterform">
30
                                <fieldset>
31
                                <fieldset>
31
                                    <label for="libraryfilter">Library: </label>
32
                                    <label for="libraryfilter">[% t('Library:') %] </label>
32
                                    <select id="libraryfilter" name="libraryfilter" style="width:10em;"></select>
33
                                    <select id="libraryfilter" name="libraryfilter" style="width:10em;"></select>
33
                                    <label for="subscriptionidfilter">Subscription: </label>
34
                                    <label for="subscriptionidfilter">[% t('Subscription:') %] </label>
34
                                    <select id="subscriptionidfilter" name="subscriptionfilter" style="width:10em;" disabled="disabled"></select>
35
                                    <select id="subscriptionidfilter" name="subscriptionfilter" style="width:10em;" disabled="disabled"></select>
35
                                </fieldset>
36
                                </fieldset>
36
                                <fieldset class="action">
37
                                <fieldset class="action">
Lines 46-61 Link Here
46
                <div class="span10">
47
                <div class="span10">
47
                    <div id="fullserialissues" class="maincontent">
48
                    <div id="fullserialissues" class="maincontent">
48
                        [% UNLESS ( popup ) %]
49
                        [% UNLESS ( popup ) %]
49
                            <h2>Full subscription history for [% bibliotitle %]</h2>
50
                            <h2>[% t('Full subscription history for') %] [% bibliotitle %]</h2>
50
                            <div id="views">
51
                            <div id="views">
51
                                <span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]">Normal view</a></span>
52
                                <span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]">[% t('Normal view') %]</a></span>
52
                                <span class="view"><a id="Briefhistory" href="/cgi-bin/koha/opac-serial-issues.pl?biblionumber=[% biblionumber | html %]&amp;selectview=small">Brief history</a></span>
53
                                <span class="view"><a id="Briefhistory" href="/cgi-bin/koha/opac-serial-issues.pl?biblionumber=[% biblionumber | html %]&selectview=small">[% t('Brief history') %]</a></span>
53
                                <span class="view"><span id="Fullhistory">Full history</span></span>
54
                                <span class="view"><span id="Fullhistory">[% t('Full history') %]</span></span>
54
                            </div>
55
                            </div>
55
                        [% END %]
56
                        [% END %]
56
57
57
                        <div id="subtabs">
58
                        <div id="subtabs">
58
                            <strong>Show year: </strong>
59
                            <strong>[% t('Show year:') %] </strong>
59
                            [% FOREACH year IN years %]
60
                            [% FOREACH year IN years %]
60
                                [% IF ( year.year ) %]
61
                                [% IF ( year.year ) %]
61
                                    <a class="tabsubs" href="#" onclick="showlayer([% year.year %]); return false;">[% year.year %]</a>
62
                                    <a class="tabsubs" href="#" onclick="showlayer([% year.year %]); return false;">[% year.year %]</a>
Lines 72-84 Link Here
72
                                <table class="subscriptionstclass table table-bordered table-striped">
73
                                <table class="subscriptionstclass table table-bordered table-striped">
73
                                    <thead>
74
                                    <thead>
74
                                        <tr>
75
                                        <tr>
75
                                            <th>Date</th>
76
                                            <th>[% t('Date') %]</th>
76
                                            <th>Library</th>
77
                                            <th>[% t('Library') %]</th>
77
                                            <th>Notes</th>
78
                                            <th>[% t('Notes') %]</th>
78
                                            <th>Date received</th>
79
                                            <th>[% t('Date received') %]</th>
79
                                            <th>Number</th>
80
                                            <th>[% t('Number') %]</th>
80
                                            <th>Status</th>
81
                                            <th>[% t('Status') %]</th>
81
                                            <th>Subscription</th>
82
                                            <th>[% t('Subscription') %]</th>
82
                                        </tr>
83
                                        </tr>
83
                                    </thead>
84
                                    </thead>
84
                                    <tbody>
85
                                    <tbody>
Lines 94-100 Link Here
94
                                                            [% END %]
95
                                                            [% END %]
95
                                                        </span>
96
                                                        </span>
96
                                                    [% ELSE %]
97
                                                    [% ELSE %]
97
                                                        &nbsp;
98
                                                         
98
                                                    [% END %]
99
                                                    [% END %]
99
                                                </td>
100
                                                </td>
100
                                                <td class="libraryfilterclass">[% Branches.GetName( serial.branchcode ) %]</td>
101
                                                <td class="libraryfilterclass">[% Branches.GetName( serial.branchcode ) %]</td>
Lines 103-125 Link Here
103
                                                    [% IF ( serial.status2 && serial.planneddate ) %]
104
                                                    [% IF ( serial.status2 && serial.planneddate ) %]
104
                                                        <span title="[% serial.planneddate %]">[% serial.planneddate | $KohaDates %]</span>
105
                                                        <span title="[% serial.planneddate %]">[% serial.planneddate | $KohaDates %]</span>
105
                                                    [% ELSE %]
106
                                                    [% ELSE %]
106
                                                        <span title="9999-12-31">&nbsp;</span>
107
                                                        <span title="[% t('9999-12-31') %]"> </span>
107
                                                    [% END %]
108
                                                    [% END %]
108
                                                </td>
109
                                                </td>
109
                                                <td>[% serial.serialseq %]</td>
110
                                                <td>[% serial.serialseq %]</td>
110
                                                <td>
111
                                                <td>
111
                                                    [% IF ( serial.status1 ) %]Expected[% END %]
112
                                                    [% IF ( serial.status1 ) %][% t('Expected') %][% END %]
112
                                                    [% IF ( serial.status2 ) %]Arrived[% END %]
113
                                                    [% IF ( serial.status2 ) %][% t('Arrived') %][% END %]
113
                                                    [% IF ( serial.status3 ) %]Late[% END %]
114
                                                    [% IF ( serial.status3 ) %][% t('Late') %][% END %]
114
                                                    [% IF ( serial.status4 ) %]Missing[% END %]
115
                                                    [% IF ( serial.status4 ) %][% t('Missing') %][% END %]
115
                                                        [% IF ( serial.status41 ) %]Missing (never received)[% END %]
116
                                                        [% IF ( serial.status41 ) %][% t('Missing (never received)') %][% END %]
116
                                                        [% IF ( serial.status42 ) %]Missing (sold out)[% END %]
117
                                                        [% IF ( serial.status42 ) %][% t('Missing (sold out)') %][% END %]
117
                                                        [% IF ( serial.status43 ) %]Missing (damaged)[% END %]
118
                                                        [% IF ( serial.status43 ) %][% t('Missing (damaged)') %][% END %]
118
                                                        [% IF ( serial.status44 ) %]Missing (lost)[% END %]
119
                                                        [% IF ( serial.status44 ) %][% t('Missing (lost)') %][% END %]
119
                                                    [% IF ( serial.status5 ) %]Not available[% END %]
120
                                                    [% IF ( serial.status5 ) %][% t('Not available') %][% END %]
120
                                                    [% IF ( serial.status6 ) %]Delete[% END %]
121
                                                    [% IF ( serial.status6 ) %][% t('Delete') %][% END %]
121
                                                    [% IF ( serial.status7 ) %]Claimed[% END %]
122
                                                    [% IF ( serial.status7 ) %][% t('Claimed') %][% END %]
122
                                                    [% IF ( serial.status8 ) %]Stopped[% END %]
123
                                                    [% IF ( serial.status8 ) %][% t('Stopped') %][% END %]
123
                                                </td>
124
                                                </td>
124
                                                <td class="subscriptionidfilterclass">[% serial.subscriptionid %]</td>
125
                                                <td class="subscriptionidfilterclass">[% serial.subscriptionid %]</td>
125
                                            </tr>
126
                                            </tr>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ics.tt (-4 / +5 lines)
Lines 1-9 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[%# First line will be summary, second line will be description. Avoid indenting. Var newline added to avoid translating problems. -%]
2
[%# First line will be summary, second line will be description. Avoid indenting. Var newline added to avoid translating problems. -%]
2
[%- newline="\n" -%]
3
[%- newline="\n" -%]
3
[%- IF overdue == 1 -%]
4
[%- IF overdue == 1 -%]
4
[% title %] is overdue
5
[% title %] [% t('is overdue') %]
5
[%- newline -%]Your copy of [% title %] (barcode [% barcode %]) is overdue
6
[%- newline -%][% t('Your copy of') %] [% title %] [% t('(barcode') %] [% barcode %][% t(') is overdue') %]
6
[%- ELSE -%]
7
[%- ELSE -%]
7
[% title %] is due
8
[% title %] [% t('is due') %]
8
[%- newline -%]Your copy of [% title %] (barcode [% barcode %]) is due back at the library today
9
[%- newline -%][% t('Your copy of') %] [% title %] [% t('(barcode') %] [% barcode %][% t(') is due back at the library today') %]
9
[%- END -%]
10
[%- END -%]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-idref.tt (-8 / +9 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your search IDREF for ppn [% unimarc3 %]</title>
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Your search IDREF for ppn') %] [% unimarc3 %]</title>
3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %]
6
[% BLOCK cssinclude %]
Lines 19-44 Link Here
19
[% INCLUDE 'bodytag.inc' bodyid='idref' bodyclass='scrollto' %]
20
[% INCLUDE 'bodytag.inc' bodyid='idref' bodyclass='scrollto' %]
20
<div class="main">
21
<div class="main">
21
  [% IF error %]
22
  [% IF error %]
22
    This ppn is not found on the idref service.
23
    [% t('This ppn is not found on the idref service.') %]
23
  [% ELSE %]
24
  [% ELSE %]
24
    [% FOREACH role IN content %]
25
    [% FOREACH role IN content %]
25
      <div>
26
      <div>
26
        <h2 class="role" title="Click to expand this role">[% role.role_name %] ([% role.count %])</h2>
27
        <h2 class="role" title="[% t('Click to expand this role') %]">[% role.role_name %] ([% role.count %])</h2>
27
          <div class="docs">
28
          <div class="docs">
28
            <table>
29
            <table>
29
              <thead>
30
              <thead>
30
                <tr>
31
                <tr>
31
                  <th>Citation</th>
32
                  <th>[% t('Citation') %]</th>
32
                  <th>Koha</th>
33
                  <th>[% t('Koha') %]</th>
33
                  <th>Sudoc</th>
34
                  <th>[% t('Sudoc') %]</th>
34
                </tr>
35
                </tr>
35
              </thead>
36
              </thead>
36
              <tbody>
37
              <tbody>
37
                [% FOREACH doc IN role.docs %]
38
                [% FOREACH doc IN role.docs %]
38
                  <tr>
39
                  <tr>
39
                    <td>[% doc.citation %]</td>
40
                    <td>[% doc.citation %]</td>
40
                    <td><a href="/cgi-bin/koha/opac-search.pl?q=ident:[% doc.ppn %]" target="_blank">Koha</a></td>
41
                    <td><a href="/cgi-bin/koha/opac-search.pl?q=ident:[% doc.ppn %]" target="_blank">[% t('Koha') %]</a></td>
41
                    <td><a href="http://www.sudoc.fr/[% doc.ppn %]" target="_blank" rel="noreferrer">Sudoc</a></td>
42
                    <td><a href="http://www.sudoc.fr/[% doc.ppn %]" target="_blank" rel="noreferrer">[% t('Sudoc') %]</a></td>
42
                  </tr>
43
                  </tr>
43
                [% END %]
44
                [% END %]
44
              </tbody>
45
              </tbody>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt (-43 / +42 lines)
Lines 1-34 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;   Your Interlibrary loan requests</title>[% INCLUDE 'doc-head-close.inc' %]
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %]   [% t('Your Interlibrary loan requests') %]</title>[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
7
[% INCLUDE 'bodytag.inc' bodyid='opac-illrequests' bodyclass='scrollto' %]
8
[% INCLUDE 'bodytag.inc' bodyid='opac-illrequests' bodyclass='scrollto' %]
8
[% BLOCK messages %]
9
[% BLOCK messages %]
9
    [% IF message == "1" %]
10
    [% IF message == "1" %]
10
        <div class="alert alert-success" role="alert">Request updated</div>
11
        <div class="alert alert-success" role="alert">[% t('Request updated') %]</div>
11
    [% ELSIF message == "2" %]
12
    [% ELSIF message == "2" %]
12
        <div class="alert alert-success" role="alert">Request placed</div>
13
        <div class="alert alert-success" role="alert">[% t('Request placed') %]</div>
13
    [% END %]
14
    [% END %]
14
[% END %]
15
[% END %]
15
[% INCLUDE 'masthead.inc' %]
16
[% INCLUDE 'masthead.inc' %]
16
<div class="main">
17
<div class="main">
17
    <ul class="breadcrumb noprint">
18
    <ul class="breadcrumb noprint">
18
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
19
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
19
        [% IF ( loggedinusername ) %]
20
        [% IF ( loggedinusername ) %]
20
            <li><a href="/cgi-bin/koha/opac-user.pl">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</a> <span class="divider">&rsaquo;</span></li>
21
            <li><a href="/cgi-bin/koha/opac-user.pl">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</a> <span class="divider">›</span></li>
21
        [% END %]
22
        [% END %]
22
23
23
        [% IF method != 'list' %]
24
        [% IF method != 'list' %]
24
            <li><a href="/cgi-bin/koha/opac-illrequests.pl">Interlibrary loan requests</a> <span class="divider">&rsaquo;</span></li>
25
            <li><a href="/cgi-bin/koha/opac-illrequests.pl">[% t('Interlibrary loan requests') %]</a> <span class="divider">›</span></li>
25
            [% IF method == 'create' %]
26
            [% IF method == 'create' %]
26
                <li>New Interlibrary loan request</li>
27
                <li>[% t('New Interlibrary loan request') %]</li>
27
            [% ELSIF method == 'view' %]
28
            [% ELSIF method == 'view' %]
28
                <li>View Interlibrary loan request</li>
29
                <li>[% t('View Interlibrary loan request') %]</li>
29
            [% END %]
30
            [% END %]
30
        [% ELSE %]
31
        [% ELSE %]
31
            <li>Interlibrary loan requests</li>
32
            <li>[% t('Interlibrary loan requests') %]</li>
32
        [% END %]
33
        [% END %]
33
34
34
    </ul> <!-- / .breadcrumb -->
35
    </ul> <!-- / .breadcrumb -->
Lines 49-76 Link Here
49
            <div class="span12">
50
            <div class="span12">
50
        [% END %]
51
        [% END %]
51
          [% IF !backends_available %]
52
          [% IF !backends_available %]
52
            <div class="alert">ILL module configuration problem. Contact your administrator.</div>
53
            <div class="alert">[% t('ILL module configuration problem. Contact your administrator.') %]</div>
53
          [% ELSE %]
54
          [% ELSE %]
54
            <div id="illrequests" class="maincontent">
55
            <div id="illrequests" class="maincontent">
55
                [% IF method == 'create' %]
56
                [% IF method == 'create' %]
56
                    <h2>New Interlibrary loan request</h2>
57
                    <h2>[% t('New Interlibrary loan request') %]</h2>
57
                    [% IF stage == 'copyrightclearance' %]
58
                    [% IF stage == 'copyrightclearance' %]
58
                        [% INCLUDE messages %]
59
                        [% INCLUDE messages %]
59
                        <div>
60
                        <div>
60
                            <p>
61
                            <p>
61
                                [% Koha.Preference('ILLModuleCopyrightClearance') %]
62
                                [% Koha.Preference('ILLModuleCopyrightClearance') %]
62
                            </p>
63
                            </p>
63
                            <a href="?method=create&stage=copyrightclearance&backend=[% whole.value.backend %]"
64
                            <a href="?method=create&stage=copyrightclearance&backend=[% whole.value.backend %]" class="btn btn-sm btn-default"><i class="fa fa-check"></i> [% t('Yes') %]</a>
64
                               class="btn btn-sm btn-default"><i class="fa fa-check"></i> Yes</a>
65
                            <a href="/cgi-bin/koha/opac-illrequests.pl" class="btn btn-sm btn-default"><i class="fa fa-times"></i> [% t('No') %]</a>
65
                            <a href="/cgi-bin/koha/opac-illrequests.pl"
66
                               class="btn btn-sm btn-default"><i class="fa fa-times"></i> No</a>
67
                        </div>
66
                        </div>
68
                    [% ELSE %]
67
                    [% ELSE %]
69
                        [% INCLUDE messages %]
68
                        [% INCLUDE messages %]
70
                        [% IF backends %]
69
                        [% IF backends %]
71
                            <form method="post" id="illrequestcreate-form" novalidate="novalidate">
70
                            <form method="post" id="illrequestcreate-form" novalidate="novalidate">
72
                                <fieldset class="rows">
71
                                <fieldset class="rows">
73
                                    <label for="backend">Provider:</label>
72
                                    <label for="backend">[% t('Provider:') %]</label>
74
                                    <select name="backend">
73
                                    <select name="backend">
75
                                        [% FOREACH backend IN backends %]
74
                                        [% FOREACH backend IN backends %]
76
                                            <option value="[% backend %]">[% backend %]</option>
75
                                            <option value="[% backend %]">[% backend %]</option>
Lines 87-108 Link Here
87
                        [% END %]
86
                        [% END %]
88
                    [% END %]
87
                    [% END %]
89
                [% ELSIF method == 'list' %]
88
                [% ELSIF method == 'list' %]
90
                    <h2>Interlibrary loan requests</h2>
89
                    <h2>[% t('Interlibrary loan requests') %]</h2>
91
                    [% INCLUDE messages %]
90
                    [% INCLUDE messages %]
92
91
93
                    <div id="illrequests-create-button" class="dropdown btn-group">
92
                    <div id="illrequests-create-button" class="dropdown btn-group">
94
                        [% IF backends.size > 1 %]
93
                        [% IF backends.size > 1 %]
95
                                <button class="btn btn-default dropdown-toggle" type="button" id="ill-backend-dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
94
                                <button class="btn btn-default dropdown-toggle" type="button" id="ill-backend-dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
96
                                    <i class="fa fa-plus"></i> Create a new request <span class="caret"></span>
95
                                    <i class="fa fa-plus"></i> [% t('Create a new request') %] <span class="caret"></span>
97
                                </button>
96
                                </button>
98
                                <ul id="backend-dropdown-options" class="dropdown-menu nojs" aria-labelledby="ill-backend-dropdown">
97
                                <ul id="backend-dropdown-options" class="dropdown-menu nojs" aria-labelledby="ill-backend-dropdown">
99
                                    [% FOREACH backend IN backends %]
98
                                    [% FOREACH backend IN backends %]
100
                                        <li><a href="/cgi-bin/koha/opac-illrequests.pl?method=create&amp;backend=[% backend %]">[% backend %]</a></li>
99
                                        <li><a href="/cgi-bin/koha/opac-illrequests.pl?method=create&backend=[% backend %]">[% backend %]</a></li>
101
                                    [% END %]
100
                                    [% END %]
102
                                </ul>
101
                                </ul>
103
                        [% ELSE %]
102
                        [% ELSE %]
104
                            <a id="ill-new" class="btn btn-default" href="/cgi-bin/koha/opac-illrequests.pl?method=create&amp;backend=[% backends.0 %]">
103
                            <a id="ill-new" class="btn btn-default" href="/cgi-bin/koha/opac-illrequests.pl?method=create&backend=[% backends.0 %]">
105
                                <i class="fa fa-plus"></i> Create a new request
104
                                <i class="fa fa-plus"></i> [% t('Create a new request') %]
106
                            </a>
105
                            </a>
107
                        [% END %]
106
                        [% END %]
108
                    </div>
107
                    </div>
Lines 110-122 Link Here
110
                    <table id="illrequestlist" class="table table-bordered table-striped">
109
                    <table id="illrequestlist" class="table table-bordered table-striped">
111
                        <thead>
110
                        <thead>
112
                            <tr>
111
                            <tr>
113
                                <th>Author</th>
112
                                <th>[% t('Author') %]</th>
114
                                <th>Title</th>
113
                                <th>[% t('Title') %]</th>
115
                                <th>Requested from</th>
114
                                <th>[% t('Requested from') %]</th>
116
                                <th>Request type</th>
115
                                <th>[% t('Request type') %]</th>
117
                                <th>Status</th>
116
                                <th>[% t('Status') %]</th>
118
                                <th>Request placed</th>
117
                                <th>[% t('Request placed') %]</th>
119
                                <th>Last updated</th>
118
                                <th>[% t('Last updated') %]</th>
120
                                <th></th>
119
                                <th></th>
121
                            </tr>
120
                            </tr>
122
                        </thead>
121
                        </thead>
Lines 132-183 Link Here
132
                                    <td>[% request.placed %]</td>
131
                                    <td>[% request.placed %]</td>
133
                                    <td>[% request.updated %]</td>
132
                                    <td>[% request.updated %]</td>
134
                                    <td>
133
                                    <td>
135
                                        <a href="/cgi-bin/koha/opac-illrequests.pl?method=view&amp;illrequest_id=[% request.id %]" class="btn btn-default btn-small pull-right">View</a>
134
                                        <a href="/cgi-bin/koha/opac-illrequests.pl?method=view&illrequest_id=[% request.id %]" class="btn btn-default btn-small pull-right">[% t('View') %]</a>
136
                                    </td>
135
                                    </td>
137
                                </tr>
136
                                </tr>
138
                            [% END %]
137
                            [% END %]
139
                        </tbody>
138
                        </tbody>
140
                    </table>
139
                    </table>
141
                [% ELSIF method == 'view' %]
140
                [% ELSIF method == 'view' %]
142
                    <h2>View Interlibrary loan request</h2>
141
                    <h2>[% t('View Interlibrary loan request') %]</h2>
143
                    [% INCLUDE messages %]
142
                    [% INCLUDE messages %]
144
                    [% status = request.status %]
143
                    [% status = request.status %]
145
                    <form method="post" action="?method=update" id="illrequestupdate-form" novalidate="novalidate">
144
                    <form method="post" action="?method=update" id="illrequestupdate-form" novalidate="novalidate">
146
                            <fieldset class="rows">
145
                            <fieldset class="rows">
147
                                <legend id="library_legend">Details from library</legend>
146
                                <legend id="library_legend">[% t('Details from library') %]</legend>
148
                                <ol>
147
                                <ol>
149
                                    <li>
148
                                    <li>
150
                                        <label for="backend">Requested from:</label>
149
                                        <label for="backend">[% t('Requested from:') %]</label>
151
                                        [% request.backend %]
150
                                        [% request.backend %]
152
                                    </li>
151
                                    </li>
153
                                    [% IF request.biblio_id %]
152
                                    [% IF request.biblio_id %]
154
                                        <li>
153
                                        <li>
155
                                            <label for="biblio">Requested item:</label>
154
                                            <label for="biblio">[% t('Requested item:') %]</label>
156
                                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% request.biblio_id %]">Click here to view</a>
155
                                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% request.biblio_id %]">[% t('Click here to view') %]</a>
157
                                        </li>
156
                                        </li>
158
                                    [% END %]
157
                                    [% END %]
159
                                    <li>
158
                                    <li>
160
                                        <label for="branchcode">Collection library:</label>
159
                                        <label for="branchcode">[% t('Collection library:') %]</label>
161
                                        [% Branches.GetName(request.branchcode) %]
160
                                        [% Branches.GetName(request.branchcode) %]
162
                                    </li>
161
                                    </li>
163
                                    <li>
162
                                    <li>
164
                                        <label for="status">Status:</label>
163
                                        <label for="status">[% t('Status:') %]</label>
165
                                        [% request.capabilities.$status.name %]
164
                                        [% request.capabilities.$status.name %]
166
                                    </li>
165
                                    </li>
167
                                    <li>
166
                                    <li>
168
                                        <label for="medium">Request type:</label>
167
                                        <label for="medium">[% t('Request type:') %]</label>
169
                                        [% request.medium %]
168
                                        [% request.medium %]
170
                                    </li>
169
                                    </li>
171
                                    <li>
170
                                    <li>
172
                                        <label for="placed">Request placed:</label>
171
                                        <label for="placed">[% t('Request placed:') %]</label>
173
                                        [% request.placed %]
172
                                        [% request.placed %]
174
                                    </li>
173
                                    </li>
175
                                    <li>
174
                                    <li>
176
                                        <label for="updated">Last updated:</label>
175
                                        <label for="updated">[% t('Last updated:') %]</label>
177
                                        [% request.updated %]
176
                                        [% request.updated %]
178
                                    </li>
177
                                    </li>
179
                                    <li>
178
                                    <li>
180
                                        <label for="notesopac">Notes:</label>
179
                                        <label for="notesopac">[% t('Notes:') %]</label>
181
                                        [% IF !request.completed %]
180
                                        [% IF !request.completed %]
182
                                            <textarea name="notesopac" rows="5" cols="50">[% request.notesopac %]</textarea>
181
                                            <textarea name="notesopac" rows="5" cols="50">[% request.notesopac %]</textarea>
183
                                        [% ELSE %]
182
                                        [% ELSE %]
Lines 187-193 Link Here
187
                                </ol>
186
                                </ol>
188
                            </fieldset>
187
                            </fieldset>
189
                            <div class="rows">
188
                            <div class="rows">
190
                                <legend id="backend_legend">Details from [% request.backend %]</legend>
189
                                <legend id="backend_legend">[% t('Details from') %] [% request.backend %]</legend>
191
                                [% FOREACH meta IN request.metadata %]
190
                                [% FOREACH meta IN request.metadata %]
192
                                    <div class="requestattr-[% meta.key %]">
191
                                    <div class="requestattr-[% meta.key %]">
193
                                        <span class="label">[% meta.key %]:</span>
192
                                        <span class="label">[% meta.key %]:</span>
Lines 200-210 Link Here
200
                                <input type="hidden" name="method" value="update">
199
                                <input type="hidden" name="method" value="update">
201
                                [% IF !request.completed %]
200
                                [% IF !request.completed %]
202
                                    [% IF request.status == "NEW" %]
201
                                    [% IF request.status == "NEW" %]
203
                                        <a class="cancel-illrequest btn btn-danger" href="/cgi-bin/koha/opac-illrequests.pl?method=cancreq&amp;illrequest_id=[% request.illrequest_id %]">Request cancellation</a>
202
                                        <a class="cancel-illrequest btn btn-danger" href="/cgi-bin/koha/opac-illrequests.pl?method=cancreq&illrequest_id=[% request.illrequest_id %]">[% t('Request cancellation') %]</a>
204
                                    [% END %]
203
                                    [% END %]
205
                                    <input type="submit" class="update-illrequest btn btn-default" value="Submit modifications">
204
                                    <input type="submit" class="update-illrequest btn btn-default" value="Submit modifications">
206
                                [% END %]
205
                                [% END %]
207
                                <span class="cancel"><a href="/cgi-bin/koha/opac-illrequests.pl">Cancel</a></span>
206
                                <span class="cancel"><a href="/cgi-bin/koha/opac-illrequests.pl">[% t('Cancel') %]</a></span>
208
                            </fieldset>
207
                            </fieldset>
209
                        </form>
208
                        </form>
210
                    [% END %]
209
                    [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-imageviewer.tt (-12 / +13 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Images for: [% biblio.title |html %]</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Images for:') %] [% biblio.title |html %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %]
6
[% BLOCK cssinclude %]
6
    <style>
7
    <style>
Lines 37-43 Link Here
37
38
38
    <div class="main">
39
    <div class="main">
39
        <ul class="breadcrumb">
40
        <ul class="breadcrumb">
40
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
41
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
41
            <li>
42
            <li>
42
                [% IF ( BiblioDefaultViewmarc ) %]
43
                [% IF ( BiblioDefaultViewmarc ) %]
43
                    <a href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblionumber |url %]">
44
                    <a href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblionumber |url %]">
Lines 47-55 Link Here
47
                    [% ELSE %]
48
                    [% ELSE %]
48
                        <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber |url %]">
49
                        <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber |url %]">
49
                    [% END %]
50
                    [% END %]
50
                [% END %][% biblio.title %]</a> <span class="divider">&rsaquo;</span>
51
                [% END %][% biblio.title %]</a> <span class="divider">›</span>
51
            </li>
52
            </li>
52
            <li><a href="#">Images</a></li>
53
            <li><a href="#">[% t('Images') %]</a></li>
53
        </ul>
54
        </ul>
54
55
55
        <div class="container-fluid">
56
        <div class="container-fluid">
Lines 66-79 Link Here
66
                [% END %]
67
                [% END %]
67
                    <div class="row-fluid">
68
                    <div class="row-fluid">
68
                        <div class="span9">
69
                        <div class="span9">
69
                            <h1 class="title">Images for
70
                            <h1 class="title">[% t('Images for') %]
70
                                [% IF ( BiblioDefaultViewmarc ) %]
71
                                [% IF ( BiblioDefaultViewmarc ) %]
71
                                    <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblionumber |url %]" title="View details for this title">
72
                                    <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblionumber |url %]" title="[% t('View details for this title') %]">
72
                                [% ELSE %]
73
                                [% ELSE %]
73
                                    [% IF ( BiblioDefaultViewisbd ) %]
74
                                    [% IF ( BiblioDefaultViewisbd ) %]
74
                                        <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblionumber |url %]" title="View details for this title">
75
                                        <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblionumber |url %]" title="[% t('View details for this title') %]">
75
                                    [% ELSE %]
76
                                    [% ELSE %]
76
                                        <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber |url %]" title="View details for this title">
77
                                        <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber |url %]" title="[% t('View details for this title') %]">
77
                                    [% END %]
78
                                    [% END %]
78
                                [% END %][% biblio.title %]</a> [% biblio.author %]
79
                                [% END %][% biblio.title %]</a> [% biblio.author %]
79
                            </h1>
80
                            </h1>
Lines 94-104 Link Here
94
                                <div id="thumbnails">
95
                                <div id="thumbnails">
95
                                    [% FOREACH img IN images %]
96
                                    [% FOREACH img IN images %]
96
                                        [% IF img %]
97
                                        [% IF img %]
97
                                            <a href="/cgi-bin/koha/opac-imageviewer.pl?biblionumber=[% biblionumber | url %]&amp;imagenumber=[% img %]" onclick="showCover([% img %]); return false;">
98
                                            <a href="/cgi-bin/koha/opac-imageviewer.pl?biblionumber=[% biblionumber | url %]&imagenumber=[% img %]" onclick="showCover([% img %]); return false;">
98
                                            [% IF ( imagenumber == img ) %]
99
                                            [% IF ( imagenumber == img ) %]
99
                                                <img class="thumbnail selected" id="[% img %]" src="/cgi-bin/koha/opac-image.pl?imagenumber=[% img %]&amp;thumbnail=1" alt="Thumbnail"/>
100
                                                <img class="thumbnail selected" id="[% img %]" src="/cgi-bin/koha/opac-image.pl?imagenumber=[% img %]&thumbnail=1" alt="[% t('Thumbnail') %]" />
100
                                            [% ELSE %]
101
                                            [% ELSE %]
101
                                                <img class="thumbnail" id="[% img %]" src="/cgi-bin/koha/opac-image.pl?imagenumber=[% img %]&amp;thumbnail=1" alt="Thumbnail"/>
102
                                                <img class="thumbnail" id="[% img %]" src="/cgi-bin/koha/opac-image.pl?imagenumber=[% img %]&thumbnail=1" alt="[% t('Thumbnail') %]" />
102
                                            [% END %]
103
                                            [% END %]
103
                                            </a>
104
                                            </a>
104
                                        [% END %]
105
                                        [% END %]
Lines 106-112 Link Here
106
                                </div>
107
                                </div>
107
                            </div>
108
                            </div>
108
                        [% ELSE %]
109
                        [% ELSE %]
109
                            Unfortunately, images are not enabled for this catalog at this time.
110
                            [% t('Unfortunately, images are not enabled for this catalog at this time.') %]
110
                        [% END %]
111
                        [% END %]
111
                    </div> <!-- / .row-fluid -->
112
                    </div> <!-- / .row-fluid -->
112
                </div> <!-- / .span10/12 -->
113
                </div> <!-- / .span10/12 -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-issue-note.tt (-8 / +9 lines)
Lines 1-8 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% USE Branches %]
4
[% USE Branches %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your library home</title>
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Your library home') %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% BLOCK cssinclude %][% END %]
8
[% BLOCK cssinclude %][% END %]
8
</head>
9
</head>
Lines 11-19 Link Here
11
12
12
<div class="main">
13
<div class="main">
13
    <ul class="breadcrumb">
14
    <ul class="breadcrumb">
14
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
15
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
15
        <li><a href="/cgi-bin/koha/opac-user.pl">[% firstname %] [% surname %]</a><span class="divider">&rsaquo;</span></li>
16
        <li><a href="/cgi-bin/koha/opac-user.pl">[% firstname %] [% surname %]</a><span class="divider">›</span></li>
16
        <li><a href="#">Editing issue note for [% ISSUE.title %] - [% ISSUE.author %]</a></li>
17
        <li><a href="#">[% t('Editing issue note for') %] [% ISSUE.title %] - [% ISSUE.author %]</a></li>
17
    </ul>
18
    </ul>
18
19
19
    <div class="container-fluid">
20
    <div class="container-fluid">
Lines 25-37 Link Here
25
            </div>
26
            </div>
26
            <div class="span10">
27
            <div class="span10">
27
                <div id="issuenote" class="maincontent">
28
                <div id="issuenote" class="maincontent">
28
                    <h3>Editing issue note for [% title %] [% author %]</h3>
29
                    <h3>[% t('Editing issue note for') %] [% title %] [% author %]</h3>
29
                        [% IF not(Koha.Preference("AllowCheckoutNotes")) %]
30
                        [% IF not(Koha.Preference("AllowCheckoutNotes")) %]
30
                            Issue notes have not been enabled. Please contact the library.
31
                            [% t('Issue notes have not been enabled. Please contact the library.') %]
31
                        [% ELSE %]
32
                        [% ELSE %]
32
                            <form id="issue-note" action="/cgi-bin/koha/opac-issue-note.pl" method="post">
33
                            <form id="issue-note" action="/cgi-bin/koha/opac-issue-note.pl" method="post">
33
                                <fieldset>
34
                                <fieldset>
34
                                    <label for="note" class="required">Note:</label>
35
                                    <label for="note" class="required">[% t('Note:') %]</label>
35
                                    <input type="text" name="note" value="[% note %]">
36
                                    <input type="text" name="note" value="[% note %]">
36
                                    <input type="hidden" name="borrowernumber" value="[% borrowernumber %]">
37
                                    <input type="hidden" name="borrowernumber" value="[% borrowernumber %]">
37
                                    <input type="hidden" name="itemnumber" value="[% itemnumber %]">
38
                                    <input type="hidden" name="itemnumber" value="[% itemnumber %]">
Lines 39-45 Link Here
39
                                    <input type="hidden" name="action" value="issuenote">
40
                                    <input type="hidden" name="action" value="issuenote">
40
                                </fieldset>
41
                                </fieldset>
41
                                <fieldset class="action">
42
                                <fieldset class="action">
42
                                    <input type="submit" value="Submit note" class="btn btn-default btn-sm"><a href="/cgi-bin/koha/opac-user.pl" class="cancel">Cancel</a>
43
                                    <input type="submit" value="Submit note" class="btn btn-default btn-sm"><a href="/cgi-bin/koha/opac-user.pl" class="cancel">[% t('Cancel') %]</a>
43
                                </fieldset>
44
                                </fieldset>
44
                            </form> <!-- issue-note -->
45
                            </form> <!-- issue-note -->
45
                        [% END %]
46
                        [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt (-23 / +24 lines)
Lines 1-8 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE Price %]
4
[% USE Price %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog</title>
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog') %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% BLOCK cssinclude %][% END %]
8
[% BLOCK cssinclude %][% END %]
8
</head>
9
</head>
Lines 11-17 Link Here
11
12
12
<div class="main">
13
<div class="main">
13
    <ul class="breadcrumb">
14
    <ul class="breadcrumb">
14
        <li><a href="#">Home</a></li>
15
        <li><a href="#">[% t('Home') %]</a></li>
15
    </ul>
16
    </ul>
16
17
17
    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
18
    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
Lines 44-55 Link Here
44
    [% END %]
45
    [% END %]
45
            [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
46
            [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
46
                <form id="news-branch-select" class="form-inline" name="news-branch-select" method="get" action="/cgi-bin/koha/opac-main.pl">
47
                <form id="news-branch-select" class="form-inline" name="news-branch-select" method="get" action="/cgi-bin/koha/opac-main.pl">
47
                <label for="news-branch">Display news for: </label>
48
                <label for="news-branch">[% t('Display news for:') %] </label>
48
                <select id="news-branch" name="branch">
49
                <select id="news-branch" name="branch">
49
                [% IF ( branchcode == "" ) %]
50
                [% IF ( branchcode == "" ) %]
50
                <option value="" selected="selected">system-wide only</option>
51
                <option value="" selected="selected">[% t('system-wide only') %]</option>
51
                [% ELSE %]
52
                [% ELSE %]
52
                <option value=""         >system-wide only</option>
53
                <option value="">[% t('system-wide only') %]</option>
53
                [% END %]
54
                [% END %]
54
                [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode, unfiltered => 1, ) %]
55
                [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode, unfiltered => 1, ) %]
55
                </select>
56
                </select>
Lines 64-70 Link Here
64
                    <div class="newsitem">
65
                    <div class="newsitem">
65
                        <a name="newsitem[% koha_new.idnew %]"></a><h4 class="newsheader">[% koha_new.title %]</h4>
66
                        <a name="newsitem[% koha_new.idnew %]"></a><h4 class="newsheader">[% koha_new.title %]</h4>
66
                        <div class="newsbody">[% koha_new.content %]</div>
67
                        <div class="newsbody">[% koha_new.content %]</div>
67
                        <div class="newsfooter">(published on [% koha_new.newdate %][% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title %] </span>[% koha_new.author_firstname %] [% koha_new.author_surname %][% END %])</div>
68
                        <div class="newsfooter">[% t('(published on') %] [% koha_new.newdate %][% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] [% t('by') %] <span class="newsauthor_title">[% koha_new.author_title %] </span>[% koha_new.author_firstname %] [% koha_new.author_surname %][% END %])</div>
68
                    </div>
69
                    </div>
69
                [% END %]
70
                [% END %]
70
            </div>
71
            </div>
Lines 73-87 Link Here
73
                <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-news-rss.pl?branchcode=[% branchcode %]"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png"></a>
74
                <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-news-rss.pl?branchcode=[% branchcode %]"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png"></a>
74
                [% IF Branches.all.size == 1 %]
75
                [% IF Branches.all.size == 1 %]
75
                    [% IF branchcode %]
76
                    [% IF branchcode %]
76
                        RSS feed for [% Branches.GetName( branchcode ) %] library news.
77
                        [% t('RSS feed for') %] [% Branches.GetName( branchcode ) %] [% t('library news.') %]
77
                    [% ELSE %]
78
                    [% ELSE %]
78
                        RSS feed for library news.
79
                        [% t('RSS feed for library news.') %]
79
                    [% END %]
80
                    [% END %]
80
                [% ELSE %]
81
                [% ELSE %]
81
                    [% IF branchcode %]
82
                    [% IF branchcode %]
82
                        RSS feed for [% Branches.GetName( branchcode ) %] and system-wide library news.
83
                        [% t('RSS feed for') %] [% Branches.GetName( branchcode ) %] [% t('and system-wide library news.') %]
83
                    [% ELSE %]
84
                    [% ELSE %]
84
                        RSS feed for system-wide library news.
85
                        [% t('RSS feed for system-wide library news.') %]
85
                    [% END %]
86
                    [% END %]
86
                [% END %]
87
                [% END %]
87
            </div>
88
            </div>
Lines 89-95 Link Here
89
                [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
90
                [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
90
                    <div id="news" class="newscontainer">
91
                    <div id="news" class="newscontainer">
91
                        <div class="newsitem">
92
                        <div class="newsitem">
92
                            <div class="newsbody">No news to display.</div>
93
                            <div class="newsbody">[% t('No news to display.') %]</div>
93
                            <div class="newsfooter"></div>
94
                            <div class="newsfooter"></div>
94
                        </div>
95
                        </div>
95
                    </div>
96
                    </div>
Lines 98-104 Link Here
98
99
99
        [% IF ( display_daily_quote && daily_quote ) %]
100
        [% IF ( display_daily_quote && daily_quote ) %]
100
            <div id="daily-quote">
101
            <div id="daily-quote">
101
                <h3>Quote of the day</h3>
102
                <h3>[% t('Quote of the day') %]</h3>
102
                <div>
103
                <div>
103
                    <span id="daily-quote-text">[% daily_quote.text %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source %]</span>
104
                    <span id="daily-quote-text">[% daily_quote.text %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source %]</span>
104
                </div>
105
                </div>
Lines 117-125 Link Here
117
                                <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth" autocomplete="off">
118
                                <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth" autocomplete="off">
118
                                    <input type="hidden" name="koha_login_context" value="opac" />
119
                                    <input type="hidden" name="koha_login_context" value="opac" />
119
                                    <fieldset class="brief">
120
                                    <fieldset class="brief">
120
                                        <legend>Log in to your account:</legend>
121
                                        <legend>[% t('Log in to your account:') %]</legend>
121
                                        <label for="userid">Login:</label><input type="text" id="userid" name="userid" />
122
                                        <label for="userid">[% t('Login:') %]</label><input type="text" id="userid" name="userid" />
122
                                        <label for="password">Password:</label><input type="password" id="password" name="password" />
123
                                        <label for="password">[% t('Password:') %]</label><input type="password" id="password" name="password" />
123
                                        <fieldset class="action">
124
                                        <fieldset class="action">
124
                                            <input type="submit" value="Log in" class="btn" />
125
                                            <input type="submit" value="Log in" class="btn" />
125
                                        </fieldset>
126
                                        </fieldset>
Lines 130-141 Link Here
130
                                        [% END %]
131
                                        [% END %]
131
                                        [% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %]
132
                                        [% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %]
132
                                            <div id="forgotpassword-main" class="forgotpassword">
133
                                            <div id="forgotpassword-main" class="forgotpassword">
133
                                                <p><a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a></p>
134
                                                <p><a href="/cgi-bin/koha/opac-password-recovery.pl">[% t('Forgot your password?') %]</a></p>
134
                                            </div>
135
                                            </div>
135
                                        [% END %]
136
                                        [% END %]
136
                                        [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]
137
                                        [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]
137
                                            <div id="patronregistration-main" class="patronregistration">
138
                                            <div id="patronregistration-main" class="patronregistration">
138
                                                <p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p>
139
                                                <p>[% t('Don\'t have an account?') %] <a href="/cgi-bin/koha/opac-memberentry.pl">[% t('Register here.') %]</a></p>
139
                                            </div>
140
                                            </div>
140
                                        [% END %]
141
                                        [% END %]
141
                                    </fieldset>
142
                                    </fieldset>
Lines 145-166 Link Here
145
                    [% ELSE %]
146
                    [% ELSE %]
146
                        [% IF Koha.Preference('OPACUserSummary') && dashboard_info %]
147
                        [% IF Koha.Preference('OPACUserSummary') && dashboard_info %]
147
                            <div id="user_summary">
148
                            <div id="user_summary">
148
                                <h3>Welcome, <a href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</span></a></h3>
149
                                <h3>[% t('Welcome,') %] <a href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</span></a></h3>
149
                                <ul id="user_summary_shortcuts">
150
                                <ul id="user_summary_shortcuts">
150
                                    [% IF checkouts && checkouts > 0 %]
151
                                    [% IF checkouts && checkouts > 0 %]
151
                                        <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-checkouts"><span class="user_checkouts_count count_label">[% checkouts %]</span> checkout(s)</a></li>
152
                                        <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-checkouts"><span class="user_checkouts_count count_label">[% checkouts %]</span> [% t('checkout(s)') %]</a></li>
152
                                    [% END %]
153
                                    [% END %]
153
                                    [% IF overdues && overdues > 0 %]
154
                                    [% IF overdues && overdues > 0 %]
154
                                        <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-overdues"><span class="user_overdues_count count_label">[% overdues %]</span> overdue(s)</a></li>
155
                                        <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-overdues"><span class="user_overdues_count count_label">[% overdues %]</span> [% t('overdue(s)') %]</a></li>
155
                                    [% END %]
156
                                    [% END %]
156
                                    [% IF holds_pending && holds_pending > 0 %]
157
                                    [% IF holds_pending && holds_pending > 0 %]
157
                                        <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds"><span class="user_holds_pending_count count_label">[% holds_pending %]</span> hold(s) pending</a></li>
158
                                        <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds"><span class="user_holds_pending_count count_label">[% holds_pending %]</span> [% t('hold(s) pending') %]</a></li>
158
                                    [% END %]
159
                                    [% END %]
159
                                    [% IF holds_waiting && holds_waiting > 0 %]
160
                                    [% IF holds_waiting && holds_waiting > 0 %]
160
                                        <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds"><span class="user_holds_waiting_count count_label">[% holds_waiting %]</span> hold(s) waiting</a></li>
161
                                        <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds"><span class="user_holds_waiting_count count_label">[% holds_waiting %]</span> [% t('hold(s) waiting') %]</a></li>
161
                                    [% END %]
162
                                    [% END %]
162
                                    [% IF total_owing && total_owing > 0 %]
163
                                    [% IF total_owing && total_owing > 0 %]
163
                                        <li><a href="/cgi-bin/koha/opac-account.pl"><span class="user_fines_count count_label">[% total_owing | $Price with_symbol => 1 %]</span> due in fines and charges</a></li>
164
                                        <li><a href="/cgi-bin/koha/opac-account.pl"><span class="user_fines_count count_label">[% total_owing | $Price with_symbol => 1 %]</span> [% t('due in fines and charges') %]</a></li>
164
                                    [% END %]
165
                                    [% END %]
165
                                </ul>
166
                                </ul>
166
                            </div>
167
                            </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry-update-submitted.tt (-6 / +7 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Updates submitted</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Updates submitted') %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
Lines 9-17 Link Here
9
10
10
    <div class="main">
11
    <div class="main">
11
        <ul class="breadcrumb">
12
        <ul class="breadcrumb">
12
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
13
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
13
            <li><a href="/cgi-bin/koha/opac-user.pl">[% borrower.firstname %] [% borrower.surname %]</a> <span class="divider">&rsaquo;</span></li>
14
            <li><a href="/cgi-bin/koha/opac-user.pl">[% borrower.firstname %] [% borrower.surname %]</a> <span class="divider">›</span></li>
14
            <li><a href="#">Updates to your record</a></li>
15
            <li><a href="#">[% t('Updates to your record') %]</a></li>
15
        </ul>
16
        </ul>
16
17
17
        <div class="container-fluid">
18
        <div class="container-fluid">
Lines 24-31 Link Here
24
                <div class="span10">
25
                <div class="span10">
25
                    <div id="update-submitted">
26
                    <div id="update-submitted">
26
                        <div class="alert alert-success">
27
                        <div class="alert alert-success">
27
                            <h3>Thank you</h3>
28
                            <h3>[% t('Thank you') %]</h3>
28
                            <p>Your updates have been submitted. A librarian will review your updates before applying them.</p>
29
                            <p>[% t('Your updates have been submitted. A librarian will review your updates before applying them.') %]</p>
29
                        </div>
30
                        </div>
30
                    </div>
31
                    </div>
31
                </div>
32
                </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt (-180 / +181 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
3
[% USE Categories %]
4
[% USE Categories %]
Lines 8-14 Link Here
8
[% SET userupdateview = 1 %]
9
[% SET userupdateview = 1 %]
9
10
10
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
11
    <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; [% IF action == 'edit' %]Update your personal details[% ELSE %]Register a new account[% END %]</title>
12
    <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %] [% IF action == 'edit' %][% t('Update your personal details') %][% ELSE %][% t('Register a new account') %][% END %]</title>
12
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
13
[% BLOCK cssinclude %][% END %]
14
[% BLOCK cssinclude %][% END %]
14
</head>
15
</head>
Lines 22-33 Link Here
22
23
23
<div class="main">
24
<div class="main">
24
    <ul class="breadcrumb">
25
    <ul class="breadcrumb">
25
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
26
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
26
        [% IF action == 'edit' %]
27
        [% IF action == 'edit' %]
27
            <li><a href="/cgi-bin/koha/opac-user.pl">[% borrower.firstname %] [% borrower.surname %]</a> <span class="divider">&rsaquo;</span></li>
28
            <li><a href="/cgi-bin/koha/opac-user.pl">[% borrower.firstname %] [% borrower.surname %]</a> <span class="divider">›</span></li>
28
            <li><a href="#">Your personal details</a></li>
29
            <li><a href="#">[% t('Your personal details') %]</a></li>
29
        [% ELSE %]
30
        [% ELSE %]
30
            <li><a href="#">Register a new account</a></li>
31
            <li><a href="#">[% t('Register a new account') %]</a></li>
31
        [% END %]
32
        [% END %]
32
    </ul>
33
    </ul>
33
34
Lines 47-131 Link Here
47
48
48
                [% IF action == 'edit' %]
49
                [% IF action == 'edit' %]
49
                    [% UNLESS OPACPatronDetails %]
50
                    [% UNLESS OPACPatronDetails %]
50
                        <div class="alert alert-info">To make changes to your record please contact the library.</div>
51
                        <div class="alert alert-info">[% t('To make changes to your record please contact the library.') %]</div>
51
                    [% END %]
52
                    [% END %]
52
                    [% IF nochanges %]
53
                    [% IF nochanges %]
53
                        <div class="alert alert-error">No changes were made.</div>
54
                        <div class="alert alert-error">[% t('No changes were made.') %]</div>
54
                    [% END %]
55
                    [% END %]
55
                [% END %]
56
                [% END %]
56
57
57
                [% IF empty_mandatory_fields %]
58
                [% IF empty_mandatory_fields %]
58
                    <div class="alert">You have not filled out all required fields. Please fill in all missing fields and resubmit.</div>
59
                    <div class="alert">[% t('You have not filled out all required fields. Please fill in all missing fields and resubmit.') %]</div>
59
                [% END %]
60
                [% END %]
60
61
61
                [% IF invalid_form_fields %]
62
                [% IF invalid_form_fields %]
62
                    <div class="alert alert-error"><strong>The following fields contain invalid information:</strong>
63
                    <div class="alert alert-error"><strong>[% t('The following fields contain invalid information:') %]</strong>
63
                        <ul>
64
                        <ul>
64
                            [% FOREACH field IN invalid_form_fields %]
65
                            [% FOREACH field IN invalid_form_fields %]
65
                                [% IF field == "email" %]<li>Contact information: <a href="#borrower_email">primary email address</a></li>[% END %]
66
                                [% IF field == "email" %]<li>[% t('Contact information:') %] <a href="#borrower_email">[% t('primary email address') %]</a></li>[% END %]
66
                                [% IF field == "emailpro" %]<li>Contact information: <a href="#borrower_emailpro">secondary email address</a></li>[% END %]
67
                                [% IF field == "emailpro" %]<li>[% t('Contact information:') %] <a href="#borrower_emailpro">[% t('secondary email address') %]</a></li>[% END %]
67
                                [% IF field == "B_email" %]<li>Alternate address information: <a href="#borrower_B_email">email address</a></li>[% END %]
68
                                [% IF field == "B_email" %]<li>[% t('Alternate address information:') %] <a href="#borrower_B_email">[% t('email address') %]</a></li>[% END %]
68
                                [% IF field == "password_match" %]<li>Passwords do not match! <a href="#password">password</a></li>[% END %]
69
                                [% IF field == "password_match" %]<li>[% t('Passwords do not match!') %] <a href="#password">[% t('password') %]</a></li>[% END %]
69
                                [% IF field == "password_too_short" %]
70
                                [% IF field == "password_too_short" %]
70
                                    <li>Password must be at least [% minPasswordLength %] characters long.</li>
71
                                    <li>[% t('Password must be at least') %] [% minPasswordLength %] [% t('characters long.') %]</li>
71
                                [% END %]
72
                                [% END %]
72
                                [% IF field == "password_too_weak" %]
73
                                [% IF field == "password_too_weak" %]
73
                                    <li>Password must contain at least one digit, one lowercase and one uppercase.</li>
74
                                    <li>[% t('Password must contain at least one digit, one lowercase and one uppercase.') %]</li>
74
                                [% END %]
75
                                [% END %]
75
                                [% IF field == "password_has_whitespaces" %]
76
                                [% IF field == "password_has_whitespaces" %]
76
                                    <li>Password must not contain leading or trailing whitespaces.</li>
77
                                    <li>[% t('Password must not contain leading or trailing whitespaces.') %]</li>
77
                                [% END %]
78
                                [% END %]
78
                                [% IF field == "duplicate_email" %]
79
                                [% IF field == "duplicate_email" %]
79
                                    <li>This email address already exists in our database.</li>
80
                                    <li>[% t('This email address already exists in our database.') %]</li>
80
                                [% END %]
81
                                [% END %]
81
                            [% END %]
82
                            [% END %]
82
                        </ul>
83
                        </ul>
83
                        <span>Please correct and resubmit.</span>
84
                        <span>[% t('Please correct and resubmit.') %]</span>
84
                    </div>
85
                    </div>
85
                [% END %]
86
                [% END %]
86
87
87
                [% IF cardnumber_wrong_length || cardnumber_already_exists %]
88
                [% IF cardnumber_wrong_length || cardnumber_already_exists %]
88
                    <div class="alert alert-error">
89
                    <div class="alert alert-error">
89
                        [% IF cardnumber_wrong_length %]
90
                        [% IF cardnumber_wrong_length %]
90
                        <a href="#borrower_cardnumber"><strong>The entered card number is the wrong length.</strong></a>
91
                        <a href="#borrower_cardnumber"><strong>[% t('The entered card number is the wrong length.') %]</strong></a>
91
                        [% ELSIF cardnumber_already_exists %]
92
                        [% ELSIF cardnumber_already_exists %]
92
                        <a href="#borrower_cardnumber"><strong>The entered card number is already in use.</strong></a>
93
                        <a href="#borrower_cardnumber"><strong>[% t('The entered card number is already in use.') %]</strong></a>
93
                        [% END %]
94
                        [% END %]
94
                        <span>Please correct and resubmit.</span>
95
                        <span>[% t('Please correct and resubmit.') %]</span>
95
                    </div>
96
                    </div>
96
                [% END %]
97
                [% END %]
97
98
98
                [% IF failed_captcha %]
99
                [% IF failed_captcha %]
99
                    <div class="alert">You typed in the wrong characters in the box before submitting. Please try again.</div>
100
                    <div class="alert">[% t('You typed in the wrong characters in the box before submitting. Please try again.') %]</div>
100
                [% END %]
101
                [% END %]
101
102
102
                [% IF borrower.guarantorid && !Koha.Preference('OPACPrivacy') && Koha.Preference('AllowPatronToSetCheckoutsVisibilityForGuarantor') %]
103
                [% IF borrower.guarantorid && !Koha.Preference('OPACPrivacy') && Koha.Preference('AllowPatronToSetCheckoutsVisibilityForGuarantor') %]
103
                    <fieldset class="rows" id="memberentry_privacy">
104
                    <fieldset class="rows" id="memberentry_privacy">
104
                        <legend id="privacy_legend">Privacy</legend>
105
                        <legend id="privacy_legend">[% t('Privacy') %]</legend>
105
                        <ol>
106
                        <ol>
106
                            <li>
107
                            <li>
107
                                <label>Allow your guarantor to view your current checkouts?</label>
108
                                <label>[% t('Allow your guarantor to view your current checkouts?') %]</label>
108
                                <select id="privacy_guarantor_checkouts">
109
                                <select id="privacy_guarantor_checkouts">
109
                                    <option value="0">No</option>
110
                                    <option value="0">[% t('No') %]</option>
110
                                    [% IF borrower.privacy_guarantor_checkouts %]
111
                                    [% IF borrower.privacy_guarantor_checkouts %]
111
                                        <option value="1" selected="selected">Yes</option>
112
                                        <option value="1" selected="selected">[% t('Yes') %]</option>
112
                                    [% ELSE %]
113
                                    [% ELSE %]
113
                                        <option value="1">Yes</option>
114
                                        <option value="1">[% t('Yes') %]</option>
114
                                    [% END %]
115
                                    [% END %]
115
                                </select>
116
                                </select>
116
                                <span class="hint">
117
                                <span class="hint">
117
                                    <a id="update_privacy_guarantor_checkouts" href="#" class="btn">Update</a>
118
                                    <a id="update_privacy_guarantor_checkouts" href="#" class="btn">[% t('Update') %]</a>
118
                                    <span id="update_privacy_guarantor_checkouts_message" class="alert" style="display:none"></span>
119
                                    <span id="update_privacy_guarantor_checkouts_message" class="alert" style="display:none"></span>
119
                                </span>
120
                                </span>
120
                                <span class="hint">
121
                                <span class="hint">
121
                                    Your guarantor is <i>[% guarantor.firstname %] [% guarantor.surname %]</i>
122
                                    [% t('Your guarantor is') %] <i>[% guarantor.firstname %] [% guarantor.surname %]</i>
122
                                </span>
123
                                </span>
123
                            </li>
124
                            </li>
124
                        </ol>
125
                        </ol>
125
                    </fieldset>
126
                    </fieldset>
126
                [% END %]
127
                [% END %]
127
                [% IF ( extended_unique_id_failed_code ) %]
128
                [% IF ( extended_unique_id_failed_code ) %]
128
                    <div class="alert" id="extended_unique_id_failed"><a href="#patron-attr-start-[% extended_unique_id_failed_code %]">[% extended_unique_id_failed_description _ ': ' %]</a> Value is already in use ([% extended_unique_id_failed_value %])</div>
129
                    <div class="alert" id="extended_unique_id_failed"><a href="#patron-attr-start-[% extended_unique_id_failed_code %]">[% extended_unique_id_failed_description _ ': ' %]</a> [% t('Value is already in use (') %][% extended_unique_id_failed_value %])</div>
129
                [% END %]
130
                [% END %]
130
131
131
                <form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form" autocomplete="off">
132
                <form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form" autocomplete="off">
Lines 134-167 Link Here
134
                [% UNLESS ( hidden.defined('cardnumber') || ( !borrower && Koha.Preference('autoMemberNum') ) ) && hidden.defined('dateexpiry') && hidden.defined('branchcode') && hidden.defined('categorycode') %]
135
                [% UNLESS ( hidden.defined('cardnumber') || ( !borrower && Koha.Preference('autoMemberNum') ) ) && hidden.defined('dateexpiry') && hidden.defined('branchcode') && hidden.defined('categorycode') %]
135
                    <fieldset class="rows" id="memberentry_library">
136
                    <fieldset class="rows" id="memberentry_library">
136
137
137
                        <legend id="library_legend">Library</legend>
138
                        <legend id="library_legend">[% t('Library') %]</legend>
138
                            <ol>
139
                            <ol>
139
                                [% UNLESS hidden.defined('cardnumber') || ( !borrower && Koha.Preference('autoMemberNum') ) %]
140
                                [% UNLESS hidden.defined('cardnumber') || ( !borrower && Koha.Preference('autoMemberNum') ) %]
140
                                <li>
141
                                <li>
141
                                    [% IF mandatory.defined('cardnumber') %]
142
                                    [% IF mandatory.defined('cardnumber') %]
142
                                        <label for="borrower_cardnumber" class="required">Library card number:</label>
143
                                        <label for="borrower_cardnumber" class="required">[% t('Library card number:') %]</label>
143
                                    [% ELSE %]
144
                                    [% ELSE %]
144
                                        <label for="borrower_cardnumber">Library card number:</label>
145
                                        <label for="borrower_cardnumber">[% t('Library card number:') %]</label>
145
                                    [% END %]
146
                                    [% END %]
146
                                    [% IF borrower && !(cardnumber_wrong_length || cardnumber_already_exists) %]
147
                                    [% IF borrower && !(cardnumber_wrong_length || cardnumber_already_exists) %]
147
                                        [% borrower.cardnumber %]
148
                                        [% borrower.cardnumber %]
148
                                    [% ELSE %]
149
                                    [% ELSE %]
149
                                        [% IF minlength_cardnumber == maxlength_cardnumber %]
150
                                        [% IF minlength_cardnumber == maxlength_cardnumber %]
150
                                            <input type="text" id="borrower_cardnumber" name="borrower_cardnumber" size="20" value="[% borrower.cardnumber %]" minlength="[% minlength_cardnumber %]" maxlength="[% maxlength_cardnumber %]" />
151
                                            <input type="text" id="borrower_cardnumber" name="borrower_cardnumber" size="20" value="[% borrower.cardnumber %]" minlength="[% minlength_cardnumber %]" maxlength="[% maxlength_cardnumber %]" />
151
                                            [% IF ( mandatory.defined('cardnumber') ) %]<span class="required">Required</span>[% END %]
152
                                            [% IF ( mandatory.defined('cardnumber') ) %]<span class="required">[% t('Required') %]</span>[% END %]
152
                                            <div class="hint">Card number must be exactly [% minlength_cardnumber %] characters.</div>
153
                                            <div class="hint">[% t('Card number must be exactly') %] [% minlength_cardnumber %] [% t('characters.') %]</div>
153
                                        [% ELSIF minlength_cardnumber && maxlength_cardnumber %]
154
                                        [% ELSIF minlength_cardnumber && maxlength_cardnumber %]
154
                                            <input type="text" id="borrower_cardnumber" name="borrower_cardnumber" size="20" value="[% borrower.cardnumber %]" minlength="[% minlength_cardnumber %]" maxlength="[% maxlength_cardnumber %]" />
155
                                            <input type="text" id="borrower_cardnumber" name="borrower_cardnumber" size="20" value="[% borrower.cardnumber %]" minlength="[% minlength_cardnumber %]" maxlength="[% maxlength_cardnumber %]" />
155
                                            [% IF ( mandatory.defined('cardnumber') ) %]<span class="required">Required</span>[% END %]
156
                                            [% IF ( mandatory.defined('cardnumber') ) %]<span class="required">[% t('Required') %]</span>[% END %]
156
                                            <div class="hint">Card number must be between [% minlength_cardnumber %] and [% maxlength_cardnumber %] characters.</div>
157
                                            <div class="hint">[% t('Card number must be between') %] [% minlength_cardnumber %] [% t('and') %] [% maxlength_cardnumber %] [% t('characters.') %]</div>
157
                                        [% ELSIF maxlength_cardnumber %]
158
                                        [% ELSIF maxlength_cardnumber %]
158
                                            <input type="text" id="borrower_cardnumber" name="borrower_cardnumber" size="20" value="[% borrower.cardnumber %]" maxlength="[% maxlength_cardnumber %]" />
159
                                            <input type="text" id="borrower_cardnumber" name="borrower_cardnumber" size="20" value="[% borrower.cardnumber %]" maxlength="[% maxlength_cardnumber %]" />
159
                                            [% IF ( mandatory.defined('cardnumber') ) %]<span class="required">Required</span>[% END %]
160
                                            [% IF ( mandatory.defined('cardnumber') ) %]<span class="required">[% t('Required') %]</span>[% END %]
160
                                            <div class="hint">Card number can be up to [% maxlength_cardnumber %] characters.</div>
161
                                            <div class="hint">[% t('Card number can be up to') %] [% maxlength_cardnumber %] [% t('characters.') %]</div>
161
                                        [% ELSE %]
162
                                        [% ELSE %]
162
                                            <input type="text" id="borrower_cardnumber" name="borrower_cardnumber" size="20" value="[% borrower.cardnumber %]" />
163
                                            <input type="text" id="borrower_cardnumber" name="borrower_cardnumber" size="20" value="[% borrower.cardnumber %]" />
163
                                            [% IF ( mandatory.defined('cardnumber') ) %]<span class="required">Required</span>[% END %]
164
                                            [% IF ( mandatory.defined('cardnumber') ) %]<span class="required">[% t('Required') %]</span>[% END %]
164
                                            <div class="hint">There is no minimum or maximum character length.</div>
165
                                            <div class="hint">[% t('There is no minimum or maximum character length.') %]</div>
165
                                        [% END %]
166
                                        [% END %]
166
                                    [% END %]
167
                                    [% END %]
167
                                </li>
168
                                </li>
Lines 169-175 Link Here
169
170
170
                                [% UNLESS hidden.defined('dateexpiry') %]
171
                                [% UNLESS hidden.defined('dateexpiry') %]
171
                                <li>
172
                                <li>
172
                                    <label>Expiration date:</label>
173
                                    <label>[% t('Expiration date:') %]</label>
173
                                    [% borrower.dateexpiry | $KohaDates  %]
174
                                    [% borrower.dateexpiry | $KohaDates  %]
174
                                </li>
175
                                </li>
175
                                [% END %]
176
                                [% END %]
Lines 177-185 Link Here
177
                                [% UNLESS hidden.defined('branchcode') %]
178
                                [% UNLESS hidden.defined('branchcode') %]
178
                                    <li>
179
                                    <li>
179
                                        [% IF mandatory.defined('branchcode') %]
180
                                        [% IF mandatory.defined('branchcode') %]
180
                                            <label for="borrower_branchcode" class="required">Home library:</label>
181
                                            <label for="borrower_branchcode" class="required">[% t('Home library:') %]</label>
181
                                        [% ELSE %]
182
                                        [% ELSE %]
182
                                            <label for="borrower_branchcode">Home library:</label>
183
                                            <label for="borrower_branchcode">[% t('Home library:') %]</label>
183
                                        [% END %]
184
                                        [% END %]
184
185
185
                                        <select id="borrower_branchcode" name="borrower_branchcode">
186
                                        <select id="borrower_branchcode" name="borrower_branchcode">
Lines 197-203 Link Here
197
                                [% UNLESS hidden.defined('categorycode') %]
198
                                [% UNLESS hidden.defined('categorycode') %]
198
                                    <li>
199
                                    <li>
199
                                        <label for="borrower_categorycode">
200
                                        <label for="borrower_categorycode">
200
                                        Category:</label>
201
                                        [% t('Category:') %]</label>
201
202
202
                                        [% IF borrower %]
203
                                        [% IF borrower %]
203
                                            [% Categories.GetName( borrower.categorycode ) %]
204
                                            [% Categories.GetName( borrower.categorycode ) %]
Lines 228-242 Link Here
228
                            <div class="span12">
229
                            <div class="span12">
229
                        [% END %]
230
                        [% END %]
230
                            <fieldset class="rows" id="memberentry_identity">
231
                            <fieldset class="rows" id="memberentry_identity">
231
                                <legend id="identity_legend">Identity</legend>
232
                                <legend id="identity_legend">[% t('Identity') %]</legend>
232
233
233
                                <ol>
234
                                <ol>
234
                                    [% UNLESS hidden.defined('title') || !Koha.Preference('BorrowersTitles') %]
235
                                    [% UNLESS hidden.defined('title') || !Koha.Preference('BorrowersTitles') %]
235
                                        <li>
236
                                        <li>
236
                                            [% IF mandatory.defined('title') %]
237
                                            [% IF mandatory.defined('title') %]
237
                                                <label for="borrower_title" class="required">Salutation:</label>
238
                                                <label for="borrower_title" class="required">[% t('Salutation:') %]</label>
238
                                            [% ELSE %]
239
                                            [% ELSE %]
239
                                                <label for="borrower_title">Salutation:</label>
240
                                                <label for="borrower_title">[% t('Salutation:') %]</label>
240
                                            [% END %]
241
                                            [% END %]
241
242
242
                                            <select id="borrower_title" name="borrower_title">
243
                                            <select id="borrower_title" name="borrower_title">
Lines 255-353 Link Here
255
                                    [% UNLESS hidden.defined('surname') %]
256
                                    [% UNLESS hidden.defined('surname') %]
256
                                        <li>
257
                                        <li>
257
                                            [% IF mandatory.defined('surname') %]
258
                                            [% IF mandatory.defined('surname') %]
258
                                                <label for="borrower_surname" class="required">Surname:</label>
259
                                                <label for="borrower_surname" class="required">[% t('Surname:') %]</label>
259
                                            [% ELSE %]
260
                                            [% ELSE %]
260
                                                <label for="borrower_surname">Surname:</label>
261
                                                <label for="borrower_surname">[% t('Surname:') %]</label>
261
                                            [% END %]
262
                                            [% END %]
262
263
263
                                            <input type="text" id="borrower_surname" name="borrower_surname" value="[% borrower.surname %]" />
264
                                            <input type="text" id="borrower_surname" name="borrower_surname" value="[% borrower.surname %]" />
264
                                            [% IF mandatory.defined('surname') %]<span class="required">Required</span>[% END %]
265
                                            [% IF mandatory.defined('surname') %]<span class="required">[% t('Required') %]</span>[% END %]
265
                                        </li>
266
                                        </li>
266
                                    [% END %]
267
                                    [% END %]
267
268
268
                                    [% UNLESS hidden.defined('firstname') %]
269
                                    [% UNLESS hidden.defined('firstname') %]
269
                                        <li>
270
                                        <li>
270
                                            [% IF mandatory.defined('firstname') %]
271
                                            [% IF mandatory.defined('firstname') %]
271
                                                <label for="borrower_firstname" class="required">First name:</label>
272
                                                <label for="borrower_firstname" class="required">[% t('First name:') %]</label>
272
                                            [% ELSE %]
273
                                            [% ELSE %]
273
                                                <label for="borrower_firstname">First name:</label>
274
                                                <label for="borrower_firstname">[% t('First name:') %]</label>
274
                                            [% END %]
275
                                            [% END %]
275
276
276
                                            <input type="text" id="borrower_firstname" name="borrower_firstname" value="[% borrower.firstname %]" />
277
                                            <input type="text" id="borrower_firstname" name="borrower_firstname" value="[% borrower.firstname %]" />
277
                                            [% IF mandatory.defined('firstname') %]<span class="required">Required</span>[% END %]
278
                                            [% IF mandatory.defined('firstname') %]<span class="required">[% t('Required') %]</span>[% END %]
278
                                        </li>
279
                                        </li>
279
                                    [% END %]
280
                                    [% END %]
280
281
281
                                    [% UNLESS hidden.defined('dateofbirth') %]
282
                                    [% UNLESS hidden.defined('dateofbirth') %]
282
                                        <li>
283
                                        <li>
283
                                            [% IF mandatory.defined('dateofbirth') %]
284
                                            [% IF mandatory.defined('dateofbirth') %]
284
                                                <label for="borrower_dateofbirth" class="required">Date of birth:</label>
285
                                                <label for="borrower_dateofbirth" class="required">[% t('Date of birth:') %]</label>
285
                                            [% ELSE %]
286
                                            [% ELSE %]
286
                                                <label for="borrower_dateofbirth">Date of birth:</label>
287
                                                <label for="borrower_dateofbirth">[% t('Date of birth:') %]</label>
287
                                            [% END %]
288
                                            [% END %]
288
289
289
                                            <input type="text" id="borrower_dateofbirth" name="borrower_dateofbirth" value="[% borrower.dateofbirth | $KohaDates %]" size="10" />
290
                                            <input type="text" id="borrower_dateofbirth" name="borrower_dateofbirth" value="[% borrower.dateofbirth | $KohaDates %]" size="10" />
290
291
291
                                            [% UNLESS action == 'edit' && !OPACPatronDetails %]
292
                                            [% UNLESS action == 'edit' && !OPACPatronDetails %]
292
                                                [% UNLESS ( mandatory.defined('dateofbirth') ) %]
293
                                                [% UNLESS ( mandatory.defined('dateofbirth') ) %]
293
                                                    <a href="#" style="font-size:85%;text-decoration:none;" class="cleardate">Clear date</a>
294
                                                    <a href="#" style="font-size:85%;text-decoration:none;" class="cleardate">[% t('Clear date') %]</a>
294
                                                [% END %]
295
                                                [% END %]
295
                                            [% END %]
296
                                            [% END %]
296
297
297
                                            [% IF mandatory.defined('dateofbirth') %]<span class="required">Required</span>[% END %]
298
                                            [% IF mandatory.defined('dateofbirth') %]<span class="required">[% t('Required') %]</span>[% END %]
298
                                        </li>
299
                                        </li>
299
                                    [% END %]
300
                                    [% END %]
300
301
301
                                    [% UNLESS hidden.defined('initials') %]
302
                                    [% UNLESS hidden.defined('initials') %]
302
                                        <li>
303
                                        <li>
303
                                            [% IF mandatory.defined('initials') %]
304
                                            [% IF mandatory.defined('initials') %]
304
                                                <label for="borrower_initials" class="required">Initials:</label>
305
                                                <label for="borrower_initials" class="required">[% t('Initials:') %]</label>
305
                                            [% ELSE %]
306
                                            [% ELSE %]
306
                                                <label for="borrower_initials">Initials:</label>
307
                                                <label for="borrower_initials">[% t('Initials:') %]</label>
307
                                            [% END %]
308
                                            [% END %]
308
309
309
                                            <input type="text" id="borrower_initials" name="borrower_initials" value="[% borrower.initials %]" />
310
                                            <input type="text" id="borrower_initials" name="borrower_initials" value="[% borrower.initials %]" />
310
                                            [% IF mandatory.defined('initials') %]<span class="required">Required</span>[% END %]
311
                                            [% IF mandatory.defined('initials') %]<span class="required">[% t('Required') %]</span>[% END %]
311
                                        </li>
312
                                        </li>
312
                                    [% END %]
313
                                    [% END %]
313
314
314
                                    [% UNLESS hidden.defined('othernames') %]
315
                                    [% UNLESS hidden.defined('othernames') %]
315
                                        <li>
316
                                        <li>
316
                                            [% IF mandatory.defined('othernames') %]
317
                                            [% IF mandatory.defined('othernames') %]
317
                                                <label for="borrower_othernames" class="required">Other names:</label>
318
                                                <label for="borrower_othernames" class="required">[% t('Other names:') %]</label>
318
                                            [% ELSE %]
319
                                            [% ELSE %]
319
                                                <label for="borrower_othernames">Other names:</label>
320
                                                <label for="borrower_othernames">[% t('Other names:') %]</label>
320
                                            [% END %]
321
                                            [% END %]
321
322
322
                                            <input type="text" id="borrower_othernames" name="borrower_othernames" value="[% borrower.othernames %]" />
323
                                            <input type="text" id="borrower_othernames" name="borrower_othernames" value="[% borrower.othernames %]" />
323
                                            [% IF mandatory.defined('othernames') %]<span class="required">Required</span>[% END %]
324
                                            [% IF mandatory.defined('othernames') %]<span class="required">[% t('Required') %]</span>[% END %]
324
                                        </li>
325
                                        </li>
325
                                    [% END %]
326
                                    [% END %]
326
327
327
                                    [% UNLESS hidden.defined('sex') %]
328
                                    [% UNLESS hidden.defined('sex') %]
328
                                        <li class="lradio">
329
                                        <li class="lradio">
329
                                            <label for="sex-female" class="radio inline">Female:</label>
330
                                            <label for="sex-female" class="radio inline">[% t('Female:') %]</label>
330
                                            [% IF borrower.sex == 'F' %]
331
                                            [% IF borrower.sex == 'F' %]
331
                                                <input type="radio" name="borrower_sex" id="sex-female" value="F" checked="checked" />
332
                                                <input type="radio" name="borrower_sex" id="sex-female" value="F" checked="checked" />
332
                                            [% ELSE %]
333
                                            [% ELSE %]
333
                                                <input type="radio" name="borrower_sex" id="sex-female" value="F" />
334
                                                <input type="radio" name="borrower_sex" id="sex-female" value="F" />
334
                                            [% END %]
335
                                            [% END %]
335
336
336
                                            <label for="sex-male" class="radio inline">Male:</label>
337
                                            <label for="sex-male" class="radio inline">[% t('Male:') %]</label>
337
                                            [% IF borrower.sex == 'M' %]
338
                                            [% IF borrower.sex == 'M' %]
338
                                                <input type="radio" name="borrower_sex" id="sex-male" value="M" checked="checked" />
339
                                                <input type="radio" name="borrower_sex" id="sex-male" value="M" checked="checked" />
339
                                            [% ELSE %]
340
                                            [% ELSE %]
340
                                                <input type="radio" name="borrower_sex" id="sex-male" value="M" />
341
                                                <input type="radio" name="borrower_sex" id="sex-male" value="M" />
341
                                            [% END %]
342
                                            [% END %]
342
343
343
                                            <label for="sex-none" class="radio inline">None specified: </label>
344
                                            <label for="sex-none" class="radio inline">[% t('None specified:') %] </label>
344
                                            [% IF borrower.sex == '' %]
345
                                            [% IF borrower.sex == '' %]
345
                                                <input type="radio" name="borrower_sex" id="sex-none" value="" checked="checked" />
346
                                                <input type="radio" name="borrower_sex" id="sex-none" value="" checked="checked" />
346
                                            [% ELSE %]
347
                                            [% ELSE %]
347
                                                <input type="radio" name="borrower_sex" id="sex-none" value="" />
348
                                                <input type="radio" name="borrower_sex" id="sex-none" value="" />
348
                                            [% END %]
349
                                            [% END %]
349
350
350
                                            [% IF mandatory.defined('sex') %]<span class="required">Required</span>[% END %]
351
                                            [% IF mandatory.defined('sex') %]<span class="required">[% t('Required') %]</span>[% END %]
351
                                        </li>
352
                                        </li>
352
                                    [% END %]
353
                                    [% END %]
353
                                </ol>
354
                                </ol>
Lines 366-462 Link Here
366
                [%# Following on one line for translatability %]
367
                [%# Following on one line for translatability %]
367
                [% UNLESS hidden.defined('streetnumber') && hidden.defined('address') && hidden.defined('address2') && hidden.defined('city') && hidden.defined('state') && hidden.defined('zipcode') && hidden.defined('country') %]
368
                [% UNLESS hidden.defined('streetnumber') && hidden.defined('address') && hidden.defined('address2') && hidden.defined('city') && hidden.defined('state') && hidden.defined('zipcode') && hidden.defined('country') %]
368
                    <fieldset class="rows" id="memberentry_mainaddress">
369
                    <fieldset class="rows" id="memberentry_mainaddress">
369
                        <legend id="mainaddress_legend">Main address</legend>
370
                        <legend id="mainaddress_legend">[% t('Main address') %]</legend>
370
371
371
                        <ol>
372
                        <ol>
372
                            [% UNLESS hidden.defined('streetnumber') %]
373
                            [% UNLESS hidden.defined('streetnumber') %]
373
                                <li>
374
                                <li>
374
                                    [% IF mandatory.defined('streetnumber') %]
375
                                    [% IF mandatory.defined('streetnumber') %]
375
                                        <label for="borrower_streetnumber" class="required">Street number:</label>
376
                                        <label for="borrower_streetnumber" class="required">[% t('Street number:') %]</label>
376
                                    [% ELSE %]
377
                                    [% ELSE %]
377
                                        <label for="borrower_streetnumber">Street number:</label>
378
                                        <label for="borrower_streetnumber">[% t('Street number:') %]</label>
378
                                    [% END %]
379
                                    [% END %]
379
380
380
                                    <input type="text" id="borrower_streetnumber" name="borrower_streetnumber" value="[% borrower.streetnumber %]" />
381
                                    <input type="text" id="borrower_streetnumber" name="borrower_streetnumber" value="[% borrower.streetnumber %]" />
381
                                    [% IF mandatory.defined('streetnumber') %]<span class="required">Required</span>[% END %]
382
                                    [% IF mandatory.defined('streetnumber') %]<span class="required">[% t('Required') %]</span>[% END %]
382
                                </li>
383
                                </li>
383
                            [% END %]
384
                            [% END %]
384
385
385
                            [% UNLESS hidden.defined('address') %]
386
                            [% UNLESS hidden.defined('address') %]
386
                                <li>
387
                                <li>
387
                                    [% IF mandatory.defined('address') %]
388
                                    [% IF mandatory.defined('address') %]
388
                                        <label for="borrower_address" class="required">Address:</label>
389
                                        <label for="borrower_address" class="required">[% t('Address:') %]</label>
389
                                    [% ELSE %]
390
                                    [% ELSE %]
390
                                        <label for="borrower_address">Address:</label>
391
                                        <label for="borrower_address">[% t('Address:') %]</label>
391
                                    [% END %]
392
                                    [% END %]
392
393
393
                                    <input type="text" id="borrower_address" name="borrower_address" value="[% borrower.address %]" />
394
                                    <input type="text" id="borrower_address" name="borrower_address" value="[% borrower.address %]" />
394
                                    [% IF mandatory.defined('address') %]<span class="required">Required</span>[% END %]
395
                                    [% IF mandatory.defined('address') %]<span class="required">[% t('Required') %]</span>[% END %]
395
                                </li>
396
                                </li>
396
                            [% END %]
397
                            [% END %]
397
398
398
                            [% UNLESS hidden.defined('address2') %]
399
                            [% UNLESS hidden.defined('address2') %]
399
                                <li>
400
                                <li>
400
                                    [% IF mandatory.defined('address2') %]
401
                                    [% IF mandatory.defined('address2') %]
401
                                        <label for="borrower_address2" class="required">Address 2:</label>
402
                                        <label for="borrower_address2" class="required">[% t('Address 2:') %]</label>
402
                                    [% ELSE %]
403
                                    [% ELSE %]
403
                                        <label for="borrower_address2">Address 2:</label>
404
                                        <label for="borrower_address2">[% t('Address 2:') %]</label>
404
                                    [% END %]
405
                                    [% END %]
405
406
406
                                    <input type="text" id="borrower_address2" name="borrower_address2" value="[% borrower.address2 %]" />
407
                                    <input type="text" id="borrower_address2" name="borrower_address2" value="[% borrower.address2 %]" />
407
                                    [% IF mandatory.defined('address2') %]<span class="required">Required</span>[% END %]
408
                                    [% IF mandatory.defined('address2') %]<span class="required">[% t('Required') %]</span>[% END %]
408
                                </li>
409
                                </li>
409
                            [% END %]
410
                            [% END %]
410
411
411
                            [% UNLESS hidden.defined('city') %]
412
                            [% UNLESS hidden.defined('city') %]
412
                                <li>
413
                                <li>
413
                                    [% IF mandatory.defined('city') %]
414
                                    [% IF mandatory.defined('city') %]
414
                                        <label for="borrower_city" class="required">City:</label>
415
                                        <label for="borrower_city" class="required">[% t('City:') %]</label>
415
                                    [% ELSE %]
416
                                    [% ELSE %]
416
                                        <label for="borrower_city">City:</label>
417
                                        <label for="borrower_city">[% t('City:') %]</label>
417
                                    [% END %]
418
                                    [% END %]
418
419
419
                                    <input type="text" id="borrower_city" name="borrower_city" value="[% borrower.city %]" />
420
                                    <input type="text" id="borrower_city" name="borrower_city" value="[% borrower.city %]" />
420
                                    [% IF mandatory.defined('city') %]<span class="required">Required</span>[% END %]
421
                                    [% IF mandatory.defined('city') %]<span class="required">[% t('Required') %]</span>[% END %]
421
                                </li>
422
                                </li>
422
                            [% END %]
423
                            [% END %]
423
424
424
                            [% UNLESS hidden.defined('state') %]
425
                            [% UNLESS hidden.defined('state') %]
425
                                <li>
426
                                <li>
426
                                    [% IF mandatory.defined('state') %]
427
                                    [% IF mandatory.defined('state') %]
427
                                        <label for="borrower_state" class="required">State:</label>
428
                                        <label for="borrower_state" class="required">[% t('State:') %]</label>
428
                                    [% ELSE %]
429
                                    [% ELSE %]
429
                                        <label for="borrower_state">State:</label>
430
                                        <label for="borrower_state">[% t('State:') %]</label>
430
                                    [% END %]
431
                                    [% END %]
431
432
432
                                    <input type="text" id="borrower_state" name="borrower_state" value="[% borrower.state %]" />
433
                                    <input type="text" id="borrower_state" name="borrower_state" value="[% borrower.state %]" />
433
                                    [% IF mandatory.defined('state') %]<span class="required">Required</span>[% END %]
434
                                    [% IF mandatory.defined('state') %]<span class="required">[% t('Required') %]</span>[% END %]
434
                                </li>
435
                                </li>
435
                            [% END %]
436
                            [% END %]
436
437
437
                            [% UNLESS hidden.defined('zipcode') %]
438
                            [% UNLESS hidden.defined('zipcode') %]
438
                                <li>
439
                                <li>
439
                                    [% IF mandatory.defined('zipcode') %]
440
                                    [% IF mandatory.defined('zipcode') %]
440
                                        <label for="borrower_zipcode" class="required">ZIP/Postal code:</label>
441
                                        <label for="borrower_zipcode" class="required">[% t('ZIP/Postal code:') %]</label>
441
                                    [% ELSE %]
442
                                    [% ELSE %]
442
                                        <label for="borrower_zipcode">ZIP/Postal code:</label>
443
                                        <label for="borrower_zipcode">[% t('ZIP/Postal code:') %]</label>
443
                                    [% END %]
444
                                    [% END %]
444
445
445
                                    <input type="text" id="borrower_zipcode" name="borrower_zipcode" value="[% borrower.zipcode %]" />
446
                                    <input type="text" id="borrower_zipcode" name="borrower_zipcode" value="[% borrower.zipcode %]" />
446
                                    [% IF mandatory.defined('zipcode') %]<span class="required">Required</span>[% END %]
447
                                    [% IF mandatory.defined('zipcode') %]<span class="required">[% t('Required') %]</span>[% END %]
447
                                </li>
448
                                </li>
448
                            [% END %]
449
                            [% END %]
449
450
450
                            [% UNLESS hidden.defined('country') %]
451
                            [% UNLESS hidden.defined('country') %]
451
                                <li>
452
                                <li>
452
                                    [% IF mandatory.defined('country') %]
453
                                    [% IF mandatory.defined('country') %]
453
                                        <label for="borrower_country" class="required">Country:</label>
454
                                        <label for="borrower_country" class="required">[% t('Country:') %]</label>
454
                                    [% ELSE %]
455
                                    [% ELSE %]
455
                                        <label for="borrower_country">Country:</label>
456
                                        <label for="borrower_country">[% t('Country:') %]</label>
456
                                    [% END %]
457
                                    [% END %]
457
458
458
                                    <input type="text" id="borrower_country" name="borrower_country" value="[% borrower.country %]" />
459
                                    <input type="text" id="borrower_country" name="borrower_country" value="[% borrower.country %]" />
459
                                    [% IF mandatory.defined('country') %]<span class="required">Required</span>[% END %]
460
                                    [% IF mandatory.defined('country') %]<span class="required">[% t('Required') %]</span>[% END %]
460
                                </li>
461
                                </li>
461
                            [% END %]
462
                            [% END %]
462
463
Lines 467-550 Link Here
467
                [%# Following on one line for translatability %]
468
                [%# Following on one line for translatability %]
468
                [% UNLESS hidden.defined('phone') && hidden.defined('phonepro') && hidden.defined('mobile') && hidden.defined('email') && hidden.defined('emailpro') && hidden.defined('fax') %]
469
                [% UNLESS hidden.defined('phone') && hidden.defined('phonepro') && hidden.defined('mobile') && hidden.defined('email') && hidden.defined('emailpro') && hidden.defined('fax') %]
469
                    <fieldset class="rows" id="memberentry_contact">
470
                    <fieldset class="rows" id="memberentry_contact">
470
                        <legend id="contact_legend">Contact information</legend>
471
                        <legend id="contact_legend">[% t('Contact information') %]</legend>
471
472
472
                        <ol>
473
                        <ol>
473
                            [% UNLESS hidden.defined('phone') %]
474
                            [% UNLESS hidden.defined('phone') %]
474
                                <li>
475
                                <li>
475
                                    [% IF mandatory.defined('phone') %]
476
                                    [% IF mandatory.defined('phone') %]
476
                                        <label for="borrower_phone" class="required">Primary phone:</label>
477
                                        <label for="borrower_phone" class="required">[% t('Primary phone:') %]</label>
477
                                    [% ELSE %]
478
                                    [% ELSE %]
478
                                        <label for="borrower_phone">Primary phone:</label>
479
                                        <label for="borrower_phone">[% t('Primary phone:') %]</label>
479
                                    [% END %]
480
                                    [% END %]
480
481
481
                                    <input type="text" id="borrower_phone" name="borrower_phone" value="[% borrower.phone %]" />
482
                                    <input type="text" id="borrower_phone" name="borrower_phone" value="[% borrower.phone %]" />
482
                                    [% IF mandatory.defined('phone') %]<span class="required">Required</span>[% END %]
483
                                    [% IF mandatory.defined('phone') %]<span class="required">[% t('Required') %]</span>[% END %]
483
                                </li>
484
                                </li>
484
                            [% END %]
485
                            [% END %]
485
486
486
                            [% UNLESS hidden.defined('phonepro') %]
487
                            [% UNLESS hidden.defined('phonepro') %]
487
                                <li>
488
                                <li>
488
                                    [% IF mandatory.defined('phonepro') %]
489
                                    [% IF mandatory.defined('phonepro') %]
489
                                        <label for="borrower_phonepro" class="required">Secondary phone:</label>
490
                                        <label for="borrower_phonepro" class="required">[% t('Secondary phone:') %]</label>
490
                                    [% ELSE %]
491
                                    [% ELSE %]
491
                                        <label for="borrower_phonepro">Secondary phone:</label>
492
                                        <label for="borrower_phonepro">[% t('Secondary phone:') %]</label>
492
                                    [% END %]
493
                                    [% END %]
493
494
494
                                    <input type="text" id="borrower_phonepro" name="borrower_phonepro" value="[% borrower.phonepro %]" />
495
                                    <input type="text" id="borrower_phonepro" name="borrower_phonepro" value="[% borrower.phonepro %]" />
495
                                    [% IF mandatory.defined('phonepro') %]<span class="required">Required</span>[% END %]
496
                                    [% IF mandatory.defined('phonepro') %]<span class="required">[% t('Required') %]</span>[% END %]
496
                                </li>
497
                                </li>
497
                            [% END %]
498
                            [% END %]
498
499
499
                            [% UNLESS hidden.defined('mobile') %]
500
                            [% UNLESS hidden.defined('mobile') %]
500
                                <li>
501
                                <li>
501
                                    [% IF mandatory.defined('mobile') %]
502
                                    [% IF mandatory.defined('mobile') %]
502
                                        <label for="borrower_mobile" class="required">Other phone:</label>
503
                                        <label for="borrower_mobile" class="required">[% t('Other phone:') %]</label>
503
                                    [% ELSE %]
504
                                    [% ELSE %]
504
                                        <label for="borrower_mobile">Other phone:</label>
505
                                        <label for="borrower_mobile">[% t('Other phone:') %]</label>
505
                                    [% END %]
506
                                    [% END %]
506
507
507
                                    <input type="text" id="borrower_mobile" name="borrower_mobile" value="[% borrower.mobile %]" />
508
                                    <input type="text" id="borrower_mobile" name="borrower_mobile" value="[% borrower.mobile %]" />
508
                                    [% IF mandatory.defined('mobile') %]<span class="required">Required</span>[% END %]
509
                                    [% IF mandatory.defined('mobile') %]<span class="required">[% t('Required') %]</span>[% END %]
509
                                </li>
510
                                </li>
510
                            [% END %]
511
                            [% END %]
511
512
512
                            [% UNLESS hidden.defined('email') %]
513
                            [% UNLESS hidden.defined('email') %]
513
                                <li>
514
                                <li>
514
                                    [% IF mandatory.defined('email') %]
515
                                    [% IF mandatory.defined('email') %]
515
                                        <label for="borrower_email" class="required">Primary email:</label>
516
                                        <label for="borrower_email" class="required">[% t('Primary email:') %]</label>
516
                                    [% ELSE %]
517
                                    [% ELSE %]
517
                                        <label for="borrower_email">Primary email:</label>
518
                                        <label for="borrower_email">[% t('Primary email:') %]</label>
518
                                    [% END %]
519
                                    [% END %]
519
520
520
                                    <input type="text" id="borrower_email" name="borrower_email" value="[% borrower.email %]" />
521
                                    <input type="text" id="borrower_email" name="borrower_email" value="[% borrower.email %]" />
521
                                    [% IF mandatory.defined('email') %]<span class="required">Required</span>[% END %]
522
                                    [% IF mandatory.defined('email') %]<span class="required">[% t('Required') %]</span>[% END %]
522
                                </li>
523
                                </li>
523
                            [% END %]
524
                            [% END %]
524
525
525
                            [% UNLESS hidden.defined('emailpro') %]
526
                            [% UNLESS hidden.defined('emailpro') %]
526
                                <li>
527
                                <li>
527
                                    [% IF mandatory.defined('emailpro') %]
528
                                    [% IF mandatory.defined('emailpro') %]
528
                                        <label for="borrower_emailpro" class="required">Secondary email:</label>
529
                                        <label for="borrower_emailpro" class="required">[% t('Secondary email:') %]</label>
529
                                    [% ELSE %]
530
                                    [% ELSE %]
530
                                        <label for="borrower_emailpro">Secondary email:</label>
531
                                        <label for="borrower_emailpro">[% t('Secondary email:') %]</label>
531
                                    [% END %]
532
                                    [% END %]
532
533
533
                                    <input type="text" id="borrower_emailpro" name="borrower_emailpro" value="[% borrower.emailpro %]" />
534
                                    <input type="text" id="borrower_emailpro" name="borrower_emailpro" value="[% borrower.emailpro %]" />
534
                                    [% IF mandatory.defined('emailpro') %]<span class="required">Required</span>[% END %]
535
                                    [% IF mandatory.defined('emailpro') %]<span class="required">[% t('Required') %]</span>[% END %]
535
                                </li>
536
                                </li>
536
                            [% END %]
537
                            [% END %]
537
538
538
                            [% UNLESS hidden.defined('fax') %]
539
                            [% UNLESS hidden.defined('fax') %]
539
                                <li>
540
                                <li>
540
                                    [% IF mandatory.defined('fax') %]
541
                                    [% IF mandatory.defined('fax') %]
541
                                        <label for="borrower_fax" class="required">Fax:</label>
542
                                        <label for="borrower_fax" class="required">[% t('Fax:') %]</label>
542
                                    [% ELSE %]
543
                                    [% ELSE %]
543
                                        <label for="borrower_fax">Fax:</label>
544
                                        <label for="borrower_fax">[% t('Fax:') %]</label>
544
                                    [% END %]
545
                                    [% END %]
545
546
546
                                    <input type="text" id="borrower_fax" name="borrower_fax" value="[% borrower.fax %]" />
547
                                    <input type="text" id="borrower_fax" name="borrower_fax" value="[% borrower.fax %]" />
547
                                    [% IF mandatory.defined('fax') %]<span class="required">Required</span>[% END %]
548
                                    [% IF mandatory.defined('fax') %]<span class="required">[% t('Required') %]</span>[% END %]
548
                                </li>
549
                                </li>
549
                            [% END %]
550
                            [% END %]
550
                        </ol>
551
                        </ol>
Lines 554-676 Link Here
554
                [%# Following on one line for translatability %]
555
                [%# Following on one line for translatability %]
555
                [% UNLESS hidden.defined('B_address') && hidden.defined('B_address2') && hidden.defined('B_city') && hidden.defined('B_state') && hidden.defined('B_zipcode') && hidden.defined('B_country') && hidden.defined('B_phone') && hidden.defined('B_email') && hidden.defined('contactnote') %]
556
                [% UNLESS hidden.defined('B_address') && hidden.defined('B_address2') && hidden.defined('B_city') && hidden.defined('B_state') && hidden.defined('B_zipcode') && hidden.defined('B_country') && hidden.defined('B_phone') && hidden.defined('B_email') && hidden.defined('contactnote') %]
556
                    <fieldset class="rows" id="memberentry_alternateaddress">
557
                    <fieldset class="rows" id="memberentry_alternateaddress">
557
                        <legend id="alternateaddress_legend">Alternate address</legend>
558
                        <legend id="alternateaddress_legend">[% t('Alternate address') %]</legend>
558
559
559
                        <ol>
560
                        <ol>
560
                            [% UNLESS hidden.defined('B_address') %]
561
                            [% UNLESS hidden.defined('B_address') %]
561
                                <li>
562
                                <li>
562
                                    [% IF mandatory.defined('B_address') %]
563
                                    [% IF mandatory.defined('B_address') %]
563
                                        <label for="borrower_B_address" class="required">Address:</label>
564
                                        <label for="borrower_B_address" class="required">[% t('Address:') %]</label>
564
                                    [% ELSE %]
565
                                    [% ELSE %]
565
                                        <label for="borrower_B_address">Address:</label>
566
                                        <label for="borrower_B_address">[% t('Address:') %]</label>
566
                                    [% END %]
567
                                    [% END %]
567
568
568
                                    <input type="text" id="borrower_B_address" name="borrower_B_address" value="[% borrower.B_address %]" />
569
                                    <input type="text" id="borrower_B_address" name="borrower_B_address" value="[% borrower.B_address %]" />
569
                                    [% IF mandatory.defined('B_address') %]<span class="required">Required</span>[% END %]
570
                                    [% IF mandatory.defined('B_address') %]<span class="required">[% t('Required') %]</span>[% END %]
570
                                </li>
571
                                </li>
571
                            [% END %]
572
                            [% END %]
572
573
573
                            [% UNLESS hidden.defined('B_address2') %]
574
                            [% UNLESS hidden.defined('B_address2') %]
574
                                <li>
575
                                <li>
575
                                    [% IF mandatory.defined('B_address2') %]
576
                                    [% IF mandatory.defined('B_address2') %]
576
                                        <label for="borrower_B_address2" class="required">Address 2:</label>
577
                                        <label for="borrower_B_address2" class="required">[% t('Address 2:') %]</label>
577
                                    [% ELSE %]
578
                                    [% ELSE %]
578
                                        <label for="borrower_B_address2">Address 2:</label>
579
                                        <label for="borrower_B_address2">[% t('Address 2:') %]</label>
579
                                    [% END %]
580
                                    [% END %]
580
581
581
                                    <input type="text" id="borrower_B_address2" name="borrower_B_address2" value="[% borrower.B_address2 %]" />
582
                                    <input type="text" id="borrower_B_address2" name="borrower_B_address2" value="[% borrower.B_address2 %]" />
582
                                    [% IF mandatory.defined('B_address2') %]<span class="required">Required</span>[% END %]
583
                                    [% IF mandatory.defined('B_address2') %]<span class="required">[% t('Required') %]</span>[% END %]
583
                                </li>
584
                                </li>
584
                            [% END %]
585
                            [% END %]
585
586
586
                            [% UNLESS hidden.defined('B_city') %]
587
                            [% UNLESS hidden.defined('B_city') %]
587
                                <li>
588
                                <li>
588
                                    [% IF mandatory.defined('B_city') %]
589
                                    [% IF mandatory.defined('B_city') %]
589
                                        <label for="borrower_B_city" class="required">City:</label>
590
                                        <label for="borrower_B_city" class="required">[% t('City:') %]</label>
590
                                    [% ELSE %]
591
                                    [% ELSE %]
591
                                        <label for="borrower_B_city">City:</label>
592
                                        <label for="borrower_B_city">[% t('City:') %]</label>
592
                                    [% END %]
593
                                    [% END %]
593
594
594
                                    <input type="text" id="borrower_B_city" name="borrower_B_city" value="[% borrower.B_city %]" />
595
                                    <input type="text" id="borrower_B_city" name="borrower_B_city" value="[% borrower.B_city %]" />
595
                                    [% IF mandatory.defined('B_city') %]<span class="required">Required</span>[% END %]
596
                                    [% IF mandatory.defined('B_city') %]<span class="required">[% t('Required') %]</span>[% END %]
596
                                </li>
597
                                </li>
597
                            [% END %]
598
                            [% END %]
598
599
599
                            [% UNLESS hidden.defined('B_state') %]
600
                            [% UNLESS hidden.defined('B_state') %]
600
                                <li>
601
                                <li>
601
                                    [% IF mandatory.defined('B_state') %]
602
                                    [% IF mandatory.defined('B_state') %]
602
                                        <label for="borrower_B_state" class="required">State:</label>
603
                                        <label for="borrower_B_state" class="required">[% t('State:') %]</label>
603
                                    [% ELSE %]
604
                                    [% ELSE %]
604
                                        <label for="borrower_B_state">State:</label>
605
                                        <label for="borrower_B_state">[% t('State:') %]</label>
605
                                    [% END %]
606
                                    [% END %]
606
607
607
                                    <input type="text" id="borrower_B_state" name="borrower_B_state" value="[% borrower.B_state %]" />
608
                                    <input type="text" id="borrower_B_state" name="borrower_B_state" value="[% borrower.B_state %]" />
608
                                    [% IF mandatory.defined('B_state') %]<span class="required">Required</span>[% END %]
609
                                    [% IF mandatory.defined('B_state') %]<span class="required">[% t('Required') %]</span>[% END %]
609
                                </li>
610
                                </li>
610
                            [% END %]
611
                            [% END %]
611
612
612
                            [% UNLESS hidden.defined('B_zipcode') %]
613
                            [% UNLESS hidden.defined('B_zipcode') %]
613
                                <li>
614
                                <li>
614
                                    [% IF mandatory.defined('B_zipcode') %]
615
                                    [% IF mandatory.defined('B_zipcode') %]
615
                                        <label for="borrower_B_zipcode" class="required">ZIP/Postal code:</label>
616
                                        <label for="borrower_B_zipcode" class="required">[% t('ZIP/Postal code:') %]</label>
616
                                    [% ELSE %]
617
                                    [% ELSE %]
617
                                        <label for="borrower_B_zipcode">ZIP/Postal code:</label>
618
                                        <label for="borrower_B_zipcode">[% t('ZIP/Postal code:') %]</label>
618
                                    [% END %]
619
                                    [% END %]
619
620
620
                                    <input type="text" id="borrower_B_zipcode" name="borrower_B_zipcode" value="[% borrower.B_zipcode %]" />
621
                                    <input type="text" id="borrower_B_zipcode" name="borrower_B_zipcode" value="[% borrower.B_zipcode %]" />
621
                                    [% IF mandatory.defined('B_zipcode') %]<span class="required">Required</span>[% END %]
622
                                    [% IF mandatory.defined('B_zipcode') %]<span class="required">[% t('Required') %]</span>[% END %]
622
                                </li>
623
                                </li>
623
                            [% END %]
624
                            [% END %]
624
625
625
                            [% UNLESS hidden.defined('B_country') %]
626
                            [% UNLESS hidden.defined('B_country') %]
626
                                <li>
627
                                <li>
627
                                    [% IF mandatory.defined('B_country') %]
628
                                    [% IF mandatory.defined('B_country') %]
628
                                        <label for="borrower_B_country" class="required">Country:</label>
629
                                        <label for="borrower_B_country" class="required">[% t('Country:') %]</label>
629
                                    [% ELSE %]
630
                                    [% ELSE %]
630
                                        <label for="borrower_B_country">Country:</label>
631
                                        <label for="borrower_B_country">[% t('Country:') %]</label>
631
                                    [% END %]
632
                                    [% END %]
632
633
633
                                    <input type="text" id="borrower_B_country" name="borrower_B_country" value="[% borrower.B_country %]" />
634
                                    <input type="text" id="borrower_B_country" name="borrower_B_country" value="[% borrower.B_country %]" />
634
                                    [% IF mandatory.defined('B_country') %]<span class="required">Required</span>[% END %]
635
                                    [% IF mandatory.defined('B_country') %]<span class="required">[% t('Required') %]</span>[% END %]
635
                                </li>
636
                                </li>
636
                            [% END %]
637
                            [% END %]
637
638
638
                            [% UNLESS hidden.defined('B_phone') %]
639
                            [% UNLESS hidden.defined('B_phone') %]
639
                                <li>
640
                                <li>
640
                                    [% IF mandatory.defined('B_phone') %]
641
                                    [% IF mandatory.defined('B_phone') %]
641
                                        <label for="borrower_B_phone" class="required">Phone:</label>
642
                                        <label for="borrower_B_phone" class="required">[% t('Phone:') %]</label>
642
                                    [% ELSE %]
643
                                    [% ELSE %]
643
                                        <label for="borrower_B_phone">Phone:</label>
644
                                        <label for="borrower_B_phone">[% t('Phone:') %]</label>
644
                                    [% END %]
645
                                    [% END %]
645
646
646
                                    <input type="text" id="borrower_B_phone" name="borrower_B_phone" value="[% borrower.B_phone %]" />
647
                                    <input type="text" id="borrower_B_phone" name="borrower_B_phone" value="[% borrower.B_phone %]" />
647
                                    [% IF mandatory.defined('B_phone') %]<span class="required">Required</span>[% END %]
648
                                    [% IF mandatory.defined('B_phone') %]<span class="required">[% t('Required') %]</span>[% END %]
648
                                </li>
649
                                </li>
649
                            [% END %]
650
                            [% END %]
650
651
651
                            [% UNLESS hidden.defined('B_email') %]
652
                            [% UNLESS hidden.defined('B_email') %]
652
                                <li>
653
                                <li>
653
                                    [% IF mandatory.defined('B_email') %]
654
                                    [% IF mandatory.defined('B_email') %]
654
                                        <label for="borrower_B_email" class="required">Email:</label>
655
                                        <label for="borrower_B_email" class="required">[% t('Email:') %]</label>
655
                                    [% ELSE %]
656
                                    [% ELSE %]
656
                                        <label for="borrower_B_email">Email:</label>
657
                                        <label for="borrower_B_email">[% t('Email:') %]</label>
657
                                    [% END %]
658
                                    [% END %]
658
659
659
                                    <input type="text" id="borrower_B_email" name="borrower_B_email" value="[% borrower.B_email %]" />
660
                                    <input type="text" id="borrower_B_email" name="borrower_B_email" value="[% borrower.B_email %]" />
660
                                    [% IF mandatory.defined('B_email') %]<span class="required">Required</span>[% END %]
661
                                    [% IF mandatory.defined('B_email') %]<span class="required">[% t('Required') %]</span>[% END %]
661
                                </li>
662
                                </li>
662
                            [% END %]
663
                            [% END %]
663
664
664
                            [% UNLESS hidden.defined('contactnote') %]
665
                            [% UNLESS hidden.defined('contactnote') %]
665
                                <li>
666
                                <li>
666
                                    [% IF mandatory.defined('contactnote') %]
667
                                    [% IF mandatory.defined('contactnote') %]
667
                                        <label for="borrower_contactnote" class="required">Contact note:</label>
668
                                        <label for="borrower_contactnote" class="required">[% t('Contact note:') %]</label>
668
                                    [% ELSE %]
669
                                    [% ELSE %]
669
                                        <label for="borrower_contactnote">Contact note:</label>
670
                                        <label for="borrower_contactnote">[% t('Contact note:') %]</label>
670
                                    [% END %]
671
                                    [% END %]
671
672
672
                                    <textarea id="borrower_contactnote" name="borrower_contactnote" cols="30" rows="2">[% borrower.contactnote %]</textarea>
673
                                    <textarea id="borrower_contactnote" name="borrower_contactnote" cols="30" rows="2">[% borrower.contactnote %]</textarea>
673
                                    [% IF mandatory.defined('contactnote') %]<span class="required">Required</span>[% END %]
674
                                    [% IF mandatory.defined('contactnote') %]<span class="required">[% t('Required') %]</span>[% END %]
674
                                </li>
675
                                </li>
675
                            [% END %]
676
                            [% END %]
676
677
Lines 681-803 Link Here
681
                [%# Following on one line for translatability %]
682
                [%# Following on one line for translatability %]
682
                [% UNLESS hidden.defined('altcontactsurname') && hidden.defined('altcontactfirstname') && hidden.defined('altcontactaddress1') && hidden.defined('altcontactaddress2') && hidden.defined('altcontactaddress3') && hidden.defined('altcontactstate') && hidden.defined('altcontactzipcode') && hidden.defined('altcontactcountry') && hidden.defined('altcontactphone') %]
683
                [% UNLESS hidden.defined('altcontactsurname') && hidden.defined('altcontactfirstname') && hidden.defined('altcontactaddress1') && hidden.defined('altcontactaddress2') && hidden.defined('altcontactaddress3') && hidden.defined('altcontactstate') && hidden.defined('altcontactzipcode') && hidden.defined('altcontactcountry') && hidden.defined('altcontactphone') %]
683
                    <fieldset class="rows" id="memberentry_alternatecontact">
684
                    <fieldset class="rows" id="memberentry_alternatecontact">
684
                        <legend id="alternatecontact_legend">Alternate contact</legend>
685
                        <legend id="alternatecontact_legend">[% t('Alternate contact') %]</legend>
685
686
686
                        <ol>
687
                        <ol>
687
                            [% UNLESS hidden.defined('altcontactsurname') %]
688
                            [% UNLESS hidden.defined('altcontactsurname') %]
688
                                <li>
689
                                <li>
689
                                    [% IF mandatory.defined('altcontactsurname') %]
690
                                    [% IF mandatory.defined('altcontactsurname') %]
690
                                        <label for="borrower_altcontactsurname" class="required">Surname:</label>
691
                                        <label for="borrower_altcontactsurname" class="required">[% t('Surname:') %]</label>
691
                                    [% ELSE %]
692
                                    [% ELSE %]
692
                                        <label for="borrower_altcontactsurname">Surname:</label>
693
                                        <label for="borrower_altcontactsurname">[% t('Surname:') %]</label>
693
                                    [% END %]
694
                                    [% END %]
694
695
695
                                    <input type="text" id="borrower_altcontactsurname" name="borrower_altcontactsurname" value="[% borrower.altcontactsurname %]" />
696
                                    <input type="text" id="borrower_altcontactsurname" name="borrower_altcontactsurname" value="[% borrower.altcontactsurname %]" />
696
                                    [% IF mandatory.defined('altcontactsurname') %]<span class="required">Required</span>[% END %]
697
                                    [% IF mandatory.defined('altcontactsurname') %]<span class="required">[% t('Required') %]</span>[% END %]
697
                                </li>
698
                                </li>
698
                            [% END %]
699
                            [% END %]
699
700
700
                            [% UNLESS hidden.defined('altcontactfirstname') %]
701
                            [% UNLESS hidden.defined('altcontactfirstname') %]
701
                                <li>
702
                                <li>
702
                                    [% IF mandatory.defined('altcontactfirstname') %]
703
                                    [% IF mandatory.defined('altcontactfirstname') %]
703
                                        <label for="borrower_altcontactfirstname" class="required">First name:</label>
704
                                        <label for="borrower_altcontactfirstname" class="required">[% t('First name:') %]</label>
704
                                    [% ELSE %]
705
                                    [% ELSE %]
705
                                        <label for="borrower_altcontactfirstname">First name:</label>
706
                                        <label for="borrower_altcontactfirstname">[% t('First name:') %]</label>
706
                                    [% END %]
707
                                    [% END %]
707
708
708
                                    <input type="text" id="borrower_altcontactfirstname" name="borrower_altcontactfirstname" value="[% borrower.altcontactfirstname %]" />
709
                                    <input type="text" id="borrower_altcontactfirstname" name="borrower_altcontactfirstname" value="[% borrower.altcontactfirstname %]" />
709
                                    [% IF mandatory.defined('altcontactfirstname') %]<span class="required">Required</span>[% END %]
710
                                    [% IF mandatory.defined('altcontactfirstname') %]<span class="required">[% t('Required') %]</span>[% END %]
710
                                </li>
711
                                </li>
711
                            [% END %]
712
                            [% END %]
712
713
713
                            [% UNLESS hidden.defined('altcontactaddress1') %]
714
                            [% UNLESS hidden.defined('altcontactaddress1') %]
714
                                <li>
715
                                <li>
715
                                    [% IF mandatory.defined('altcontactaddress1') %]
716
                                    [% IF mandatory.defined('altcontactaddress1') %]
716
                                        <label for="borrower_altcontactaddress1" class="required">Address:</label>
717
                                        <label for="borrower_altcontactaddress1" class="required">[% t('Address:') %]</label>
717
                                    [% ELSE %]
718
                                    [% ELSE %]
718
                                        <label for="borrower_altcontactaddress1">Address:</label>
719
                                        <label for="borrower_altcontactaddress1">[% t('Address:') %]</label>
719
                                    [% END %]
720
                                    [% END %]
720
721
721
                                    <input type="text" id="borrower_altcontactaddress1" name="borrower_altcontactaddress1" value="[% borrower.altcontactaddress1 %]" />
722
                                    <input type="text" id="borrower_altcontactaddress1" name="borrower_altcontactaddress1" value="[% borrower.altcontactaddress1 %]" />
722
                                    [% IF mandatory.defined('altcontactaddress1') %]<span class="required">Required</span>[% END %]
723
                                    [% IF mandatory.defined('altcontactaddress1') %]<span class="required">[% t('Required') %]</span>[% END %]
723
                                </li>
724
                                </li>
724
                            [% END %]
725
                            [% END %]
725
726
726
                            [% UNLESS hidden.defined('altcontactaddress2') %]
727
                            [% UNLESS hidden.defined('altcontactaddress2') %]
727
                                <li>
728
                                <li>
728
                                    [% IF mandatory.defined('altcontactaddress2') %]
729
                                    [% IF mandatory.defined('altcontactaddress2') %]
729
                                        <label for="borrower_altcontactaddress2" class="required">Address 2:</label>
730
                                        <label for="borrower_altcontactaddress2" class="required">[% t('Address 2:') %]</label>
730
                                    [% ELSE %]
731
                                    [% ELSE %]
731
                                        <label for="borrower_altcontactaddress2">Address 2:</label>
732
                                        <label for="borrower_altcontactaddress2">[% t('Address 2:') %]</label>
732
                                    [% END %]
733
                                    [% END %]
733
734
734
                                    <input type="text" id="borrower_altcontactaddress2" name="borrower_altcontactaddress2" value="[% borrower.altcontactaddress2 %]" />
735
                                    <input type="text" id="borrower_altcontactaddress2" name="borrower_altcontactaddress2" value="[% borrower.altcontactaddress2 %]" />
735
                                    [% IF mandatory.defined('altcontactaddress2') %]<span class="required">Required</span>[% END %]
736
                                    [% IF mandatory.defined('altcontactaddress2') %]<span class="required">[% t('Required') %]</span>[% END %]
736
                                </li>
737
                                </li>
737
                            [% END %]
738
                            [% END %]
738
739
739
                            [% UNLESS hidden.defined('altcontactaddress3') %]
740
                            [% UNLESS hidden.defined('altcontactaddress3') %]
740
                                <li>
741
                                <li>
741
                                    [% IF mandatory.defined('altcontactaddress3') %]
742
                                    [% IF mandatory.defined('altcontactaddress3') %]
742
                                        <label for="borrower_altcontactaddress3" class="required">City:</label>
743
                                        <label for="borrower_altcontactaddress3" class="required">[% t('City:') %]</label>
743
                                    [% ELSE %]
744
                                    [% ELSE %]
744
                                        <label for="borrower_altcontactaddress3">City:</label>
745
                                        <label for="borrower_altcontactaddress3">[% t('City:') %]</label>
745
                                    [% END %]
746
                                    [% END %]
746
747
747
                                    <input type="text" id="borrower_altcontactaddress3" name="borrower_altcontactaddress3" value="[% borrower.altcontactaddress3 %]" />
748
                                    <input type="text" id="borrower_altcontactaddress3" name="borrower_altcontactaddress3" value="[% borrower.altcontactaddress3 %]" />
748
                                    [% IF mandatory.defined('altcontactaddress3') %]<span class="required">Required</span>[% END %]
749
                                    [% IF mandatory.defined('altcontactaddress3') %]<span class="required">[% t('Required') %]</span>[% END %]
749
                                </li>
750
                                </li>
750
                            [% END %]
751
                            [% END %]
751
752
752
                            [% UNLESS hidden.defined('altcontactstate') %]
753
                            [% UNLESS hidden.defined('altcontactstate') %]
753
                                <li>
754
                                <li>
754
                                    [% IF mandatory.defined('altcontactstate') %]
755
                                    [% IF mandatory.defined('altcontactstate') %]
755
                                        <label for="borrower_altcontactstate" class="required">State:</label>
756
                                        <label for="borrower_altcontactstate" class="required">[% t('State:') %]</label>
756
                                    [% ELSE %]
757
                                    [% ELSE %]
757
                                        <label for="borrower_altcontactstate">State:</label>
758
                                        <label for="borrower_altcontactstate">[% t('State:') %]</label>
758
                                    [% END %]
759
                                    [% END %]
759
760
760
                                    <input type="text" id="borrower_altcontactstate" name="borrower_altcontactstate" value="[% borrower.altcontactstate %]" />
761
                                    <input type="text" id="borrower_altcontactstate" name="borrower_altcontactstate" value="[% borrower.altcontactstate %]" />
761
                                    [% IF mandatory.defined('altcontactstate') %]<span class="required">Required</span>[% END %]
762
                                    [% IF mandatory.defined('altcontactstate') %]<span class="required">[% t('Required') %]</span>[% END %]
762
                                </li>
763
                                </li>
763
                            [% END %]
764
                            [% END %]
764
765
765
                            [% UNLESS hidden.defined('altcontactzipcode') %]
766
                            [% UNLESS hidden.defined('altcontactzipcode') %]
766
                                <li>
767
                                <li>
767
                                    [% IF mandatory.defined('altcontactzipcode') %]
768
                                    [% IF mandatory.defined('altcontactzipcode') %]
768
                                        <label for="borrower_altcontactzipcode" class="required">ZIP/Postal code:</label>
769
                                        <label for="borrower_altcontactzipcode" class="required">[% t('ZIP/Postal code:') %]</label>
769
                                    [% ELSE %]
770
                                    [% ELSE %]
770
                                        <label for="borrower_altcontactzipcode">ZIP/Postal code:</label>
771
                                        <label for="borrower_altcontactzipcode">[% t('ZIP/Postal code:') %]</label>
771
                                    [% END %]
772
                                    [% END %]
772
773
773
                                    <input type="text" id="borrower_altcontactzipcode" name="borrower_altcontactzipcode" value="[% borrower.altcontactzipcode %]" />
774
                                    <input type="text" id="borrower_altcontactzipcode" name="borrower_altcontactzipcode" value="[% borrower.altcontactzipcode %]" />
774
                                    [% IF mandatory.defined('altcontactzipcode') %]<span class="required">Required</span>[% END %]
775
                                    [% IF mandatory.defined('altcontactzipcode') %]<span class="required">[% t('Required') %]</span>[% END %]
775
                                </li>
776
                                </li>
776
                            [% END %]
777
                            [% END %]
777
778
778
                            [% UNLESS hidden.defined('altcontactcountry') %]
779
                            [% UNLESS hidden.defined('altcontactcountry') %]
779
                                <li>
780
                                <li>
780
                                    [% IF mandatory.defined('altcontactcountry') %]
781
                                    [% IF mandatory.defined('altcontactcountry') %]
781
                                        <label for="borrower_altcontactcountry" class="required">Country:</label>
782
                                        <label for="borrower_altcontactcountry" class="required">[% t('Country:') %]</label>
782
                                    [% ELSE %]
783
                                    [% ELSE %]
783
                                        <label for="borrower_altcontactcountry">Country:</label>
784
                                        <label for="borrower_altcontactcountry">[% t('Country:') %]</label>
784
                                    [% END %]
785
                                    [% END %]
785
786
786
                                    <input type="text" id="borrower_altcontactcountry" name="borrower_altcontactcountry" value="[% borrower.altcontactcountry %]" />
787
                                    <input type="text" id="borrower_altcontactcountry" name="borrower_altcontactcountry" value="[% borrower.altcontactcountry %]" />
787
                                    [% IF mandatory.defined('altcontactcountry') %]<span class="required">Required</span>[% END %]
788
                                    [% IF mandatory.defined('altcontactcountry') %]<span class="required">[% t('Required') %]</span>[% END %]
788
                                </li>
789
                                </li>
789
                            [% END %]
790
                            [% END %]
790
791
791
                            [% UNLESS hidden.defined('altcontactphone') %]
792
                            [% UNLESS hidden.defined('altcontactphone') %]
792
                                <li>
793
                                <li>
793
                                    [% IF mandatory.defined('altcontactphone') %]
794
                                    [% IF mandatory.defined('altcontactphone') %]
794
                                        <label for="borrower_altcontactphone" class="required">Phone:</label>
795
                                        <label for="borrower_altcontactphone" class="required">[% t('Phone:') %]</label>
795
                                    [% ELSE %]
796
                                    [% ELSE %]
796
                                        <label for="borrower_altcontactphone">Phone:</label>
797
                                        <label for="borrower_altcontactphone">[% t('Phone:') %]</label>
797
                                    [% END %]
798
                                    [% END %]
798
799
799
                                    <input type="text" id="borrower_altcontactphone" name="borrower_altcontactphone" value="[% borrower.altcontactphone %]" />
800
                                    <input type="text" id="borrower_altcontactphone" name="borrower_altcontactphone" value="[% borrower.altcontactphone %]" />
800
                                    [% IF mandatory.defined('altcontactphone') %]<span class="required">Required</span>[% END %]
801
                                    [% IF mandatory.defined('altcontactphone') %]<span class="required">[% t('Required') %]</span>[% END %]
801
                                </li>
802
                                </li>
802
                            [% END %]
803
                            [% END %]
803
                        </ol>
804
                        </ol>
Lines 806-836 Link Here
806
807
807
                [% UNLESS action == 'edit' || hidden.defined('password') %]
808
                [% UNLESS action == 'edit' || hidden.defined('password') %]
808
                    <fieldset class="rows" id="memberentry_password">
809
                    <fieldset class="rows" id="memberentry_password">
809
                        <legend id="contact_legend">Password</legend>
810
                        <legend id="contact_legend">[% t('Password') %]</legend>
810
                        <div class="alert alert-info">
811
                        <div class="alert alert-info">
811
                            <p>Your password must be at least [% Koha.Preference('minPasswordLength') %] characters long.</p>
812
                            <p>[% t('Your password must be at least') %] [% Koha.Preference('minPasswordLength') %] [% t('characters long.') %]</p>
812
                            [% UNLESS mandatory.defined('password') %]
813
                            [% UNLESS mandatory.defined('password') %]
813
                                <div>If you do not enter a password a system generated password will be created.</div>
814
                                <div>[% t('If you do not enter a password a system generated password will be created.') %]</div>
814
                            [% END %]
815
                            [% END %]
815
                        </div>
816
                        </div>
816
817
817
                        [% IF mandatory.defined('password') %]
818
                        [% IF mandatory.defined('password') %]
818
                            <ol>
819
                            <ol>
819
                                <li><label for="borrower_password" class="required">Password</label>
820
                                <li><label for="borrower_password" class="required">[% t('Password') %]</label>
820
                                    <input type="password" name="borrower_password" id="password" />
821
                                    <input type="password" name="borrower_password" id="password" />
821
                                    <span class="required">Required</span>
822
                                    <span class="required">[% t('Required') %]</span>
822
                                </li>
823
                                </li>
823
                                <li><label for="borrower_password2" class="required">Confirm password</label>
824
                                <li><label for="borrower_password2" class="required">[% t('Confirm password') %]</label>
824
                                    <input type="password" name="borrower_password2" id="password2" />
825
                                    <input type="password" name="borrower_password2" id="password2" />
825
                                    <span class="required">Required</span>
826
                                    <span class="required">[% t('Required') %]</span>
826
                                </li>
827
                                </li>
827
                            </ol>
828
                            </ol>
828
                        [% ELSE %]
829
                        [% ELSE %]
829
                            <ol>
830
                            <ol>
830
                                <li><label for="borrower_password">Password</label>
831
                                <li><label for="borrower_password">[% t('Password') %]</label>
831
                                    <input type="password" name="borrower_password" id="password" />
832
                                    <input type="password" name="borrower_password" id="password" />
832
                                </li>
833
                                </li>
833
                                <li><label for="borrower_password2">Confirm password</label>
834
                                <li><label for="borrower_password2">[% t('Confirm password') %]</label>
834
                                    <input type="password" name="borrower_password2" id="password2" />
835
                                    <input type="password" name="borrower_password2" id="password2" />
835
                                </li>
836
                                </li>
836
                            </ol>
837
                            </ol>
Lines 845-851 Link Here
845
                            <legend>[% pa_class.lib %]</legend>
846
                            <legend>[% pa_class.lib %]</legend>
846
                        [% ELSE %]
847
                        [% ELSE %]
847
                            <fieldset class="rows patron-attributes">
848
                            <fieldset class="rows patron-attributes">
848
                            <legend>Additional information</legend>
849
                            <legend>[% t('Additional information') %]</legend>
849
                        [% END %]
850
                        [% END %]
850
                        <ol class="attributes_table">
851
                        <ol class="attributes_table">
851
                            [% FOREACH pa IN pa_class.items %]
852
                            [% FOREACH pa IN pa_class.items %]
Lines 865-871 Link Here
865
                                                                [% auth_val.lib %]
866
                                                                [% auth_val.lib %]
866
                                                            </option>
867
                                                            </option>
867
                                                        [% ELSE %]
868
                                                        [% ELSE %]
868
                                                            <option value="[% auth_val.authorised_value %]" >
869
                                                            <option value="[% auth_val.authorised_value %]">
869
                                                                [% auth_val.lib %]
870
                                                                [% auth_val.lib %]
870
                                                            </option>
871
                                                            </option>
871
                                                        [% END %]
872
                                                        [% END %]
Lines 874-882 Link Here
874
                                            [% ELSE %]
875
                                            [% ELSE %]
875
                                                <textarea rows="2" cols="30" id="[% form_id %]" name="patron_attribute_value">[% pa_value %]</textarea>
876
                                                <textarea rows="2" cols="30" id="[% form_id %]" name="patron_attribute_value">[% pa_value %]</textarea>
876
                                            [% END %]
877
                                            [% END %]
877
                                            <a href="#" class="clear-attribute">Clear</a>
878
                                            <a href="#" class="clear-attribute">[% t('Clear') %]</a>
878
                                            [% IF ( pa.type.repeatable ) %]
879
                                            [% IF ( pa.type.repeatable ) %]
879
                                            <a href="#" class="clone-attribute">New</a>
880
                                            <a href="#" class="clone-attribute">[% t('New') %]</a>
880
                                            [% END %]
881
                                            [% END %]
881
                                        [% ELSE %]
882
                                        [% ELSE %]
882
                                            [% IF ( pa.type.authorised_value_category ) %]
883
                                            [% IF ( pa.type.authorised_value_category ) %]
Lines 898-909 Link Here
898
                        <ol>
899
                        <ol>
899
900
900
                            <li>
901
                            <li>
901
                                <label for="captcha" class="required">Verification:</label>
902
                                <label for="captcha" class="required">[% t('Verification:') %]</label>
902
903
903
                                <input type="text" name="captcha" id="captcha" />
904
                                <input type="text" name="captcha" id="captcha" />
904
                                <input type="hidden" name="captcha_digest" value="[% captcha_digest %]" />
905
                                <input type="hidden" name="captcha_digest" value="[% captcha_digest %]" />
905
906
906
                                <span class="hint">Please type the following characters into the preceding box: <strong>[% captcha %]</strong></span>
907
                                <span class="hint">[% t('Please type the following characters into the preceding box:') %] <strong>[% captcha %]</strong></span>
907
                            </li>
908
                            </li>
908
                        </ol>
909
                        </ol>
909
                    </fieldset>
910
                    </fieldset>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt (-43 / +38 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your messaging settings</title>
4
<title>[% IF ( LibraryNameTitle ) %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Your messaging settings') %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
Lines 9-17 Link Here
9
10
10
<div class="main">
11
<div class="main">
11
    <ul class="breadcrumb">
12
    <ul class="breadcrumb">
12
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
13
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
13
        <li><a href="/cgi-bin/koha/opac-user.pl">[% BORROWER_INFO.firstname %] [% BORROWER_INFO.surname %]</a> <span class="divider">&rsaquo;</span></li>
14
        <li><a href="/cgi-bin/koha/opac-user.pl">[% BORROWER_INFO.firstname %] [% BORROWER_INFO.surname %]</a> <span class="divider">›</span></li>
14
        <li><a href="#">Your messaging settings</a></li>
15
        <li><a href="#">[% t('Your messaging settings') %]</a></li>
15
    </ul>
16
    </ul>
16
17
17
    <div class="container-fluid">
18
    <div class="container-fluid">
Lines 24-32 Link Here
24
            <div class="span10">
25
            <div class="span10">
25
                [% IF Koha.Preference( 'EnhancedMessagingPreferencesOPAC' )  %]
26
                [% IF Koha.Preference( 'EnhancedMessagingPreferencesOPAC' )  %]
26
                <div id="usermessaging">
27
                <div id="usermessaging">
27
                    <h3>Your messaging settings</h3>
28
                    <h3>[% t('Your messaging settings') %]</h3>
28
                    [% IF ( settings_updated ) %]
29
                    [% IF ( settings_updated ) %]
29
                        <div class="alert alert-success"><h4>Settings updated</h4></div>
30
                        <div class="alert alert-success"><h4>[% t('Settings updated') %]</h4></div>
30
                    [% END %]
31
                    [% END %]
31
                    <form action="/cgi-bin/koha/opac-messaging.pl" method="get" name="opacmessaging">
32
                    <form action="/cgi-bin/koha/opac-messaging.pl" method="get" name="opacmessaging">
32
                        <input type="hidden" name="modify" value="yes" />
33
                        <input type="hidden" name="modify" value="yes" />
Lines 34-58 Link Here
34
                            <table class="table table-bordered table-condensed table-striped">
35
                            <table class="table table-bordered table-condensed table-striped">
35
                                <thead>
36
                                <thead>
36
                                    <tr>
37
                                    <tr>
37
                                        <th>&nbsp;</th>
38
                                        <th> </th>
38
                                        <th>Days in advance</th>
39
                                        <th>[% t('Days in advance') %]</th>
39
                                        [% IF ( SMSSendDriver ) %]<th>SMS</th>[% END %]
40
                                        [% IF ( SMSSendDriver ) %]<th>[% t('SMS') %]</th>[% END %]
40
                                        [% IF ( TalkingTechItivaPhone ) %]<th>Phone</th>[% END %]
41
                                        [% IF ( TalkingTechItivaPhone ) %]<th>[% t('Phone') %]</th>[% END %]
41
                                        <th>Email</th>
42
                                        <th>[% t('Email') %]</th>
42
                                        <th>Digests only <i id="info_digests" data-toggle="tooltip" title="You can ask for a digest to reduce the number of messages. Messages will be saved and sent as a single message." data-placement="right" class="icon icon-info-sign"></i></th>
43
                                        <th>[% t('Digests only') %] <i id="info_digests" data-toggle="tooltip" title="[% t('You can ask for a digest to reduce the number of messages. Messages will be saved and sent as a single message.') %]" data-placement="right" class="icon icon-info-sign"></i></th>
43
                                        <!-- <th>RSS</th> --><th>Do not notify</th>
44
                                        <!-- <th>RSS</th> --><th>[% t('Do not notify') %]</th>
44
                                    </tr>
45
                                    </tr>
45
                                </thead>
46
                                </thead>
46
                                <tbody>
47
                                <tbody>
47
                                [% FOREACH messaging_preference IN messaging_preferences %]
48
                                [% FOREACH messaging_preference IN messaging_preferences %]
48
                                    <tr>
49
                                    <tr>
49
                                        <td>[% IF ( messaging_preference.Item_Due ) %]Item due
50
                                        <td>[% IF ( messaging_preference.Item_Due ) %][% t('Item due') %]
50
                                              [% ELSIF ( messaging_preference.Advance_Notice ) %]Advance notice
51
                                              [% ELSIF ( messaging_preference.Advance_Notice ) %][% t('Advance notice') %]
51
                                              [% ELSIF ( messaging_preference.Upcoming_Events ) %]Upcoming events
52
                                              [% ELSIF ( messaging_preference.Upcoming_Events ) %][% t('Upcoming events') %]
52
                                              [% ELSIF ( messaging_preference.Hold_Filled ) %]Hold filled
53
                                              [% ELSIF ( messaging_preference.Hold_Filled ) %][% t('Hold filled') %]
53
                                              [% ELSIF ( messaging_preference.Item_Check_in ) %]Item check-in
54
                                              [% ELSIF ( messaging_preference.Item_Check_in ) %][% t('Item check-in') %]
54
                                              [% ELSIF ( messaging_preference.Item_Checkout ) %]Item checkout
55
                                              [% ELSIF ( messaging_preference.Item_Checkout ) %][% t('Item checkout') %]
55
                                              [% ELSE %]Unknown [% END %]</td>
56
                                              [% ELSE %][% t('Unknown') %] [% END %]</td>
56
                                        [% IF ( messaging_preference.takes_days ) %]
57
                                        [% IF ( messaging_preference.takes_days ) %]
57
                                            <td><select class="input-mini" name="[% messaging_preference.message_attribute_id %]-DAYS">
58
                                            <td><select class="input-mini" name="[% messaging_preference.message_attribute_id %]-DAYS">
58
                                            [% FOREACH select_day IN messaging_preference.select_days %]
59
                                            [% FOREACH select_day IN messaging_preference.select_days %]
Lines 70-78 Link Here
70
                                            [% IF ( messaging_preference.transport_sms ) %]
71
                                            [% IF ( messaging_preference.transport_sms ) %]
71
                                                <td>
72
                                                <td>
72
                                                    [% IF ( messaging_preference.transports_sms ) %]
73
                                                    [% IF ( messaging_preference.transports_sms ) %]
73
                                                      <input type="checkbox" id="sms[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="sms" checked="checked" onclick = "document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
74
                                                      <input type="checkbox" id="sms[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="sms" checked="checked" onclick="document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
74
                                                    [% ELSE %]
75
                                                    [% ELSE %]
75
                                                        <input type="checkbox" id="sms[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="sms" onclick = "document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
76
                                                        <input type="checkbox" id="sms[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="sms" onclick="document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
76
                                                    [% END %]
77
                                                    [% END %]
77
                                                </td>
78
                                                </td>
78
                                            [% ELSE %]
79
                                            [% ELSE %]
Lines 83-97 Link Here
83
                                            [% IF ( messaging_preference.transport_phone ) %]
84
                                            [% IF ( messaging_preference.transport_phone ) %]
84
                                            <td>
85
                                            <td>
85
                                              [% IF ( messaging_preference.transports_phone ) %]
86
                                              [% IF ( messaging_preference.transports_phone ) %]
86
                                              <input type="checkbox"
87
                                              <input type="checkbox" id="phone[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="phone" checked="checked" onclick="document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
87
                                                         id="phone[% messaging_preference.message_attribute_id %]"
88
                                                         name="[% messaging_preference.message_attribute_id %]"
89
                                                         value="phone" checked="checked" onclick = "document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
90
                                              [% ELSE %]
88
                                              [% ELSE %]
91
                                              <input type="checkbox"
89
                                              <input type="checkbox" id="phone[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="phone" onclick="document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
92
                                                         id="phone[% messaging_preference.message_attribute_id %]"
93
                                                         name="[% messaging_preference.message_attribute_id %]"
94
                                                         value="phone" onclick = "document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
95
                                              [% END %]
90
                                              [% END %]
96
                                            </td>
91
                                            </td>
97
                                            [% ELSE %]
92
                                            [% ELSE %]
Lines 102-110 Link Here
102
                                        [% IF ( messaging_preference.transport_email ) %]
97
                                        [% IF ( messaging_preference.transport_email ) %]
103
                                            <td>
98
                                            <td>
104
                                                [% IF ( messaging_preference.transports_email ) %]
99
                                                [% IF ( messaging_preference.transports_email ) %]
105
                                                    <input type="checkbox" id="email[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="email" checked="checked" onclick = "document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
100
                                                    <input type="checkbox" id="email[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="email" checked="checked" onclick="document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
106
                                                [% ELSE %]
101
                                                [% ELSE %]
107
                                                    <input type="checkbox" id="email[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="email" onclick = "document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
102
                                                    <input type="checkbox" id="email[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="email" onclick="document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
108
                                                [% END %]
103
                                                [% END %]
109
                                            </td>
104
                                            </td>
110
                                        [% ELSE %]
105
                                        [% ELSE %]
Lines 114-122 Link Here
114
                                        [% IF ( messaging_preference.has_digest ) %]
109
                                        [% IF ( messaging_preference.has_digest ) %]
115
                                            <td>
110
                                            <td>
116
                                                [% IF ( messaging_preference.digest ) %]
111
                                                [% IF ( messaging_preference.digest ) %]
117
                                                    <input type="checkbox" id="digest[% messaging_preference.message_attribute_id %]" value="[% messaging_preference.message_attribute_id %]" name="digest" checked="checked" onclick = "document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
112
                                                    <input type="checkbox" id="digest[% messaging_preference.message_attribute_id %]" value="[% messaging_preference.message_attribute_id %]" name="digest" checked="checked" onclick="document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
118
                                                [% ELSE %]
113
                                                [% ELSE %]
119
                                                    <input type="checkbox" id="digest[% messaging_preference.message_attribute_id %]" value="[% messaging_preference.message_attribute_id %]" name="digest" onclick = "document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
114
                                                    <input type="checkbox" id="digest[% messaging_preference.message_attribute_id %]" value="[% messaging_preference.message_attribute_id %]" name="digest" onclick="document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
120
                                                [% END %]
115
                                                [% END %]
121
                                            </td>
116
                                            </td>
122
                                        [% ELSE %]
117
                                        [% ELSE %]
Lines 131-148 Link Here
131
126
132
                        <fieldset class="rows">
127
                        <fieldset class="rows">
133
                            [% IF ( SMSSendDriver ) %]
128
                            [% IF ( SMSSendDriver ) %]
134
                                <ol><li><label>Notice:</label>Some charges for text messages may be incurred when using this service. Please check with your mobile service provider if you have questions.</li></ol>
129
                                <ol><li><label>[% t('Notice:') %]</label>[% t('Some charges for text messages may be incurred when using this service. Please check with your mobile service provider if you have questions.') %]</li></ol>
135
                                <ol><li>
130
                                <ol><li>
136
                                    <label for="SMSnumber">SMS number:</label> <input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber %]" />
131
                                    <label for="SMSnumber">[% t('SMS number:') %]</label> <input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber %]" />
137
                                    <i>Please enter numbers only. <b>(123) 456-7890</b> would be entered as <b>1234567890</b>.</i>
132
                                    <i>[% t('Please enter numbers only.') %] <b>[% t('(123) 456-7890') %]</b> [% t('would be entered as') %] <b>[% t('1234567890') %]</b>.</i>
138
                                </li></ol>
133
                                </li></ol>
139
                            [% END %]
134
                            [% END %]
140
135
141
                            [% IF ( SMSSendDriver == 'Email' ) %]
136
                            [% IF ( SMSSendDriver == 'Email' ) %]
142
                                <ol><li>
137
                                <ol><li>
143
                                    <label for="sms_provider_id">SMS provider:</label>
138
                                    <label for="sms_provider_id">[% t('SMS provider:') %]</label>
144
                                    <select id="sms_provider_id" name="sms_provider_id"/>
139
                                    <select id="sms_provider_id" name="sms_provider_id" />
145
                                        <option value="">Unknown</option>
140
                                        <option value="">[% t('Unknown') %]</option>
146
                                        [% FOREACH s IN sms_providers %]
141
                                        [% FOREACH s IN sms_providers %]
147
                                            [% IF s.id == sms_provider_id %]
142
                                            [% IF s.id == sms_provider_id %]
148
                                                <option value="[% s.id %]" selected="selected">[% s.name %]</option>
143
                                                <option value="[% s.id %]" selected="selected">[% s.name %]</option>
Lines 151-168 Link Here
151
                                            [% END %]
146
                                            [% END %]
152
                                        [% END %]
147
                                        [% END %]
153
                                    </select>
148
                                    </select>
154
                                    <i>Please contact a library staff member if you are unsure of your mobile service provider, or you do not see your provider in this list.</i>
149
                                    <i>[% t('Please contact a library staff member if you are unsure of your mobile service provider, or you do not see your provider in this list.') %]</i>
155
                                </li></ol>
150
                                </li></ol>
156
                            [% END %]
151
                            [% END %]
157
                        </fieldset>
152
                        </fieldset>
158
153
159
                        <fieldset class="action">
154
                        <fieldset class="action">
160
                          <input type="submit" value="Submit changes" class="btn" /> <a class="cancel" href="/cgi-bin/koha/opac-user.pl">Cancel</a>
155
                          <input type="submit" value="Submit changes" class="btn" /> <a class="cancel" href="/cgi-bin/koha/opac-user.pl">[% t('Cancel') %]</a>
161
                        </fieldset>
156
                        </fieldset>
162
                    </form>
157
                    </form>
163
                </div> <!-- / #usermessaging -->
158
                </div> <!-- / #usermessaging -->
164
                [% ELSE %]
159
                [% ELSE %]
165
                    <h4>You are not allowed to call this page directly</h4>
160
                    <h4>[% t('You are not allowed to call this page directly') %]</h4>
166
                [% END %]
161
                [% END %]
167
           </div> <!-- / .span10 -->
162
           </div> <!-- / .span10 -->
168
        </div> <!-- / .row-fluid -->
163
        </div> <!-- / .row-fluid -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-mymessages.tt (-6 / +6 lines)
Lines 1-22 Link Here
1
<?xml version="1.0"?>
1
<!--?xml version="1.0"?-->
2
<rss version="2.0">
2
<rss version="2.0">
3
   <channel>
3
   <channel>
4
      <title></title>
4
      <title></title>
5
      <link></link>
5
      <link></link>
6
      <description></description>
6
      <description></description>
7
      <language></language>
7
      <language></language>
8
      <pubDate></pubDate>
8
      <pubdate></pubdate>
9
      <lastBuildDate></lastBuildDate>
9
      <lastbuilddate></lastbuilddate>
10
      <docs></docs>
10
      <docs></docs>
11
      <generator></generator>
11
      <generator></generator>
12
      <managingEditor></managingEditor>
12
      <managingeditor></managingeditor>
13
      <webMaster></webMaster>
13
      <webmaster></webmaster>
14
      [% FOREACH message_lis IN message_list %]
14
      [% FOREACH message_lis IN message_list %]
15
      <item>
15
      <item>
16
        <title>[% message_lis.subject |html %]</title>
16
        <title>[% message_lis.subject |html %]</title>
17
        <link>[% message_lis.title |html %]</link>
17
        <link>[% message_lis.title |html %]</link>
18
        <description>[% message_lis.content |html %]</description>
18
        <description>[% message_lis.content |html %]</description>
19
        <pubDate>[% message_lis.time_queued |html %]</pubDate>
19
        <pubdate>[% message_lis.time_queued |html %]</pubdate>
20
        <guid>[% message_lis.title |html %]</guid>
20
        <guid>[% message_lis.title |html %]</guid>
21
      </item>
21
      </item>
22
      [% END %]
22
      [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-news-rss.tt (-4 / +5 lines)
Lines 1-15 Link Here
1
<?xml version="1.0"?>
1
[% PROCESS 'i18n.inc' %]
2
<!--?xml version="1.0"?-->
2
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
3
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
3
   <channel>
4
   <channel>
4
      <atom:link href="[% OPACBaseURL %]/cgi-bin/koha/opac-main.pl" rel="self" type="application/rss+xml" />
5
      <atom:link href="[% OPACBaseURL %]/cgi-bin/koha/opac-main.pl" rel="self" type="application/rss+xml" />
5
      <title>News from [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]the library[% END %]</title>
6
      <title>[% t('News from') %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('the library') %][% END %]</title>
6
      <link>[% OPACBaseURL %]/cgi-bin/koha/opac-main.pl</link>
7
      <link>[% OPACBaseURL %][% t('/cgi-bin/koha/opac-main.pl') %]</link>
7
      <description></description>
8
      <description></description>
8
      [% FOREACH newsitem IN koha_news %]
9
      [% FOREACH newsitem IN koha_news %]
9
      <item>
10
      <item>
10
        <title>[% newsitem.title |html %]</title>
11
        <title>[% newsitem.title |html %]</title>
11
        <description>[% newsitem.content |html %]</description>
12
        <description>[% newsitem.content |html %]</description>
12
        <guid>[% OPACBaseURL %]/cgi-bin/koha/opac-main.pl#newsitem[% newsitem.idnew |html %]</guid>
13
        <guid>[% OPACBaseURL %][% t('/cgi-bin/koha/opac-main.pl#newsitem') %][% newsitem.idnew |html %]</guid>
13
      </item>
14
      </item>
14
      [% END %]
15
      [% END %]
15
   </channel>
16
   </channel>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt (-52 / +48 lines)
Lines 1-51 Link Here
1
<?xml version='1.0' encoding='utf-8'  ?>
1
[% PROCESS 'i18n.inc' %]
2
<!--?xml version='1.0' encoding='utf-8'  ?-->
2
[% USE Koha %]
3
[% USE Koha %]
3
[% IF ( opensearchdescription ) %]
4
[% IF ( opensearchdescription ) %]
4
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
5
<opensearchdescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
5
   <ShortName>[% LibraryName |html %] Search</ShortName>
6
   <shortname>[% LibraryName |html %] [% t('Search') %]</shortname>
6
   <Description>Search the [% LibraryName |html %]</Description>
7
   <description>[% t('Search the') %] [% LibraryName |html %]</description>
7
   <Tags>koha opac [% LibraryName |html %]</Tags>
8
   <tags>[% t('koha opac') %] [% LibraryName |html %]</tags>
8
   <Contact>[% KohaAdminEmailAddress |html %]</Contact>
9
   <contact>[% KohaAdminEmailAddress |html %]</contact>
9
   <Url type="application/rss+xml"
10
   <url type="application/rss+xml" template="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?q={searchTerms}&pw={startPage?}&format=rss2" />
10
        template="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?q={searchTerms}&amp;pw={startPage?}&amp;format=rss2"/>
11
</opensearchdescription>
11
</OpenSearchDescription>
12
12
13
[% ELSE %]
13
[% ELSE %]
14
14
15
[% IF ( rss2 ) %]
15
[% IF ( rss2 ) %]
16
<rss version="2.0"
16
<rss version="2.0" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
17
      xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"
18
      xmlns:dc="http://purl.org/dc/elements/1.1/"
19
      xmlns:atom="http://www.w3.org/2005/Atom">
20
   <channel>
17
   <channel>
21
     <title><![CDATA[[% LibraryName |html %] Search [% IF ( query_desc ) %]for '[% query_desc |html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc |html %]'[% END %]]]></title>
18
     <title><![CDATA[[% LibraryName |html %] Search [% IF ( query_desc ) %][% t('for \'') %][% query_desc |html %]'[% END %][% IF ( limit_desc ) %] [% t('with limit(s): \'') %][% limit_desc |html %]'[% END %]]]></title>
22
     <link>[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;format=rss2</link>
19
     <link>[% OPACBaseURL %][% t('/cgi-bin/koha/opac-search.pl?') %][% query_cgi |html %][% limit_cgi |html %][% t('&amp;format=rss2') %]</link>
23
     <atom:link rel="self" type="application/rss+xml" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %]&amp;sort_by=[% sort_by | uri %]&amp;format=rss2"/>
20
     <atom:link rel="self" type="application/rss+xml" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %]&sort_by=[% sort_by | uri %]&format=rss2" />
24
     <description><![CDATA[ Search results [% IF ( query_desc ) %]for '[% query_desc |html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc |html %]'[% END %] at [% LibraryName |html %]]]></description>
21
     <description><!--[CDATA[ Search results [% IF ( query_desc ) %]for '[% query_desc |html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc |html %]'[% END %] at [% LibraryName |html %]]]--></description>
25
     <opensearch:totalResults>[% total %]</opensearch:totalResults>
22
     <opensearch:totalresults>[% total %]</opensearch:totalresults>
26
     <opensearch:startIndex>[% offset %]</opensearch:startIndex>
23
     <opensearch:startindex>[% offset %]</opensearch:startindex>
27
     [% IF ( results_per_page ) %]
24
     [% IF ( results_per_page ) %]
28
       <opensearch:itemsPerPage>[% results_per_page |html%]</opensearch:itemsPerPage>
25
       <opensearch:itemsperpage>[% results_per_page |html%]</opensearch:itemsperpage>
29
     [% ELSE %]
26
     [% ELSE %]
30
       <opensearch:itemsPerPage>20</opensearch:itemsPerPage>
27
       <opensearch:itemsperpage>[% t('20') %]</opensearch:itemsperpage>
31
     [% END %]
28
     [% END %]
32
	 [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
29
	 [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
33
     <atom:link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% SEARCH_RESULT.query_cgi |uri %][% SEARCH_RESULT.limit_cgi |uri %]&amp;sort_by=[% SEARCH_RESULT.sort_by |uri %]&amp;format=opensearchdescription"/>
30
     <atom:link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% SEARCH_RESULT.query_cgi |uri %][% SEARCH_RESULT.limit_cgi |uri %]&sort_by=[% SEARCH_RESULT.sort_by |uri %]&format=opensearchdescription" />
34
     <opensearch:Query role="request" searchTerms="[% SEARCH_RESULT.query_desc |uri %][% SEARCH_RESULT.limit_desc |uri %]" startPage="[% SEARCH_RESULT.page %]" />
31
     <opensearch:query role="request" searchterms="[% SEARCH_RESULT.query_desc |uri %][% SEARCH_RESULT.limit_desc |uri %]" startpage="[% SEARCH_RESULT.page %]" />
35
     <item>
32
     <item>
36
       <title>[% SEARCH_RESULT.title |html %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield |html %][% END %]</title>
33
       <title>[% SEARCH_RESULT.title |html %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield |html %][% END %]</title>
37
       <dc:identifier>ISBN [% SEARCH_RESULT.isbn |html %]</dc:identifier>
34
       <dc:identifier>[% t('ISBN') %] [% SEARCH_RESULT.isbn |html %]</dc:identifier>
38
       <link>[% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %][% OPACBaseURL %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% IF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %][% OPACBaseURL %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% END %][% END %]</link>
35
       <link>[% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %][% OPACBaseURL %][% t('/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=') %][% SEARCH_RESULT.biblionumber %][% ELSE %][% IF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %][% OPACBaseURL %][% t('/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=') %][% SEARCH_RESULT.biblionumber %][% ELSE %][% OPACBaseURL %][% t('/cgi-bin/koha/opac-detail.pl?biblionumber=') %][% SEARCH_RESULT.biblionumber %][% END %][% END %]</link>
39
       <description><![CDATA[
36
       <description><!--[CDATA[
40
[% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %]
37
[% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" /-->[% END %][% END %]
41
[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( SEARCH_RESULT.content_identifier_exists ) %]<img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&amp;client=[% SEARCH_RESULT.SyndeticsClientCode %]&amp;type=xw10[% IF ( SEARCH_RESULT.normalized_upc ) %]&amp;upc=[% SEARCH_RESULT.normalized_upc %][% END %][% IF ( SEARCH_RESULT.normalized_oclc ) %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc %][% END %]" alt="" />
38
[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( SEARCH_RESULT.content_identifier_exists ) %]<img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&client=[% SEARCH_RESULT.SyndeticsClientCode %]&type=xw10[% IF ( SEARCH_RESULT.normalized_upc ) %]&upc=[% SEARCH_RESULT.normalized_upc %][% END %][% IF ( SEARCH_RESULT.normalized_oclc ) %]&oclc=[% SEARCH_RESULT.normalized_oclc %][% END %]" alt="" />
42
[% ELSE %]
39
[% ELSE %]
43
<img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% SEARCH_RESULT.normalized_upc %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc %]" alt="" />
40
<img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% SEARCH_RESULT.normalized_upc %]&oclc=[% SEARCH_RESULT.normalized_oclc %]" alt="" />
44
[% END %][% END %][% END %]
41
[% END %][% END %][% END %]
45
42
46
[% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
43
[% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
47
[% IF ( BakerTaylorEnabled ) %][% IF bt_id %]<a href="https://[% BakerTaylorBookstoreURL |url %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |url %][% bt_id %]" /></a>[% END %][% END %]
44
[% IF ( BakerTaylorEnabled ) %][% IF bt_id %]<a href="https://[% BakerTaylorBookstoreURL |url %][% bt_id %]"><img alt="[% t('See Baker &amp; Taylor') %]" src="[% BakerTaylorImageURL |url %][% bt_id %]" /></a>[% END %][% END %]
48
	   <p>[% IF ( SEARCH_RESULT.author ) %]By [% SEARCH_RESULT.author |html %]. [% END %]
45
	   <p>[% IF ( SEARCH_RESULT.author ) %][% t('By') %] [% SEARCH_RESULT.author |html %]. [% END %]
49
	   [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place |html %] [% END %][% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode |html %][% END %][% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear |html %]
46
	   [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place |html %] [% END %][% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode |html %][% END %][% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear |html %]
50
                    [% ELSE %][% IF ( SEARCH_RESULT.copyrightdate ) %] [% SEARCH_RESULT.copyrightdate |html %][% END %][% END %]
47
                    [% ELSE %][% IF ( SEARCH_RESULT.copyrightdate ) %] [% SEARCH_RESULT.copyrightdate |html %][% END %][% END %]
51
                        [% IF ( SEARCH_RESULT.pages ) %]. [% SEARCH_RESULT.pages |html %][% END %]
48
                        [% IF ( SEARCH_RESULT.pages ) %]. [% SEARCH_RESULT.pages |html %][% END %]
Lines 54-63 Link Here
54
                        [% IF ( SEARCH_RESULT.isbn ) %] [% SEARCH_RESULT.isbn |html %][% END %]
51
                        [% IF ( SEARCH_RESULT.isbn ) %] [% SEARCH_RESULT.isbn |html %][% END %]
55
       </p>
52
       </p>
56
[% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
53
[% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
57
<p><a href="[% OPACBaseURL %]/cgi-bin/koha/opac-reserve.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Place Hold on <i>[% SEARCH_RESULT.title %]</i></a></p>
54
<p><a href="[% OPACBaseURL %]/cgi-bin/koha/opac-reserve.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">[% t('Place Hold on') %] <i>[% SEARCH_RESULT.title %]</i></a></p>
58
[% END %]
55
[% END %]
59
						]]></description>
56
						]]></description>
60
       <guid>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]</guid>
57
       <guid>[% OPACBaseURL %][% t('/cgi-bin/koha/opac-detail.pl?biblionumber=') %][% SEARCH_RESULT.biblionumber %]</guid>
61
     </item>
58
     </item>
62
	 [% END %]
59
	 [% END %]
63
   </channel>
60
   </channel>
Lines 65-105 Link Here
65
[% END %]
62
[% END %]
66
63
67
[% IF ( atom ) %]
64
[% IF ( atom ) %]
68
<feed xmlns="http://www.w3.org/2005/Atom"
65
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
69
       xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
66
   <id>[% OPACBaseURL %][% t('/cgi-bin/koha/opac-search.pl?') %][% query_cgi |html %][% limit_cgi |html %][% t('&amp;format=atom') %]</id>
70
   <id>[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;format=atom</id>
67
   <title>[% LibraryName |html %] [% t('Search') %] [% IF ( query_desc ) %][% t('for \'') %][% query_desc |html %]'[% END %][% IF ( limit_desc ) %][% t(' with limit(s): \'') %][% limit_desc |html %]'[% END %]</title>
71
   <title>[% LibraryName |html %] Search [% IF ( query_desc ) %]for '[% query_desc |html %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc |html %]'[% END %]</title>
68
    <link href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %]&format=rss2" />
72
    <link href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %]&amp;format=rss2"/>
73
   <updated>[% timestamp %]</updated>
69
   <updated>[% timestamp %]</updated>
74
   <author>
70
   <author>
75
     <name>[% LibraryName |html %]</name>
71
     <name>[% LibraryName |html %]</name>
76
   </author>
72
   </author>
77
   <!-- <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id> -->
73
   <!-- <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id> -->
78
   <opensearch:totalResults>[% total %]</opensearch:totalResults>
74
   <opensearch:totalresults>[% total %]</opensearch:totalresults>
79
   <opensearch:startIndex>[% page %]</opensearch:startIndex>
75
   <opensearch:startindex>[% page %]</opensearch:startindex>
80
   [% IF ( results_per_page ) %]
76
   [% IF ( results_per_page ) %]
81
     <opensearch:itemsPerPage>[% results_per_page %]</opensearch:itemsPerPage>
77
     <opensearch:itemsperpage>[% results_per_page %]</opensearch:itemsperpage>
82
   [% ELSE %]
78
   [% ELSE %]
83
     <opensearch:itemsPerPage>20</opensearch:itemsPerPage>
79
     <opensearch:itemsperpage>[% t('20') %]</opensearch:itemsperpage>
84
   [% END %]
80
   [% END %]
85
   <opensearch:Query role="request" searchTerms="[% query_desc |html %] [% limit_desc |html %]" startPage="[% page |html %]" />
81
   <opensearch:query role="request" searchterms="[% query_desc |html %] [% limit_desc |html %]" startpage="[% page |html %]" />
86
   <link rel="alternate" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=[% page %]&amp;format=atom" type="application/atom+xml"/>
82
   <link rel="alternate" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=[% page %]&format=atom" type="application/atom+xml" />
87
   <link rel="self" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;format=atom" type="application/atom+xml"/>
83
   <link rel="self" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&format=atom" type="application/atom+xml" />
88
   <link rel="first" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=1&amp;format=atom" type="application/atom+xml"/>
84
   <link rel="first" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=1&format=atom" type="application/atom+xml" />
89
   <link rel="previous" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=2&amp;format=atom" type="application/atom+xml"/>
85
   <link rel="previous" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=2&format=atom" type="application/atom+xml" />
90
   <link rel="next" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=4&amp;format=atom" type="application/atom+xml"/>
86
   <link rel="next" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=4&format=atom" type="application/atom+xml" />
91
   <link rel="last" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=42299&amp;format=atom" type="application/atom+xml"/>
87
   <link rel="last" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=42299&format=atom" type="application/atom+xml" />
92
   <link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?format=opensearchdescription"/>
88
   <link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?format=opensearchdescription" />
93
89
94
   [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
90
   [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
95
   <entry>
91
   <entry>
96
     <title>[% SEARCH_RESULT.title |html %]</title>
92
     <title>[% SEARCH_RESULT.title |html %]</title>
97
     <link href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]"/>
93
     <link href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]" />
98
     <!-- <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> -->
94
     <!-- <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> -->
99
     <updated>[% SEARCH_RESULT.timestamp %]</updated>
95
     <updated>[% SEARCH_RESULT.timestamp %]</updated>
100
     <content type="text"><!-- put content here -->
96
     <content type="text"><!-- put content here -->
101
     </content>
97
     </content>
102
     <id>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]</id>
98
     <id>[% OPACBaseURL %][% t('/cgi-bin/koha/opac-detail.pl?biblionumber=') %][% SEARCH_RESULT.biblionumber %]</id>
103
   </entry>
99
   </entry>
104
   [% END %]
100
   [% END %]
105
 </feed>
101
 </feed>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt (-4 / +5 lines)
Lines 1-7 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; OverDrive search for '[% q | html %]'</title>
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › OverDrive search for \'') %][% q | html %]'</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% BLOCK cssinclude %]
7
[% BLOCK cssinclude %]
7
[% Asset.css("css/jquery.rating.css") %]
8
[% Asset.css("css/jquery.rating.css") %]
Lines 17-24 Link Here
17
18
18
    <div class="main">
19
    <div class="main">
19
        <ul class="breadcrumb">
20
        <ul class="breadcrumb">
20
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
21
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
21
            <li><a href="#">OverDrive search for '[% q | html %]'</a></li>
22
            <li><a href="#">[% t('OverDrive search for \'') %][% q | html %]'</a></li>
22
        </ul>
23
        </ul>
23
24
24
        <div class="container-fluid">
25
        <div class="container-fluid">
Lines 30-36 Link Here
30
                </div>
31
                </div>
31
                <div class="span10">
32
                <div class="span10">
32
                    <div id="overdrive-results-content" class="maincontent searchresults">
33
                    <div id="overdrive-results-content" class="maincontent searchresults">
33
                        <h1>OverDrive search for '[% q | html %]'</h1>
34
                        <h1>[% t('OverDrive search for \'') %][% q | html %]'</h1>
34
                            <div id="breadcrumbs">
35
                            <div id="breadcrumbs">
35
                                <p></p>
36
                                <p></p>
36
                            </div>
37
                            </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt (-19 / +20 lines)
Lines 1-7 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Change your password</title>
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Change your password') %]</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% BLOCK cssinclude %][% END %]
7
[% BLOCK cssinclude %][% END %]
7
</head>
8
</head>
Lines 10-18 Link Here
10
11
11
<div class="main">
12
<div class="main">
12
    <ul class="breadcrumb">
13
    <ul class="breadcrumb">
13
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
14
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
14
        <li><a href="/cgi-bin/koha/opac-user.pl">[% firstname %] [% surname %]</a> <span class="divider">&rsaquo;</span></li>
15
        <li><a href="/cgi-bin/koha/opac-user.pl">[% firstname %] [% surname %]</a> <span class="divider">›</span></li>
15
        <li><a href="#">Change your password</a></li>
16
        <li><a href="#">[% t('Change your password') %]</a></li>
16
    </ul>
17
    </ul>
17
18
18
    <div class="container-fluid">
19
    <div class="container-fluid">
Lines 24-50 Link Here
24
            </div>
25
            </div>
25
            <div class="span10">
26
            <div class="span10">
26
                <div id="userpasswd">
27
                <div id="userpasswd">
27
                    <h3>Change your password </h3>
28
                    <h3>[% t('Change your password') %] </h3>
28
29
29
                    [% IF ( Error_messages ) %]
30
                    [% IF ( Error_messages ) %]
30
                        <div class="alert">
31
                        <div class="alert">
31
                            <h3>There was a problem with your submission</h3>
32
                            <h3>[% t('There was a problem with your submission') %]</h3>
32
                            <p>
33
                            <p>
33
                                [% IF ( passwords_mismatch ) %]
34
                                [% IF ( passwords_mismatch ) %]
34
                                Passwords do not match.  Please re-type your new password.
35
                                [% t('Passwords do not match.') %]  [% t('Please re-type your new password.') %]
35
                                [% END %]
36
                                [% END %]
36
                                [% IF password_too_short %]
37
                                [% IF password_too_short %]
37
                                    Password must be at least [% minPasswordLength %] characters long.
38
                                    [% t('Password must be at least') %] [% minPasswordLength %] [% t('characters long.') %]
38
                                [% END %]
39
                                [% END %]
39
                                [% IF password_too_weak %]
40
                                [% IF password_too_weak %]
40
                                    Password must contain at least one digit, one lowercase and one uppercase.
41
                                    [% t('Password must contain at least one digit, one lowercase and one uppercase.') %]
41
                                [% END %]
42
                                [% END %]
42
                                [% IF password_has_whitespaces %]
43
                                [% IF password_has_whitespaces %]
43
                                    Password must not contain leading or trailing whitespaces.
44
                                    [% t('Password must not contain leading or trailing whitespaces.') %]
44
                                [% END %]
45
                                [% END %]
45
46
46
                                [% IF ( WrongPass ) %]
47
                                [% IF ( WrongPass ) %]
47
                                Your current password was entered incorrectly.  If this problem persists, please ask a librarian to reset your password for you.
48
                                [% t('Your current password was entered incorrectly.') %]  [% t('If this problem persists, please ask a librarian to reset your password for you.') %]
48
                                [% END %]
49
                                [% END %]
49
                            </p>
50
                            </p>
50
                        </div>
51
                        </div>
Lines 55-76 Link Here
55
56
56
                            <form action="/cgi-bin/koha/opac-passwd.pl" name="mainform" id="mainform" method="post" autocomplete="off">
57
                            <form action="/cgi-bin/koha/opac-passwd.pl" name="mainform" id="mainform" method="post" autocomplete="off">
57
                                <fieldset>
58
                                <fieldset>
58
                                    [% UNLESS ( ShortPass ) %]<div class="alert alert-info">Your password must be at least [% minPasswordLength%] characters long.</div>[% END %]
59
                                    [% UNLESS ( ShortPass ) %]<div class="alert alert-info">[% t('Your password must be at least') %] [% minPasswordLength%] [% t('characters long.') %]</div>[% END %]
59
                                    <label for="Oldkey">Current password:</label> <input type="password" id="Oldkey" size="25"  name="Oldkey" />
60
                                    <label for="Oldkey">[% t('Current password:') %]</label> <input type="password" id="Oldkey" size="25" name="Oldkey" />
60
                                    <label for="Newkey">New password:</label> <input type="password" id="Newkey"  size="25"  name="Newkey" />
61
                                    <label for="Newkey">[% t('New password:') %]</label> <input type="password" id="Newkey" size="25" name="Newkey" />
61
                                    <label for="Confirm">Re-type new password:</label> <input type="password"  id="Confirm" size="25" name="Confirm" />
62
                                    <label for="Confirm">[% t('Re-type new password:') %]</label> <input type="password" id="Confirm" size="25" name="Confirm" />
62
                                </fieldset>
63
                                </fieldset>
63
                                <fieldset class="action"><input type="submit" value="Submit changes" class="btn" /> <a href="/cgi-bin/koha/opac-user.pl" class="cancel">Cancel</a></fieldset>
64
                                <fieldset class="action"><input type="submit" value="Submit changes" class="btn" /> <a href="/cgi-bin/koha/opac-user.pl" class="cancel">[% t('Cancel') %]</a></fieldset>
64
                            </form>
65
                            </form>
65
                        [% END # /IF Ask_data %]
66
                        [% END # /IF Ask_data %]
66
                    [% ELSE %]
67
                    [% ELSE %]
67
                        <div class="alert">You can't change your password.</div>
68
                        <div class="alert">[% t('You can\'t change your password.') %]</div>
68
                    [% END # /IF OpacPasswordChange %]
69
                    [% END # /IF OpacPasswordChange %]
69
70
70
                    [% IF ( password_updated ) %]
71
                    [% IF ( password_updated ) %]
71
                        <div class="alert alert-success">
72
                        <div class="alert alert-success">
72
                            <h1>Password updated</h1>
73
                            <h1>[% t('Password updated') %]</h1>
73
                            Your password has been changed
74
                            [% t('Your password has been changed') %]
74
                        </div>
75
                        </div>
75
                        <form action="/cgi-bin/koha/opac-user.pl" method="post" autocomplete="off">
76
                        <form action="/cgi-bin/koha/opac-user.pl" method="post" autocomplete="off">
76
                            <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
77
                            <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt (-33 / +34 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %] - Forgotten password recovery[% ELSE %]Koha online[% END %] catalog - Forgotten password recovery</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %] [% t('- Forgotten password recovery') %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog - Forgotten password recovery') %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
[% BLOCK jsinclude %]
7
[% BLOCK jsinclude %]
Lines 29-36 Link Here
29
30
30
<div class="main">
31
<div class="main">
31
    <ul class="breadcrumb">
32
    <ul class="breadcrumb">
32
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
33
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
33
        <li><a href="#">Forgotten password recovery</a></li>
34
        <li><a href="#">[% t('Forgotten password recovery') %]</a></li>
34
    </ul>
35
    </ul>
35
36
36
    <div class="container-fluid">
37
    <div class="container-fluid">
Lines 44-98 Link Here
44
                [% END %]
45
                [% END %]
45
            </div>
46
            </div>
46
            <div class="span10">
47
            <div class="span10">
47
                    <h3>Forgotten password recovery</h3>
48
                    <h3>[% t('Forgotten password recovery') %]</h3>
48
            [% IF (hasError) %]
49
            [% IF (hasError) %]
49
                <div class="alert alert-warning">
50
                <div class="alert alert-warning">
50
                    <h3>Error</h3>
51
                    <h3>[% t('Error') %]</h3>
51
                    <p>
52
                    <p>
52
                    [% IF (sendmailError) %]
53
                    [% IF (sendmailError) %]
53
                        An error has occurred while sending you the password recovery link.
54
                        [% t('An error has occurred while sending you the password recovery link.') %]
54
                        <br/>Please try again later.
55
                        <br />[% t('Please try again later.') %]
55
                    [% ELSIF (errNoBorrowerFound) %]
56
                    [% ELSIF (errNoBorrowerFound) %]
56
                        No account was found with the provided information.
57
                        [% t('No account was found with the provided information.') %]
57
                    [% ELSIF (errMultipleAccountsForEmail) %]
58
                    [% ELSIF (errMultipleAccountsForEmail) %]
58
                        Account identification with this email address only is ambiguous.
59
                        [% t('Account identification with this email address only is ambiguous.') %]
59
                        <br />Please use the field 'Login' as well.
60
                        <br />[% t('Please use the field \'Login\' as well.') %]
60
                    [% ELSIF (errAlreadyStartRecovery) %]
61
                    [% ELSIF (errAlreadyStartRecovery) %]
61
                        The process of password recovery has already been started for this account
62
                        [% t('The process of password recovery has already been started for this account') %]
62
                        [% IF username %]
63
                        [% IF username %]
63
                            ("<strong>[% username %]</strong>")
64
                            ("<strong>[% username %]</strong>")
64
                        [% ELSIF email %]
65
                        [% ELSIF email %]
65
                            ("<strong>[% email %]</strong>")
66
                            ("<strong>[% email %]</strong>")
66
                        [% END %]
67
                        [% END %]
67
                        <br/>You should have received an email with a link to reset your password.
68
                        <br />[% t('You should have received an email with a link to reset your password.') %]
68
                        <br/>If you did not receive this email, you can request a new one: <a href="/cgi-bin/koha/opac-password-recovery.pl?resendEmail=true&email=[% email %]&username=[% username %]">Get new password recovery link</a>
69
                        <br />[% t('If you did not receive this email, you can request a new one:') %] <a href="/cgi-bin/koha/opac-password-recovery.pl?resendEmail=true&email=[% email %]&username=[% username %]">[% t('Get new password recovery link') %]</a>
69
                    [% ELSIF (errPassNotMatch) %]
70
                    [% ELSIF (errPassNotMatch) %]
70
                        The passwords do not match.
71
                        [% t('The passwords do not match.') %]
71
                    [% ELSIF password_too_short %]
72
                    [% ELSIF password_too_short %]
72
                        <li>Password must be at least [% minPasswordLength %] characters long.</li>
73
                        <li>[% t('Password must be at least') %] [% minPasswordLength %] [% t('characters long.') %]</li>
73
                    [% ELSIF password_too_weak %]
74
                    [% ELSIF password_too_weak %]
74
                        <li>Password must contain at least one digit, one lowercase and one uppercase.</li>
75
                        <li>[% t('Password must contain at least one digit, one lowercase and one uppercase.') %]</li>
75
                    [% ELSIF password_has_whitespaces %]
76
                    [% ELSIF password_has_whitespaces %]
76
                        <li>Password must not contain leading or trailing whitespaces.</li>
77
                        <li>[% t('Password must not contain leading or trailing whitespaces.') %]</li>
77
                    [% ELSIF (errLinkNotValid) %]
78
                    [% ELSIF (errLinkNotValid) %]
78
                        The link you clicked is either invalid, or expired.
79
                        [% t('The link you clicked is either invalid, or expired.') %]
79
                        <br/>Be sure you used the link from the email, or contact library staff for assistance.
80
                        <br />[% t('Be sure you used the link from the email, or contact library staff for assistance.') %]
80
                    [% END %]
81
                    [% END %]
81
                    </p>
82
                    </p>
82
                    <p>Please contact the library if you need further assistance.</p>
83
                    <p>[% t('Please contact the library if you need further assistance.') %]</p>
83
                </div>
84
                </div>
84
            [% END %]
85
            [% END %]
85
                <div id="password-recovery">
86
                <div id="password-recovery">
86
[% IF (!Koha.Preference('OpacResetPassword')) %]
87
[% IF (!Koha.Preference('OpacResetPassword')) %]
87
                    <div class="alert alert-info">You can't reset your password.</div>
88
                    <div class="alert alert-info">[% t('You can\'t reset your password.') %]</div>
88
[% ELSIF (password_recovery) %]
89
[% ELSIF (password_recovery) %]
89
                    <form action="/cgi-bin/koha/opac-password-recovery.pl" method="post" autocomplete="off">
90
                    <form action="/cgi-bin/koha/opac-password-recovery.pl" method="post" autocomplete="off">
90
                        <input type="hidden" name="koha_login_context" value="opac" />
91
                        <input type="hidden" name="koha_login_context" value="opac" />
91
                        <fieldset>
92
                        <fieldset>
92
                            <p>To reset your password, enter your login or your email address.
93
                            <p>[% t('To reset your password, enter your login or your email address.') %]
93
                            <label for="username">Login:</label>
94
                            <label for="username">[% t('Login:') %]</label>
94
                            <input type="text" id="username" size="40" name="username" value="[% username %]" />
95
                            <input type="text" id="username" size="40" name="username" value="[% username %]" />
95
                            <label for="email">Email:</label>
96
                            <label for="email">[% t('Email:') %]</label>
96
                            <input type="text" id="email" size="40" name="email" value="[% email %]" />
97
                            <input type="text" id="email" size="40" name="email" value="[% email %]" />
97
                            <fieldset class="action">
98
                            <fieldset class="action">
98
                                <input type="submit" value="Submit" class="btn" name="sendEmail" />
99
                                <input type="submit" value="Submit" class="btn" name="sendEmail" />
Lines 103-112 Link Here
103
                    <form action="/cgi-bin/koha/opac-password-recovery.pl" method="post" autocomplete="off">
104
                    <form action="/cgi-bin/koha/opac-password-recovery.pl" method="post" autocomplete="off">
104
                        <input type="hidden" name="koha_login_context" value="opac" />
105
                        <input type="hidden" name="koha_login_context" value="opac" />
105
                        <fieldset>
106
                        <fieldset>
106
                            <div class="alert alert-info">The password must contain at least [% minPasswordLength %] characters.</div>
107
                            <div class="alert alert-info">[% t('The password must contain at least') %] [% minPasswordLength %] [% t('characters.') %]</div>
107
                            <label for="password">New password:</label>
108
                            <label for="password">[% t('New password:') %]</label>
108
                            <input type="password" id="password" size="40" name="password" />
109
                            <input type="password" id="password" size="40" name="password" />
109
                            <label for="repeatPassword">Confirm new password:</label>
110
                            <label for="repeatPassword">[% t('Confirm new password:') %]</label>
110
                            <input type="password" id="repeatPassword" size="40" name="repeatPassword" />
111
                            <input type="password" id="repeatPassword" size="40" name="repeatPassword" />
111
                            <fieldset class="action">
112
                            <fieldset class="action">
112
                                <input type="hidden" name="username" value="[% username %]" />
113
                                <input type="hidden" name="username" value="[% username %]" />
Lines 118-133 Link Here
118
[% ELSIF (mail_sent) %]
119
[% ELSIF (mail_sent) %]
119
                    <div class="alert alert-info">
120
                    <div class="alert alert-info">
120
                        <p>
121
                        <p>
121
                            You will receive an email shortly.
122
                            [% t('You will receive an email shortly.') %]
122
                            <br/>Please click the link in this email to finish the process of resetting your password.
123
                            <br />[% t('Please click the link in this email to finish the process of resetting your password.') %]
123
                            <br/>This link is valid for 2 days starting now.
124
                            <br />[% t('This link is valid for 2 days starting now.') %]
124
                        </p>
125
                        </p>
125
                        <a href="/cgi-bin/koha/opac-main.pl"">Return to the main page</a>
126
                        <a href="/cgi-bin/koha/opac-main.pl" "="">[% t('Return to the main page') %]</a>
126
                    </div>
127
                    </div>
127
[% ELSIF (password_reset_done) %]
128
[% ELSIF (password_reset_done) %]
128
                    <div class="alert alert-success">
129
                    <div class="alert alert-success">
129
                        <p>The password has been changed for user "[% username %]".</p>
130
                        <p>[% t('The password has been changed for user &#34;') %][% username %]".</p>
130
                        <a href="/cgi-bin/koha/opac-user.pl">Click here to login.</a>
131
                        <a href="/cgi-bin/koha/opac-user.pl">[% t('Click here to login.') %]</a>
131
                    </div>
132
                    </div>
132
[% END %]
133
[% END %]
133
                </div><!-- / #password-recovery -->
134
                </div><!-- / #password-recovery -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt (-33 / +34 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your privacy management</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Your privacy management') %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
Lines 9-17 Link Here
9
10
10
<div class="main">
11
<div class="main">
11
    <ul class="breadcrumb">
12
    <ul class="breadcrumb">
12
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
13
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
13
        <li><a href="/cgi-bin/koha/opac-user.pl">[% firstname %] [% surname %]</a> <span class="divider">&rsaquo;</span></li>
14
        <li><a href="/cgi-bin/koha/opac-user.pl">[% firstname %] [% surname %]</a> <span class="divider">›</span></li>
14
        <li><a href="#">Your privacy management</a></li>
15
        <li><a href="#">[% t('Your privacy management') %]</a></li>
15
    </ul>
16
    </ul>
16
17
17
    <div class="container-fluid">
18
    <div class="container-fluid">
Lines 23-104 Link Here
23
            </div>
24
            </div>
24
            <div class="span10">
25
            <div class="span10">
25
                <div id="userprivacy">
26
                <div id="userprivacy">
26
                    <h3>Your privacy management</h3>
27
                    <h3>[% t('Your privacy management') %]</h3>
27
28
28
                    [% IF deleted %]
29
                    [% IF deleted %]
29
                        <div class="alert alert-success">Your reading history has been deleted.</div>
30
                        <div class="alert alert-success">[% t('Your reading history has been deleted.') %]</div>
30
                    [% ELSIF history_not_deleted %]
31
                    [% ELSIF history_not_deleted %]
31
                        <div class="alert">The deletion of your reading history failed, because there is a problem with the configuration of this feature. Please help to fix the system by informing your library of this error</div>
32
                        <div class="alert">[% t('The deletion of your reading history failed, because there is a problem with the configuration of this feature. Please help to fix the system by informing your library of this error') %]</div>
32
                    [% ELSIF nothing_to_delete %]
33
                    [% ELSIF nothing_to_delete %]
33
                        <div class="alert">No reading history to delete</div>
34
                        <div class="alert">[% t('No reading history to delete') %]</div>
34
                    [% END %]
35
                    [% END %]
35
36
36
                    [% IF ( privacy_updated ) %]
37
                    [% IF ( privacy_updated ) %]
37
                        <div class="alert alert-success">Your privacy rules have been updated.</div>
38
                        <div class="alert alert-success">[% t('Your privacy rules have been updated.') %]</div>
38
                    [% END %]
39
                    [% END %]
39
40
40
                    [% IF ( Ask_data ) %]
41
                    [% IF ( Ask_data ) %]
41
                        <p>We take great care in protecting your privacy. On this screen, you can define how long we keep your reading history.</p>
42
                        <p>[% t('We take great care in protecting your privacy. On this screen, you can define how long we keep your reading history.') %]</p>
42
                        <p>Your options are: <p>
43
                        <p>[% t('Your options are:') %] <p>
43
                            <ul id="opac-privacy-options-list">
44
                            <ul id="opac-privacy-options-list">
44
                                <li class="privacy0">Forever: keep my reading history without limit. This is the option for users who want to keep track of what they are reading.</li>
45
                                <li class="privacy0">[% t('Forever: keep my reading history without limit. This is the option for users who want to keep track of what they are reading.') %]</li>
45
                                <li class="privacy1">Default: keep my reading history according to local laws. This is the default option : the library will keep your reading history for the duration permitted by local laws.</li>
46
                                <li class="privacy1">[% t('Default: keep my reading history according to local laws. This is the default option : the library will keep your reading history for the duration permitted by local laws.') %]</li>
46
                                <li class="privacy2">Never: Delete my reading history immediately. This will delete all record of the item that was checked-out upon check-in.</li>
47
                                <li class="privacy2">[% t('Never: Delete my reading history immediately. This will delete all record of the item that was checked-out upon check-in.') %]</li>
47
                            </ul>
48
                            </ul>
48
                            <p id="note1">Please note that information on any book still checked-out must be kept by the library no matter which privacy option you choose.</p>
49
                            <p id="note1">[% t('Please note that information on any book still checked-out must be kept by the library no matter which privacy option you choose.') %]</p>
49
                            <p id="note2">Please also note that the library staff can't update these values for you: it's your privacy!</p>
50
                            <p id="note2">[% t('Please also note that the library staff can\'t update these values for you: it\'s your privacy!') %]</p>
50
                            <form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-update-form">
51
                            <form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-update-form">
51
                                <input type="hidden" name="op" value="update_privacy" />
52
                                <input type="hidden" name="op" value="update_privacy" />
52
                                    <fieldset>
53
                                    <fieldset>
53
                                    <label for="privacy">Please choose your privacy rule:</label>
54
                                    <label for="privacy">[% t('Please choose your privacy rule:') %]</label>
54
                                    <div>
55
                                    <div>
55
                                        <select name="privacy" id="privacy">
56
                                        <select name="privacy" id="privacy">
56
                                            [% IF ( privacy0 ) %]
57
                                            [% IF ( privacy0 ) %]
57
                                                <option value="0" selected="selected" class="privacy0">Forever</option>
58
                                                <option value="0" selected="selected" class="privacy0">[% t('Forever') %]</option>
58
                                            [% ELSE %]
59
                                            [% ELSE %]
59
                                                <option value="0" class="privacy0">Forever</option>
60
                                                <option value="0" class="privacy0">[% t('Forever') %]</option>
60
                                            [% END %]
61
                                            [% END %]
61
                                            [% IF ( privacy1 ) %]
62
                                            [% IF ( privacy1 ) %]
62
                                                <option value="1" selected="selected" class="privacy1">Default</option>
63
                                                <option value="1" selected="selected" class="privacy1">[% t('Default') %]</option>
63
                                            [% ELSE %]
64
                                            [% ELSE %]
64
                                                <option value="1" class="privacy1">Default</option>
65
                                                <option value="1" class="privacy1">[% t('Default') %]</option>
65
                                            [% END %]
66
                                            [% END %]
66
                                            [% IF ( privacy2 ) %]
67
                                            [% IF ( privacy2 ) %]
67
                                                <option value="2" selected="selected" class="privacy2">Never</option>
68
                                                <option value="2" selected="selected" class="privacy2">[% t('Never') %]</option>
68
                                            [% ELSE %]
69
                                            [% ELSE %]
69
                                                <option value="2" class="privacy2">Never</option>
70
                                                <option value="2" class="privacy2">[% t('Never') %]</option>
70
                                            [% END %]
71
                                            [% END %]
71
                                        </select>
72
                                        </select>
72
                                    </div>
73
                                    </div>
73
74
74
                                    [% IF borrower.guarantorid && Koha.Preference('AllowPatronToSetCheckoutsVisibilityForGuarantor') %]
75
                                    [% IF borrower.guarantorid && Koha.Preference('AllowPatronToSetCheckoutsVisibilityForGuarantor') %]
75
                                        <div>
76
                                        <div>
76
                                            <label for="privacy_guarantor_checkouts">Allow your guarantor to view your current checkouts?</label>
77
                                            <label for="privacy_guarantor_checkouts">[% t('Allow your guarantor to view your current checkouts?') %]</label>
77
                                            <select name="privacy_guarantor_checkouts">
78
                                            <select name="privacy_guarantor_checkouts">
78
                                                [% IF borrower.privacy_guarantor_checkouts %]
79
                                                [% IF borrower.privacy_guarantor_checkouts %]
79
                                                    <option value="0">No</option>
80
                                                    <option value="0">[% t('No') %]</option>
80
                                                    <option value="1" selected>Yes</option>
81
                                                    <option value="1" selected="">[% t('Yes') %]</option>
81
                                                [% ELSE %]
82
                                                [% ELSE %]
82
                                                    <option value="0" selected>No</option>
83
                                                    <option value="0" selected="">[% t('No') %]</option>
83
                                                    <option value="1">Yes</option>
84
                                                    <option value="1">[% t('Yes') %]</option>
84
                                                [% END %]
85
                                                [% END %]
85
                                            </select>
86
                                            </select>
86
                                            <span class="hint">
87
                                            <span class="hint">
87
                                                Your guarantor is <i>[% borrower.guarantor.firstname %] [% borrower.guarantor.surname %]</i>
88
                                                [% t('Your guarantor is') %] <i>[% borrower.guarantor.firstname %] [% borrower.guarantor.surname %]</i>
88
                                            </span>
89
                                            </span>
89
                                        </div>
90
                                        </div>
90
                                    [% END %]
91
                                    [% END %]
91
92
92
                                    <button type="Submit" class="btn">Save</button>
93
                                    <button type="Submit" class="btn">[% t('Save') %]</button>
93
                                </fieldset>
94
                                </fieldset>
94
                            </form>
95
                            </form>
95
                        <h2>Immediate deletion</h2>
96
                        <h2>[% t('Immediate deletion') %]</h2>
96
                        <form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-delete-form">
97
                        <form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-delete-form">
97
                            <input type="hidden" name="op" value="delete_record" />
98
                            <input type="hidden" name="op" value="delete_record" />
98
                            <p>Whatever your privacy rule you choose, you can delete all your reading history immediately by clicking here. <b>BE CAREFUL</b>. Once you've confirmed the deletion, no one can retrieve the list!</p>
99
                            <p>[% t('Whatever your privacy rule you choose, you can delete all your reading history immediately by clicking here.') %] <b>[% t('BE CAREFUL') %]</b>[% t('. Once you\'ve confirmed the deletion, no one can retrieve the list!') %]</p>
99
                            <input type="submit" value="Immediate deletion" class="btn btn-danger" onclick="return confirmDelete(MSG_CONFIRM_AGAIN);" />
100
                            <input type="submit" value="Immediate deletion" class="btn btn-danger" onclick="return confirmDelete(MSG_CONFIRM_AGAIN);" />
100
                        </form>
101
                        </form>
101
                        [% IF Koha.Preference('StoreLastBorrower') %]<p id="store-last-borrower-msg">Please note, the last person to return an item is tracked for the management of items returned damaged.</p>[% END %]
102
                        [% IF Koha.Preference('StoreLastBorrower') %]<p id="store-last-borrower-msg">[% t('Please note, the last person to return an item is tracked for the management of items returned damaged.') %]</p>[% END %]
102
                    [% END # / IF Ask_data %]
103
                    [% END # / IF Ask_data %]
103
                </div> <!-- / .userprivacy -->
104
                </div> <!-- / .userprivacy -->
104
            </div> <!-- / .span10 -->
105
            </div> <!-- / .span10 -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt (-30 / +31 lines)
Lines 1-7 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your checkout history</title>
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Your checkout history') %]</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% BLOCK cssinclude %]
7
[% BLOCK cssinclude %]
7
    <style>ul.ui-tabs-nav li a, ul.ui-tabs-nav li span.a  { padding:0.6em 1em; }</style>
8
    <style>ul.ui-tabs-nav li a, ul.ui-tabs-nav li span.a  { padding:0.6em 1em; }</style>
Lines 18-26 Link Here
18
19
19
<div class="main">
20
<div class="main">
20
    <ul class="breadcrumb">
21
    <ul class="breadcrumb">
21
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
22
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
22
        <li><a href="/cgi-bin/koha/opac-user.pl">[% firstname %] [% surname %]</a> <span class="divider">&rsaquo;</span></li>
23
        <li><a href="/cgi-bin/koha/opac-user.pl">[% firstname %] [% surname %]</a> <span class="divider">›</span></li>
23
        <li><a href="#">Your checkout history</a></li>
24
        <li><a href="#">[% t('Your checkout history') %]</a></li>
24
    </ul>
25
    </ul>
25
26
26
    <div class="container-fluid">
27
    <div class="container-fluid">
Lines 32-50 Link Here
32
            </div>
33
            </div>
33
            <div class="span10">
34
            <div class="span10">
34
                <div id="userreadingrecord">
35
                <div id="userreadingrecord">
35
                    <h3>Checkout history</h3>
36
                    <h3>[% t('Checkout history') %]</h3>
36
37
37
                    [% IF READING_RECORD.size == 0 %]
38
                    [% IF READING_RECORD.size == 0 %]
38
                        You have never borrowed anything from this library.
39
                        [% t('You have never borrowed anything from this library.') %]
39
                    [% ELSE %]
40
                    [% ELSE %]
40
                        <div id="opac-user-readingrec">
41
                        <div id="opac-user-readingrec">
41
                            <div class="resultscontrol resort">
42
                            <div class="resultscontrol resort">
42
                                <form id="sortform" action="/cgi-bin/koha/opac-readingrecord.pl" method="get">
43
                                <form id="sortform" action="/cgi-bin/koha/opac-readingrecord.pl" method="get">
43
                                    [% UNLESS ( limit ) %]<input type="hidden" name="limit" value="full" />[% END %]
44
                                    [% UNLESS ( limit ) %]<input type="hidden" name="limit" value="full" />[% END %]
44
                                    <select name="order" id="order">
45
                                    <select name="order" id="order">
45
                                        [% IF ( orderbydate ) %]<option value="" selected="selected">Order by date</option>[% ELSE %]<option value="">Order by date</option>[% END %]
46
                                        [% IF ( orderbydate ) %]<option value="" selected="selected">[% t('Order by date') %]</option>[% ELSE %]<option value="">[% t('Order by date') %]</option>[% END %]
46
                                        [% IF ( orderbytitle ) %]<option value="title" selected="selected">Order by title</option>[% ELSE %]<option value="title">Order by title</option>[% END %]
47
                                        [% IF ( orderbytitle ) %]<option value="title" selected="selected">[% t('Order by title') %]</option>[% ELSE %]<option value="title">[% t('Order by title') %]</option>[% END %]
47
                                        [% IF ( orderbyauthor ) %]<option value="author" selected="selected">Order by author</option>[% ELSE %]<option value="author">Order by author</option>[% END %]
48
                                        [% IF ( orderbyauthor ) %]<option value="author" selected="selected">[% t('Order by author') %]</option>[% ELSE %]<option value="author">[% t('Order by author') %]</option>[% END %]
48
                                    </select>
49
                                    </select>
49
                                    <input type="submit" value="Go" id="sortsubmit" class="submit clearfix" />
50
                                    <input type="submit" value="Go" id="sortsubmit" class="submit clearfix" />
50
                                </form>
51
                                </form>
Lines 52-85 Link Here
52
53
53
                            [% IF limit %]
54
                            [% IF limit %]
54
                                <p>
55
                                <p>
55
                                    Showing last 50 items. <a href="/cgi-bin/koha/opac-readingrecord.pl?limit=full[% IF ( orderbytitle ) %]&amp;order=title[% END %]">Show all items</a>
56
                                    [% t('Showing last 50 items.') %] <a href="/cgi-bin/koha/opac-readingrecord.pl?limit=full[% IF ( orderbytitle ) %]&order=title[% END %]">[% t('Show all items') %]</a>
56
                                </p>
57
                                </p>
57
                            [% ELSE %]
58
                            [% ELSE %]
58
                                <p>
59
                                <p>
59
                                    Showing all items. <a href="/cgi-bin/koha/opac-readingrecord.pl?limit=50[% IF ( orderbytitle ) %]&amp;order=title[% END %]">Show last 50 items</a>
60
                                    [% t('Showing all items.') %] <a href="/cgi-bin/koha/opac-readingrecord.pl?limit=50[% IF ( orderbytitle ) %]&order=title[% END %]">[% t('Show last 50 items') %]</a>
60
                                </p>
61
                                </p>
61
                            [% END %]
62
                            [% END %]
62
63
63
                            [% IF Koha.Preference( 'OnSiteCheckouts' ) == 1 %]
64
                            [% IF Koha.Preference( 'OnSiteCheckouts' ) == 1 %]
64
                            <div id="tabs" class="toptabs">
65
                            <div id="tabs" class="toptabs">
65
                                <ul>
66
                                <ul>
66
                                    <li><a href="#tabs-container" id="tab_all">All</a></li>
67
                                    <li><a href="#tabs-container" id="tab_all">[% t('All') %]</a></li>
67
                                    <li><a href="#tabs-container" id="tab_checkout">Checkouts</a></li>
68
                                    <li><a href="#tabs-container" id="tab_checkout">[% t('Checkouts') %]</a></li>
68
                                    <li><a href="#tabs-container" id="tab_onsite_checkout">On-site checkouts</a></li>
69
                                    <li><a href="#tabs-container" id="tab_onsite_checkout">[% t('On-site checkouts') %]</a></li>
69
                                </ul>
70
                                </ul>
70
                            [% END %]
71
                            [% END %]
71
                                <div id="tabs-container" style="overflow:hidden">
72
                                <div id="tabs-container" style="overflow:hidden">
72
                                    <table id="readingrec" class="table table-bordered table-striped">
73
                                    <table id="readingrec" class="table table-bordered table-striped">
73
                                        <thead>
74
                                        <thead>
74
                                            <tr>
75
                                            <tr>
75
                                                <th style="display:none;">Type</th>
76
                                                <th style="display:none;">[% t('Type') %]</th>
76
                                                <th class="nosort"></th>
77
                                                <th class="nosort"></th>
77
                                                <th class="anti-the">Title</th>
78
                                                <th class="anti-the">[% t('Title') %]</th>
78
                                                <th>Item type</th>
79
                                                <th>[% t('Item type') %]</th>
79
                                                <th>Call no.</th>
80
                                                <th>[% t('Call no.') %]</th>
80
                                                <th class="title-string">Date</th>
81
                                                <th class="title-string">[% t('Date') %]</th>
81
                                                [% IF ( OPACMySummaryHTML ) %]
82
                                                [% IF ( OPACMySummaryHTML ) %]
82
                                                    <th>Links</th>
83
                                                    <th>[% t('Links') %]</th>
83
                                                [% END %]
84
                                                [% END %]
84
                                            </tr>
85
                                            </tr>
85
                                        </thead>
86
                                        </thead>
Lines 97-103 Link Here
97
                                                        [% IF  issue.normalized_isbn %]
98
                                                        [% IF  issue.normalized_isbn %]
98
                                                            <a href="http://www.amazon.com/gp/reader/[% issue.normalized_isbn %][% AmazonAssocTag %]#reader-link"><img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% issue.normalized_isbn %].01.THUMBZZZ.jpg" alt="" class="item-thumbnail" /></a>
99
                                                            <a href="http://www.amazon.com/gp/reader/[% issue.normalized_isbn %][% AmazonAssocTag %]#reader-link"><img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% issue.normalized_isbn %].01.THUMBZZZ.jpg" alt="" class="item-thumbnail" /></a>
99
                                                        [% ELSE %]
100
                                                        [% ELSE %]
100
                                                             <span class="no-image">No cover image available</span>
101
                                                             <span class="no-image">[% t('No cover image available') %]</span>
101
                                                        [% END %]
102
                                                        [% END %]
102
                                                    [% END %]
103
                                                    [% END %]
103
104
Lines 105-128 Link Here
105
                                                    [% IF  issue.normalized_isbn %]
106
                                                    [% IF  issue.normalized_isbn %]
106
                                                        <div title="[% issue.biblionumber |url %]" class="[% issue.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
107
                                                        <div title="[% issue.biblionumber |url %]" class="[% issue.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
107
                                                    [% ELSE %]
108
                                                    [% ELSE %]
108
                                                       <span class="no-image">No cover image available</span>
109
                                                       <span class="no-image">[% t('No cover image available') %]</span>
109
                                                    [% END %]
110
                                                    [% END %]
110
                                                [% END %]
111
                                                [% END %]
111
112
112
                                                [% IF BakerTaylorEnabled %]
113
                                                [% IF BakerTaylorEnabled %]
113
                                                    [% bt_id = ( issue.normalized_upc || issue.normalized_isbn ) %]
114
                                                    [% bt_id = ( issue.normalized_upc || issue.normalized_isbn ) %]
114
                                                    [% IF ( bt_id ) %]
115
                                                    [% IF ( bt_id ) %]
115
                                                       <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
116
                                                       <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="[% t('See Baker &amp; Taylor') %]" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
116
                                                    [% ELSE %]
117
                                                    [% ELSE %]
117
                                                       <span class="no-image">No cover image available</span>
118
                                                       <span class="no-image">[% t('No cover image available') %]</span>
118
                                                    [% END %]
119
                                                    [% END %]
119
                                                [% END %]
120
                                                [% END %]
120
121
121
                                                [% IF SyndeticsEnabled && SyndeticsCoverImages %]
122
                                                [% IF SyndeticsEnabled && SyndeticsCoverImages %]
122
                                                    [% IF  using_https  %]
123
                                                    [% IF  using_https  %]
123
                                                        <img src="https://secure.syndetics.com/index.aspx?isbn=[% issue.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% issue.normalized_upc %]&amp;oclc=[% issue.normalized_oclc %]" alt="" class="item-thumbnail" />
124
                                                        <img src="https://secure.syndetics.com/index.aspx?isbn=[% issue.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% issue.normalized_upc %]&oclc=[% issue.normalized_oclc %]" alt="" class="item-thumbnail" />
124
                                                   [% ELSE %]
125
                                                   [% ELSE %]
125
                                                        <img src="http://www.syndetics.com/index.aspx?isbn=[% issue.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% issue.normalized_upc %]&amp;oclc=[% issue.normalized_oclc %]" alt="" class="item-thumbnail" />
126
                                                        <img src="http://www.syndetics.com/index.aspx?isbn=[% issue.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% issue.normalized_upc %]&oclc=[% issue.normalized_oclc %]" alt="" class="item-thumbnail" />
126
                                                   [% END %]
127
                                                   [% END %]
127
                                                [% END %]
128
                                                [% END %]
128
                                                </td>
129
                                                </td>
Lines 142-159 Link Here
142
                                                        <img src="[% issue.imageurl %]" alt="" />
143
                                                        <img src="[% issue.imageurl %]" alt="" />
143
                                                    [% END %]
144
                                                    [% END %]
144
                                                [% END %]
145
                                                [% END %]
145
                                                <span class="tdlabel">Item type:</span>
146
                                                <span class="tdlabel">[% t('Item type:') %]</span>
146
                                                [% issue.translated_description %]</td>
147
                                                [% issue.translated_description %]</td>
147
                                                <td>
148
                                                <td>
148
                                                <span class="tdlabel">Call number:</span>
149
                                                <span class="tdlabel">[% t('Call number:') %]</span>
149
                                                [% issue.itemcallnumber %]
150
                                                [% issue.itemcallnumber %]
150
                                                </td>
151
                                                </td>
151
                                                <td>
152
                                                <td>
152
                                                    [% IF issue.returndate %]
153
                                                    [% IF issue.returndate %]
153
                                                        <span class="tdlabel">Check-in date:</span>
154
                                                        <span class="tdlabel">[% t('Check-in date:') %]</span>
154
                                                        <span title="[% issue.returndate %]">[% issue.returndate | $KohaDates %]</span>
155
                                                        <span title="[% issue.returndate %]">[% issue.returndate | $KohaDates %]</span>
155
                                                    [% ELSE %]
156
                                                    [% ELSE %]
156
                                                        <span title="Checked out"><em>(Checked out)</em></span>
157
                                                        <span title="[% t('Checked out') %]"><em>[% t('(Checked out)') %]</em></span>
157
                                                    [% END %]
158
                                                    [% END %]
158
                                                </td>
159
                                                </td>
159
                                                [% IF OPACMySummaryHTML %]
160
                                                [% IF OPACMySummaryHTML %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt (-14 / +15 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog') %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
Lines 9-16 Link Here
9
10
10
    <div class="main">
11
    <div class="main">
11
        <ul class="breadcrumb">
12
        <ul class="breadcrumb">
12
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
13
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
13
            <li><a href="#">Registration complete</a></li>
14
            <li><a href="#">[% t('Registration complete') %]</a></li>
14
        </ul>
15
        </ul>
15
16
16
        <div class="container-fluid">
17
        <div class="container-fluid">
Lines 30-58 Link Here
30
                [% END %]
31
                [% END %]
31
32
32
                    <div id="registration-complete">
33
                    <div id="registration-complete">
33
                        <h1>Registration Complete!</h1>
34
                        <h1>[% t('Registration Complete!') %]</h1>
34
35
35
                        <p>You have successfully registered your new account.</p>
36
                        <p>[% t('You have successfully registered your new account.') %]</p>
36
                        [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
37
                        [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
37
                            <p>To log in, use the following credentials:</p>
38
                            <p>[% t('To log in, use the following credentials:') %]</p>
38
39
39
                            <p id="patron-userid-p">
40
                            <p id="patron-userid-p">
40
                                <span id="patron-userid-label">Username:</span>
41
                                <span id="patron-userid-label">[% t('Username:') %]</span>
41
                                <span id="patron-userid">[% borrower.userid %]</span>
42
                                <span id="patron-userid">[% borrower.userid %]</span>
42
                            </p>
43
                            </p>
43
                            <p id="patron-password-p">
44
                            <p id="patron-password-p">
44
                                <span id="patron-password-label">Password:</span>
45
                                <span id="patron-password-label">[% t('Password:') %]</span>
45
                                <span id="patron-password">[% password_cleartext | html %]</span>
46
                                <span id="patron-password">[% password_cleartext | html %]</span>
46
                            </p>
47
                            </p>
47
48
48
                            [% IF borrower.cardnumber %]
49
                            [% IF borrower.cardnumber %]
49
                                <p id="patron-cardnumber-p">
50
                                <p id="patron-cardnumber-p">
50
                                    <span id="patron-cardnumber-label">Card number:</span>
51
                                    <span id="patron-cardnumber-label">[% t('Card number:') %]</span>
51
                                    <span id="patron-cardnumber">[% borrower.cardnumber %]</span>
52
                                    <span id="patron-cardnumber">[% borrower.cardnumber %]</span>
52
                                </p>
53
                                </p>
53
                            [% END %]
54
                            [% END %]
54
55
55
                            <p id="patron-instructions">For your convenience, the login box on this page has been pre-filled with this data. Please log in[% IF OpacPasswordChange %] and change your password[% END %].</p>
56
                            <p id="patron-instructions">[% t('For your convenience, the login box on this page has been pre-filled with this data. Please log in') %][% IF OpacPasswordChange %] [% t('and change your password') %][% END %].</p>
56
                        [% END %]
57
                        [% END %]
57
58
58
                        <div id="PatronSelfRegistrationAdditionalInstructions">[% PatronSelfRegistrationAdditionalInstructions %]</div>
59
                        <div id="PatronSelfRegistrationAdditionalInstructions">[% PatronSelfRegistrationAdditionalInstructions %]</div>
Lines 69-82 Link Here
69
                                            <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth" autocomplete="off">
70
                                            <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth" autocomplete="off">
70
                                                <input type="hidden" name="koha_login_context" value="opac" />
71
                                                <input type="hidden" name="koha_login_context" value="opac" />
71
                                                <fieldset class="brief">
72
                                                <fieldset class="brief">
72
                                                    <legend>Log in to your account:</legend>
73
                                                    <legend>[% t('Log in to your account:') %]</legend>
73
                                                    <label for="userid">Login:</label>
74
                                                    <label for="userid">[% t('Login:') %]</label>
74
                                                    [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
75
                                                    [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
75
                                                        <input type="text" id="userid" size="10" name="userid" value="[% borrower.userid %]" />
76
                                                        <input type="text" id="userid" size="10" name="userid" value="[% borrower.userid %]" />
76
                                                    [% ELSE %]
77
                                                    [% ELSE %]
77
                                                        <input type="text" id="userid" size="10" name="userid" value="" />
78
                                                        <input type="text" id="userid" size="10" name="userid" value="" />
78
                                                    [% END %]
79
                                                    [% END %]
79
                                                    <label for="password">Password:</label>
80
                                                    <label for="password">[% t('Password:') %]</label>
80
                                                    [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
81
                                                    [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
81
                                                        <input type="password" id="password" size="10" name="password" value="[% password_cleartext | html %]" />
82
                                                        <input type="password" id="password" size="10" name="password" value="[% password_cleartext | html %]" />
82
                                                    [% ELSE %]
83
                                                    [% ELSE %]
Lines 85-91 Link Here
85
                                                <fieldset class="action">
86
                                                <fieldset class="action">
86
                                                    <input type="submit" value="Log in" class="btn" />
87
                                                    <input type="submit" value="Log in" class="btn" />
87
                                                </fieldset>
88
                                                </fieldset>
88
                                                [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<div id="patronregistration"><p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p></div>[% END %]
89
                                                [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<div id="patronregistration"><p>[% t('Don\'t have an account?') %] <a href="/cgi-bin/koha/opac-memberentry.pl">[% t('Register here.') %]</a></p></div>[% END %]
89
                                                </fieldset>
90
                                                </fieldset>
90
                                            </form>
91
                                            </form>
91
                                        </div> <!-- /#login -->
92
                                        </div> <!-- /#login -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.tt (-6 / +7 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Please confirm your registration</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Please confirm your registration') %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
Lines 9-16 Link Here
9
10
10
    <div class="main">
11
    <div class="main">
11
        <ul class="breadcrumb">
12
        <ul class="breadcrumb">
12
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
13
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
13
            <li><a href="#">Register a new account</a></li>
14
            <li><a href="#">[% t('Register a new account') %]</a></li>
14
        </ul>
15
        </ul>
15
16
16
        <div class="container-fluid">
17
        <div class="container-fluid">
Lines 27-37 Link Here
27
                [% END %]
28
                [% END %]
28
                    <div id="reistration-confirmation-pending">
29
                    <div id="reistration-confirmation-pending">
29
                        <div id="confirmation-pending" class="alert alert-info">
30
                        <div id="confirmation-pending" class="alert alert-info">
30
                            <h1>Please confirm your registration</h1>
31
                            <h1>[% t('Please confirm your registration') %]</h1>
31
32
32
                            <p>A confirmation email will be sent shortly to the email address <strong>[% email %]</strong>.</p>
33
                            <p>[% t('A confirmation email will be sent shortly to the email address') %] <strong>[% email %]</strong>.</p>
33
34
34
                            <p>Your account will not be activated until you follow the link provided in the confirmation email.</p>
35
                            <p>[% t('Your account will not be activated until you follow the link provided in the confirmation email.') %]</p>
35
                        </div>
36
                        </div>
36
                    </div>
37
                    </div>
37
                </div>
38
                </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-invalid.tt (-5 / +6 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog') %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
Lines 9-16 Link Here
9
10
10
    <div class="main">
11
    <div class="main">
11
        <ul class="breadcrumb">
12
        <ul class="breadcrumb">
12
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
13
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
13
            <li><a href="#">Register a new account</a></li>
14
            <li><a href="#">[% t('Register a new account') %]</a></li>
14
        </ul>
15
        </ul>
15
16
16
        <div class="container-fluid">
17
        <div class="container-fluid">
Lines 27-35 Link Here
27
                [% END %]
28
                [% END %]
28
                    <div id="reistration-confirmation-error">
29
                    <div id="reistration-confirmation-error">
29
                        <div class="alert">
30
                        <div class="alert">
30
                            <h1>Registration invalid!</h1>
31
                            <h1>[% t('Registration invalid!') %]</h1>
31
32
32
                            <p>There were problems processing your registration. Please contact your library for help.</p>
33
                            <p>[% t('There were problems processing your registration. Please contact your library for help.') %]</p>
33
                        </div>
34
                        </div>
34
                    </div>
35
                    </div>
35
                </div>
36
                </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt (-38 / +39 lines)
Lines 1-8 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE ItemTypes %]
4
[% USE ItemTypes %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Request article</title>
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Request article') %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% BLOCK cssinclude %][% END %]
8
[% BLOCK cssinclude %][% END %]
8
</head>
9
</head>
Lines 12-19 Link Here
12
13
13
<div class="main">
14
<div class="main">
14
    <ul class="breadcrumb">
15
    <ul class="breadcrumb">
15
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
16
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
16
        <li><a href="#">Request article</a></li>
17
        <li><a href="#">[% t('Request article') %]</a></li>
17
    </ul>
18
    </ul>
18
19
19
    <div class="container">
20
    <div class="container">
Lines 24-30 Link Here
24
            [% IF article_request_type == 'bib_only' %]  [% SET mandatory_fields = Koha.Preference('ArticleRequestsMandatoryFieldsRecordOnly') %] [% END %]
25
            [% IF article_request_type == 'bib_only' %]  [% SET mandatory_fields = Koha.Preference('ArticleRequestsMandatoryFieldsRecordOnly') %] [% END %]
25
            [% IF article_request_type == 'item_only' %] [% SET mandatory_fields = Koha.Preference('ArticleRequestsMandatoryFieldsItemOnly') %]   [% END %]
26
            [% IF article_request_type == 'item_only' %] [% SET mandatory_fields = Koha.Preference('ArticleRequestsMandatoryFieldsItemOnly') %]   [% END %]
26
27
27
            <h3>Place article request for [% biblio.title %]</h3>
28
            <h3>[% t('Place article request for') %] [% biblio.title %]</h3>
28
29
29
            <form id="place-article-request" method="post" action="/cgi-bin/koha/opac-request-article.pl">
30
            <form id="place-article-request" method="post" action="/cgi-bin/koha/opac-request-article.pl">
30
                <input type="hidden" name="action" value="create" />
31
                <input type="hidden" name="action" value="create" />
Lines 34-107 Link Here
34
                    <ul>
35
                    <ul>
35
                        <li>
36
                        <li>
36
                            [% IF mandatory_fields.search('title') %]
37
                            [% IF mandatory_fields.search('title') %]
37
                                <label for="title" class="required">Title:</label>
38
                                <label for="title" class="required">[% t('Title:') %]</label>
38
                            [% ELSE %]
39
                            [% ELSE %]
39
                                <label for="title">Title:</label>
40
                                <label for="title">[% t('Title:') %]</label>
40
                            [% END %]
41
                            [% END %]
41
                            <input type="text" name="title" id="title" size="50"/>
42
                            <input type="text" name="title" id="title" size="50" />
42
                        </li>
43
                        </li>
43
44
44
                        <li>
45
                        <li>
45
                            [% IF mandatory_fields.search('author') %]
46
                            [% IF mandatory_fields.search('author') %]
46
                                <label for="author" class="required">Author:</label>
47
                                <label for="author" class="required">[% t('Author:') %]</label>
47
                            [% ELSE %]
48
                            [% ELSE %]
48
                                <label for="author">Author:</label>
49
                                <label for="author">[% t('Author:') %]</label>
49
                            [% END %]
50
                            [% END %]
50
                            <input type="text" name="author" id="author" size="50"/>
51
                            <input type="text" name="author" id="author" size="50" />
51
                        </li>
52
                        </li>
52
53
53
                        <li>
54
                        <li>
54
                            [% IF mandatory_fields.search('volume') %]
55
                            [% IF mandatory_fields.search('volume') %]
55
                                <label for="volume" class="required">Volume:</label>
56
                                <label for="volume" class="required">[% t('Volume:') %]</label>
56
                            [% ELSE %]
57
                            [% ELSE %]
57
                                <label for="volume">Volume:</label>
58
                                <label for="volume">[% t('Volume:') %]</label>
58
                            [% END %]
59
                            [% END %]
59
                            <input type="text" name="volume" id="volume" size="50"/>
60
                            <input type="text" name="volume" id="volume" size="50" />
60
                        </li>
61
                        </li>
61
62
62
                        <li>
63
                        <li>
63
                            [% IF mandatory_fields.search('issue') %]
64
                            [% IF mandatory_fields.search('issue') %]
64
                                <label for="issue" class="required">Issue:</label>
65
                                <label for="issue" class="required">[% t('Issue:') %]</label>
65
                            [% ELSE %]
66
                            [% ELSE %]
66
                                <label for="issue">Issue:</label>
67
                                <label for="issue">[% t('Issue:') %]</label>
67
                            [% END %]
68
                            [% END %]
68
                            <input type="text" name="issue" id="issue" size="50"/>
69
                            <input type="text" name="issue" id="issue" size="50" />
69
                        </li>
70
                        </li>
70
71
71
                        <li>
72
                        <li>
72
                            [% IF mandatory_fields.search('date') %]
73
                            [% IF mandatory_fields.search('date') %]
73
                                <label for="date" class="required">Date:</label>
74
                                <label for="date" class="required">[% t('Date:') %]</label>
74
                            [% ELSE %]
75
                            [% ELSE %]
75
                                <label for="date">Date:</label>
76
                                <label for="date">[% t('Date:') %]</label>
76
                            [% END %]
77
                            [% END %]
77
                            <input type="text" name="date" id="date" size="50"/>
78
                            <input type="text" name="date" id="date" size="50" />
78
                        </li>
79
                        </li>
79
80
80
                        <li>
81
                        <li>
81
                            [% IF mandatory_fields.search('pages') %]
82
                            [% IF mandatory_fields.search('pages') %]
82
                                <label for="pages" class="required">Pages:</label>
83
                                <label for="pages" class="required">[% t('Pages:') %]</label>
83
                            [% ELSE %]
84
                            [% ELSE %]
84
                                <label for="pages">Pages:</label>
85
                                <label for="pages">[% t('Pages:') %]</label>
85
                            [% END %]
86
                            [% END %]
86
                            <input type="text" name="pages" id="pages" size="50"/>
87
                            <input type="text" name="pages" id="pages" size="50" />
87
                        </li>
88
                        </li>
88
89
89
                        <li>
90
                        <li>
90
                            [% IF mandatory_fields.search('chapters') %]
91
                            [% IF mandatory_fields.search('chapters') %]
91
                                <label for="chapters" class="required">Chapters:</label>
92
                                <label for="chapters" class="required">[% t('Chapters:') %]</label>
92
                            [% ELSE %]
93
                            [% ELSE %]
93
                                <label for="chapters">Chapters:</label>
94
                                <label for="chapters">[% t('Chapters:') %]</label>
94
                            [% END %]
95
                            [% END %]
95
                            <input type="text" name="chapters" id="chapters" size="50"/>
96
                            <input type="text" name="chapters" id="chapters" size="50" />
96
                        </li>
97
                        </li>
97
98
98
                        <li>
99
                        <li>
99
                            <label for="patron_notes">Notes:</label>
100
                            <label for="patron_notes">[% t('Notes:') %]</label>
100
                            <input type="text" name="patron_notes" id="patron_notes" size="50"/>
101
                            <input type="text" name="patron_notes" id="patron_notes" size="50" />
101
                        </li>
102
                        </li>
102
103
103
                        <li>
104
                        <li>
104
                            <label for="branchcode">Pickup library:</label>
105
                            <label for="branchcode">[% t('Pickup library:') %]</label>
105
                            <select name="branchcode" id="branchcode">
106
                            <select name="branchcode" id="branchcode">
106
                                [% FOREACH b IN Branches.all %]
107
                                [% FOREACH b IN Branches.all %]
107
                                    [% IF b.branchcode == Branches.GetLoggedInBranchcode %]
108
                                    [% IF b.branchcode == Branches.GetLoggedInBranchcode %]
Lines 117-131 Link Here
117
118
118
                [% IF article_request_type != 'bib_only' %]
119
                [% IF article_request_type != 'bib_only' %]
119
                    <table class="copiesrow table table-bordered table-striped">
120
                    <table class="copiesrow table table-bordered table-striped">
120
                        <caption>Select a specific item:</caption>
121
                        <caption>[% t('Select a specific item:') %]</caption>
121
                        <thead>
122
                        <thead>
122
                            <tr>
123
                            <tr>
123
                                <th>&nbsp;</th>
124
                                <th> </th>
124
                                <th>Item type</th>
125
                                <th>[% t('Item type') %]</th>
125
                                <th>Barcode</th>
126
                                <th>[% t('Barcode') %]</th>
126
                                <th>Home library</th>
127
                                <th>[% t('Home library') %]</th>
127
                                <th>Call number</th>
128
                                <th>[% t('Call number') %]</th>
128
                                <th>Enumeration</th>
129
                                <th>[% t('Enumeration') %]</th>
129
                            </tr>
130
                            </tr>
130
                        </thead>
131
                        </thead>
131
132
Lines 163-172 Link Here
163
                            [% IF article_request_type != 'item_only' %]
164
                            [% IF article_request_type != 'item_only' %]
164
                                <tr>
165
                                <tr>
165
                                    <td>
166
                                    <td>
166
                                        <input type="radio" name="itemnumber" value="" checked="checked"/>
167
                                        <input type="radio" name="itemnumber" value="" checked="checked" />
167
                                    </td>
168
                                    </td>
168
                                    <td colspan="6">
169
                                    <td colspan="6">
169
                                        Any item
170
                                        [% t('Any item') %]
170
                                    </td>
171
                                    </td>
171
                                </tr>
172
                                </tr>
172
                            [% END %]
173
                            [% END %]
Lines 177-183 Link Here
177
                <input type="submit" class="btn" value="Place request" />
178
                <input type="submit" class="btn" value="Place request" />
178
            </form>
179
            </form>
179
        [% ELSE %]
180
        [% ELSE %]
180
            No article requests can be made for this record.
181
            [% t('No article requests can be made for this record.') %]
181
        [% END %]
182
        [% END %]
182
183
183
    </div> <!-- / .container -->
184
    </div> <!-- / .container -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-91 / +82 lines)
Lines 1-10 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
4
[% USE Price %]
5
[% USE Price %]
5
[% USE ItemTypes %]
6
[% USE ItemTypes %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Placing a hold</title>
8
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Placing a hold') %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
[% BLOCK cssinclude %][% END %]
10
[% BLOCK cssinclude %][% END %]
10
</head>
11
</head>
Lines 14-106 Link Here
14
15
15
<div class="main">
16
<div class="main">
16
    <ul class="breadcrumb">
17
    <ul class="breadcrumb">
17
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
18
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
18
        <li><a href="#">Placing a hold</a></li>
19
        <li><a href="#">[% t('Placing a hold') %]</a></li>
19
    </ul>
20
    </ul>
20
21
21
    <div class="container">
22
    <div class="container">
22
        <div id="holds">
23
        <div id="holds">
23
            [% IF ( message ) %]
24
            [% IF ( message ) %]
24
                <div id="holdmessages" class="alert">
25
                <div id="holdmessages" class="alert">
25
                    <p>Sorry, you cannot place holds.</p>
26
                    <p>[% t('Sorry, you cannot place holds.') %]</p>
26
                    <ul>
27
                    <ul>
27
                        [% IF ( GNA ) %]
28
                        [% IF ( GNA ) %]
28
                            <li id="gna">
29
                            <li id="gna">
29
                                According to our records, we don't have up-to-date contact information. Please contact the library.
30
                                [% t('According to our records, we don\'t have up-to-date contact information. Please contact the library.') %]
30
                                <a href="/cgi-bin/koha/opac-memberentry.pl">[% IF ( Koha.Preference('OPACPatronDetails') ) %]Update your contact information[% ELSE %]Go to your contact information[% END %]</a>
31
                                <a href="/cgi-bin/koha/opac-memberentry.pl">[% IF ( Koha.Preference('OPACPatronDetails') ) %][% t('Update your contact information') %][% ELSE %][% t('Go to your contact information') %][% END %]</a>
31
                                [% IF ( Koha.Preference('OPACPatronDetails') ) %]<em>(Please note: there may be a delay in restoring your account if you submit online.)</em>[% END %]
32
                                [% IF ( Koha.Preference('OPACPatronDetails') ) %]<em>[% t('(Please note: there may be a delay in restoring your account if you submit online.)') %]</em>[% END %]
32
                            </li>
33
                            </li>
33
                        [% END %]
34
                        [% END %]
34
35
35
                        [% IF ( lost ) %]
36
                        [% IF ( lost ) %]
36
                            <li id="lost">
37
                            <li id="lost">
37
                                Your library card has been marked as lost or stolen.<br />
38
                                [% t('Your library card has been marked as lost or stolen.') %]<br />
38
                                <em>If this is an error, please take your card to the circulation desk at your local library and the error will be corrected.</em>
39
                                <em>[% t('If this is an error, please take your card to the circulation desk at your local library and the error will be corrected.') %]</em>
39
                            </li>
40
                            </li>
40
                        [% END %]
41
                        [% END %]
41
42
42
                        [% IF ( debarred ) %]
43
                        [% IF ( debarred ) %]
43
                            <li id="debarred">
44
                            <li id="debarred">
44
                                Your account has been frozen.
45
                                [% t('Your account has been frozen.') %]
45
                                [% IF debarred_comment %] Comment: <span id="userdebarred_comment">"
46
                                [% IF debarred_comment %] [% t('Comment:') %] <span id="userdebarred_comment">"
46
				    [% IF debarred_comment.search('OVERDUES_PROCESS') %]
47
				    [% IF debarred_comment.search('OVERDUES_PROCESS') %]
47
                                         Restriction added by overdues process [% debarred_comment.remove('OVERDUES_PROCESS ') | html_line_break %]
48
                                         [% t('Restriction added by overdues process') %] [% debarred_comment.remove('OVERDUES_PROCESS ') | html_line_break %]
48
                                    [% ELSE %]
49
                                    [% ELSE %]
49
                                         [% debarred_comment | html_line_break %]
50
                                         [% debarred_comment | html_line_break %]
50
                                [% END %]
51
                                [% END %]
51
			        </span>
52
			        </span>
52
			[% END %]
53
			[% END %]
53
54
54
                                [% IF debarred_date && debarred_date != '9999-12-31' %] End date: <span id="userdebarred_date">[% debarred_date | $KohaDates %]</span>[% END %]
55
                                [% IF debarred_date && debarred_date != '9999-12-31' %] [% t('End date:') %] <span id="userdebarred_date">[% debarred_date | $KohaDates %]</span>[% END %]
55
                                <br /><em>Usually the reason for freezing an account is old overdues or damage fees. If shows your account to be clear, please contact the library.</em> <a href="/cgi-bin/koha/opac-account.pl">Go to your account page</a>
56
                                <br /><em>[% t('Usually the reason for freezing an account is old overdues or damage fees. If shows your account to be clear, please contact the library.') %]</em> <a href="/cgi-bin/koha/opac-account.pl">[% t('Go to your account page') %]</a>
56
                            </li>
57
                            </li>
57
                        [% END %]
58
                        [% END %]
58
59
59
                        [% IF ( too_much_oweing ) %]
60
                        [% IF ( too_much_oweing ) %]
60
                            <li id="too_much_oweing">
61
                            <li id="too_much_oweing">
61
                                You have unpaid fines. Amount: [% too_much_oweing | $Price %].
62
                                [% t('You have unpaid fines. Amount:') %] [% too_much_oweing | $Price %].
62
                            </li>
63
                            </li>
63
                        [% END %]
64
                        [% END %]
64
65
65
                        [% IF ( too_many_reserves ) %]
66
                        [% IF ( too_many_reserves ) %]
66
                            <li id="too_many_reserves">
67
                            <li id="too_many_reserves">
67
                                Sorry, you cannot place more than [% too_many_reserves %] holds.
68
                                [% t('Sorry, you cannot place more than') %] [% too_many_reserves %] [% t('holds.') %]
68
                            </li>
69
                            </li>
69
                        [% END %]
70
                        [% END %]
70
71
71
                        [% IF ( bad_biblionumber ) %]
72
                        [% IF ( bad_biblionumber ) %]
72
                            <li id="bad_biblionumber">
73
                            <li id="bad_biblionumber">
73
                                ERROR: No record found for record id [% bad_biblionumber %].
74
                                [% t('ERROR: No record found for record id') %] [% bad_biblionumber %].
74
                            </li>
75
                            </li>
75
                        [% END %]
76
                        [% END %]
76
77
77
                        [% IF ( no_items_selected ) %]
78
                        [% IF ( no_items_selected ) %]
78
                            <li id="no_items_selected">
79
                            <li id="no_items_selected">
79
                                You must select at least one item.
80
                                [% t('You must select at least one item.') %]
80
                            </li>
81
                            </li>
81
                        [% END %]
82
                        [% END %]
82
83
83
                        [% IF ( no_branch_selected ) %]
84
                        [% IF ( no_branch_selected ) %]
84
                            <li id="no_branch_selected">
85
                            <li id="no_branch_selected">
85
                                You must select a library for pickup.
86
                                [% t('You must select a library for pickup.') %]
86
                            </li>
87
                            </li>
87
                        [% END %]
88
                        [% END %]
88
89
89
                        [% IF ( no_biblionumber ) %]
90
                        [% IF ( no_biblionumber ) %]
90
                            <li id="no_biblionumber">
91
                            <li id="no_biblionumber">
91
                               ERROR: No record id specified.
92
                               [% t('ERROR: No record id specified.') %]
92
                           </li>
93
                           </li>
93
                        [% END %]
94
                        [% END %]
94
95
95
                        [% IF ( bad_data ) %]
96
                        [% IF ( bad_data ) %]
96
                            <li id="bad_data">
97
                            <li id="bad_data">
97
                                ERROR: Internal error: incomplete hold request.
98
                                [% t('ERROR: Internal error: incomplete hold request.') %]
98
                            </li>
99
                            </li>
99
                        [% END %]
100
                        [% END %]
100
101
101
                        [% IF ( expired_patron ) %]
102
                        [% IF ( expired_patron ) %]
102
                            <li id="expired_patron">
103
                            <li id="expired_patron">
103
                                Your library card has expired. Please contact your librarian if you wish to renew your card.
104
                                [% t('Your library card has expired. Please contact your librarian if you wish to renew your card.') %]
104
                            </li>
105
                            </li>
105
                        [% END %]
106
                        [% END %]
106
107
Lines 108-114 Link Here
108
109
109
                        [% IF ( none_available && multi_hold ) %]
110
                        [% IF ( none_available && multi_hold ) %]
110
                            <div id="none_available" class="alert">
111
                            <div id="none_available" class="alert">
111
                                Sorry, none of these titles can be placed on hold.
112
                                [% t('Sorry, none of these titles can be placed on hold.') %]
112
                            </div>
113
                            </div>
113
                        [% END %]
114
                        [% END %]
114
                </div>
115
                </div>
Lines 116-157 Link Here
116
117
117
                    [% UNLESS ( message ) %]
118
                    [% UNLESS ( message ) %]
118
                        [% UNLESS ( none_available ) %]
119
                        [% UNLESS ( none_available ) %]
119
                            <h3>Confirm holds for:[% USER_INFO.firstname %] [% USER_INFO.surname %] ([% USER_INFO.cardnumber %])</h3>
120
                            <h3>[% t('Confirm holds for:') %][% USER_INFO.firstname %] [% USER_INFO.surname %] ([% USER_INFO.cardnumber %])</h3>
120
                        [% END # / UNLESS none_available %]
121
                        [% END # / UNLESS none_available %]
121
122
122
                        [% IF (RESERVE_CHARGE) %]
123
                        [% IF (RESERVE_CHARGE) %]
123
                            <div class="alert" id="reserve_fee">
124
                            <div class="alert" id="reserve_fee">
124
                                [% IF Koha.Preference('HoldFeeMode') == 'any_time_is_collected' %]
125
                                [% IF Koha.Preference('HoldFeeMode') == 'any_time_is_collected' %]
125
                                    You will be charged a hold fee of [% RESERVE_CHARGE %] when you collect this item
126
                                    [% t('You will be charged a hold fee of') %] [% RESERVE_CHARGE %] [% t('when you collect this item') %]
126
                                [% ELSE %]
127
                                [% ELSE %]
127
                                    You will be charged a hold fee of [% RESERVE_CHARGE %] for placing this hold
128
                                    [% t('You will be charged a hold fee of') %] [% RESERVE_CHARGE %] [% t('for placing this hold') %]
128
                                [% END %]
129
                                [% END %]
129
                            </div>
130
                            </div>
130
                        [% END %]
131
                        [% END %]
131
132
132
                        [% IF ( new_reserves_allowed ) %]
133
                        [% IF ( new_reserves_allowed ) %]
133
                            <div id="new_reserves_allowed" class="alert">
134
                            <div id="new_reserves_allowed" class="alert">
134
                                <strong>Sorry,</strong> you can only place [% new_reserves_allowed %] more holds. Please uncheck the checkboxes for the items you wish to not place holds on.
135
                                <strong>[% t('Sorry,') %]</strong> [% t('you can only place') %] [% new_reserves_allowed %] [% t('more holds. Please uncheck the checkboxes for the items you wish to not place holds on.') %]
135
                            </div>
136
                            </div>
136
                        [% END %]
137
                        [% END %]
137
138
138
                        <form action="/cgi-bin/koha/opac-reserve.pl" method="post" id="hold-request-form">
139
                        <form action="/cgi-bin/koha/opac-reserve.pl" method="post" id="hold-request-form">
139
                            <input type="hidden" name="place_reserve" value="1"/>
140
                            <input type="hidden" name="place_reserve" value="1" />
140
                            <!-- These values are set dynamically by js -->
141
                            <!-- These values are set dynamically by js -->
141
                            <input type="hidden" name="biblionumbers" id="biblionumbers"/>
142
                            <input type="hidden" name="biblionumbers" id="biblionumbers" />
142
                            <input type="hidden" name="selecteditems" id="selections"/>
143
                            <input type="hidden" name="selecteditems" id="selections" />
143
                            <div id="bigloop">
144
                            <div id="bigloop">
144
145
145
                                [% FOREACH bibitemloo IN bibitemloop %]
146
                                [% FOREACH bibitemloo IN bibitemloop %]
146
                                    <div class="holdrow">
147
                                    <div class="holdrow">
147
                                        <p>
148
                                        <p>
148
                                            [% IF ( bibitemloo.holdable ) %]
149
                                            [% IF ( bibitemloo.holdable ) %]
149
                                                <input class="reserve_mode" name="reserve_mode" type="hidden" value="single"/>
150
                                                <input class="reserve_mode" name="reserve_mode" type="hidden" value="single" />
150
                                                <input class="single_bib" name="single_bib" type="hidden" value="[% bibitemloo.biblionumber %]"/>
151
                                                <input class="single_bib" name="single_bib" type="hidden" value="[% bibitemloo.biblionumber %]" />
151
                                                <span class="confirmjs_hold" title="[% bibitemloo.biblionumber %]" style="padding:.3em"></span>
152
                                                <span class="confirmjs_hold" title="[% bibitemloo.biblionumber %]" style="padding:.3em"></span>
152
                                                <span class="confirm_nonjs">
153
                                                <span class="confirm_nonjs">
153
                                                    <input type="radio" class="confirmbox checkitem [% bibitemloo.biblionumber %]" name="[% bibitemloo.biblionumber %]" checked="checked" id="single_[% bibitemloo.biblionumber %]" value="any" />
154
                                                    <input type="radio" class="confirmbox checkitem [% bibitemloo.biblionumber %]" name="[% bibitemloo.biblionumber %]" checked="checked" id="single_[% bibitemloo.biblionumber %]" value="any" />
154
                                                    <label class="confirm_label" for="single_[% bibitemloo.biblionumber %]">Place a hold on </label>
155
                                                    <label class="confirm_label" for="single_[% bibitemloo.biblionumber %]">[% t('Place a hold on') %] </label>
155
                                                </span>
156
                                                </span>
156
                                            [% END # / bibitemloo.holdable %]
157
                                            [% END # / bibitemloo.holdable %]
157
158
Lines 163-185 Link Here
163
                                                    [% END %]
164
                                                    [% END %]
164
                                                [% END %]
165
                                                [% END %]
165
                                            </a>
166
                                            </a>
166
                                            [% IF ( bibitemloo.author ) %],  by [% bibitemloo.author %][% END %]
167
                                            [% IF ( bibitemloo.author ) %],  [% t('by') %] [% bibitemloo.author %][% END %]
167
                                        </p>
168
                                        </p>
168
169
169
                                        [% UNLESS ( bibitemloo.holdable ) %]
170
                                        [% UNLESS ( bibitemloo.holdable ) %]
170
                                            [% IF ( bibitemloo.ageRestricted ) %]
171
                                            [% IF ( bibitemloo.ageRestricted ) %]
171
                                                <div class="alert">Sorry, you are too young to reserve this material.</div>
172
                                                <div class="alert">[% t('Sorry, you are too young to reserve this material.') %]</div>
172
                                            [% END %]
173
                                            [% END %]
173
                                            [% IF ( bibitemloo.already_reserved ) %]
174
                                            [% IF ( bibitemloo.already_reserved ) %]
174
                                                <div class="alert">You have already requested this title.</div>
175
                                                <div class="alert">[% t('You have already requested this title.') %]</div>
175
                                            [% ELSE %]
176
                                            [% ELSE %]
176
                                                [% UNLESS ( bibitemloo.bib_available ) %]
177
                                                [% UNLESS ( bibitemloo.bib_available ) %]
177
                                                    <div class="alert">There are no items that can be placed on hold.</div>
178
                                                    <div class="alert">[% t('There are no items that can be placed on hold.') %]</div>
178
                                                [% ELSE %]
179
                                                [% ELSE %]
179
                                                    [% IF ( bibitemloo.already_patron_possession ) %]
180
                                                    [% IF ( bibitemloo.already_patron_possession ) %]
180
                                                        <div class="alert">This title cannot be requested because it's already in your possession.</div>
181
                                                        <div class="alert">[% t('This title cannot be requested because it\'s already in your possession.') %]</div>
181
                                                    [% ELSE %]
182
                                                    [% ELSE %]
182
                                                        <div class="alert">This title cannot be requested.</div>
183
                                                        <div class="alert">[% t('This title cannot be requested.') %]</div>
183
                                                    [% END %]
184
                                                    [% END %]
184
                                                [% END # / UNLESS bibitemloo.bib_available %]
185
                                                [% END # / UNLESS bibitemloo.bib_available %]
185
                                            [% END # / IF bibitemloo.already_reserved %]
186
                                            [% END # / IF bibitemloo.already_reserved %]
Lines 191-197 Link Here
191
                                                    <!-- HOLDABLE -->
192
                                                    <!-- HOLDABLE -->
192
                                                    [% UNLESS ( item_level_itypes ) %]
193
                                                    [% UNLESS ( item_level_itypes ) %]
193
                                                        <li class="itype">
194
                                                        <li class="itype">
194
                                                            <span class="label">Item type: </span>
195
                                                            <span class="label">[% t('Item type:') %] </span>
195
                                                            [% IF ( bibitemloo.imageurl ) %]<img src="[% bibitemloo.imageurl %]" alt="" />[% END %]
196
                                                            [% IF ( bibitemloo.imageurl ) %]<img src="[% bibitemloo.imageurl %]" alt="" />[% END %]
196
                                                            [% bibitemloo.translated_description %]
197
                                                            [% bibitemloo.translated_description %]
197
                                                        </li>
198
                                                        </li>
Lines 200-213 Link Here
200
                                                    [% SET OPACShowHoldQueueDetails = Koha.Preference('OPACShowHoldQueueDetails') %]
201
                                                    [% SET OPACShowHoldQueueDetails = Koha.Preference('OPACShowHoldQueueDetails') %]
201
                                                    [% IF OPACShowHoldQueueDetails == 'holds_priority' || OPACShowHoldQueueDetails == 'priority' %]
202
                                                    [% IF OPACShowHoldQueueDetails == 'holds_priority' || OPACShowHoldQueueDetails == 'priority' %]
202
                                                        <li class="priority">
203
                                                        <li class="priority">
203
                                                            <span class="label">Your priority: </span>
204
                                                            <span class="label">[% t('Your priority:') %] </span>
204
                                                            [% bibitemloo.rank %]
205
                                                            [% bibitemloo.rank %]
205
                                                        </li>
206
                                                        </li>
206
                                                    [% END %]
207
                                                    [% END %]
207
208
208
                                                    [% IF OPACShowHoldQueueDetails == 'holds_priority' || OPACShowHoldQueueDetails == 'holds' %]
209
                                                    [% IF OPACShowHoldQueueDetails == 'holds_priority' || OPACShowHoldQueueDetails == 'holds' %]
209
                                                        <li class="holds-count">
210
                                                        <li class="holds-count">
210
                                                            <span class="label">Number of holds: </span>
211
                                                            <span class="label">[% t('Number of holds:') %] </span>
211
                                                            [% bibitemloo.reservecount %]
212
                                                            [% bibitemloo.reservecount %]
212
                                                        </li>
213
                                                        </li>
213
                                                    [% END %]
214
                                                    [% END %]
Lines 216-222 Link Here
216
                                                    [% UNLESS ( singleBranchMode ) %]
217
                                                    [% UNLESS ( singleBranchMode ) %]
217
                                                        [% IF ( bibitemloo.holdable && choose_branch ) %]
218
                                                        [% IF ( bibitemloo.holdable && choose_branch ) %]
218
                                                            <li class="branch">
219
                                                            <li class="branch">
219
                                                                <label for="branch_[% bibitemloo.biblionumber %]">Pick up location:</label>
220
                                                                <label for="branch_[% bibitemloo.biblionumber %]">[% t('Pick up location:') %]</label>
220
                                                                [% UNLESS ( bibitemloo.holdable ) %]
221
                                                                [% UNLESS ( bibitemloo.holdable ) %]
221
                                                                    <select name="branch" id="branch_[% bibitemloo.biblionumber %]" disabled="disabled">
222
                                                                    <select name="branch" id="branch_[% bibitemloo.biblionumber %]" disabled="disabled">
222
                                                                        [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
223
                                                                        [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
Lines 227-243 Link Here
227
                                                                        [% FOREACH library IN Branches.all( selected => branch) %]
228
                                                                        [% FOREACH library IN Branches.all( selected => branch) %]
228
                                                                            [% SET pickup_available_at = bibitemloo.not_available_at.grep(library.branchcode).size ? 0 : 1 %]
229
                                                                            [% SET pickup_available_at = bibitemloo.not_available_at.grep(library.branchcode).size ? 0 : 1 %]
229
                                                                            [% IF library.selected AND pickup_available_at %]
230
                                                                            [% IF library.selected AND pickup_available_at %]
230
                                                                                <option value="[% library.branchcode %]" selected="selected" >[% library.branchname %]</option>
231
                                                                                <option value="[% library.branchcode %]" selected="selected">[% library.branchname %]</option>
231
                                                                            [% ELSIF pickup_available_at %]
232
                                                                            [% ELSIF pickup_available_at %]
232
                                                                                <option value="[% library.branchcode %]">[% library.branchname %]</option>
233
                                                                                <option value="[% library.branchcode %]">[% library.branchname %]</option>
233
                                                                            [% ELSE %]
234
                                                                            [% ELSE %]
234
                                                                                [% SET at_least_one_library_not_available_for_pickup = 1 %]
235
                                                                                [% SET at_least_one_library_not_available_for_pickup = 1 %]
235
                                                                                <option value="[% library.branchcode %]" disabled="disabled" title="At least one item is available at this library">[% library.branchname %]</option>
236
                                                                                <option value="[% library.branchcode %]" disabled="disabled" title="[% t('At least one item is available at this library') %]">[% library.branchname %]</option>
236
                                                                            [% END %]
237
                                                                            [% END %]
237
                                                                        [% END %]
238
                                                                        [% END %]
238
                                                                    </select>
239
                                                                    </select>
239
                                                                    [% IF at_least_one_library_not_available_for_pickup %]
240
                                                                    [% IF at_least_one_library_not_available_for_pickup %]
240
                                                                        <br>Note: Library policy does not allow hold/pickup of an item available locally. Please come to the library to retrieve these items
241
                                                                        <br>[% t('Note: Library policy does not allow hold/pickup of an item available locally. Please come to the library to retrieve these items') %]
241
                                                                    [% END %]
242
                                                                    [% END %]
242
                                                                [% END # / UNLESS bibitemloo.holdable %]
243
                                                                [% END # / UNLESS bibitemloo.holdable %]
243
                                                            </li>
244
                                                            </li>
Lines 245-265 Link Here
245
                                                    [% END # / UNLESS singleBranchMode %]
246
                                                    [% END # / UNLESS singleBranchMode %]
246
                                                </ul>
247
                                                </ul>
247
248
248
                                                <a class="toggle-hold-options" id="toggle-hold-options-[% bibitemloo.biblionumber %]" style="display:none;" href="#">Show more options</a>
249
                                                <a class="toggle-hold-options" id="toggle-hold-options-[% bibitemloo.biblionumber %]" style="display:none;" href="#">[% t('Show more options') %]</a>
249
250
250
                                                <div id="hold-options-[% bibitemloo.biblionumber %]" class="hold-options">
251
                                                <div id="hold-options-[% bibitemloo.biblionumber %]" class="hold-options">
251
252
252
                                                    <ul>
253
                                                    <ul>
253
                                                        [% IF ( reserve_in_future ) %]
254
                                                        [% IF ( reserve_in_future ) %]
254
                                                            <li>
255
                                                            <li>
255
                                                                <label for="from[% bibitemloo.biblionumber %]">Hold starts on date:</label>
256
                                                                <label for="from[% bibitemloo.biblionumber %]">[% t('Hold starts on date:') %]</label>
256
                                                                <input name="reserve_date_[% bibitemloo.biblionumber %]" id="from[% bibitemloo.biblionumber %]" size="10" class="holddatefrom"/>
257
                                                                <input name="reserve_date_[% bibitemloo.biblionumber %]" id="from[% bibitemloo.biblionumber %]" size="10" class="holddatefrom" />
257
                                                                <span class="date-format from" data-biblionumber="[% bibitemloo.biblionumber %]">[% INCLUDE 'date-format.inc' %]</span>
258
                                                                <span class="date-format from" data-biblionumber="[% bibitemloo.biblionumber %]">[% INCLUDE 'date-format.inc' %]</span>
258
                                                            </li>
259
                                                            </li>
259
                                                        [% END %]
260
                                                        [% END %]
260
261
261
                                                        <li>
262
                                                        <li>
262
                                                            <label for="to[% bibitemloo.biblionumber %]">Hold not needed after:</label>
263
                                                            <label for="to[% bibitemloo.biblionumber %]">[% t('Hold not needed after:') %]</label>
263
                                                            <input name="expiration_date_[% bibitemloo.biblionumber %]" id="to[% bibitemloo.biblionumber %]" size="10" class="holddateto" />
264
                                                            <input name="expiration_date_[% bibitemloo.biblionumber %]" id="to[% bibitemloo.biblionumber %]" size="10" class="holddateto" />
264
                                                            <span class="date-format to" data-biblionumber="[% bibitemloo.biblionumber %]">[% INCLUDE 'date-format.inc' %]</span>
265
                                                            <span class="date-format to" data-biblionumber="[% bibitemloo.biblionumber %]">[% INCLUDE 'date-format.inc' %]</span>
265
                                                        </li>
266
                                                        </li>
Lines 270-278 Link Here
270
                                                                [% itemtypes.push( item.itype ) %]
271
                                                                [% itemtypes.push( item.itype ) %]
271
                                                            [%- END %]
272
                                                            [%- END %]
272
                                                            <li>
273
                                                            <li>
273
                                                                <label for="itemtype">Request specific item type:</label>
274
                                                                <label for="itemtype">[% t('Request specific item type:') %]</label>
274
                                                                <select name="itemtype" size="1" id="itemtype">
275
                                                                <select name="itemtype" size="1" id="itemtype">
275
                                                                    <option value="">Any item type</option>
276
                                                                    <option value="">[% t('Any item type') %]</option>
276
                                                                    [% FOREACH i IN itemtypes.unique.sort %]
277
                                                                    [% FOREACH i IN itemtypes.unique.sort %]
277
                                                                        <option value="[% i %]">[% ItemTypes.GetDescription( i ) %]</option>
278
                                                                        <option value="[% i %]">[% ItemTypes.GetDescription( i ) %]</option>
278
                                                                    [%- END %]
279
                                                                    [%- END %]
Lines 283-293 Link Here
283
                                                        [% IF ( OpacHoldNotes ) %]
284
                                                        [% IF ( OpacHoldNotes ) %]
284
                                                            <li>
285
                                                            <li>
285
                                                                <div class="notesrow" id="notesrow_[% bibitemloo.biblionumber %]">
286
                                                                <div class="notesrow" id="notesrow_[% bibitemloo.biblionumber %]">
286
                                                                    <label for="holdnotes_[% bibitemloo.biblionumber %]">Hold notes:</label>
287
                                                                    <label for="holdnotes_[% bibitemloo.biblionumber %]">[% t('Hold notes:') %]</label>
287
                                                                    [% IF bibitemloo.reqholdnotes %]
288
                                                                    [% IF bibitemloo.reqholdnotes %]
288
                                                                        <span id="reqholdnotes_[% bibitemloo.biblionumber %]">Please enter additional information about the requested item:</span>
289
                                                                        <span id="reqholdnotes_[% bibitemloo.biblionumber %]">[% t('Please enter additional information about the requested item:') %]</span>
289
                                                                    [% END %]
290
                                                                    [% END %]
290
                                                                    <textarea id="holdnotes_[% bibitemloo.biblionumber %]" rows="2" cols="30" name="notes_[% bibitemloo.biblionumber %]" >[% bibitemloo.holdnotes %]</textarea>
291
                                                                    <textarea id="holdnotes_[% bibitemloo.biblionumber %]" rows="2" cols="30" name="notes_[% bibitemloo.biblionumber %]">[% bibitemloo.holdnotes %]</textarea>
291
                                                                </div>
292
                                                                </div>
292
                                                            </li>
293
                                                            </li>
293
                                                        [% END # / IF OpacHoldNotes %]
294
                                                        [% END # / IF OpacHoldNotes %]
Lines 296-337 Link Here
296
                                                            <!-- ITEM HOLDS -->
297
                                                            <!-- ITEM HOLDS -->
297
                                                            <li class="lradio place_on_type" style="display:none;">
298
                                                            <li class="lradio place_on_type" style="display:none;">
298
                                                                [% IF NOT bibitemloo.force_hold %]
299
                                                                [% IF NOT bibitemloo.force_hold %]
299
                                                                    <label class="radio inline" for="reqany_[% bibitemloo.biblionumber %]">Next available item</label>
300
                                                                    <label class="radio inline" for="reqany_[% bibitemloo.biblionumber %]">[% t('Next available item') %]</label>
300
                                                                    <input type="radio" name="reqtype_[% bibitemloo.biblionumber %]"
301
                                                                    <input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" id="reqany_[% bibitemloo.biblionumber %]" class="selectany" value="Any" checked="checked" />
301
                                                                            id="reqany_[% bibitemloo.biblionumber %]"
302
                                                                            class="selectany"
303
                                                                            value="Any"
304
                                                                            checked="checked"
305
                                                                    />
306
                                                                [% END %]
302
                                                                [% END %]
307
                                                                <label class="radio inline" for="reqspecific_[% bibitemloo.biblionumber %]">A specific item</label>
303
                                                                <label class="radio inline" for="reqspecific_[% bibitemloo.biblionumber %]">[% t('A specific item') %]</label>
308
                                                                <input type="radio" name="reqtype_[% bibitemloo.biblionumber %]"
304
                                                                <input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" id="reqspecific_[% bibitemloo.biblionumber %]" class="selectspecific" value="Specific" />
309
                                                                       id="reqspecific_[% bibitemloo.biblionumber %]"
310
                                                                       class="selectspecific"
311
                                                                       value="Specific"
312
                                                                />
313
                                                            </li>
305
                                                            </li>
314
                                                        [% END # / IF bibitemloo.itemholdable %]
306
                                                        [% END # / IF bibitemloo.itemholdable %]
315
                                                    </ul>
307
                                                    </ul>
316
308
317
                                                    [% IF bibitemloo.itemholdable %]
309
                                                    [% IF bibitemloo.itemholdable %]
318
                                                        <table class="copiesrow table table-bordered table-striped" id="copiesrow_[% bibitemloo.biblionumber %]">
310
                                                        <table class="copiesrow table table-bordered table-striped" id="copiesrow_[% bibitemloo.biblionumber %]">
319
                                                            <caption>Select a specific item:</caption>
311
                                                            <caption>[% t('Select a specific item:') %]</caption>
320
                                                            <tr>
312
                                                            <tr>
321
                                                                <th>Copy number</th>
313
                                                                <th>[% t('Copy number') %]</th>
322
                                                                [% IF ( item_level_itypes ) %]
314
                                                                [% IF ( item_level_itypes ) %]
323
                                                                    <th>Item type</th>
315
                                                                    <th>[% t('Item type') %]</th>
324
                                                                [% END %]
316
                                                                [% END %]
325
                                                                <th>Barcode</th>
317
                                                                <th>[% t('Barcode') %]</th>
326
                                                                [% UNLESS ( singleBranchMode ) %]
318
                                                                [% UNLESS ( singleBranchMode ) %]
327
                                                                    <th>Home library</th>
319
                                                                    <th>[% t('Home library') %]</th>
328
                                                                    <th>Last location</th>
320
                                                                    <th>[% t('Last location') %]</th>
329
                                                                [% END %]
321
                                                                [% END %]
330
                                                                <th>Call number</th>
322
                                                                <th>[% t('Call number') %]</th>
331
                                                                [% IF ( itemdata_enumchron ) %]
323
                                                                [% IF ( itemdata_enumchron ) %]
332
                                                                    <th>Vol info</th>
324
                                                                    <th>[% t('Vol info') %]</th>
333
                                                                [% END %]
325
                                                                [% END %]
334
                                                                <th>Information</th>
326
                                                                <th>[% t('Information') %]</th>
335
                                                            </tr>
327
                                                            </tr>
336
328
337
                                                            [% FOREACH itemLoo IN bibitemloo.itemLoop %]
329
                                                            [% FOREACH itemLoo IN bibitemloo.itemLoop %]
Lines 340-348 Link Here
340
                                                                        [% IF ( itemLoo.available ) %]
332
                                                                        [% IF ( itemLoo.available ) %]
341
                                                                            <input type="radio" class="checkitem checkitem_[% bibitemloo.biblionumber %]" name="checkitem_[% bibitemloo.biblionumber %]" value="[% itemLoo.itemnumber %]" />
333
                                                                            <input type="radio" class="checkitem checkitem_[% bibitemloo.biblionumber %]" name="checkitem_[% bibitemloo.biblionumber %]" value="[% itemLoo.itemnumber %]" />
342
                                                                        [% ELSE %]
334
                                                                        [% ELSE %]
343
                                                                            <input disabled="disabled" type="radio" class="checkitem" name="checkitem" value="[% itemLoo.itemnumber %]"
335
                                                                            <input disabled="disabled" type="radio" class="checkitem" name="checkitem" value="[% itemLoo.itemnumber %]" style="display:none;" />
344
                                                                                   style="display:none;" />
336
                                                                            <img src="[% interface %]/lib/famfamfam/silk/cross.png" alt="[% t('Cannot be put on hold') %]" title="[% t('Cannot be put on hold') %]" />
345
                                                                            <img src="[% interface %]/lib/famfamfam/silk/cross.png" alt="Cannot be put on hold" title="Cannot be put on hold" />
346
                                                                        [% END %]
337
                                                                        [% END %]
347
338
348
                                                                        [% IF ( itemLoo.copynumber ) %]
339
                                                                        [% IF ( itemLoo.copynumber ) %]
Lines 372-404 Link Here
372
                                                                    [% END %]
363
                                                                    [% END %]
373
                                                                    <td class="information">
364
                                                                    <td class="information">
374
                                                                        [% IF ( itemLoo.dateDue ) %]
365
                                                                        [% IF ( itemLoo.dateDue ) %]
375
                                                                            <span class="checkedout">Due [% itemLoo.dateDue %]</span>
366
                                                                            <span class="checkedout">[% t('Due') %] [% itemLoo.dateDue %]</span>
376
                                                                        [% ELSIF ( itemLoo.transfertwhen ) %]
367
                                                                        [% ELSIF ( itemLoo.transfertwhen ) %]
377
                                                                            <span class="intransit">In transit from [% Branches.GetName( itemLoo.transfertfrom ) %] to [% Branches.GetName( itemLoo.transfertto ) %] since [% itemLoo.transfertwhen %]</span>
368
                                                                            <span class="intransit">[% t('In transit from') %] [% Branches.GetName( itemLoo.transfertfrom ) %] [% t('to') %] [% Branches.GetName( itemLoo.transfertto ) %] [% t('since') %] [% itemLoo.transfertwhen %]</span>
378
                                                                        [% END %]
369
                                                                        [% END %]
379
370
380
                                                                        [% IF ( itemLoo.message ) %]
371
                                                                        [% IF ( itemLoo.message ) %]
381
                                                                            <span class="lost">Unavailable (lost or missing)</span>
372
                                                                            <span class="lost">[% t('Unavailable (lost or missing)') %]</span>
382
                                                                        [% END %]
373
                                                                        [% END %]
383
374
384
                                                                        [% IF ( itemLoo.notforloan ) %]
375
                                                                        [% IF ( itemLoo.notforloan ) %]
385
                                                                            <span class="notforloan">Not for loan ([% itemLoo.notforloanvalue %])</span>
376
                                                                            <span class="notforloan">[% t('Not for loan (') %][% itemLoo.notforloanvalue %])</span>
386
                                                                        [% END %]
377
                                                                        [% END %]
387
378
388
                                                                        [% IF ( itemLoo.reservedate ) %]
379
                                                                        [% IF ( itemLoo.reservedate ) %]
389
                                                                            <span class="waiting">
380
                                                                            <span class="waiting">
390
                                                                                [% IF ( itemLoo.waitingdate ) %]
381
                                                                                [% IF ( itemLoo.waitingdate ) %]
391
                                                                                    Waiting
382
                                                                                    [% t('Waiting') %]
392
                                                                                [% ELSE %]
383
                                                                                [% ELSE %]
393
                                                                                    On hold
384
                                                                                    [% t('On hold') %]
394
                                                                                [% END %]
385
                                                                                [% END %]
395
                                                                                for patron
386
                                                                                [% t('for patron') %]
396
                                                                                [% IF ( itemLoo.waitingdate ) %]
387
                                                                                [% IF ( itemLoo.waitingdate ) %]
397
                                                                                    at
388
                                                                                    [% t('at') %]
398
                                                                                [% ELSE %]
389
                                                                                [% ELSE %]
399
                                                                                    expected at
390
                                                                                    [% t('expected at') %]
400
                                                                                [% END %]
391
                                                                                [% END %]
401
                                                                                [% itemLoo.ExpectedAtLibrary %] since
392
                                                                                [% itemLoo.ExpectedAtLibrary %] [% t('since') %]
402
                                                                                [% IF ( itemLoo.waitingdate ) %]
393
                                                                                [% IF ( itemLoo.waitingdate ) %]
403
                                                                                    [% itemLoo.waitingdate | $KohaDates %]
394
                                                                                    [% itemLoo.waitingdate | $KohaDates %]
404
                                                                                [% ELSE %]
395
                                                                                [% ELSE %]
Lines 408-414 Link Here
408
                                                                                [% END %].
399
                                                                                [% END %].
409
                                                                            </span>
400
                                                                            </span>
410
                                                                        [% ELSE %]
401
                                                                        [% ELSE %]
411
                                                                            <span class="notonhold">Not on hold</span>
402
                                                                            <span class="notonhold">[% t('Not on hold') %]</span>
412
                                                                        [% END # / IF ( itemLoo.reservedate )%]
403
                                                                        [% END # / IF ( itemLoo.reservedate )%]
413
                                                                    </td>
404
                                                                    </td>
414
                                                                </tr>
405
                                                                </tr>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-restrictedpage.tt (-5 / +6 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
3
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
Lines 5-15 Link Here
5
    [% IF ( LibraryNameTitle ) %]
6
    [% IF ( LibraryNameTitle ) %]
6
        [% LibraryNameTitle %]
7
        [% LibraryNameTitle %]
7
    [% ELSE %]
8
    [% ELSE %]
8
        Koha online
9
        [% t('Koha online') %]
9
    [% END %]
10
    [% END %]
10
    catalog
11
    [% t('catalog') %]
11
    [% IF RestrictedPageTitle %]
12
    [% IF RestrictedPageTitle %]
12
        &rsaquo; [% RestrictedPageTitle %]
13
        › [% RestrictedPageTitle %]
13
    [% END %]
14
    [% END %]
14
</title>
15
</title>
15
[% INCLUDE 'doc-head-close.inc' %]
16
[% INCLUDE 'doc-head-close.inc' %]
Lines 20-28 Link Here
20
21
21
<div class="main">
22
<div class="main">
22
    <ul class="breadcrumb">
23
    <ul class="breadcrumb">
23
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a></li>
24
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a></li>
24
        [% IF Koha.Preference('RestrictedPageTitle') %]
25
        [% IF Koha.Preference('RestrictedPageTitle') %]
25
            <li> <span class="divider">&rsaquo;</span> [% Koha.Preference('RestrictedPageTitle') %]</li>
26
            <li> <span class="divider">›</span> [% Koha.Preference('RestrictedPageTitle') %]</li>
26
        [% END %]
27
        [% END %]
27
    </ul>
28
    </ul>
28
29
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt (-52 / +52 lines)
Lines 1-16 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %]
5
[% IF ( searchdesc ) %]
6
[% IF ( searchdesc ) %]
6
    Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %]
7
    [% t('Results of search') %] [% IF ( query_desc ) %][% t('for \'') %][% query_desc | html %]'[% END %][% IF ( limit_desc ) %][% t(' with limit(s): \'') %][% limit_desc | html %]'[% END %]
7
[% ELSE %]
8
[% ELSE %]
8
    You did not specify any search criteria.
9
    [% t('You did not specify any search criteria.') %]
9
[% END %]</title>
10
[% END %]</title>
10
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
11
[% BLOCK cssinclude %][% END %]
12
[% BLOCK cssinclude %][% END %]
12
<link rel="alternate" type="application/rss+xml" title="Koha - RSS"
13
<link rel="alternate" type="application/rss+xml" title="[% t('Koha - RSS') %]" href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" />
13
href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" />
14
14
15
</head>
15
</head>
16
[% INCLUDE 'bodytag.inc' bodyid='results-grouped' %]
16
[% INCLUDE 'bodytag.inc' bodyid='results-grouped' %]
Lines 18-29 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
18
18
19
    <div class="main">
19
    <div class="main">
20
        <ul class="breadcrumb">
20
        <ul class="breadcrumb">
21
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
21
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
22
            <li>
22
            <li>
23
                [% IF ( searchdesc ) %]
23
                [% IF ( searchdesc ) %]
24
                    <a href="#">Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %]</a>
24
                    <a href="#">[% t('Results of search') %] [% IF ( query_desc ) %][% t('for \'') %][% query_desc | html %]'[% END %][% IF ( limit_desc ) %][% t(' with limit(s): \'') %][% limit_desc | html %]'[% END %]</a>
25
                [% ELSE %]
25
                [% ELSE %]
26
                    <a href="#">You did not specify any search criteria.</a>
26
                    <a href="#">[% t('You did not specify any search criteria.') %]</a>
27
                [% END %]
27
                [% END %]
28
            </li>
28
            </li>
29
        </ul>
29
        </ul>
Lines 33-39 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
33
                <div class="row-fluid">
33
                <div class="row-fluid">
34
                    <div class="span12">
34
                    <div class="span12">
35
                        <div class="alert">
35
                        <div class="alert">
36
                            <h4>Error:</h4>
36
                            <h4>[% t('Error:') %]</h4>
37
                            <p>[% query_error %]</p>
37
                            <p>[% query_error %]</p>
38
                        </div>
38
                        </div>
39
                    </div> <!-- / .span12 -->
39
                    </div> <!-- / .span12 -->
Lines 59-90 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
59
                        <!-- Search Results Table -->
59
                        <!-- Search Results Table -->
60
                        [% IF ( total ) %]
60
                        [% IF ( total ) %]
61
                            [% IF ( scan ) %]
61
                            [% IF ( scan ) %]
62
                                <h1>Scan index:</h1>
62
                                <h1>[% t('Scan index:') %]</h1>
63
                                    <form action="/cgi-bin/koha/opac-search.pl" method="get">
63
                                    <form action="/cgi-bin/koha/opac-search.pl" method="get">
64
                                        <table>
64
                                        <table>
65
                                            <tbody>
65
                                            <tbody>
66
                                                <tr>
66
                                                <tr>
67
                                                    <td>
67
                                                    <td>
68
                                                        Scan index for: <input type="text" name="q" id="scan-index" size="35" value="" />
68
                                                        [% t('Scan index for:') %] <input type="text" name="q" id="scan-index" size="35" value="" />
69
                                                    </td>
69
                                                    </td>
70
                                                </tr>
70
                                                </tr>
71
                                                <tr>
71
                                                <tr>
72
                                                    <td>
72
                                                    <td>
73
                                                        <label for="scan-index">Indexed in:</label>
73
                                                        <label for="scan-index">[% t('Indexed in:') %]</label>
74
                                                        <select name="idx" id="scan-index">
74
                                                        <select name="idx" id="scan-index">
75
                                                            <option value="">Any word</option>
75
                                                            <option value="">[% t('Any word') %]</option>
76
                                                            <option value="kw,phr:">Any phrase</option>
76
                                                            <option value="kw,phr:">[% t('Any phrase') %]</option>
77
                                                            <option value="ti:">Title</option>
77
                                                            <option value="ti:">[% t('Title') %]</option>
78
                                                            <option value="ti,phr:">Title phrase</option>
78
                                                            <option value="ti,phr:">[% t('Title phrase') %]</option>
79
                                                            <option value="au,phr:">Author</option>
79
                                                            <option value="au,phr:">[% t('Author') %]</option>
80
                                                            <option value="su:">Subject</option>
80
                                                            <option value="su:">[% t('Subject') %]</option>
81
                                                            <option value="su,phr:">Subject phrase</option>
81
                                                            <option value="su,phr:">[% t('Subject phrase') %]</option>
82
                                                            <option value="se:">Series</option>
82
                                                            <option value="se:">[% t('Series') %]</option>
83
                                                            <option value="pb:">Publisher</option>
83
                                                            <option value="pb:">[% t('Publisher') %]</option>
84
                                                            <option value="nt:">Notes</option>
84
                                                            <option value="nt:">[% t('Notes') %]</option>
85
                                                            <option value="se:">Series Title</option>
85
                                                            <option value="se:">[% t('Series Title') %]</option>
86
                                                            <option value="sn:">ISBN</option>
86
                                                            <option value="sn:">[% t('ISBN') %]</option>
87
                                                            <option value="ss:">ISSN</option>
87
                                                            <option value="ss:">[% t('ISSN') %]</option>
88
                                                        </select>
88
                                                        </select>
89
                                                        <input type="hidden" name="scan" value="1" />
89
                                                        <input type="hidden" name="scan" value="1" />
90
                                                    </td>
90
                                                    </td>
Lines 97-111 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
97
                                        <table>
97
                                        <table>
98
                                            <thead>
98
                                            <thead>
99
                                                <tr>
99
                                                <tr>
100
                                                    <th>Term/Phrase</th>
100
                                                    <th>[% t('Term/Phrase') %]</th>
101
                                                    <th>Count</th>
101
                                                    <th>[% t('Count') %]</th>
102
                                                </tr>
102
                                                </tr>
103
                                            </thead>
103
                                            </thead>
104
                                            <tbody>
104
                                            <tbody>
105
                                                [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
105
                                                [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
106
                                                <tr>
106
                                                <tr>
107
                                                    <td>
107
                                                    <td>
108
                                                        <a href="/cgi-bin/koha/opac-search.pl?q=[% SEARCH_RESULT.scan_use |url %]&quot;[% SEARCH_RESULT.title |url %]&quot;">[% SEARCH_RESULT.title |html %]</a>
108
                                                        <a href="/cgi-bin/koha/opac-search.pl?q=[% SEARCH_RESULT.scan_use |url %]"[% SEARCH_RESULT.title |url %]"">[% SEARCH_RESULT.title |html %]</a>
109
                                                    </td>
109
                                                    </td>
110
                                                    <td>
110
                                                    <td>
111
                                                        [% FOREACH subtitl IN SEARCH_RESULT.subtitle %]
111
                                                        [% FOREACH subtitl IN SEARCH_RESULT.subtitle %]
Lines 123-132 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
123
                                    <form action="/cgi-bin/koha/opac-search.pl" method="get" name="bookbag_form" id="bookbag_form">
123
                                    <form action="/cgi-bin/koha/opac-search.pl" method="get" name="bookbag_form" id="bookbag_form">
124
                                        [% IF ( searchdesc ) %]
124
                                        [% IF ( searchdesc ) %]
125
                                            [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
125
                                            [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
126
                                                <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]"/>
126
                                                <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]" />
127
                                            [% END %]
127
                                            [% END %]
128
                                            [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
128
                                            [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
129
                                                <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]"/>
129
                                                <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]" />
130
                                            [% END %]
130
                                            [% END %]
131
                                        [% END %]
131
                                        [% END %]
132
132
Lines 141-148 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
141
                                                    [% IF ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %]
141
                                                    [% IF ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %]
142
                                                        <div class="cartlist"><span class="checkall"></span>
142
                                                        <div class="cartlist"><span class="checkall"></span>
143
                                                        <span class="clearall"></span>
143
                                                        <span class="clearall"></span>
144
                                                        <a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a>
144
                                                        <a href="#" class="highlight_toggle" id="highlight_toggle_off">[% t('Unhighlight') %]</a>
145
                                                        <a href="#" class="highlight_toggle" id="highlight_toggle_on">Highlight</a>
145
                                                        <a href="#" class="highlight_toggle" id="highlight_toggle_on">[% t('Highlight') %]</a>
146
                                                        <span class="addto"></span></div>
146
                                                        <span class="addto"></span></div>
147
                                                    [% END %]
147
                                                    [% END %]
148
                                                </td>
148
                                                </td>
Lines 172-183 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
172
                                                        <td>
172
                                                        <td>
173
                                                            [% GROUP_RESULT.result_number %].
173
                                                            [% GROUP_RESULT.result_number %].
174
                                                            [% IF ( GROUP_RESULT.BiblioDefaultViewmarc ) %]
174
                                                            [% IF ( GROUP_RESULT.BiblioDefaultViewmarc ) %]
175
                                                                <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% GROUP_RESULT.biblionumber |url %]" title="View details for this title">[% GROUP_RESULT.title %]
175
                                                                <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% GROUP_RESULT.biblionumber |url %]" title="[% t('View details for this title') %]">[% GROUP_RESULT.title %]
176
                                                            [% ELSE %]
176
                                                            [% ELSE %]
177
                                                                [% IF ( GROUP_RESULT.BiblioDefaultViewisbd ) %]
177
                                                                [% IF ( GROUP_RESULT.BiblioDefaultViewisbd ) %]
178
                                                                    <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% GROUP_RESULT.biblionumber |url %]" title="View details for this title">[% GROUP_RESULT.title %]
178
                                                                    <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% GROUP_RESULT.biblionumber |url %]" title="[% t('View details for this title') %]">[% GROUP_RESULT.title %]
179
                                                                [% ELSE %]
179
                                                                [% ELSE %]
180
                                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% GROUP_RESULT.biblionumber |url %]" title="View details for this title">[% GROUP_RESULT.title %]
180
                                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% GROUP_RESULT.biblionumber |url %]" title="[% t('View details for this title') %]">[% GROUP_RESULT.title %]
181
                                                                [% END %]
181
                                                                [% END %]
182
                                                                [% FOREACH subtitl IN GROUP_RESULT.subtitle %]
182
                                                                [% FOREACH subtitl IN GROUP_RESULT.subtitle %]
183
                                                                    [% subtitl.subfield %]
183
                                                                    [% subtitl.subfield %]
Lines 185-193 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
185
                                                                </a>
185
                                                                </a>
186
                                                            [% END # / IF GROUP_RESULT.BiblioDefaultViewmarc %]
186
                                                            [% END # / IF GROUP_RESULT.BiblioDefaultViewmarc %]
187
                                                            [% IF ( GROUP_RESULT.author ) %]
187
                                                            [% IF ( GROUP_RESULT.author ) %]
188
                                                                by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% GROUP_RESULT.author |url %]" title="Search for works by this author">[% GROUP_RESULT.author %]</a>
188
                                                                [% t('by') %] <a href="/cgi-bin/koha/opac-search.pl?q=au:[% GROUP_RESULT.author |url %]" title="[% t('Search for works by this author') %]">[% GROUP_RESULT.author %]</a>
189
                                                            [% ELSE %]
189
                                                            [% ELSE %]
190
                                                                &nbsp;
190
                                                                 
191
                                                            [% END %]
191
                                                            [% END %]
192
                                                            <p>
192
                                                            <p>
193
                                                                [% IF ( GROUP_RESULT.publicationyear ) %] - [% GROUP_RESULT.publicationyear %][% END %]
193
                                                                [% IF ( GROUP_RESULT.publicationyear ) %] - [% GROUP_RESULT.publicationyear %][% END %]
Lines 196-209 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
196
                                                                [% IF ( GROUP_RESULT.pages ) %] - [% GROUP_RESULT.pages %][% END %]
196
                                                                [% IF ( GROUP_RESULT.pages ) %] - [% GROUP_RESULT.pages %][% END %]
197
                                                                [% IF ( GROUP_RESULT.notes ) %] : [% GROUP_RESULT.notes %][% END %]
197
                                                                [% IF ( GROUP_RESULT.notes ) %] : [% GROUP_RESULT.notes %][% END %]
198
                                                                [% IF ( GROUP_RESULT.size ) %] ; [% GROUP_RESULT.size %][% END %]
198
                                                                [% IF ( GROUP_RESULT.size ) %] ; [% GROUP_RESULT.size %][% END %]
199
                                                                [% IF ( GROUP_RESULT.timestamp ) %] <i>(modified on [% GROUP_RESULT.timestamp %])</i>[% END %]
199
                                                                [% IF ( GROUP_RESULT.timestamp ) %] <i>[% t('(modified on') %] [% GROUP_RESULT.timestamp %])</i>[% END %]
200
                                                            </p>
200
                                                            </p>
201
                                                            [% IF ( GROUP_RESULT.searchhighlightblob ) %]
201
                                                            [% IF ( GROUP_RESULT.searchhighlightblob ) %]
202
                                                                <p class="searchhighlightblob">[% GROUP_RESULT.searchhighlightblob %]</p>
202
                                                                <p class="searchhighlightblob">[% GROUP_RESULT.searchhighlightblob %]</p>
203
                                                            [% END %]
203
                                                            [% END %]
204
                                                            <p class="availability">
204
                                                            <p class="availability">
205
                                                                [% IF ( GROUP_RESULT.available_items_loop ) %]
205
                                                                [% IF ( GROUP_RESULT.available_items_loop ) %]
206
                                                                    <span class="available"><strong>Items available at:</strong>
206
                                                                    <span class="available"><strong>[% t('Items available at:') %]</strong>
207
                                                                        [% FOREACH available_items_loo IN GROUP_RESULT.available_items_loop %]
207
                                                                        [% FOREACH available_items_loo IN GROUP_RESULT.available_items_loop %]
208
                                                                            [% IF ( available_items_loo.branchname ) %][% available_items_loo.branchname %][% END %]
208
                                                                            [% IF ( available_items_loo.branchname ) %][% available_items_loo.branchname %][% END %]
209
                                                                            [% IF ( OPACItemsResultsDisplay ) %]
209
                                                                            [% IF ( OPACItemsResultsDisplay ) %]
Lines 214-241 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
214
                                                                        [% END # / FOREACH available_items_loo %]
214
                                                                        [% END # / FOREACH available_items_loo %]
215
                                                                    </span>
215
                                                                    </span>
216
                                                                [% ELSE %]
216
                                                                [% ELSE %]
217
                                                                    <span class="unavailable">No items available:</span>
217
                                                                    <span class="unavailable">[% t('No items available:') %]</span>
218
                                                                [% END # / IF GROUP_RESULT.available_items_loop %]
218
                                                                [% END # / IF GROUP_RESULT.available_items_loop %]
219
                                                                <span class="unavailable">
219
                                                                <span class="unavailable">
220
                                                                    [% IF ( GROUP_RESULT.onloancount ) %] Checked out ([% GROUP_RESULT.onloancount %]), [% END %]
220
                                                                    [% IF ( GROUP_RESULT.onloancount ) %] [% t('Checked out (') %][% GROUP_RESULT.onloancount %]), [% END %]
221
                                                                    [% IF ( GROUP_RESULT.withdrawncount ) %] Withdrawn ([% GROUP_RESULT.withdrawncount %]), [% END %]
221
                                                                    [% IF ( GROUP_RESULT.withdrawncount ) %] [% t('Withdrawn (') %][% GROUP_RESULT.withdrawncount %]), [% END %]
222
                                                                    [% IF ( GROUP_RESULT.itemlostcount ) %] Lost ([% GROUP_RESULT.itemlostcount %]),[% END %]
222
                                                                    [% IF ( GROUP_RESULT.itemlostcount ) %] [% t('Lost (') %][% GROUP_RESULT.itemlostcount %]),[% END %]
223
                                                                    [% IF ( GROUP_RESULT.damagedcount ) %] Damaged ([% GROUP_RESULT.damagedcount %]),[% END %]
223
                                                                    [% IF ( GROUP_RESULT.damagedcount ) %] [% t('Damaged (') %][% GROUP_RESULT.damagedcount %]),[% END %]
224
                                                                    [% IF ( GROUP_RESULT.orderedcount ) %] On order ([% GROUP_RESULT.orderedcount %]),[% END %]
224
                                                                    [% IF ( GROUP_RESULT.orderedcount ) %] [% t('On order (') %][% GROUP_RESULT.orderedcount %]),[% END %]
225
                                                                    [% IF ( GROUP_RESULT.intransitcount ) %] In transit ([% GROUP_RESULT.intransitcount %]),[% END %]
225
                                                                    [% IF ( GROUP_RESULT.intransitcount ) %] [% t('In transit (') %][% GROUP_RESULT.intransitcount %]),[% END %]
226
                                                                </span>
226
                                                                </span>
227
                                                            </p>
227
                                                            </p>
228
                                                            <p>
228
                                                            <p>
229
                                                                [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
229
                                                                [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
230
                                                                    [% UNLESS ( GROUP_RESULT.norequests ) %]
230
                                                                    [% UNLESS ( GROUP_RESULT.norequests ) %]
231
                                                                        [% IF Koha.Preference( 'opacuserlogin' ) == 1 && GROUP_RESULT.holdable %]
231
                                                                        [% IF Koha.Preference( 'opacuserlogin' ) == 1 && GROUP_RESULT.holdable %]
232
                                                                            <a class="hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% GROUP_RESULT.biblionumber %]">Place hold</a><!-- add back when available 0 holds in queue-->
232
                                                                            <a class="hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% GROUP_RESULT.biblionumber %]">[% t('Place hold') %]</a><!-- add back when available 0 holds in queue-->
233
                                                                        [% END %]
233
                                                                        [% END %]
234
                                                                    [% END %]
234
                                                                    [% END %]
235
                                                                [% END %]
235
                                                                [% END %]
236
236
237
                                                                [% IF ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %]
237
                                                                [% IF ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %]
238
                                                                    <input type="checkbox" name="biblionumber" value="[% GROUP_RESULT.biblionumber %]" title="Click to add to cart" /> <label for="bib[% GROUP_RESULT.biblionumber %]">
238
                                                                    <input type="checkbox" name="biblionumber" value="[% GROUP_RESULT.biblionumber %]" title="[% t('Click to add to cart') %]" /> <label for="bib[% GROUP_RESULT.biblionumber %]">
239
                                                                [% END %]
239
                                                                [% END %]
240
                                                                <img src="[% themelang %]/images/[% GROUP_RESULT.itemtype %].gif" alt="[% GROUP_RESULT.ccode %]" title="[% GROUP_RESULT.ccode %]" />
240
                                                                <img src="[% themelang %]/images/[% GROUP_RESULT.itemtype %].gif" alt="[% GROUP_RESULT.ccode %]" title="[% GROUP_RESULT.ccode %]" />
241
                                                                [% IF ( ( Koha.Preference( 'opacbookbag' ) = 1 ) || ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %]</label>[% END %]
241
                                                                [% IF ( ( Koha.Preference( 'opacbookbag' ) = 1 ) || ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %]</label>[% END %]
Lines 256-272 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
256
256
257
                        [% IF Koha.Preference( 'suggestion' ) == 1 && ( Koha.Preference( 'AnonSuggestions' ) == 1 || loggedinusername || Koha.Preference( 'ILLModule' ) == 1 ) %]
257
                        [% IF Koha.Preference( 'suggestion' ) == 1 && ( Koha.Preference( 'AnonSuggestions' ) == 1 || loggedinusername || Koha.Preference( 'ILLModule' ) == 1 ) %]
258
                            <div class="suggestion">
258
                            <div class="suggestion">
259
                                Not finding what you're looking for?
259
                                [% t('Not finding what you\'re looking for?') %]
260
                                <ul>
260
                                <ul>
261
                                    [% IF Koha.Preference( 'AnonSuggestions' ) == 1 %]
261
                                    [% IF Koha.Preference( 'AnonSuggestions' ) == 1 %]
262
                                        <li>Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></li>
262
                                        <li>[% t('Make a') %] <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">[% t('purchase suggestion') %]</a></li>
263
                                    [% ELSE %]
263
                                    [% ELSE %]
264
                                        [% IF ( loggedinusername ) %]
264
                                        [% IF ( loggedinusername ) %]
265
                                            <li>Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></li>
265
                                            <li>[% t('Make a') %] <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">[% t('purchase suggestion') %]</a></li>
266
                                        [% END %]
266
                                        [% END %]
267
                                    [% END %]
267
                                    [% END %]
268
                                    [% IF Koha.Preference( 'ILLModule' ) == 1 && loggedinusername %]
268
                                    [% IF Koha.Preference( 'ILLModule' ) == 1 && loggedinusername %]
269
                                        <li>Make an <a href="/cgi-bin/koha/opac-illrequests.pl?op=create">Interlibrary loan request</a></li>
269
                                        <li>[% t('Make an') %] <a href="/cgi-bin/koha/opac-illrequests.pl?op=create">[% t('Interlibrary loan request') %]</a></li>
270
                                    [% END %]
270
                                    [% END %]
271
                                </ul>
271
                                </ul>
272
                            </div>
272
                            </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-88 / +89 lines)
Lines 1-14 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnList ) %]
4
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnList ) %]
4
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %]
5
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %]
5
6
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;
8
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %]
8
[% IF ( searchdesc ) %]
9
[% IF ( searchdesc ) %]
9
    Results of search [% IF ( query_desc ) %]for '[% query_desc | html%]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %]
10
    [% t('Results of search') %] [% IF ( query_desc ) %][% t('for \'') %][% query_desc | html%]'[% END %][% IF ( limit_desc ) %][% t(' with limit(s): \'') %][% limit_desc | html %]'[% END %]
10
[% ELSE %]
11
[% ELSE %]
11
    You did not specify any search criteria.
12
    [% t('You did not specify any search criteria.') %]
12
[% END %]</title>
13
[% END %]</title>
13
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
14
[% IF ( OpacStarRatings == 'all' || Koha.Preference('Babeltheque') ) %]
15
[% IF ( OpacStarRatings == 'all' || Koha.Preference('Babeltheque') ) %]
Lines 17-23 Link Here
17
    [% END %]
18
    [% END %]
18
[% END %]
19
[% END %]
19
20
20
<link rel="alternate" type="application/rss+xml" title="[% LibraryName |html %] Search RSS feed" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi | url %][% limit_cgi |uri %]&amp;count=[% countrss |uri %]&amp;sort_by=acqdate_dsc&amp;format=rss2" />
21
<link rel="alternate" type="application/rss+xml" title="[% LibraryName |html %] [% t('Search RSS feed') %]" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi | url %][% limit_cgi |uri %]&count=[% countrss |uri %]&sort_by=acqdate_dsc&format=rss2" />
21
</head>
22
</head>
22
23
23
[% INCLUDE 'bodytag.inc' bodyid='results' bodyclass='scrollto' %]
24
[% INCLUDE 'bodytag.inc' bodyid='results' bodyclass='scrollto' %]
Lines 25-36 Link Here
25
26
26
    <div class="main">
27
    <div class="main">
27
        <ul class="breadcrumb">
28
        <ul class="breadcrumb">
28
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
29
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
29
            <li>
30
            <li>
30
                [% IF ( searchdesc ) %]
31
                [% IF ( searchdesc ) %]
31
                    <a href="#">Results of search [% IF ( query_desc ) %]for '[% query_desc | html%]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %]</a>
32
                    <a href="#">[% t('Results of search') %] [% IF ( query_desc ) %][% t('for \'') %][% query_desc | html%]'[% END %][% IF ( limit_desc ) %][% t(' with limit(s): \'') %][% limit_desc | html %]'[% END %]</a>
32
                [% ELSE %]
33
                [% ELSE %]
33
                    <a href="#">You did not specify any search criteria</a>
34
                    <a href="#">[% t('You did not specify any search criteria') %]</a>
34
                [% END %]
35
                [% END %]
35
            </li>
36
            </li>
36
        </ul>
37
        </ul>
Lines 39-55 Link Here
39
            <div class="container-fluid maincontent">
40
            <div class="container-fluid maincontent">
40
                <div class="row-fluid">
41
                <div class="row-fluid">
41
                    <div class="span12">
42
                    <div class="span12">
42
                        <strong>No results found!</strong>
43
                        <strong>[% t('No results found!') %]</strong>
43
                        <p>
44
                        <p>
44
                            [% IF ( searchdesc ) %]
45
                            [% IF ( searchdesc ) %]
45
                                No results found for that in [% LibraryName %] catalog. <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi | url %][% limit_cgi | html | url %]&amp;format=rss2" class="rsssearchlink noprint"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" border="0" class="rsssearchicon"/></a>
46
                                [% t('No results found for that in') %] [% LibraryName %] [% t('catalog.') %] <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi | url %][% limit_cgi | html | url %]&format=rss2" class="rsssearchlink noprint"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="[% t('Subscribe to this search') %]" title="[% t('Subscribe to this search') %]" border="0" class="rsssearchicon" /></a>
46
                            [% ELSE %]
47
                            [% ELSE %]
47
                                You did not specify any search criteria.
48
                                [% t('You did not specify any search criteria.') %]
48
                            [% END %]
49
                            [% END %]
49
                        </p>
50
                        </p>
50
                        [% IF ( ReturnPath ) %]
51
                        [% IF ( ReturnPath ) %]
51
                           <div class="returntosearch">
52
                           <div class="returntosearch">
52
                                <p><a href="[% ReturnPath %]">Return to the last advanced search</a></p>
53
                                <p><a href="[% ReturnPath %]">[% t('Return to the last advanced search') %]</a></p>
53
                            </div>
54
                            </div>
54
                        [% END %]
55
                        [% END %]
55
                        [% IF ( OPACNoResultsFound ) %]
56
                        [% IF ( OPACNoResultsFound ) %]
Lines 78-105 Link Here
78
79
79
                [% IF ( searchdesc ) %]
80
                [% IF ( searchdesc ) %]
80
                    <p id="numresults">
81
                    <p id="numresults">
81
                    [% IF ( total ) %]<strong>Your search returned [% total |html %] results.</strong>
82
                    [% IF ( total ) %]<strong>[% t('Your search returned') %] [% total |html %] [% t('results.') %]</strong>
82
                        [% IF ( related ) %]
83
                        [% IF ( related ) %]
83
                            (related searches:
84
                            [% t('(related searches:') %]
84
                                [% FOREACH relate IN related %]
85
                                [% FOREACH relate IN related %]
85
                                    [% relate.related_search %]
86
                                    [% relate.related_search %]
86
                                [% END %]
87
                                [% END %]
87
                            ).
88
                            ).
88
                        [% END %]
89
                        [% END %]
89
                        <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi | url %][% limit_cgi |html | url %]&amp;count=[% countrss |html %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink noprint"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a>
90
                        <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi | url %][% limit_cgi |html | url %]&count=[% countrss |html %]&sort_by=acqdate_dsc&format=rss2" class="rsssearchlink noprint"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="[% t('Subscribe to this search') %]" title="[% t('Subscribe to this search') %]" class="rsssearchicon" /></a>
90
                    [% END # / IF total %]
91
                    [% END # / IF total %]
91
                    </p>
92
                    </p>
92
                [% END # / IF searchdesc %]
93
                [% END # / IF searchdesc %]
93
94
94
                <div id="userresults">
95
                <div id="userresults">
95
                    [% IF ( DidYouMean ) %]
96
                    [% IF ( DidYouMean ) %]
96
                        <div id="didyoumean">Not what you expected? Check for <a href="/cgi-bin/koha/svc/suggestion?render=standalone&amp;q=[% querystring |uri %]">suggestions</a></div>
97
                        <div id="didyoumean">[% t('Not what you expected? Check for') %] <a href="/cgi-bin/koha/svc/suggestion?render=standalone&q=[% querystring |uri %]">[% t('suggestions') %]</a></div>
97
                    [% END %]
98
                    [% END %]
98
99
99
                    <div id="top-pages">[% INCLUDE 'page-numbers.inc' %]</div>
100
                    <div id="top-pages">[% INCLUDE 'page-numbers.inc' %]</div>
100
101
101
                    [% IF ( koha_spsuggest ) %]
102
                    [% IF ( koha_spsuggest ) %]
102
                        Did you mean:
103
                        [% t('Did you mean:') %]
103
                        <ul style="list-style: none;">
104
                        <ul style="list-style: none;">
104
                            [% FOREACH SPELL_SUGGES IN SPELL_SUGGEST %]
105
                            [% FOREACH SPELL_SUGGES IN SPELL_SUGGEST %]
105
                            <li>
106
                            <li>
Lines 111-123 Link Here
111
                    [% IF ( total ) %]
112
                    [% IF ( total ) %]
112
                        [% IF ( ReturnPath ) %]
113
                        [% IF ( ReturnPath ) %]
113
                            <div class="returntosearch">
114
                            <div class="returntosearch">
114
                                <p><a href="[% ReturnPath %]">Return to the last advanced search</a></p>
115
                                <p><a href="[% ReturnPath %]">[% t('Return to the last advanced search') %]</a></p>
115
                            </div>
116
                            </div>
116
                        [% END %]
117
                        [% END %]
117
                    [% END %]
118
                    [% END %]
118
                    [% IF ( query_error ) %]
119
                    [% IF ( query_error ) %]
119
                        <div class="dialog alert">
120
                        <div class="dialog alert">
120
                            <h4>Error:</h4>
121
                            <h4>[% t('Error:') %]</h4>
121
                            [% query_error %]
122
                            [% query_error %]
122
                        </div>
123
                        </div>
123
                    [% END %]
124
                    [% END %]
Lines 129-146 Link Here
129
                            <form action="/cgi-bin/koha/opac-search.pl" method="get" name="bookbag_form" id="bookbag_form" class="checkboxed">
130
                            <form action="/cgi-bin/koha/opac-search.pl" method="get" name="bookbag_form" id="bookbag_form" class="checkboxed">
130
                                [% IF ( searchdesc ) %]
131
                                [% IF ( searchdesc ) %]
131
                                    [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
132
                                    [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
132
                                        <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]"/>
133
                                        <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]" />
133
                                    [% END %]
134
                                    [% END %]
134
                                    [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
135
                                    [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
135
                                        <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]"/>
136
                                        <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]" />
136
                                    [% END %]
137
                                    [% END %]
137
                                [% END # IF /searchdesc %]
138
                                [% END # IF /searchdesc %]
138
139
139
                                <div id="toolbar" class="toolbar clearfix">
140
                                <div id="toolbar" class="toolbar clearfix">
140
                                    [% IF ( OpacHighlightedWords ) %]
141
                                    [% IF ( OpacHighlightedWords ) %]
141
                                        <div class="highlight_controls noprint">
142
                                        <div class="highlight_controls noprint">
142
                                            <a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a>
143
                                            <a href="#" class="highlight_toggle" id="highlight_toggle_off">[% t('Unhighlight') %]</a>
143
                                            <a href="#" class="highlight_toggle" id="highlight_toggle_on">Highlight</a>
144
                                            <a href="#" class="highlight_toggle" id="highlight_toggle_on">[% t('Highlight') %]</a>
144
                                        </div>
145
                                        </div>
145
                                    [% END %]
146
                                    [% END %]
146
                                    [% UNLESS tag %]
147
                                    [% UNLESS tag %]
Lines 164-179 Link Here
164
165
165
                                            [% IF ( TagsInputEnabled && loggedinusername ) %]
166
                                            [% IF ( TagsInputEnabled && loggedinusername ) %]
166
                                                <span id="tagsel_span">
167
                                                <span id="tagsel_span">
167
                                                    <input id="tagsel_tag" class="disabled" type="submit" value="Tag"/>
168
                                                    <input id="tagsel_tag" class="disabled" type="submit" value="Tag" />
168
                                                </span>
169
                                                </span>
169
                                                <div id="tagsel_form" style="display:none">
170
                                                <div id="tagsel_form" style="display:none">
170
                                                    <label for="tagsel_new">New tag:</label>
171
                                                    <label for="tagsel_new">[% t('New tag:') %]</label>
171
                                                    <input name="tagsel_new" id="tagsel_new" maxlength="100" />
172
                                                    <input name="tagsel_new" id="tagsel_new" maxlength="100" />
172
                                                    <input id="tagsel_button" name="tagsel_button" class="tagsel_button btn btn-small" title="Add" type="submit" value="Add" />
173
                                                    <input id="tagsel_button" name="tagsel_button" class="tagsel_button btn btn-small" title="[% t('Add') %]" type="submit" value="Add" />
173
                                                    <a href="#" id="tagsel_cancel">(done)</a>
174
                                                    <a href="#" id="tagsel_cancel">[% t('(done)') %]</a>
174
                                                </div>
175
                                                </div>
175
                                                <div id="tagsel_status" class="tagsel_tatus" style="display:none;">
176
                                                <div id="tagsel_status" class="tagsel_tatus" style="display:none;">
176
                                                    Tag status here.
177
                                                    [% t('Tag status here.') %]
177
                                                </div>
178
                                                </div>
178
                                            [% END %]
179
                                            [% END %]
179
                                        </span> <!-- / .links -->
180
                                        </span> <!-- / .links -->
Lines 216-222 Link Here
216
                                                        <img src="[% SEARCH_RESULT.imageurl %]" title="[% SEARCH_RESULT.description %]" alt="[% SEARCH_RESULT.description %]" />
217
                                                        <img src="[% SEARCH_RESULT.imageurl %]" title="[% SEARCH_RESULT.description %]" alt="[% SEARCH_RESULT.description %]" />
217
                                                    [% END %]
218
                                                    [% END %]
218
                                                    [% IF ( SEARCH_RESULT.score_avg ) %]
219
                                                    [% IF ( SEARCH_RESULT.score_avg ) %]
219
                                                        <img src="[% themelang %]/../images/bonus.png" title="bonus" style="max-height: 35px;"/>
220
                                                        <img src="[% themelang %]/../images/bonus.png" title="[% t('bonus') %]" style="max-height: 35px;" />
220
                                                    [% END %]
221
                                                    [% END %]
221
                                                </td>
222
                                                </td>
222
                                            [% END %]
223
                                            [% END %]
Lines 232-250 Link Here
232
                                                            [% IF ( SEARCH_RESULT.normalized_isbn ) %]
233
                                                            [% IF ( SEARCH_RESULT.normalized_isbn ) %]
233
                                                                    <span title="[% SEARCH_RESULT.biblionumber %]" id="amazon-thumbnail[% loop.count %]"><img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="item-thumbnail" /></span>
234
                                                                    <span title="[% SEARCH_RESULT.biblionumber %]" id="amazon-thumbnail[% loop.count %]"><img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="item-thumbnail" /></span>
234
                                                            [% ELSE %]
235
                                                            [% ELSE %]
235
                                                                <span class="no-image">No cover image available</span>
236
                                                                <span class="no-image">[% t('No cover image available') %]</span>
236
                                                            [% END %]
237
                                                            [% END %]
237
                                                        [% END %]
238
                                                        [% END %]
238
239
239
                                                        [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
240
                                                        [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
240
                                                            [% IF ( SEARCH_RESULT.normalized_isbn || SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_oclc ) %]
241
                                                            [% IF ( SEARCH_RESULT.normalized_isbn || SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_oclc ) %]
241
                                                                    [% IF ( using_https ) %]
242
                                                                    [% IF ( using_https ) %]
242
                                                                        <span title="[% SEARCH_RESULT.biblionumber %]" id="syndetics-thumbnail[% loop.count %]"><img src="https://secure.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% SEARCH_RESULT.normalized_upc %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc %]" alt="" class="item-thumbnail" /></span>
243
                                                                        <span title="[% SEARCH_RESULT.biblionumber %]" id="syndetics-thumbnail[% loop.count %]"><img src="https://secure.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% SEARCH_RESULT.normalized_upc %]&oclc=[% SEARCH_RESULT.normalized_oclc %]" alt="" class="item-thumbnail" /></span>
243
                                                                    [% ELSE %]
244
                                                                    [% ELSE %]
244
                                                                        <span title="[% SEARCH_RESULT.biblionumber %]" id="syndetics-thumbnail[% loop.count %]"><img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% SEARCH_RESULT.normalized_upc %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc %]" alt="" class="item-thumbnail" /></span>
245
                                                                        <span title="[% SEARCH_RESULT.biblionumber %]" id="syndetics-thumbnail[% loop.count %]"><img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% SEARCH_RESULT.normalized_upc %]&oclc=[% SEARCH_RESULT.normalized_oclc %]" alt="" class="item-thumbnail" /></span>
245
                                                                    [% END %]
246
                                                                    [% END %]
246
                                                            [% ELSE %]
247
                                                            [% ELSE %]
247
                                                                <span class="no-image">No cover image available</span>
248
                                                                <span class="no-image">[% t('No cover image available') %]</span>
248
                                                            [% END %]
249
                                                            [% END %]
249
                                                        [% END %]
250
                                                        [% END %]
250
251
Lines 252-258 Link Here
252
                                                            [% IF ( SEARCH_RESULT.normalized_isbn ) %]
253
                                                            [% IF ( SEARCH_RESULT.normalized_isbn ) %]
253
                                                                <span style="block" title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></span>
254
                                                                <span style="block" title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></span>
254
                                                            [% ELSE %]
255
                                                            [% ELSE %]
255
                                                                <span class="no-image">No cover image available</span>
256
                                                                <span class="no-image">[% t('No cover image available') %]</span>
256
                                                            [% END %]
257
                                                            [% END %]
257
                                                        [% END %]
258
                                                        [% END %]
258
259
Lines 261-267 Link Here
261
                                                          [% IF ( coce_id ) %]
262
                                                          [% IF ( coce_id ) %]
262
                                                            <span style="block" title="[% SEARCH_RESULT.biblionumber |url %]" class="[% coce_id %]" id="coce-thumbnail[% loop.count %]"></span>
263
                                                            <span style="block" title="[% SEARCH_RESULT.biblionumber |url %]" class="[% coce_id %]" id="coce-thumbnail[% loop.count %]"></span>
263
                                                          [% ELSE %]
264
                                                          [% ELSE %]
264
                                                            <span class="no-image">No cover image available</span>
265
                                                            <span class="no-image">[% t('No cover image available') %]</span>
265
                                                          [% END %]
266
                                                          [% END %]
266
                                                        [% END %]
267
                                                        [% END %]
267
268
Lines 269-284 Link Here
269
                                                            [% IF SEARCH_RESULT.normalized_isbn %]
270
                                                            [% IF SEARCH_RESULT.normalized_isbn %]
270
                                                                <span style="block" title="[% SEARCH_RESULT.biblionumber %]" class="[% SEARCH_RESULT.normalized_isbn %]" id="openlibrary-thumbnail[% loop.count %]"></span>
271
                                                                <span style="block" title="[% SEARCH_RESULT.biblionumber %]" class="[% SEARCH_RESULT.normalized_isbn %]" id="openlibrary-thumbnail[% loop.count %]"></span>
271
                                                            [% ELSE %]
272
                                                            [% ELSE %]
272
                                                                <span class="no-image">No cover image available</span>
273
                                                                <span class="no-image">[% t('No cover image available') %]</span>
273
                                                            [% END %]
274
                                                            [% END %]
274
                                                        [% END %]
275
                                                        [% END %]
275
276
276
                                                        [% IF ( BakerTaylorEnabled && !BakerTaylorBookstoreURL ) %]
277
                                                        [% IF ( BakerTaylorEnabled && !BakerTaylorBookstoreURL ) %]
277
                                                            [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
278
                                                            [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
278
                                                            [% IF ( bt_id ) %]
279
                                                            [% IF ( bt_id ) %]
279
                                                                <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
280
                                                                <img alt="[% t('See Baker &amp; Taylor') %]" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
280
                                                            [% ELSE %]
281
                                                            [% ELSE %]
281
                                                                <span class="no-image">No cover image available</span>
282
                                                                <span class="no-image">[% t('No cover image available') %]</span>
282
                                                            [% END %]
283
                                                            [% END %]
283
                                                        [% END %]
284
                                                        [% END %]
284
                                                    </a>
285
                                                    </a>
Lines 287-296 Link Here
287
                                                        [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
288
                                                        [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
288
                                                        [% IF ( bt_id ) %]
289
                                                        [% IF ( bt_id ) %]
289
                                                            <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]">
290
                                                            <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]">
290
                                                                <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
291
                                                                <img alt="[% t('See Baker &amp; Taylor') %]" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
291
                                                            </a>
292
                                                            </a>
292
                                                        [% ELSE %]
293
                                                        [% ELSE %]
293
                                                            <span class="no-image">No cover image available</span>
294
                                                            <span class="no-image">[% t('No cover image available') %]</span>
294
                                                        [% END %]
295
                                                        [% END %]
295
                                                    [% END %]
296
                                                    [% END %]
296
297
Lines 314-332 Link Here
314
                                                    [% SEARCH_RESULT.XSLTResultsRecord %]
315
                                                    [% SEARCH_RESULT.XSLTResultsRecord %]
315
                                                [% ELSE %]
316
                                                [% ELSE %]
316
                                                    [% IF ( BiblioDefaultViewmarc ) %]
317
                                                    [% IF ( BiblioDefaultViewmarc ) %]
317
                                                        <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]" title="View details for this title">
318
                                                        <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]" title="[% t('View details for this title') %]">
318
                                                    [% ELSE %]
319
                                                    [% ELSE %]
319
                                                        [% IF ( BiblioDefaultViewisbd ) %]
320
                                                        [% IF ( BiblioDefaultViewisbd ) %]
320
                                                            <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]" title="View details for this title">
321
                                                            <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]" title="[% t('View details for this title') %]">
321
                                                        [% ELSE %]
322
                                                        [% ELSE %]
322
                                                            <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]" title="View details for this title">
323
                                                            <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]" title="[% t('View details for this title') %]">
323
                                                        [% END %]
324
                                                        [% END %]
324
                                                    [% END %]
325
                                                    [% END %]
325
326
326
                                                    [% IF ( SEARCH_RESULT.title ) %]
327
                                                    [% IF ( SEARCH_RESULT.title ) %]
327
                                                        [% SEARCH_RESULT.title |html %]
328
                                                        [% SEARCH_RESULT.title |html %]
328
                                                    [% ELSE %]
329
                                                    [% ELSE %]
329
                                                        No title
330
                                                        [% t('No title') %]
330
                                                    [% END %]
331
                                                    [% END %]
331
332
332
                                                    [% FOREACH subtitl IN SEARCH_RESULT.subtitle %]
333
                                                    [% FOREACH subtitl IN SEARCH_RESULT.subtitle %]
Lines 334-346 Link Here
334
                                                    [% END %]</a>
335
                                                    [% END %]</a>
335
336
336
                                                    [% IF ( SEARCH_RESULT.author ) %]
337
                                                    [% IF ( SEARCH_RESULT.author ) %]
337
                                                        by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% SEARCH_RESULT.author |url %]" title="Search for works by this author" class="author">[% SEARCH_RESULT.author %]</a>
338
                                                        [% t('by') %] <a href="/cgi-bin/koha/opac-search.pl?q=au:[% SEARCH_RESULT.author |url %]" title="[% t('Search for works by this author') %]" class="author">[% SEARCH_RESULT.author %]</a>
338
                                                    [% ELSE %]
339
                                                    [% ELSE %]
339
                                                        &nbsp;
340
                                                         
340
                                                    [% END %]
341
                                                    [% END %]
341
342
342
                                                    <span class="results_summary publisher">
343
                                                    <span class="results_summary publisher">
343
                                                        <span class="label">Publication:</span>
344
                                                        <span class="label">[% t('Publication:') %]</span>
344
                                                            [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place %] [% END %]
345
                                                            [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place %] [% END %]
345
                                                            [% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode|html %][% END %]
346
                                                            [% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode|html %][% END %]
346
                                                            [% IF ( SEARCH_RESULT.publicationyear ) %]
347
                                                            [% IF ( SEARCH_RESULT.publicationyear ) %]
Lines 353-359 Link Here
353
                                                            [% IF ( SEARCH_RESULT.pages ) %]. [% SEARCH_RESULT.pages %][% END %]
354
                                                            [% IF ( SEARCH_RESULT.pages ) %]. [% SEARCH_RESULT.pages %][% END %]
354
                                                            [% IF ( SEARCH_RESULT.notes ) %], [% SEARCH_RESULT.notes|html %][% END %]
355
                                                            [% IF ( SEARCH_RESULT.notes ) %], [% SEARCH_RESULT.notes|html %][% END %]
355
                                                            [% IF ( SEARCH_RESULT.size ) %] [% SEARCH_RESULT.size %][% END %]
356
                                                            [% IF ( SEARCH_RESULT.size ) %] [% SEARCH_RESULT.size %][% END %]
356
                                                            [% IF ( SEARCH_RESULT.timestamp ) %] <i>(modified on [% SEARCH_RESULT.timestamp %])</i>[% END %]
357
                                                            [% IF ( SEARCH_RESULT.timestamp ) %] <i>[% t('(modified on') %] [% SEARCH_RESULT.timestamp %])</i>[% END %]
357
                                                    </span>
358
                                                    </span>
358
359
359
                                                    [% IF ( SEARCH_RESULT.summary ) %]
360
                                                    [% IF ( SEARCH_RESULT.summary ) %]
Lines 364-378 Link Here
364
365
365
                                                    [% IF ( SEARCH_RESULT.copyrightdate ) %]
366
                                                    [% IF ( SEARCH_RESULT.copyrightdate ) %]
366
                                                        <span class="results_summary date">
367
                                                        <span class="results_summary date">
367
                                                            <span class="label">Date:</span>
368
                                                            <span class="label">[% t('Date:') %]</span>
368
                                                            [% SEARCH_RESULT.copyrightdate %]
369
                                                            [% SEARCH_RESULT.copyrightdate %]
369
                                                        </span>
370
                                                        </span>
370
                                                    [% END %]
371
                                                    [% END %]
371
372
372
                                                    <span class="results_summary">
373
                                                    <span class="results_summary">
373
                                                        <span class="label">Availability:</span>
374
                                                        <span class="label">[% t('Availability:') %]</span>
374
                                                            [% IF ( SEARCH_RESULT.available_items_loop.size() ) %]
375
                                                            [% IF ( SEARCH_RESULT.available_items_loop.size() ) %]
375
                                                                <span class="available"><strong>Items available:</strong>
376
                                                                <span class="available"><strong>[% t('Items available:') %]</strong>
376
                                                                    [% FOREACH available_items_loo IN SEARCH_RESULT.available_items_loop %]
377
                                                                    [% FOREACH available_items_loo IN SEARCH_RESULT.available_items_loop %]
377
                                                                        [% IF available_items_loo.this_branch %]
378
                                                                        [% IF available_items_loo.this_branch %]
378
                                                                            <span class="highlight-row-results">
379
                                                                            <span class="highlight-row-results">
Lines 397-417 Link Here
397
                                                            [% ELSE %]
398
                                                            [% ELSE %]
398
                                                                [% IF ( SEARCH_RESULT.ALTERNATEHOLDINGS ) %]
399
                                                                [% IF ( SEARCH_RESULT.ALTERNATEHOLDINGS ) %]
399
                                                                    [% FOREACH ALTERNATEHOLDING IN SEARCH_RESULT.ALTERNATEHOLDINGS %]
400
                                                                    [% FOREACH ALTERNATEHOLDING IN SEARCH_RESULT.ALTERNATEHOLDINGS %]
400
                                                                        &nbsp;<span id="alternateholdings">[% ALTERNATEHOLDING.holding %]</span>,
401
                                                                         <span id="alternateholdings">[% ALTERNATEHOLDING.holding %]</span>,
401
                                                                    [% END %]
402
                                                                    [% END %]
402
                                                                [% ELSE %]
403
                                                                [% ELSE %]
403
                                                                    <span class="unavailable">No items available:</span>
404
                                                                    <span class="unavailable">[% t('No items available:') %]</span>
404
                                                                [% END %]
405
                                                                [% END %]
405
                                                            [% END # / IF SEARCH_RESULT.available_items_loop.size %]
406
                                                            [% END # / IF SEARCH_RESULT.available_items_loop.size %]
406
407
407
                                                            <span class="unavailable">
408
                                                            <span class="unavailable">
408
                                                                [% IF ( SEARCH_RESULT.onloancount ) %] Checked out ([% SEARCH_RESULT.onloancount %]), [% END %]
409
                                                                [% IF ( SEARCH_RESULT.onloancount ) %] [% t('Checked out (') %][% SEARCH_RESULT.onloancount %]), [% END %]
409
                                                                [% IF ( SEARCH_RESULT.withdrawncount ) %] Withdrawn ([% SEARCH_RESULT.withdrawncount %]), [% END %]
410
                                                                [% IF ( SEARCH_RESULT.withdrawncount ) %] [% t('Withdrawn (') %][% SEARCH_RESULT.withdrawncount %]), [% END %]
410
                                                                [% UNLESS ( SEARCH_RESULT.hidelostitems ) %][% IF ( SEARCH_RESULT.itemlostcount ) %] Lost ([% SEARCH_RESULT.itemlostcount %]),[% END %][% END %]
411
                                                                [% UNLESS ( SEARCH_RESULT.hidelostitems ) %][% IF ( SEARCH_RESULT.itemlostcount ) %] [% t('Lost (') %][% SEARCH_RESULT.itemlostcount %]),[% END %][% END %]
411
                                                                [% IF ( SEARCH_RESULT.damagedcount ) %] Damaged ([% SEARCH_RESULT.damagedcount %]),[% END %]
412
                                                                [% IF ( SEARCH_RESULT.damagedcount ) %] [% t('Damaged (') %][% SEARCH_RESULT.damagedcount %]),[% END %]
412
                                                                [% IF ( SEARCH_RESULT.orderedcount ) %] On order ([% SEARCH_RESULT.orderedcount %]),[% END %]
413
                                                                [% IF ( SEARCH_RESULT.orderedcount ) %] [% t('On order (') %][% SEARCH_RESULT.orderedcount %]),[% END %]
413
                                                                [% IF ( SEARCH_RESULT.onholdcount ) %] On hold ([% SEARCH_RESULT.onholdcount %]),[% END %]
414
                                                                [% IF ( SEARCH_RESULT.onholdcount ) %] [% t('On hold (') %][% SEARCH_RESULT.onholdcount %]),[% END %]
414
                                                                [% IF ( SEARCH_RESULT.intransitcount ) %] In transit ([% SEARCH_RESULT.intransitcount %]),[% END %]
415
                                                                [% IF ( SEARCH_RESULT.intransitcount ) %] [% t('In transit (') %][% SEARCH_RESULT.intransitcount %]),[% END %]
415
                                                            </span>
416
                                                            </span>
416
                                                    </span> <!-- / .results_summary -->
417
                                                    </span> <!-- / .results_summary -->
417
                                                [% END # / IF OPACXSLTResultsDisplay %]
418
                                                [% END # / IF OPACXSLTResultsDisplay %]
Lines 425-443 Link Here
425
                                                                <div class="star-rating rater-[% i %] star star-rating-applied star-rating-readonly"><a title="[% i %]">[% i %]</a></div>
426
                                                                <div class="star-rating rater-[% i %] star star-rating-applied star-rating-readonly"><a title="[% i %]">[% i %]</a></div>
426
                                                            [% END %]
427
                                                            [% END %]
427
                                                        [% END %]
428
                                                        [% END %]
428
                                                        <span id="babeltheque-rating_total_[% SEARCH_RESULT.biblionumber %]">&nbsp;&nbsp; [% SEARCH_RESULT.score_avg %] / 5 (on [% SEARCH_RESULT.num_scores %] rates)</span>
429
                                                        <span id="babeltheque-rating_total_[% SEARCH_RESULT.biblionumber %]">   [% SEARCH_RESULT.score_avg %] [% t('/ 5 (on') %] [% SEARCH_RESULT.num_scores %] [% t('rates)') %]</span>
429
430
430
                                                        [% IF ( SEARCH_RESULT.num_critics ) %]
431
                                                        [% IF ( SEARCH_RESULT.num_critics ) %]
431
                                                            <span class="social_data">[% SEARCH_RESULT.num_critics %] Internet user critics</span>
432
                                                            <span class="social_data">[% SEARCH_RESULT.num_critics %] [% t('Internet user critics') %]</span>
432
                                                        [% END %]
433
                                                        [% END %]
433
                                                        [% IF ( SEARCH_RESULT.num_critics_pro ) %]
434
                                                        [% IF ( SEARCH_RESULT.num_critics_pro ) %]
434
                                                            <span class="social_data">[% SEARCH_RESULT.num_critics_pro %] Professional critics</span>
435
                                                            <span class="social_data">[% SEARCH_RESULT.num_critics_pro %] [% t('Professional critics') %]</span>
435
                                                        [% END %]
436
                                                        [% END %]
436
                                                        [% IF ( SEARCH_RESULT.num_videos ) %]
437
                                                        [% IF ( SEARCH_RESULT.num_videos ) %]
437
                                                            <span class="social_data">[% SEARCH_RESULT.num_videos %] Video extracts</span>
438
                                                            <span class="social_data">[% SEARCH_RESULT.num_videos %] [% t('Video extracts') %]</span>
438
                                                        [% END %]
439
                                                        [% END %]
439
                                                        [% IF ( SEARCH_RESULT.num_quotations ) %]
440
                                                        [% IF ( SEARCH_RESULT.num_quotations ) %]
440
                                                            <span class="social_data">[% SEARCH_RESULT.num_quotations %] Quotations</span>
441
                                                            <span class="social_data">[% SEARCH_RESULT.num_quotations %] [% t('Quotations') %]</span>
441
                                                        [% END %]
442
                                                        [% END %]
442
                                                    </div> <!-- / .results_summary -->
443
                                                    </div> <!-- / .results_summary -->
443
                                                [% END # / IF SEARCH_RESULT.score_avg %]
444
                                                [% END # / IF SEARCH_RESULT.score_avg %]
Lines 448-458 Link Here
448
449
449
                                                [% IF ( TagsShowEnabled && SEARCH_RESULT.TagLoop.size ) %]
450
                                                [% IF ( TagsShowEnabled && SEARCH_RESULT.TagLoop.size ) %]
450
                                                    <div class="results_summary tags">
451
                                                    <div class="results_summary tags">
451
                                                        <span class="label">Tags:</span>
452
                                                        <span class="label">[% t('Tags:') %]</span>
452
                                                        <ul>
453
                                                        <ul>
453
                                                            [% FOREACH TagLoo IN SEARCH_RESULT.TagLoop %]
454
                                                            [% FOREACH TagLoo IN SEARCH_RESULT.TagLoop %]
454
                                                                <li>
455
                                                                <li>
455
                                                                    <a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term |url %]&amp;q=[% TagLoo.term |url %]">[% TagLoo.term %]</a>
456
                                                                    <a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term |url %]&q=[% TagLoo.term |url %]">[% TagLoo.term %]</a>
456
                                                                    <span class="weight">([% TagLoo.weight_total %])</span>
457
                                                                    <span class="weight">([% TagLoo.weight_total %])</span>
457
                                                                </li>
458
                                                                </li>
458
                                                            [% END %]
459
                                                            [% END %]
Lines 462-471 Link Here
462
463
463
                                                [% IF Koha.Preference('virtualshelves') AND SEARCH_RESULT.shelves.count %]
464
                                                [% IF Koha.Preference('virtualshelves') AND SEARCH_RESULT.shelves.count %]
464
                                                    <div class="results_summary shelves">
465
                                                    <div class="results_summary shelves">
465
                                                        <span class="label">Lists:</span>
466
                                                        <span class="label">[% t('Lists:') %]</span>
466
                                                            <ul>
467
                                                            <ul>
467
                                                                [% FOREACH shelf IN SEARCH_RESULT.shelves %]
468
                                                                [% FOREACH shelf IN SEARCH_RESULT.shelves %]
468
                                                                    <li><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber %]">[% shelf.shelfname %]</a></li>
469
                                                                    <li><a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]">[% shelf.shelfname %]</a></li>
469
                                                                    [%~ UNLESS loop.last %], [% ELSE %].[% END ~%]
470
                                                                    [%~ UNLESS loop.last %], [% ELSE %].[% END ~%]
470
                                                                [% END %]
471
                                                                [% END %]
471
                                                            </ul>
472
                                                            </ul>
Lines 475-481 Link Here
475
476
476
                                                [% IF ( SEARCH_RESULT.searchhighlightblob ) %]
477
                                                [% IF ( SEARCH_RESULT.searchhighlightblob ) %]
477
                                                    <span class="results_summary">
478
                                                    <span class="results_summary">
478
                                                        <span class="label">Match:</span>
479
                                                        <span class="label">[% t('Match:') %]</span>
479
                                                        [% SEARCH_RESULT.searchhighlightblob %]
480
                                                        [% SEARCH_RESULT.searchhighlightblob %]
480
                                                    </span>
481
                                                    </span>
481
                                                [% END %]
482
                                                [% END %]
Lines 486-499 Link Here
486
                                                      [% rating_avg_int = BLOCK %][% rating_avg | format("%.0f") %][% END %]
487
                                                      [% rating_avg_int = BLOCK %][% rating_avg | format("%.0f") %][% END %]
487
                                                        [% FOREACH i  IN [ 1 2 3 4 5  ] %]
488
                                                        [% FOREACH i  IN [ 1 2 3 4 5  ] %]
488
                                                            [% IF rating_avg_int == i %]
489
                                                            [% IF rating_avg_int == i %]
489
                                                                <input class="star" type="radio"  name="rating-[% SEARCH_RESULT.biblionumber %]" value="[% i %]" checked="checked" disabled="disabled"   />
490
                                                                <input class="star" type="radio" name="rating-[% SEARCH_RESULT.biblionumber %]" value="[% i %]" checked="checked" disabled="disabled" />
490
                                                            [% ELSE %]
491
                                                            [% ELSE %]
491
                                                                <input class="star" type="radio"  name="rating-[% SEARCH_RESULT.biblionumber %]" value="[% i %]" disabled="disabled"   />
492
                                                                <input class="star" type="radio" name="rating-[% SEARCH_RESULT.biblionumber %]" value="[% i %]" disabled="disabled" />
492
                                                            [% END %]
493
                                                            [% END %]
493
                                                        [% END %]
494
                                                        [% END %]
494
495
495
                                                        [% IF SEARCH_RESULT.ratings.count > 0  %]
496
                                                        [% IF SEARCH_RESULT.ratings.count > 0  %]
496
                                                            <span id="rating_total_[% SEARCH_RESULT.biblionumber %]">&nbsp;&nbsp;([% SEARCH_RESULT.ratings.count %] votes)</span>
497
                                                            <span id="rating_total_[% SEARCH_RESULT.biblionumber %]">  ([% SEARCH_RESULT.ratings.count %] [% t('votes)') %]</span>
497
                                                        [% ELSE %]
498
                                                        [% ELSE %]
498
                                                            <br />
499
                                                            <br />
499
                                                        [% END %]
500
                                                        [% END %]
Lines 504-546 Link Here
504
                                                        [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
505
                                                        [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
505
                                                            [% UNLESS ( SEARCH_RESULT.norequests ) %]
506
                                                            [% UNLESS ( SEARCH_RESULT.norequests ) %]
506
                                                                [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %]
507
                                                                [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %]
507
                                                                    <span class="actions"><a class="hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Place hold</a></span><!-- add back when available 0 holds in queue-->
508
                                                                    <span class="actions"><a class="hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">[% t('Place hold') %]</a></span><!-- add back when available 0 holds in queue-->
508
                                                                [% END # / IF opacuserlogin && holdable %]
509
                                                                [% END # / IF opacuserlogin && holdable %]
509
                                                            [% END # UNLESS SEARCH_RESULT.norequests %]
510
                                                            [% END # UNLESS SEARCH_RESULT.norequests %]
510
                                                        [% END # IF RequestOnOpac %]
511
                                                        [% END # IF RequestOnOpac %]
511
512
512
                                                        [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %]
513
                                                        [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %]
513
                                                            [% IF Koha.Preference('ArticleRequests') %]
514
                                                            [% IF Koha.Preference('ArticleRequests') %]
514
                                                                <span class="actions"><a class="article_request" href="/cgi-bin/koha/opac-request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Request article</a></span>
515
                                                                <span class="actions"><a class="article_request" href="/cgi-bin/koha/opac-request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">[% t('Request article') %]</a></span>
515
                                                            [% END %]
516
                                                            [% END %]
516
                                                        [% END %]
517
                                                        [% END %]
517
518
518
                                                        [% IF ( TagsInputEnabled ) %]
519
                                                        [% IF ( TagsInputEnabled ) %]
519
                                                            [% IF ( loggedinusername ) %]
520
                                                            [% IF ( loggedinusername ) %]
520
                                                                <span class="actions"><a class="tag_add" id="tag_add[% SEARCH_RESULT.biblionumber %]" href="#">Add tag</a></span>
521
                                                                <span class="actions"><a class="tag_add" id="tag_add[% SEARCH_RESULT.biblionumber %]" href="#">[% t('Add tag') %]</a></span>
521
                                                                <div id="tagform[% SEARCH_RESULT.biblionumber %]" class="tag_results_input" style="display:none;">
522
                                                                <div id="tagform[% SEARCH_RESULT.biblionumber %]" class="tag_results_input" style="display:none;">
522
                                                                        <label for="newtag[% SEARCH_RESULT.biblionumber %]">New tag(s), separated by a comma:</label>
523
                                                                        <label for="newtag[% SEARCH_RESULT.biblionumber %]">[% t('New tag(s), separated by a comma:') %]</label>
523
                                                                        <input type="text" name="newtag[% SEARCH_RESULT.biblionumber %]" id="newtag[% SEARCH_RESULT.biblionumber %]" class="newtag" maxlength="100" />
524
                                                                        <input type="text" name="newtag[% SEARCH_RESULT.biblionumber %]" id="newtag[% SEARCH_RESULT.biblionumber %]" class="newtag" maxlength="100" />
524
                                                                        <input name="tagbutton" class="btn btn-small tagbutton" title="[% SEARCH_RESULT.biblionumber %]" type="submit" value="Add" />
525
                                                                        <input name="tagbutton" class="btn btn-small tagbutton" title="[% SEARCH_RESULT.biblionumber %]" type="submit" value="Add" />
525
                                                                        <a class="cancel_tag_add" id="cancel[% SEARCH_RESULT.biblionumber %]" href="#">(done)</a>
526
                                                                        <a class="cancel_tag_add" id="cancel[% SEARCH_RESULT.biblionumber %]" href="#">[% t('(done)') %]</a>
526
                                                                </div>
527
                                                                </div>
527
                                                                <span id="newtag[% SEARCH_RESULT.biblionumber %]_status" class="tagstatus" style="display:none;">
528
                                                                <span id="newtag[% SEARCH_RESULT.biblionumber %]_status" class="tagstatus" style="display:none;">
528
                                                                    Tag status here.
529
                                                                    [% t('Tag status here.') %]
529
                                                                </span>
530
                                                                </span>
530
                                                            [% ELSIF ( loop.first ) %]
531
                                                            [% ELSIF ( loop.first ) %]
531
                                                                <span class="actions"><span id="login4tags">Log in to add tags.</span></span>
532
                                                                <span class="actions"><span id="login4tags">[% t('Log in to add tags.') %]</span></span>
532
                                                            [% END # IF loggedinusername %]
533
                                                            [% END # IF loggedinusername %]
533
                                                        [% END # if TagsInputEnabled %]
534
                                                        [% END # if TagsInputEnabled %]
534
535
535
                                                        [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername && ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %]
536
                                                        [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername && ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %]
536
                                                            <span class="actions"><a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]" onclick="Dopop('opac-addbybiblionumber.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]'); return false;">Save to Lists</a></span>
537
                                                            <span class="actions"><a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]" onclick="Dopop('opac-addbybiblionumber.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]'); return false;">[% t('Save to Lists') %]</a></span>
537
                                                        [% END %]
538
                                                        [% END %]
538
539
539
                                                        [% IF Koha.Preference( 'opacbookbag' ) == 1 %]
540
                                                        [% IF Koha.Preference( 'opacbookbag' ) == 1 %]
540
                                                            [% IF ( SEARCH_RESULT.incart ) %]
541
                                                            [% IF ( SEARCH_RESULT.incart ) %]
541
                                                                <span class="actions"><a class="addtocart cart[% SEARCH_RESULT.biblionumber %]" href="#" onclick="addRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">In your cart</a> <a class="cartRemove cartR[% SEARCH_RESULT.biblionumber %]" href="#" onclick="delSingleRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">(remove)</a></span>
542
                                                                <span class="actions"><a class="addtocart cart[% SEARCH_RESULT.biblionumber %]" href="#" onclick="addRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">[% t('In your cart') %]</a> <a class="cartRemove cartR[% SEARCH_RESULT.biblionumber %]" href="#" onclick="delSingleRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">[% t('(remove)') %]</a></span>
542
                                                            [% ELSE %]
543
                                                            [% ELSE %]
543
                                                                <span class="actions"><a class="addtocart cart[% SEARCH_RESULT.biblionumber %]" href="#" onclick="addRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">Add to cart</a> <a style="display:none;" class="cartRemove cartR[% SEARCH_RESULT.biblionumber %]" href="#" onclick="delSingleRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">(remove)</a></span>
544
                                                                <span class="actions"><a class="addtocart cart[% SEARCH_RESULT.biblionumber %]" href="#" onclick="addRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">[% t('Add to cart') %]</a> <a style="display:none;" class="cartRemove cartR[% SEARCH_RESULT.biblionumber %]" href="#" onclick="delSingleRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">[% t('(remove)') %]</a></span>
544
                                                            [% END %]
545
                                                            [% END %]
545
                                                        [% END # / IF opacbookbag %]
546
                                                        [% END # / IF opacbookbag %]
546
                                                </div>
547
                                                </div>
Lines 555-561 Link Here
555
556
556
                            <form id="hold_form" name="hold_form" method="get" action="/cgi-bin/koha/opac-reserve.pl">
557
                            <form id="hold_form" name="hold_form" method="get" action="/cgi-bin/koha/opac-reserve.pl">
557
                                <!-- The value will be set by holdBiblioNums() in basket.js -->
558
                                <!-- The value will be set by holdBiblioNums() in basket.js -->
558
                                <input id="hold_form_biblios" type="hidden" name="biblionumbers" value=""/>
559
                                <input id="hold_form_biblios" type="hidden" name="biblionumbers" value="" />
559
                            </form>
560
                            </form>
560
                        </div> <!-- / .searchresults -->
561
                        </div> <!-- / .searchresults -->
561
562
Lines 565-581 Link Here
565
566
566
                    [% IF Koha.Preference( 'suggestion' ) == 1 && ( Koha.Preference( 'AnonSuggestions' ) == 1 || loggedinusername || Koha.Preference( 'ILLModule' ) == 1 )   %]
567
                    [% IF Koha.Preference( 'suggestion' ) == 1 && ( Koha.Preference( 'AnonSuggestions' ) == 1 || loggedinusername || Koha.Preference( 'ILLModule' ) == 1 )   %]
567
                        <div class="suggestion">
568
                        <div class="suggestion">
568
                            Not finding what you're looking for?
569
                            [% t('Not finding what you\'re looking for?') %]
569
                            <ul>
570
                            <ul>
570
                                [% IF Koha.Preference( 'AnonSuggestions' ) == 1 %]
571
                                [% IF Koha.Preference( 'AnonSuggestions' ) == 1 %]
571
                                    <li>Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></li>
572
                                    <li>[% t('Make a') %] <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">[% t('purchase suggestion') %]</a></li>
572
                                [% ELSE %]
573
                                [% ELSE %]
573
                                    [% IF ( loggedinusername ) %]
574
                                    [% IF ( loggedinusername ) %]
574
                                        <li>Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></li>
575
                                        <li>[% t('Make a') %] <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">[% t('purchase suggestion') %]</a></li>
575
                                    [% END %]
576
                                    [% END %]
576
                                [% END %]
577
                                [% END %]
577
                                [% IF Koha.Preference( 'ILLModule' ) == 1 && loggedinusername %]
578
                                [% IF Koha.Preference( 'ILLModule' ) == 1 && loggedinusername %]
578
                                    <li>Make an <a href="/cgi-bin/koha/opac-illrequests.pl?op=create">Interlibrary loan request</a></li>
579
                                    <li>[% t('Make an') %] <a href="/cgi-bin/koha/opac-illrequests.pl?op=create">[% t('Interlibrary loan request') %]</a></li>
579
                                [% END %]
580
                                [% END %]
580
                            </ul>
581
                            </ul>
581
                        </div>
582
                        </div>
Lines 589-595 Link Here
589
[% INCLUDE 'opac-bottom.inc' %]
590
[% INCLUDE 'opac-bottom.inc' %]
590
[% BLOCK jsinclude %]
591
[% BLOCK jsinclude %]
591
[% IF ( LibraryThingForLibrariesID ) %]
592
[% IF ( LibraryThingForLibrariesID ) %]
592
    <script src="https://ltfl.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID %]&amp;systype=koha"></script>
593
    <script src="https://ltfl.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID %]&systype=koha"></script>
593
[% END %]
594
[% END %]
594
[% IF ( OpacStarRatings == 'all' || Koha.Preference('Babeltheque') ) %][% Asset.js("lib/jquery/plugins/jquery.rating.js") %][% END %]
595
[% IF ( OpacStarRatings == 'all' || Koha.Preference('Babeltheque') ) %][% Asset.js("lib/jquery/plugins/jquery.rating.js") %][% END %]
595
[% IF ( OverDriveEnabled ) %][% Asset.js("js/overdrive.js") %][% END %]
596
[% IF ( OverDriveEnabled ) %][% Asset.js("js/overdrive.js") %][% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-retrieve-file.tt (-1 / +2 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[%# This template is called only for a very simple error message %]
2
[%# This template is called only for a very simple error message %]
2
<html>
3
<html>
3
<body id="opac-retrieve-file" class="scrollto">
4
<body id="opac-retrieve-file" class="scrollto">
4
Your search [% IF hash %]for [% hash %][% END %] was not successful.
5
[% t('Your search') %] [% IF hash %][% t('for') %] [% hash %][% END %] [% t('was not successful.') %]
5
</body>
6
</body>
6
</html>
7
</html>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-review.tt (-11 / +12 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Comments on [% title |html %]</title>
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Comments on') %] [% title |html %]</title>
3
<style>
4
<style>
4
  #custom-doc { width:37.08em;*width:36.16em;min-width:485px; margin:1em auto; text-align:left; }
5
  #custom-doc { width:37.08em;*width:36.16em;min-width:485px; margin:1em auto; text-align:left; }
5
</style>
6
</style>
Lines 13-48 Link Here
13
                <div class="span12">
14
                <div class="span12">
14
                    <div id="userreview">
15
                    <div id="userreview">
15
                        [% IF ( cgi_debug ) %]
16
                        [% IF ( cgi_debug ) %]
16
                            <div class="debug">CGI debug is on.</div>
17
                            <div class="debug">[% t('CGI debug is on.') %]</div>
17
                        [% END %]
18
                        [% END %]
18
                        [% IF ( ERRORS ) %]
19
                        [% IF ( ERRORS ) %]
19
                            <div class="alert">
20
                            <div class="alert">
20
                                [% FOREACH ERROR IN ERRORS %]
21
                                [% FOREACH ERROR IN ERRORS %]
21
                                    [% IF ( ERROR.nobiblio ) %]
22
                                    [% IF ( ERROR.nobiblio ) %]
22
                                        <p>Error: we cannot find this bibliographic record.</p>
23
                                        <p>[% t('Error: we cannot find this bibliographic record.') %]</p>
23
                                    [% END %]
24
                                    [% END %]
24
                                    [% IF ( ERROR.unauthorized ) %]
25
                                    [% IF ( ERROR.unauthorized ) %]
25
                                        <p>Sorry, only the creator of this comment is allowed to change it.</p>
26
                                        <p>[% t('Sorry, only the creator of this comment is allowed to change it.') %]</p>
26
                                    [% END %]
27
                                    [% END %]
27
                                    [% IF ( ERROR.scrubbed ) %]
28
                                    [% IF ( ERROR.scrubbed ) %]
28
                                        <p>Note: your comment contained illegal markup code. It has been saved with the markup removed, as below. You can edit the comment further, or cancel to retain the comment as is.</p>
29
                                        <p>[% t('Note: your comment contained illegal markup code. It has been saved with the markup removed, as below. You can edit the comment further, or cancel to retain the comment as is.') %]</p>
29
                                    [% END %]
30
                                    [% END %]
30
31
31
                                    [% IF ( ERROR.scrubbed_all ) %]
32
                                    [% IF ( ERROR.scrubbed_all ) %]
32
                                        <p>Error!  Your comment was entirely illegal markup code.  It has NOT been added.</p>
33
                                        <p>[% t('Error!') %]  [% t('Your comment was entirely illegal markup code.') %]  [% t('It has NOT been added.') %]</p>
33
                                    [% END %]
34
                                    [% END %]
34
35
35
                                    [% IF ( ERROR.empty ) %]
36
                                    [% IF ( ERROR.empty ) %]
36
                                        <p>Error!  You cannot add an empty comment.  Please add content or cancel.</p>
37
                                        <p>[% t('Error!') %]  [% t('You cannot add an empty comment.') %]  [% t('Please add content or cancel.') %]</p>
37
                                    [% END %]
38
                                    [% END %]
38
                                [% END # / FOREACH ERROR %]
39
                                [% END # / FOREACH ERROR %]
39
                                [% IF ( WINDOW_CLOSE ) %]
40
                                [% IF ( WINDOW_CLOSE ) %]
40
                                    Note: this window will close automatically in 5 seconds.
41
                                    [% t('Note: this window will close automatically in 5 seconds.') %]
41
                                [% END %]
42
                                [% END %]
42
                            </div>
43
                            </div>
43
                        [% END # / ERRORs %]
44
                        [% END # / ERRORs %]
44
45
45
                        <h1>Comments on <i>[% title |html %] [% subtitle %]</i></h1>
46
                        <h1>[% t('Comments on') %] <i>[% title |html %] [% subtitle %]</i></h1>
46
                        [% IF ( author ) %]<h3>[% author |html %]</h3>[% END %]
47
                        [% IF ( author ) %]<h3>[% author |html %]</h3>[% END %]
47
                        <form id="reviewf" action="/cgi-bin/koha/opac-review.pl[% IF ( cgi_debug ) %]?debug=1[% END %]" method="post">
48
                        <form id="reviewf" action="/cgi-bin/koha/opac-review.pl[% IF ( cgi_debug ) %]?debug=1[% END %]" method="post">
48
                            <input type="hidden" name="biblionumber" value="[% biblionumber | html%]" />
49
                            <input type="hidden" name="biblionumber" value="[% biblionumber | html%]" />
Lines 50-59 Link Here
50
                            <fieldset>
51
                            <fieldset>
51
                                <textarea id="review" name="review" cols="60" rows="8">[% review %]</textarea>
52
                                <textarea id="review" name="review" cols="60" rows="8">[% review %]</textarea>
52
                            </fieldset>
53
                            </fieldset>
53
                            <p>Note: Your comment must be approved by a librarian. </p>
54
                            <p>[% t('Note: Your comment must be approved by a librarian.') %] </p>
54
                            <fieldset class="action">
55
                            <fieldset class="action">
55
                                <input type="submit" class="btn" value="Submit and close this window" />
56
                                <input type="submit" class="btn" value="Submit and close this window" />
56
                                <a class="cancel close" href="#">Cancel</a>
57
                                <a class="cancel close" href="#">[% t('Cancel') %]</a>
57
                            </fieldset>
58
                            </fieldset>
58
                        </form>
59
                        </form>
59
                    </div> <!-- / #usersendshelfform -->
60
                    </div> <!-- / #usersendshelfform -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-routing-lists.tt (-8 / +9 lines)
Lines 1-8 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your routing lists</title>
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Your routing lists') %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% BLOCK cssinclude %]
8
[% BLOCK cssinclude %]
8
    [% Asset.css("css/datatables.css") %]
9
    [% Asset.css("css/datatables.css") %]
Lines 14-22 Link Here
14
15
15
<div class="main">
16
<div class="main">
16
    <ul class="breadcrumb">
17
    <ul class="breadcrumb">
17
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
18
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
18
        <li><a href="/cgi-bin/koha/opac-routing-lists.pl">[% INCLUDE 'patron-title.inc' category_type = BORROWER_INFO.category_type firstname = BORROWER_INFO.firstname surname = BORROWER_INFO.surname othernames = BORROWER_INFO.othernames cardnumber = BORROWER_INFO.cardnumber %]</a> <span class="divider">&rsaquo;</span></li>
19
        <li><a href="/cgi-bin/koha/opac-routing-lists.pl">[% INCLUDE 'patron-title.inc' category_type = BORROWER_INFO.category_type firstname = BORROWER_INFO.firstname surname = BORROWER_INFO.surname othernames = BORROWER_INFO.othernames cardnumber = BORROWER_INFO.cardnumber %]</a> <span class="divider">›</span></li>
19
        <li><a href="#">Your routing lists</a></li>
20
        <li><a href="#">[% t('Your routing lists') %]</a></li>
20
    </ul>
21
    </ul>
21
22
22
    <div class="container-fluid">
23
    <div class="container-fluid">
Lines 30-45 Link Here
30
                <div id="user-routing-lists" class="maincontent">
31
                <div id="user-routing-lists" class="maincontent">
31
32
32
33
33
                    <h3>Routing lists</h3>
34
                    <h3>[% t('Routing lists') %]</h3>
34
35
35
                    [% SET routinglists = logged_in_user.get_routing_lists %]
36
                    [% SET routinglists = logged_in_user.get_routing_lists %]
36
                    [% IF ( routinglists.count ) %]
37
                    [% IF ( routinglists.count ) %]
37
                        <p id="routing-list-intro">You are subscribed to the routing lists for following serial titles. If you wish to make changes, please contact the library.</p>
38
                        <p id="routing-list-intro">[% t('You are subscribed to the routing lists for following serial titles. If you wish to make changes, please contact the library.') %]</p>
38
39
39
                        <table class="table table-bordered table-striped" id="routingtable">
40
                        <table class="table table-bordered table-striped" id="routingtable">
40
                            <thead>
41
                            <thead>
41
                                <tr>
42
                                <tr>
42
                                    <th>Subscription title</th>
43
                                    <th>[% t('Subscription title') %]</th>
43
                                </tr>
44
                                </tr>
44
                            </thead>
45
                            </thead>
45
46
Lines 56-62 Link Here
56
                            </tbody>
57
                            </tbody>
57
                        </table>
58
                        </table>
58
                    [% ELSE %]
59
                    [% ELSE %]
59
                        <p>You are currently not listed on any routing lists.</p>
60
                        <p>[% t('You are currently not listed on any routing lists.') %]</p>
60
                    [% END %]
61
                    [% END %]
61
                </div>
62
                </div>
62
            </div> <!-- / .span10 -->
63
            </div> <!-- / .span10 -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt (-43 / +44 lines)
Lines 1-8 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your search history</title>
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Your search history') %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% BLOCK cssinclude %][% END %]
8
[% BLOCK cssinclude %][% END %]
8
</head>
9
</head>
Lines 11-21 Link Here
11
12
12
<div class="main">
13
<div class="main">
13
    <ul class="breadcrumb">
14
    <ul class="breadcrumb">
14
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
15
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
15
        [% IF ( loggedinusername ) %]
16
        [% IF ( loggedinusername ) %]
16
            <li><a href="#">Your search history</a></li>
17
            <li><a href="#">[% t('Your search history') %]</a></li>
17
        [% ELSE %]
18
        [% ELSE %]
18
            <li><a href="#">Search history</a></li>
19
            <li><a href="#">[% t('Search history') %]</a></li>
19
        [% END %]
20
        [% END %]
20
    </ul>
21
    </ul>
21
22
Lines 32-57 Link Here
32
                <div class="span12">
33
                <div class="span12">
33
            [% END %]
34
            [% END %]
34
                <div id="searchhistory" class="maincontent">
35
                <div id="searchhistory" class="maincontent">
35
                    <h1>Search history</h1>
36
                    <h1>[% t('Search history') %]</h1>
36
                    [% IF Koha.Preference( 'OpacAuthorities' ) == 1 %]
37
                    [% IF Koha.Preference( 'OpacAuthorities' ) == 1 %]
37
                        <div id="tabs" class="toptabs">
38
                        <div id="tabs" class="toptabs">
38
                            <ul>
39
                            <ul>
39
                                <li><a href="#biblio_tab">Catalog</a></li>
40
                                <li><a href="#biblio_tab">[% t('Catalog') %]</a></li>
40
                                <li><a href="#authority_tab">Authority</a></li>
41
                                <li><a href="#authority_tab">[% t('Authority') %]</a></li>
41
                            </ul>
42
                            </ul>
42
                    [% END %]
43
                    [% END %]
43
                        <div id="biblio_tab">
44
                        <div id="biblio_tab">
44
                            <div id="current_biblio">
45
                            <div id="current_biblio">
45
                                [% IF ( current_biblio_searches ) %]
46
                                [% IF ( current_biblio_searches ) %]
46
                                    <h2>Current session</h2>
47
                                    <h2>[% t('Current session') %]</h2>
47
                                    <form action="/cgi-bin/koha/opac-search-history.pl" method="post">
48
                                    <form action="/cgi-bin/koha/opac-search-history.pl" method="post">
48
                                        <div class="selections-toolbar toolbar">
49
                                        <div class="selections-toolbar toolbar">
49
                                            <a class="CheckAll" href="#">Select all</a>
50
                                            <a class="CheckAll" href="#">[% t('Select all') %]</a>
50
                                            <a class="CheckNone" href="#">Clear all</a>
51
                                            <a class="CheckNone" href="#">[% t('Clear all') %]</a>
51
                                            <span class="sep">|</span>
52
                                            <span class="sep">|</span>
52
                                            <span class="links">
53
                                            <span class="links">
53
                                                <span class="selections">Select searches to: </span>
54
                                                <span class="selections">[% t('Select searches to:') %] </span>
54
                                                <a href="#" class="removeitems disabled">Delete</a>
55
                                                <a href="#" class="removeitems disabled">[% t('Delete') %]</a>
55
                                            </span>
56
                                            </span>
56
                                        </div>
57
                                        </div>
57
                                        <input type="hidden" name="action" value="delete" />
58
                                        <input type="hidden" name="action" value="delete" />
Lines 59-67 Link Here
59
                                            <thead>
60
                                            <thead>
60
                                                <tr>
61
                                                <tr>
61
                                                    <th></th>
62
                                                    <th></th>
62
                                                    <th>Date</th>
63
                                                    <th>[% t('Date') %]</th>
63
                                                    <th>Search</th>
64
                                                    <th>[% t('Search') %]</th>
64
                                                    <th>Results</th>
65
                                                    <th>[% t('Results') %]</th>
65
                                                </tr>
66
                                                </tr>
66
                                            </thead>
67
                                            </thead>
67
                                            <tbody>
68
                                            <tbody>
Lines 69-75 Link Here
69
                                                    <tr>
70
                                                    <tr>
70
                                                        <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
71
                                                        <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
71
                                                        <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
72
                                                        <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
72
                                                        <td><a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html |url %][% limit_cgi |html | url %]&amp;[% s.query_cgi |html %]&amp;count=[% countrss |html %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a> <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</a></td>
73
                                                        <td><a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html |url %][% limit_cgi |html | url %]&[% s.query_cgi |html %]&count=[% countrss |html %]&sort_by=acqdate_dsc&format=rss2" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="[% t('Subscribe to this search') %]" title="[% t('Subscribe to this search') %]" class="rsssearchicon" /></a> <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</a></td>
73
                                                        <td>[% s.total %]</td>
74
                                                        <td>[% s.total %]</td>
74
                                                    </tr>
75
                                                    </tr>
75
                                                [% END %]
76
                                                [% END %]
Lines 82-96 Link Here
82
83
83
                            <div id="previous_biblio">
84
                            <div id="previous_biblio">
84
                                [% IF ( previous_biblio_searches ) %]
85
                                [% IF ( previous_biblio_searches ) %]
85
                                    <h2>Previous sessions</h2>
86
                                    <h2>[% t('Previous sessions') %]</h2>
86
                                    <form action="/cgi-bin/koha/opac-search-history.pl" method="post">
87
                                    <form action="/cgi-bin/koha/opac-search-history.pl" method="post">
87
                                        <div class="selections-toolbar toolbar">
88
                                        <div class="selections-toolbar toolbar">
88
                                            <a class="CheckAll" href="#">Select all</a>
89
                                            <a class="CheckAll" href="#">[% t('Select all') %]</a>
89
                                            <a class="CheckNone" href="#">Clear all</a>
90
                                            <a class="CheckNone" href="#">[% t('Clear all') %]</a>
90
                                            <span class="sep">|</span>
91
                                            <span class="sep">|</span>
91
                                            <span class="links">
92
                                            <span class="links">
92
                                                <span class="selections">Select searches to: </span>
93
                                                <span class="selections">[% t('Select searches to:') %] </span>
93
                                                <a href="#" class="removeitems disabled">Delete</a>
94
                                                <a href="#" class="removeitems disabled">[% t('Delete') %]</a>
94
                                            </span>
95
                                            </span>
95
                                        </div>
96
                                        </div>
96
97
Lines 99-107 Link Here
99
                                            <thead>
100
                                            <thead>
100
                                                <tr>
101
                                                <tr>
101
                                                    <th></th>
102
                                                    <th></th>
102
                                                    <th>Date</th>
103
                                                    <th>[% t('Date') %]</th>
103
                                                    <th>Search</th>
104
                                                    <th>[% t('Search') %]</th>
104
                                                    <th>Results</th>
105
                                                    <th>[% t('Results') %]</th>
105
                                                </tr>
106
                                                </tr>
106
                                            </thead>
107
                                            </thead>
107
                                            <tbody>
108
                                            <tbody>
Lines 109-115 Link Here
109
                                                <tr>
110
                                                <tr>
110
                                                    <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
111
                                                    <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
111
                                                    <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
112
                                                    <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
112
                                                    <td><a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html |url %][% limit_cgi |html | url %]&amp;[% s.query_cgi |html %]&amp;count=[% countrss |html %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a> <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</a></td>
113
                                                    <td><a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html |url %][% limit_cgi |html | url %]&[% s.query_cgi |html %]&count=[% countrss |html %]&sort_by=acqdate_dsc&format=rss2" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="[% t('Subscribe to this search') %]" title="[% t('Subscribe to this search') %]" class="rsssearchicon" /></a> <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</a></td>
113
                                                    <td>[% s.total %]</td>
114
                                                    <td>[% s.total %]</td>
114
                                                </tr>
115
                                                </tr>
115
                                            [% END %]
116
                                            [% END %]
Lines 121-142 Link Here
121
                            </div> <!-- / #previous_biblio -->
122
                            </div> <!-- / #previous_biblio -->
122
123
123
                            [% IF !current_biblio_searches && !previous_biblio_searches %]
124
                            [% IF !current_biblio_searches && !previous_biblio_searches %]
124
                                <p>Your catalog search history is empty.</p>
125
                                <p>[% t('Your catalog search history is empty.') %]</p>
125
                            [% END %]
126
                            [% END %]
126
                        </div> <!-- / #biblio_tab -->
127
                        </div> <!-- / #biblio_tab -->
127
128
128
                        [% IF Koha.Preference( 'OpacAuthorities' ) == 1 %]
129
                        [% IF Koha.Preference( 'OpacAuthorities' ) == 1 %]
129
                            <div id="authority_tab">
130
                            <div id="authority_tab">
130
                                [% IF ( current_authority_searches ) %]
131
                                [% IF ( current_authority_searches ) %]
131
                                    <h2>Current session</h2>
132
                                    <h2>[% t('Current session') %]</h2>
132
                                    <form action="/cgi-bin/koha/opac-search-history.pl" method="post">
133
                                    <form action="/cgi-bin/koha/opac-search-history.pl" method="post">
133
                                        <div class="selections-toolbar toolbar">
134
                                        <div class="selections-toolbar toolbar">
134
                                            <a class="CheckAll" href="#">Select all</a>
135
                                            <a class="CheckAll" href="#">[% t('Select all') %]</a>
135
                                            <a class="CheckNone" href="#">Clear all</a>
136
                                            <a class="CheckNone" href="#">[% t('Clear all') %]</a>
136
                                            <span class="sep">|</span>
137
                                            <span class="sep">|</span>
137
                                            <span class="links">
138
                                            <span class="links">
138
                                                <span class="selections">Select searches to: </span>
139
                                                <span class="selections">[% t('Select searches to:') %] </span>
139
                                                <a href="#" class="removeitems disabled">Delete</a>
140
                                                <a href="#" class="removeitems disabled">[% t('Delete') %]</a>
140
                                            </span>
141
                                            </span>
141
                                        </div>
142
                                        </div>
142
                                        <input type="hidden" name="action" value="delete" />
143
                                        <input type="hidden" name="action" value="delete" />
Lines 144-152 Link Here
144
                                            <thead>
145
                                            <thead>
145
                                                <tr>
146
                                                <tr>
146
                                                    <th></th>
147
                                                    <th></th>
147
                                                    <th>Date</th>
148
                                                    <th>[% t('Date') %]</th>
148
                                                    <th>Search</th>
149
                                                    <th>[% t('Search') %]</th>
149
                                                    <th>Results</th>
150
                                                    <th>[% t('Results') %]</th>
150
                                                </tr>
151
                                                </tr>
151
                                            </thead>
152
                                            </thead>
152
                                            <tbody>
153
                                            <tbody>
Lines 165-179 Link Here
165
                                [% END # / IF ( current_authority_searches ) %]
166
                                [% END # / IF ( current_authority_searches ) %]
166
167
167
                                [% IF ( previous_authority_searches ) %]
168
                                [% IF ( previous_authority_searches ) %]
168
                                    <h2>Previous sessions</h2>
169
                                    <h2>[% t('Previous sessions') %]</h2>
169
                                    <form action="/cgi-bin/koha/opac-search-history.pl" method="post">
170
                                    <form action="/cgi-bin/koha/opac-search-history.pl" method="post">
170
                                        <div class="selections-toolbar toolbar">
171
                                        <div class="selections-toolbar toolbar">
171
                                            <a class="CheckAll" href="#">Select all</a>
172
                                            <a class="CheckAll" href="#">[% t('Select all') %]</a>
172
                                            <a class="CheckNone" href="#">Clear all</a>
173
                                            <a class="CheckNone" href="#">[% t('Clear all') %]</a>
173
                                            <span class="sep">|</span>
174
                                            <span class="sep">|</span>
174
                                            <span class="links">
175
                                            <span class="links">
175
                                                <span class="selections">Select searches to: </span>
176
                                                <span class="selections">[% t('Select searches to:') %] </span>
176
                                                <a href="#" class="removeitems disabled">Delete</a>
177
                                                <a href="#" class="removeitems disabled">[% t('Delete') %]</a>
177
                                            </span>
178
                                            </span>
178
                                        </div>
179
                                        </div>
179
                                        <input type="hidden" name="action" value="delete" />
180
                                        <input type="hidden" name="action" value="delete" />
Lines 181-189 Link Here
181
                                            <thead>
182
                                            <thead>
182
                                                <tr>
183
                                                <tr>
183
                                                    <th></th>
184
                                                    <th></th>
184
                                                    <th>Date</th>
185
                                                    <th>[% t('Date') %]</th>
185
                                                    <th>Search</th>
186
                                                    <th>[% t('Search') %]</th>
186
                                                    <th>Results</th>
187
                                                    <th>[% t('Results') %]</th>
187
                                                </tr>
188
                                                </tr>
188
                                            </thead>
189
                                            </thead>
189
                                            <tbody>
190
                                            <tbody>
Lines 202-208 Link Here
202
                                [% END # / IF ( previous_authority_searches )%]
203
                                [% END # / IF ( previous_authority_searches )%]
203
204
204
                                [% IF !current_authority_searches && !previous_authority_searches %]
205
                                [% IF !current_authority_searches && !previous_authority_searches %]
205
                                    <p>Your authority search history is empty.</p>
206
                                    <p>[% t('Your authority search history is empty.') %]</p>
206
                                [% END %]
207
                                [% END %]
207
                            </div> <!-- / #authority_tab -->
208
                            </div> <!-- / #authority_tab -->
208
                        [% END # / IF Koha.Preference( 'OpacAuthorities' ) %]
209
                        [% END # / IF Koha.Preference( 'OpacAuthorities' ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt (-43 / +44 lines)
Lines 1-30 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE HtmlToText %]
2
[% USE HtmlToText %]
2
[% USE Koha %]
3
[% USE Koha %]
3
4
4
<SUBJECT>
5
<subject>
5
Your cart
6
[% t('Your cart') %]
6
<END_SUBJECT>
7
<end_subject>
7
8
8
<HEADER>
9
<header>
9
10
10
[% FILTER html2text %]
11
[% FILTER html2text %]
11
    <p>Hi,</p>
12
    <p>[% t('Hi,') %]</p>
12
13
13
    <p>[% firstname %] [% surname %] sent you a cart from our online catalog.</p>
14
    <p>[% firstname %] [% surname %] [% t('sent you a cart from our online catalog.') %]</p>
14
15
15
    <p>Please note that the attached file is a MARC bibliographic records file
16
    <p>[% t('Please note that the attached file is a MARC bibliographic records file') %]
16
    which can be imported into personal bibliographic software like EndNote,
17
    [% t('which can be imported into personal bibliographic software like EndNote,') %]
17
    Reference Manager or ProCite.</p>
18
    [% t('Reference Manager or ProCite.') %]</p>
18
    <hr/>
19
    <hr />
19
[% END %]
20
[% END %]
20
<END_HEADER>
21
<end_header>
21
22
22
<MESSAGE>
23
<message>
23
[% FILTER html2text %]
24
[% FILTER html2text %]
24
25
25
    [% IF comment %]
26
    [% IF comment %]
26
        <p>[% comment %]</p>
27
        <p>[% comment %]</p>
27
        <hr/>
28
        <hr />
28
    [% END %]
29
    [% END %]
29
    <ol>
30
    <ol>
30
    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
31
    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
Lines 36-42 Your cart Link Here
36
37
37
            <p>
38
            <p>
38
            [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
39
            [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
39
            <span>Author(s): [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author %][% END %]
40
            <span>[% t('Author(s):') %] [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author %][% END %]
40
41
41
            [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
42
            [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
42
                [% IF ( BIBLIO_RESULT.author ) %]; [% END %]
43
                [% IF ( BIBLIO_RESULT.author ) %]; [% END %]
Lines 47-66 Your cart Link Here
47
                    [% UNLESS ( loop.last ) %];[% END %]
48
                    [% UNLESS ( loop.last ) %];[% END %]
48
                [% END %]
49
                [% END %]
49
            [% END %]
50
            [% END %]
50
            </span><br/>
51
            </span><br />
51
            [% END %]
52
            [% END %]
52
53
53
            [% IF ( BIBLIO_RESULT.ISBN ) %]
54
            [% IF ( BIBLIO_RESULT.ISBN ) %]
54
            <span>
55
            <span>
55
                ISBN: [% BIBLIO_RESULT.ISBN %]
56
                [% t('ISBN:') %] [% BIBLIO_RESULT.ISBN %]
56
            </span><br/>
57
            </span><br />
57
            [% END %]
58
            [% END %]
58
59
59
            [% IF BIBLIO_RESULT.publishercode %]
60
            [% IF BIBLIO_RESULT.publishercode %]
60
            <span>
61
            <span>
61
                Published by: [% BIBLIO_RESULT.publishercode %]
62
                [% t('Published by:') %] [% BIBLIO_RESULT.publishercode %]
62
                [% IF ( BIBLIO_RESULT.publicationyear ) %]
63
                [% IF ( BIBLIO_RESULT.publicationyear ) %]
63
                    in [% BIBLIO_RESULT.publicationyear %]
64
                    [% t('in') %] [% BIBLIO_RESULT.publicationyear %]
64
                [% END %]
65
                [% END %]
65
                [% IF ( BIBLIO_RESULT.pages ) %]
66
                [% IF ( BIBLIO_RESULT.pages ) %]
66
                    , [% BIBLIO_RESULT.pages %]
67
                    , [% BIBLIO_RESULT.pages %]
Lines 68-132 Your cart Link Here
68
                [% IF BIBLIO_RESULT.item('size') %]
69
                [% IF BIBLIO_RESULT.item('size') %]
69
                , [% BIBLIO_RESULT.item('size') %]
70
                , [% BIBLIO_RESULT.item('size') %]
70
                [% END %]
71
                [% END %]
71
            </span><br/>
72
            </span><br />
72
            [% END %]
73
            [% END %]
73
74
74
            [% IF BIBLIO_RESULT.collection %]
75
            [% IF BIBLIO_RESULT.collection %]
75
            <span>
76
            <span>
76
                Collection: [% BIBLIO_RESULT.seriestitle %]
77
                [% t('Collection:') %] [% BIBLIO_RESULT.seriestitle %]
77
            </span><br/>
78
            </span><br />
78
            [% END %]
79
            [% END %]
79
80
80
            [% IF ( BIBLIO_RESULT.subject ) %]
81
            [% IF ( BIBLIO_RESULT.subject ) %]
81
            <span>
82
            <span>
82
                Subject: [% BIBLIO_RESULT.subject %]
83
                [% t('Subject:') %] [% BIBLIO_RESULT.subject %]
83
            <span><br/>
84
            <span><br />
84
            [% END %]
85
            [% END %]
85
86
86
            [% IF ( BIBLIO_RESULT.copyrightdate ) %]
87
            [% IF ( BIBLIO_RESULT.copyrightdate ) %]
87
            <span>
88
            <span>
88
                Copyright year: [% BIBLIO_RESULT.copyrightdate %]
89
                [% t('Copyright year:') %] [% BIBLIO_RESULT.copyrightdate %]
89
            </span><br/>
90
            </span><br />
90
            [% END %]
91
            [% END %]
91
92
92
            [% IF ( BIBLIO_RESULT.notes ) %]
93
            [% IF ( BIBLIO_RESULT.notes ) %]
93
            <span>
94
            <span>
94
                Notes : [% BIBLIO_RESULT.notes %]
95
                [% t('Notes :') %] [% BIBLIO_RESULT.notes %]
95
            </span><br/>
96
            </span><br />
96
            [% END %]
97
            [% END %]
97
98
98
            [% IF ( BIBLIO_RESULT.unititle ) %]
99
            [% IF ( BIBLIO_RESULT.unititle ) %]
99
            <span>
100
            <span>
100
                Unified title: [% BIBLIO_RESULT.unititle %]
101
                [% t('Unified title:') %] [% BIBLIO_RESULT.unititle %]
101
            </span><br/>
102
            </span><br />
102
            [% END %]
103
            [% END %]
103
104
104
            [% IF ( BIBLIO_RESULT.serial ) %]
105
            [% IF ( BIBLIO_RESULT.serial ) %]
105
            <span>
106
            <span>
106
                Serial: [% BIBLIO_RESULT.serial %]
107
                [% t('Serial:') %] [% BIBLIO_RESULT.serial %]
107
            </span><br/>
108
            </span><br />
108
            [% END %]
109
            [% END %]
109
110
110
            [% IF ( BIBLIO_RESULT.dewey ) %]
111
            [% IF ( BIBLIO_RESULT.dewey ) %]
111
            <span>
112
            <span>
112
                Dewey: [% BIBLIO_RESULT.dewey %]
113
                [% t('Dewey:') %] [% BIBLIO_RESULT.dewey %]
113
            </span><br/>
114
            </span><br />
114
            [% END %]
115
            [% END %]
115
116
116
            [% IF ( BIBLIO_RESULT.classification ) %]
117
            [% IF ( BIBLIO_RESULT.classification ) %]
117
            <span>
118
            <span>
118
                Classification: [% BIBLIO_RESULT.classification %]
119
                [% t('Classification:') %] [% BIBLIO_RESULT.classification %]
119
            </span><br/>
120
            </span><br />
120
            [% END %]
121
            [% END %]
121
122
122
            [% IF ( BIBLIO_RESULT.lccn ) %]
123
            [% IF ( BIBLIO_RESULT.lccn ) %]
123
            <span>
124
            <span>
124
                LCCN: [% BIBLIO_RESULT.lccn %]
125
                [% t('LCCN:') %] [% BIBLIO_RESULT.lccn %]
125
            </span><br/>
126
            </span><br />
126
            [% END %]
127
            [% END %]
127
            [% IF ( BIBLIO_RESULT.url ) %]
128
            [% IF ( BIBLIO_RESULT.url ) %]
128
            <span>
129
            <span>
129
                URL: [% BIBLIO_RESULT.url %]
130
                [% t('URL:') %] [% BIBLIO_RESULT.url %]
130
            </span>
131
            </span>
131
            [% END %]
132
            [% END %]
132
            </p>
133
            </p>
Lines 134-144 Your cart Link Here
134
            [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %]
135
            [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %]
135
            [% IF ( OPACBaseURL ) %]
136
            [% IF ( OPACBaseURL ) %]
136
            <p>
137
            <p>
137
                In online catalog: [% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
138
                [% t('In online catalog:') %] [% OPACBaseURL %][% t('/cgi-bin/koha/opac-detail.pl?biblionumber=') %][% BIBLIO_RESULT.biblionumber %]
138
            </p>
139
            </p>
139
            [% END %]
140
            [% END %]
140
            [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %]
141
            [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %]
141
            <p>Items:
142
            <p>[% t('Items:') %]
142
            <ul>
143
            <ul>
143
                [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li>
144
                [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li>
144
                    [% ITEM_RESULT.branchname %]
145
                    [% ITEM_RESULT.branchname %]
Lines 149-158 Your cart Link Here
149
            </ul>
150
            </ul>
150
            </p>
151
            </p>
151
            [% END %]
152
            [% END %]
152
            <hr/>
153
            <hr />
153
        </li>
154
        </li>
154
    [% END %]
155
    [% END %]
155
    </ol>
156
    </ol>
156
157
157
[% END %]
158
[% END %]
158
<END_MESSAGE>
159
<end_message>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt (-10 / +11 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;  Sending your cart</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %]  [% t('Sending your cart') %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
Lines 13-46 Link Here
13
                        [% IF ( email_add ) %]
14
                        [% IF ( email_add ) %]
14
15
15
                            [% IF ( SENT ) %]
16
                            [% IF ( SENT ) %]
16
                                <h1>Message sent</h1>
17
                                <h1>[% t('Message sent') %]</h1>
17
                                <div class="dialog dialog-success">
18
                                <div class="dialog dialog-success">
18
                                    <p>The cart was sent to: [% email_add | html %]</p>
19
                                    <p>[% t('The cart was sent to:') %] [% email_add | html %]</p>
19
                                </div>
20
                                </div>
20
                                <p><a class="focus close" href="#">Close window</a></p>
21
                                <p><a class="focus close" href="#">[% t('Close window') %]</a></p>
21
                            [% END %]
22
                            [% END %]
22
23
23
                            [% IF ( error ) %]
24
                            [% IF ( error ) %]
24
                                <div class="alert">
25
                                <div class="alert">
25
                                    <p>There was an error sending the cart.</p>
26
                                    <p>[% t('There was an error sending the cart.') %]</p>
26
                                </div>
27
                                </div>
27
                            [% END %]
28
                            [% END %]
28
29
29
                        [% ELSE %]
30
                        [% ELSE %]
30
                            <h1>Sending your cart</h1>
31
                            <h1>[% t('Sending your cart') %]</h1>
31
                            <form action="/cgi-bin/koha/opac-sendbasket.pl" method="post" id="sendbasketform">
32
                            <form action="/cgi-bin/koha/opac-sendbasket.pl" method="post" id="sendbasketform">
32
                                <fieldset>
33
                                <fieldset>
33
                                    <label for="email_add">Email address:</label>
34
                                    <label for="email_add">[% t('Email address:') %]</label>
34
                                    <input type="text" id="email_add" name="email_add" size="43" class="focus" />
35
                                    <input type="text" id="email_add" name="email_add" size="43" class="focus" />
35
                                    <label for="comment">Comment:</label>
36
                                    <label for="comment">[% t('Comment:') %]</label>
36
                                    <textarea id="comment" name="comment" rows="4" cols="40"></textarea>
37
                                    <textarea id="comment" name="comment" rows="4" cols="40"></textarea>
37
                                    <input type="hidden" name="bib_list" value="[% bib_list %]" />
38
                                    <input type="hidden" name="bib_list" value="[% bib_list %]" />
38
                                    <input type="hidden" name="csrf_token" value="[% csrf_token %]" />
39
                                    <input type="hidden" name="csrf_token" value="[% csrf_token %]" />
39
                                </fieldset>
40
                                </fieldset>
40
                                [% IF Koha.Preference('RequestOnOpac') || Koha.Preference('OpacRenewalAllowed') %]<p id="donotrequestbymail">Please do not use this mail to request or renew books.</p>[% END %]
41
                                [% IF Koha.Preference('RequestOnOpac') || Koha.Preference('OpacRenewalAllowed') %]<p id="donotrequestbymail">[% t('Please do not use this mail to request or renew books.') %]</p>[% END %]
41
                                <fieldset class="action">
42
                                <fieldset class="action">
42
                                    <input type="submit" class="btn" value="Send" />
43
                                    <input type="submit" class="btn" value="Send" />
43
                                    <a class="cancel close" href="#">Cancel</a>
44
                                    <a class="cancel close" href="#">[% t('Cancel') %]</a>
44
                                </fieldset>
45
                                </fieldset>
45
                            </form>
46
                            </form>
46
47
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt (-44 / +45 lines)
Lines 1-30 Link Here
1
<SUBJECT>
1
[% PROCESS 'i18n.inc' %]
2
Your list : [% shelfname %]
2
<subject>
3
<END_SUBJECT>
3
[% t('Your list :') %] [% shelfname %]
4
<end_subject>
4
5
5
[% USE HtmlToText %]
6
[% USE HtmlToText %]
6
7
7
<HEADER>
8
<header>
8
[% FILTER html2text %]
9
[% FILTER html2text %]
9
    <p>Hi,</p>
10
    <p>[% t('Hi,') %]</p>
10
11
11
    <p>[% firstname %] [% surname %] sent you from our online catalog, the
12
    <p>[% firstname %] [% surname %] [% t('sent you from our online catalog, the') %]
12
    virtual shelf called : [% shelfname %].</p>
13
    [% t('virtual shelf called :') %] [% shelfname %].</p>
13
14
14
    <p>Please note that the attached file is a MARC bibliographic records file
15
    <p>[% t('Please note that the attached file is a MARC bibliographic records file') %]
15
    which can be imported into personal bibliographic software like EndNote,
16
    [% t('which can be imported into personal bibliographic software like EndNote,') %]
16
    Reference Manager or ProCite.</p>
17
    [% t('Reference Manager or ProCite.') %]</p>
17
    <hr/>
18
    <hr />
18
[% END %]
19
[% END %]
19
20
20
<END_HEADER>
21
<end_header>
21
22
22
<MESSAGE>
23
<message>
23
[% FILTER html2text %]
24
[% FILTER html2text %]
24
25
25
    [% IF comment %]
26
    [% IF comment %]
26
        <p>[% comment %]</p>
27
        <p>[% comment %]</p>
27
        <hr/>
28
        <hr />
28
    [% END %]
29
    [% END %]
29
    <ol>
30
    <ol>
30
    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
31
    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
Lines 40-46 Your list : [% shelfname %] Link Here
40
41
41
            <p>
42
            <p>
42
            [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
43
            [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
43
            <span>Author(s): [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author %][% END %]
44
            <span>[% t('Author(s):') %] [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author %][% END %]
44
45
45
            [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
46
            [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
46
                [% IF ( BIBLIO_RESULT.author ) %]; [% END %]
47
                [% IF ( BIBLIO_RESULT.author ) %]; [% END %]
Lines 51-73 Your list : [% shelfname %] Link Here
51
                    [% UNLESS ( loop.last ) %];[% END %]
52
                    [% UNLESS ( loop.last ) %];[% END %]
52
                [% END %]
53
                [% END %]
53
            [% END %]
54
            [% END %]
54
            </span><br/>
55
            </span><br />
55
            [% END %]
56
            [% END %]
56
57
57
            [% IF ( BIBLIO_RESULT.ISBN ) %]
58
            [% IF ( BIBLIO_RESULT.ISBN ) %]
58
            <span>
59
            <span>
59
                ISBN: [% FOREACH isbn IN BIBLIO_RESULT.ISBN %]
60
                [% t('ISBN:') %] [% FOREACH isbn IN BIBLIO_RESULT.ISBN %]
60
                          [% isbn %]
61
                          [% isbn %]
61
                          [% UNLESS ( loop.last ) %]; [% END %]
62
                          [% UNLESS ( loop.last ) %]; [% END %]
62
                      [% END %]
63
                      [% END %]
63
            </span><br/>
64
            </span><br />
64
            [% END %]
65
            [% END %]
65
66
66
            [% IF BIBLIO_RESULT.publishercode %]
67
            [% IF BIBLIO_RESULT.publishercode %]
67
            <span>
68
            <span>
68
                Published by: [% BIBLIO_RESULT.publishercode %]
69
                [% t('Published by:') %] [% BIBLIO_RESULT.publishercode %]
69
                [% IF ( BIBLIO_RESULT.publicationyear ) %]
70
                [% IF ( BIBLIO_RESULT.publicationyear ) %]
70
                    in [% BIBLIO_RESULT.publicationyear %]
71
                    [% t('in') %] [% BIBLIO_RESULT.publicationyear %]
71
                [% END %]
72
                [% END %]
72
                [% IF ( BIBLIO_RESULT.pages ) %]
73
                [% IF ( BIBLIO_RESULT.pages ) %]
73
                    , [% BIBLIO_RESULT.pages %]
74
                    , [% BIBLIO_RESULT.pages %]
Lines 75-150 Your list : [% shelfname %] Link Here
75
                [% IF BIBLIO_RESULT.item('size') %]
76
                [% IF BIBLIO_RESULT.item('size') %]
76
                , [% BIBLIO_RESULT.item('size') %]
77
                , [% BIBLIO_RESULT.item('size') %]
77
                [% END %]
78
                [% END %]
78
            </span><br/>
79
            </span><br />
79
            [% END %]
80
            [% END %]
80
81
81
            [% IF BIBLIO_RESULT.collection %]
82
            [% IF BIBLIO_RESULT.collection %]
82
            <span>
83
            <span>
83
                Collection: [% BIBLIO_RESULT.seriestitle %]
84
                [% t('Collection:') %] [% BIBLIO_RESULT.seriestitle %]
84
            </span><br/>
85
            </span><br />
85
            [% END %]
86
            [% END %]
86
87
87
            [% IF ( BIBLIO_RESULT.subject ) %]
88
            [% IF ( BIBLIO_RESULT.subject ) %]
88
            <span>
89
            <span>
89
                Subject: [% BIBLIO_RESULT.subject %]
90
                [% t('Subject:') %] [% BIBLIO_RESULT.subject %]
90
            <span><br/>
91
            <span><br />
91
            [% END %]
92
            [% END %]
92
93
93
            [% IF ( BIBLIO_RESULT.copyrightdate ) %]
94
            [% IF ( BIBLIO_RESULT.copyrightdate ) %]
94
            <span>
95
            <span>
95
                Copyright year: [% BIBLIO_RESULT.copyrightdate %]
96
                [% t('Copyright year:') %] [% BIBLIO_RESULT.copyrightdate %]
96
            </span><br/>
97
            </span><br />
97
            [% END %]
98
            [% END %]
98
99
99
            [% IF ( BIBLIO_RESULT.notes ) %]
100
            [% IF ( BIBLIO_RESULT.notes ) %]
100
            <span>
101
            <span>
101
                Notes : [% BIBLIO_RESULT.notes %]
102
                [% t('Notes :') %] [% BIBLIO_RESULT.notes %]
102
            </span><br/>
103
            </span><br />
103
            [% END %]
104
            [% END %]
104
105
105
            [% IF ( BIBLIO_RESULT.unititle ) %]
106
            [% IF ( BIBLIO_RESULT.unititle ) %]
106
            <span>
107
            <span>
107
                Unified title: [% BIBLIO_RESULT.unititle %]
108
                [% t('Unified title:') %] [% BIBLIO_RESULT.unititle %]
108
            </span><br/>
109
            </span><br />
109
            [% END %]
110
            [% END %]
110
111
111
            [% IF ( BIBLIO_RESULT.serial ) %]
112
            [% IF ( BIBLIO_RESULT.serial ) %]
112
            <span>
113
            <span>
113
                Serial: [% BIBLIO_RESULT.serial %]
114
                [% t('Serial:') %] [% BIBLIO_RESULT.serial %]
114
            </span><br/>
115
            </span><br />
115
            [% END %]
116
            [% END %]
116
117
117
            [% IF ( BIBLIO_RESULT.dewey ) %]
118
            [% IF ( BIBLIO_RESULT.dewey ) %]
118
            <span>
119
            <span>
119
                Dewey: [% BIBLIO_RESULT.dewey %]
120
                [% t('Dewey:') %] [% BIBLIO_RESULT.dewey %]
120
            </span><br/>
121
            </span><br />
121
            [% END %]
122
            [% END %]
122
123
123
            [% IF ( BIBLIO_RESULT.classification ) %]
124
            [% IF ( BIBLIO_RESULT.classification ) %]
124
            <span>
125
            <span>
125
                Classification: [% BIBLIO_RESULT.classification %]
126
                [% t('Classification:') %] [% BIBLIO_RESULT.classification %]
126
            </span><br/>
127
            </span><br />
127
            [% END %]
128
            [% END %]
128
129
129
            [% IF ( BIBLIO_RESULT.lccn ) %]
130
            [% IF ( BIBLIO_RESULT.lccn ) %]
130
            <span>
131
            <span>
131
                LCCN: [% BIBLIO_RESULT.lccn %]
132
                [% t('LCCN:') %] [% BIBLIO_RESULT.lccn %]
132
            </span><br/>
133
            </span><br />
133
            [% END %]
134
            [% END %]
134
            [% IF ( BIBLIO_RESULT.url ) %]
135
            [% IF ( BIBLIO_RESULT.url ) %]
135
            <span>
136
            <span>
136
                URL: [% BIBLIO_RESULT.url %]
137
                [% t('URL:') %] [% BIBLIO_RESULT.url %]
137
            </span>
138
            </span>
138
            [% END %]
139
            [% END %]
139
            </p>
140
            </p>
140
141
141
            [% IF ( OPACBaseURL ) %]
142
            [% IF ( OPACBaseURL ) %]
142
            <p>
143
            <p>
143
                In online catalog: [% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
144
                [% t('In online catalog:') %] [% OPACBaseURL %][% t('/cgi-bin/koha/opac-detail.pl?biblionumber=') %][% BIBLIO_RESULT.biblionumber %]
144
            </p>
145
            </p>
145
            [% END %]
146
            [% END %]
146
            [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %]
147
            [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %]
147
            <p>Items:
148
            <p>[% t('Items:') %]
148
            <ul>
149
            <ul>
149
                [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li>
150
                [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li>
150
                    [% ITEM_RESULT.branchname %]
151
                    [% ITEM_RESULT.branchname %]
Lines 155-165 Your list : [% shelfname %] Link Here
155
            </ul>
156
            </ul>
156
            </p>
157
            </p>
157
            [% END %]
158
            [% END %]
158
            <hr/>
159
            <hr />
159
        </li>
160
        </li>
160
    [% END %]
161
    [% END %]
161
    </ol>
162
    </ol>
162
163
163
[% END %]
164
[% END %]
164
165
165
<END_MESSAGE>
166
<end_message>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt (-12 / +13 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;  Sending your list</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %]  [% t('Sending your list') %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
Lines 12-50 Link Here
12
                    <div id="usersendshelfform">
13
                    <div id="usersendshelfform">
13
                        [% IF ( email ) %]
14
                        [% IF ( email ) %]
14
                            [% IF ( SENT ) %]
15
                            [% IF ( SENT ) %]
15
                                <h1>Message sent</h1>
16
                                <h1>[% t('Message sent') %]</h1>
16
                                <div class="alert alert-success">
17
                                <div class="alert alert-success">
17
                                    <p>The list was sent to: [% email | html %]</p>
18
                                    <p>[% t('The list was sent to:') %] [% email | html %]</p>
18
                                </div>
19
                                </div>
19
                                <p><a class="focus close" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelfid %]">Back to lists</a></p>
20
                                <p><a class="focus close" href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelfid %]">[% t('Back to lists') %]</a></p>
20
                            [% END %]
21
                            [% END %]
21
                            [% IF ( error ) %]
22
                            [% IF ( error ) %]
22
                                <div class="alert">
23
                                <div class="alert">
23
                                    <p>There was an error sending the list.</p>
24
                                    <p>[% t('There was an error sending the list.') %]</p>
24
                                </div>
25
                                </div>
25
                            [% END %]
26
                            [% END %]
26
                        [% ELSE %]
27
                        [% ELSE %]
27
                            [% IF ( invalidlist ) %]
28
                            [% IF ( invalidlist ) %]
28
                                <div class="alert">
29
                                <div class="alert">
29
                                    <p>You do not have permission to send this list.</p>
30
                                    <p>[% t('You do not have permission to send this list.') %]</p>
30
                                </div>
31
                                </div>
31
                                <p><a class="button close" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelfid %]">Back to lists</a></p>
32
                                <p><a class="button close" href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelfid %]">[% t('Back to lists') %]</a></p>
32
                            [% ELSE %]
33
                            [% ELSE %]
33
                                <h1>Sending your list</h1>
34
                                <h1>[% t('Sending your list') %]</h1>
34
                                <form action="/cgi-bin/koha/opac-sendshelf.pl" method="post" id="sendshelfform">
35
                                <form action="/cgi-bin/koha/opac-sendshelf.pl" method="post" id="sendshelfform">
35
                                    <fieldset>
36
                                    <fieldset>
36
                                        <label for="email">Email address:</label>
37
                                        <label for="email">[% t('Email address:') %]</label>
37
                                        <input type="text" id="email" name="email" size="43" class="focus" />
38
                                        <input type="text" id="email" name="email" size="43" class="focus" />
38
39
39
                                        <label for="comment">Comment:</label>
40
                                        <label for="comment">[% t('Comment:') %]</label>
40
                                        <textarea id="comment" name="comment" rows="4" cols="40"></textarea>
41
                                        <textarea id="comment" name="comment" rows="4" cols="40"></textarea>
41
42
42
                                        <input type="hidden" name="shelfid" value="[% shelfid %]" />
43
                                        <input type="hidden" name="shelfid" value="[% shelfid %]" />
43
                                    </fieldset>
44
                                    </fieldset>
44
                                    [% IF Koha.Preference('RequestOnOpac') || Koha.Preference('OpacRenewalAllowed') %]<p id="donotrequestbymail">Please do not use this mail to request or renew books.</p>[% END %]
45
                                    [% IF Koha.Preference('RequestOnOpac') || Koha.Preference('OpacRenewalAllowed') %]<p id="donotrequestbymail">[% t('Please do not use this mail to request or renew books.') %]</p>[% END %]
45
                                    <fieldset class="action">
46
                                    <fieldset class="action">
46
                                        <input type="submit" value="Send" class="btn" />
47
                                        <input type="submit" value="Send" class="btn" />
47
                                        <a class="cancel close" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelfid %]">Cancel</a>
48
                                        <a class="cancel close" href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelfid %]">[% t('Cancel') %]</a>
48
                                    </fieldset>
49
                                    </fieldset>
49
                                </form>
50
                                </form>
50
51
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt (-44 / +45 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;  Issues for a subscription</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %]  [% t('Issues for a subscription') %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
Lines 9-17 Link Here
9
10
10
    <div class="main">
11
    <div class="main">
11
        <ul class="breadcrumb">
12
        <ul class="breadcrumb">
12
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
13
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
13
            <li><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]">Details for [% bibliotitle %]</a> <span class="divider">&rsaquo;</span></li>
14
            <li><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]">[% t('Details for') %] [% bibliotitle %]</a> <span class="divider">›</span></li>
14
            <li><a href="#">Issues for a subscription</a></li>
15
            <li><a href="#">[% t('Issues for a subscription') %]</a></li>
15
        </ul>
16
        </ul>
16
17
17
        <div class="container-fluid">
18
        <div class="container-fluid">
Lines 27-115 Link Here
27
                    <div class="span12">
28
                    <div class="span12">
28
                [% END %]
29
                [% END %]
29
                    <div id="userserialissues">
30
                    <div id="userserialissues">
30
                        <h2>Issues for a subscription</h2>
31
                        <h2>[% t('Issues for a subscription') %]</h2>
31
                        <div id="views">
32
                        <div id="views">
32
                            <span class="view">
33
                            <span class="view">
33
                                <a id="Normalview" href="opac-detail.pl?biblionumber=[% biblionumber | html %]" class="button">Normal view</a>
34
                                <a id="Normalview" href="opac-detail.pl?biblionumber=[% biblionumber | html %]" class="button">[% t('Normal view') %]</a>
34
                            </span>
35
                            </span>
35
                            <span class="view"><span id="Briefhistory">Brief history</span></span>
36
                            <span class="view"><span id="Briefhistory">[% t('Brief history') %]</span></span>
36
                            <span class="view"><a id="Fullhistory" href="opac-serial-issues.pl?selectview=full&amp;biblionumber=[% biblionumber | html%]" class="button">Full history</a></span>
37
                            <span class="view"><a id="Fullhistory" href="opac-serial-issues.pl?selectview=full&biblionumber=[% biblionumber | html%]" class="button">[% t('Full history') %]</a></span>
37
                        </div>
38
                        </div>
38
                        <form method="post" name="f">
39
                        <form method="post" name="f">
39
                            [% FOREACH subscription_LOO IN subscription_LOOP %]
40
                            [% FOREACH subscription_LOO IN subscription_LOOP %]
40
                                <div id="subscriptionline[% subscription_LOO.subscriptionid %]" style="border-bottom:1px solid #EEE;">
41
                                <div id="subscriptionline[% subscription_LOO.subscriptionid %]" style="border-bottom:1px solid #EEE;">
41
                                    <h3>Subscription information for [% subscription_LOO.bibliotitle %]</h3>
42
                                    <h3>[% t('Subscription information for') %] [% subscription_LOO.bibliotitle %]</h3>
42
                                    <p>
43
                                    <p>
43
                                        The current subscription began on [% subscription_LOO.startdate %] and is issued
44
                                        [% t('The current subscription began on') %] [% subscription_LOO.startdate %] [% t('and is issued') %]
44
                                        [% IF ( subscription_LOO.periodicity1 ) %]
45
                                        [% IF ( subscription_LOO.periodicity1 ) %]
45
                                                twice per day
46
                                                [% t('twice per day') %]
46
                                        [% END %]
47
                                        [% END %]
47
                                        [% IF ( subscription_LOO.periodicity2 ) %]
48
                                        [% IF ( subscription_LOO.periodicity2 ) %]
48
                                                every day
49
                                                [% t('every day') %]
49
                                        [% END %]
50
                                        [% END %]
50
                                        [% IF ( subscription_LOO.periodicity3 ) %]
51
                                        [% IF ( subscription_LOO.periodicity3 ) %]
51
                                                three times per week
52
                                                [% t('three times per week') %]
52
                                        [% END %]
53
                                        [% END %]
53
                                        [% IF ( subscription_LOO.periodicity4 ) %]
54
                                        [% IF ( subscription_LOO.periodicity4 ) %]
54
                                                every week
55
                                                [% t('every week') %]
55
                                        [% END %]
56
                                        [% END %]
56
                                        [% IF ( subscription_LOO.periodicity5 ) %]
57
                                        [% IF ( subscription_LOO.periodicity5 ) %]
57
                                                every 2 weeks
58
                                                [% t('every 2 weeks') %]
58
                                        [% END %]
59
                                        [% END %]
59
                                        [% IF ( subscription_LOO.periodicity6 ) %]
60
                                        [% IF ( subscription_LOO.periodicity6 ) %]
60
                                                every 3 weeks
61
                                                [% t('every 3 weeks') %]
61
                                        [% END %]
62
                                        [% END %]
62
                                        [% IF ( subscription_LOO.periodicity7 ) %]
63
                                        [% IF ( subscription_LOO.periodicity7 ) %]
63
                                                every month
64
                                                [% t('every month') %]
64
                                        [% END %]
65
                                        [% END %]
65
                                        [% IF ( subscription_LOO.periodicity8 ) %]
66
                                        [% IF ( subscription_LOO.periodicity8 ) %]
66
                                                every 2 months
67
                                                [% t('every 2 months') %]
67
                                        [% END %]
68
                                        [% END %]
68
                                        [% IF ( subscription_LOO.periodicity9 ) %]
69
                                        [% IF ( subscription_LOO.periodicity9 ) %]
69
                                                every quarter
70
                                                [% t('every quarter') %]
70
                                        [% END %]
71
                                        [% END %]
71
                                        [% IF ( subscription_LOO.periodicity10 ) %]
72
                                        [% IF ( subscription_LOO.periodicity10 ) %]
72
                                                twice per year
73
                                                [% t('twice per year') %]
73
                                        [% END %]
74
                                        [% END %]
74
                                        [% IF ( subscription_LOO.periodicity11 ) %]
75
                                        [% IF ( subscription_LOO.periodicity11 ) %]
75
                                                every year
76
                                                [% t('every year') %]
76
                                        [% END %]
77
                                        [% END %]
77
                                        [% IF ( subscription_LOO.periodicity12 ) %]
78
                                        [% IF ( subscription_LOO.periodicity12 ) %]
78
                                                every 2 years
79
                                                [% t('every 2 years') %]
79
                                        [% END %]
80
                                        [% END %]
80
                                        [% IF ( subscription_LOO.periodicity13 ) %]
81
                                        [% IF ( subscription_LOO.periodicity13 ) %]
81
                                                irregularly
82
                                                [% t('irregularly') %]
82
                                        [% END %]
83
                                        [% END %]
83
                                        [% IF ( subscription_LOO.arrival1 ) %]
84
                                        [% IF ( subscription_LOO.arrival1 ) %]
84
                                            on Monday
85
                                            [% t('on Monday') %]
85
                                        [% END %]
86
                                        [% END %]
86
                                        [% IF ( subscription_LOO.arrival2 ) %]
87
                                        [% IF ( subscription_LOO.arrival2 ) %]
87
                                                on Tuesday
88
                                                [% t('on Tuesday') %]
88
                                        [% END %]
89
                                        [% END %]
89
                                        [% IF ( subscription_LOO.arrival3 ) %]
90
                                        [% IF ( subscription_LOO.arrival3 ) %]
90
                                                on Wednesday
91
                                                [% t('on Wednesday') %]
91
                                        [% END %]
92
                                        [% END %]
92
                                        [% IF ( subscription_LOO.arrival4 ) %]
93
                                        [% IF ( subscription_LOO.arrival4 ) %]
93
                                                on Thursday
94
                                                [% t('on Thursday') %]
94
                                        [% END %]
95
                                        [% END %]
95
                                        [% IF ( subscription_LOO.arrival5 ) %]
96
                                        [% IF ( subscription_LOO.arrival5 ) %]
96
                                                on Friday
97
                                                [% t('on Friday') %]
97
                                        [% END %]
98
                                        [% END %]
98
                                        [% IF ( subscription_LOO.arrival6 ) %]
99
                                        [% IF ( subscription_LOO.arrival6 ) %]
99
                                                on Saturday
100
                                                [% t('on Saturday') %]
100
                                        [% END %]
101
                                        [% END %]
101
                                        [% IF ( subscription_LOO.arrival7 ) %]
102
                                        [% IF ( subscription_LOO.arrival7 ) %]
102
                                                on Sunday
103
                                                [% t('on Sunday') %]
103
                                        [% END %]
104
                                        [% END %]
104
105
105
                                        for
106
                                        [% t('for') %]
106
                                            [% IF ( subscription_LOO.numberlength ) %][% subscription_LOO.numberlength %] issues[% END %]
107
                                            [% IF ( subscription_LOO.numberlength ) %][% subscription_LOO.numberlength %] [% t('issues') %][% END %]
107
                                            [% IF ( subscription_LOO.weeklength ) %][% subscription_LOO.weeklength %] weeks[% END %]
108
                                            [% IF ( subscription_LOO.weeklength ) %][% subscription_LOO.weeklength %] [% t('weeks') %][% END %]
108
                                            [% IF ( subscription_LOO.monthlength ) %][% subscription_LOO.monthlength %] months[% END %]
109
                                            [% IF ( subscription_LOO.monthlength ) %][% subscription_LOO.monthlength %] [% t('months') %][% END %]
109
                                    </p>
110
                                    </p>
110
                                    <p>The first subscription was started on  [% subscription_LOO.histstartdate %]</p>
111
                                    <p>[% t('The first subscription was started on') %]  [% subscription_LOO.histstartdate %]</p>
111
                                    [% IF ( subscription_LOO.histenddate ) %]
112
                                    [% IF ( subscription_LOO.histenddate ) %]
112
                                        <p>The subscription expired on [% subscription_LOO.histenddate %]</p>
113
                                        <p>[% t('The subscription expired on') %] [% subscription_LOO.histenddate %]</p>
113
                                    [% END %]
114
                                    [% END %]
114
115
115
                                    <h4>[% subscription_LOO.branchname %]</h4>
116
                                    <h4>[% subscription_LOO.branchname %]</h4>
Lines 119-135 Link Here
119
                                    [% END %]
120
                                    [% END %]
120
121
121
                                    [% IF ( subscription_LOO.recievedlist ) %]
122
                                    [% IF ( subscription_LOO.recievedlist ) %]
122
                                        <h5>Available issues</h5>
123
                                        <h5>[% t('Available issues') %]</h5>
123
                                            <p>[% subscription_LOO.recievedlist %]</p>
124
                                            <p>[% subscription_LOO.recievedlist %]</p>
124
                                    [% END %]
125
                                    [% END %]
125
126
126
                                    [% IF ( subscription_LOO.missinglist ) %]
127
                                    [% IF ( subscription_LOO.missinglist ) %]
127
                                        <h5>Unavailable issues</h5>
128
                                        <h5>[% t('Unavailable issues') %]</h5>
128
                                        <p>[% subscription_LOO.missinglist %]</p>
129
                                        <p>[% subscription_LOO.missinglist %]</p>
129
                                    [% END %]
130
                                    [% END %]
130
131
131
                                    [% IF ( subscription_LOO.opacnote ) %]
132
                                    [% IF ( subscription_LOO.opacnote ) %]
132
                                        <h5>Issues summary</h5>
133
                                        <h5>[% t('Issues summary') %]</h5>
133
                                        <p>
134
                                        <p>
134
                                            [% subscription_LOO.opacnote FILTER html_line_break %]
135
                                            [% subscription_LOO.opacnote FILTER html_line_break %]
135
                                        </p>
136
                                        </p>
Lines 137-152 Link Here
137
                                    [% IF ( subscription_LOO.letter ) %]
138
                                    [% IF ( subscription_LOO.letter ) %]
138
                                        [% IF ( loggedinusername ) %]
139
                                        [% IF ( loggedinusername ) %]
139
                                            [% IF ( subscription_LOO.hasalert ) %]
140
                                            [% IF ( subscription_LOO.hasalert ) %]
140
                                                You have subscribed to email notification on new issues <a href="opac-alert-subscribe.pl?op=cancel&amp;subscriptionid=[% subscription_LOO.subscriptionid %]&amp;referer=serial&amp;biblionumber=[% subscription_LOO.biblionumber %]" class="btn" title="Cancel email notification">
141
                                                [% t('You have subscribed to email notification on new issues') %] <a href="opac-alert-subscribe.pl?op=cancel&subscriptionid=[% subscription_LOO.subscriptionid %]&referer=serial&biblionumber=[% subscription_LOO.biblionumber %]" class="btn" title="[% t('Cancel email notification') %]">
141
                                                    Cancel email notification
142
                                                    [% t('Cancel email notification') %]
142
                                                </a>
143
                                                </a>
143
                                            [% ELSE %]
144
                                            [% ELSE %]
144
                                                <a href="opac-alert-subscribe.pl?subscriptionid=[% subscription_LOO.subscriptionid %]&amp;referer=serial&amp;biblionumber=[% subscription_LOO.biblionumber %]" class="btn" title="Subscribe to email notification on new issues">
145
                                                <a href="opac-alert-subscribe.pl?subscriptionid=[% subscription_LOO.subscriptionid %]&referer=serial&biblionumber=[% subscription_LOO.biblionumber %]" class="btn" title="[% t('Subscribe to email notification on new issues') %]">
145
                                                    Subscribe to email notification on new issues
146
                                                    [% t('Subscribe to email notification on new issues') %]
146
                                                </a>
147
                                                </a>
147
                                            [% END %]
148
                                            [% END %]
148
                                        [% ELSE %]
149
                                        [% ELSE %]
149
                                            You must log in if you want to subscribe to email notification on new issues
150
                                            [% t('You must log in if you want to subscribe to email notification on new issues') %]
150
                                        [% END %]
151
                                        [% END %]
151
                                    [% END %]
152
                                    [% END %]
152
                                </div> <!-- / #subscriptionline* -->
153
                                </div> <!-- / #subscriptionline* -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt (-25 / +26 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Share a list</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Share a list') %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
Lines 9-20 Link Here
9
[% INCLUDE 'masthead.inc' %]
10
[% INCLUDE 'masthead.inc' %]
10
<div class="main">
11
<div class="main">
11
    <ul class="breadcrumb">
12
    <ul class="breadcrumb">
12
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
13
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
13
        [% IF ( loggedinusername ) %]
14
        [% IF ( loggedinusername ) %]
14
            <li><a href="/cgi-bin/koha/opac-user.pl">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</a> <span class="divider">&rsaquo;</span></li>
15
            <li><a href="/cgi-bin/koha/opac-user.pl">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</a> <span class="divider">›</span></li>
15
        [% END %]
16
        [% END %]
16
        <li><a href="/cgi-bin/koha/opac-shelves.pl">Lists</a> <span class="divider">&rsaquo;</span></li>
17
        <li><a href="/cgi-bin/koha/opac-shelves.pl">[% t('Lists') %]</a> <span class="divider">›</span></li>
17
        <li>Share a list</li>
18
        <li>[% t('Share a list') %]</li>
18
    </ul> <!-- / .breadcrumb -->
19
    </ul> <!-- / .breadcrumb -->
19
20
20
    <div class="container-fluid">
21
    <div class="container-fluid">
Lines 31-67 Link Here
31
                <div id="shareshelf" class="maincontent">
32
                <div id="shareshelf" class="maincontent">
32
33
33
[%# This section contains the essential code for error messages and three operations: invite, confirm_invite and accept. %]
34
[%# This section contains the essential code for error messages and three operations: invite, confirm_invite and accept. %]
34
    <h2>Share a list with another patron</h2>
35
    <h2>[% t('Share a list with another patron') %]</h2>
35
36
36
    [% IF errcode %]
37
    [% IF errcode %]
37
        [% IF errcode==1 && op %]<div class="alert">The operation [% op | html %] is not supported.</div>[% END %]
38
        [% IF errcode==1 && op %]<div class="alert">[% t('The operation') %] [% op | html %] [% t('is not supported.') %]</div>[% END %]
38
        [% IF errcode==1 && !op %]<div class="alert">No operation parameter has been passed.</div>[% END %]
39
        [% IF errcode==1 && !op %]<div class="alert">[% t('No operation parameter has been passed.') %]</div>[% END %]
39
        [% IF errcode==2 %]<div class="alert">Invalid shelf number.</div>[% END %]
40
        [% IF errcode==2 %]<div class="alert">[% t('Invalid shelf number.') %]</div>[% END %]
40
        [% IF errcode==3 %]<div class="alert">The feature of sharing lists is not in use in this library.</div>[% END %]
41
        [% IF errcode==3 %]<div class="alert">[% t('The feature of sharing lists is not in use in this library.') %]</div>[% END %]
41
        [% IF errcode==4 %]<div class="alert">You can only share a list if you are the owner.</div>[% END %]
42
        [% IF errcode==4 %]<div class="alert">[% t('You can only share a list if you are the owner.') %]</div>[% END %]
42
        [% IF errcode==5 %]<div class="alert">You cannot share a public list.</div>[% END %]
43
        [% IF errcode==5 %]<div class="alert">[% t('You cannot share a public list.') %]</div>[% END %]
43
        [% IF errcode==6 %]<div class="alert">Sorry, but you did not enter a valid email address.</div>[% END %]
44
        [% IF errcode==6 %]<div class="alert">[% t('Sorry, but you did not enter a valid email address.') %]</div>[% END %]
44
        [% 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 %]
45
        [% IF errcode==7 %]<div class="alert">[% t('Sorry, but we could not accept this key. The invitation may have expired. Contact the patron who sent you the invitation.') %]</div>[% END %]
45
        [% IF errcode==8 %]<div class="alert">As owner of a list you cannot accept an invitation for sharing it.</div>[% END %]
46
        [% IF errcode==8 %]<div class="alert">[% t('As owner of a list you cannot accept an invitation for sharing it.') %]</div>[% END %]
46
        <p><a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=1">Return to your lists</a></p>
47
        <p><a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=1">[% t('Return to your lists') %]</a></p>
47
48
48
    [% ELSIF op=='invite' %]
49
    [% ELSIF op=='invite' %]
49
        <div id="invite">
50
        <div id="invite">
50
        <form id="share_list">
51
        <form id="share_list">
51
        <fieldset class="rows">
52
        <fieldset class="rows">
52
            <ol>
53
            <ol>
53
            <input type="hidden" name="op" value="conf_invite"/>
54
            <input type="hidden" name="op" value="conf_invite" />
54
            <input type="hidden" name="shelfnumber" value="[% shelfnumber %]"/>
55
            <input type="hidden" name="shelfnumber" value="[% shelfnumber %]" />
55
            <li><label for="name">List name:</label> [% shelfname | html %]</li>
56
            <li><label for="name">[% t('List name:') %]</label> [% shelfname | html %]</li>
56
            <li>
57
            <li>
57
                <label for="invite_address">Email address:</label>
58
                <label for="invite_address">[% t('Email address:') %]</label>
58
                <input id="invite_address" name="invite_address" size="40" />
59
                <input id="invite_address" name="invite_address" size="40" />
59
            </li>
60
            </li>
60
            </ol>
61
            </ol>
61
        </fieldset>
62
        </fieldset>
62
        <fieldset class="action">
63
        <fieldset class="action">
63
            <input type="submit" value="Send" class="btn" />
64
            <input type="submit" value="Send" class="btn" />
64
            <a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=1" class="cancel">Cancel</a>
65
            <a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=1" class="cancel">[% t('Cancel') %]</a>
65
        </fieldset>
66
        </fieldset>
66
        </form>
67
        </form>
67
        </div>
68
        </div>
Lines 69-83 Link Here
69
    [% ELSIF op=='conf_invite' %]
70
    [% ELSIF op=='conf_invite' %]
70
        <div id="conf_invite">
71
        <div id="conf_invite">
71
        [% IF approvedaddress %]
72
        [% IF approvedaddress %]
72
        <p>An invitation to share list <i>[% shelfname | html %]</i> will be sent shortly to [% approvedaddress %].</p>
73
        <p>[% t('An invitation to share list') %] <i>[% shelfname | html %]</i> [% t('will be sent shortly to') %] [% approvedaddress %].</p>
73
        [% END %]
74
        [% END %]
74
        [% IF failaddress %]
75
        [% IF failaddress %]
75
            <p>Something went wrong while processing the following addresses. Please check them. These are: [% failaddress %]</p>
76
            <p>[% t('Something went wrong while processing the following addresses. Please check them. These are:') %] [% failaddress %]</p>
76
        [% END %]
77
        [% END %]
77
        [% IF approvedaddress %]
78
        [% IF approvedaddress %]
78
        <p>You will receive an email notification if someone accepts your share within two weeks.</p>
79
        <p>[% t('You will receive an email notification if someone accepts your share within two weeks.') %]</p>
79
        [% END %]
80
        [% END %]
80
        <p><a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=1">Return to your lists</a></p>
81
        <p><a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=1">[% t('Return to your lists') %]</a></p>
81
        </div>
82
        </div>
82
83
83
    [% ELSIF op=='accept' %]
84
    [% ELSIF op=='accept' %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves-rss.tt (-5 / +6 lines)
Lines 1-21 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
1
[% PROCESS 'i18n.inc' %]
2
<!--?xml version="1.0" encoding="UTF-8"?-->
2
3
3
<rss version="2.0">
4
<rss version="2.0">
4
5
5
<channel>
6
<channel>
6
 <title>[% shelf.shelfname | html %]</title>
7
 <title>[% shelf.shelfname | html %]</title>
7
 <link>[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&amp;viewshelf=[% shelf.shelfnumber %]</link>
8
 <link>[% OPACBaseURL %][% t('/cgi-bin/koha/opac-shelves.pl?rss=1&amp;viewshelf=') %][% shelf.shelfnumber %]</link>
8
 <description>RSS feed for public list [% shelf.shelfname | html %]</description>
9
 <description>[% t('RSS feed for public list') %] [% shelf.shelfname | html %]</description>
9
10
10
[% FOREACH i IN itemsloop %]
11
[% FOREACH i IN itemsloop %]
11
 <item>
12
 <item>
12
  <title>
13
  <title>
13
    [% i.title | html %]
14
    [% i.title | html %]
14
    [% IF i.author %]
15
    [% IF i.author %]
15
        by [% i.author | html %]
16
        [% t('by') %] [% i.author | html %]
16
    [% END %]
17
    [% END %]
17
  </title>
18
  </title>
18
  <link>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.biblionumber %]</link>
19
  <link>[% OPACBaseURL %][% t('/cgi-bin/koha/opac-detail.pl?biblionumber=') %][% i.biblionumber %]</link>
19
 </item>
20
 </item>
20
[% END %]
21
[% END %]
21
22
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-149 / +150 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% SET PRIVATE = 1 %]
4
[% SET PRIVATE = 1 %]
Lines 6-74 Link Here
6
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsInputOnList') ) %]
7
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsInputOnList') ) %]
7
8
8
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
9
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;   [% IF op == 'view' %]Contents of [% shelf.shelfname |html %][% ELSE %]Your lists[% END %]</title>[% INCLUDE 'doc-head-close.inc' %]
10
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %]   [% IF op == 'view' %][% t('Contents of') %] [% shelf.shelfname |html %][% ELSE %][% t('Your lists') %][% END %]</title>[% INCLUDE 'doc-head-close.inc' %]
10
[% BLOCK cssinclude %][% END %]
11
[% BLOCK cssinclude %][% END %]
11
</head>
12
</head>
12
[% IF ( loggedinusername ) %][% INCLUDE 'bodytag.inc' bodyid='opac-userlists' bodyclass='scrollto' %][% ELSE %][% INCLUDE 'bodytag.inc' bodyid='opac-lists' bodyclass='scrollto' %][% END %]
13
[% IF ( loggedinusername ) %][% INCLUDE 'bodytag.inc' bodyid='opac-userlists' bodyclass='scrollto' %][% ELSE %][% INCLUDE 'bodytag.inc' bodyid='opac-lists' bodyclass='scrollto' %][% END %]
13
14
14
[% BLOCK list_permissions %]
15
[% BLOCK list_permissions %]
15
    <li>
16
    <li>
16
        <label for="allow_changes_from">Allow changes to contents from: </label>
17
        <label for="allow_changes_from">[% t('Allow changes to contents from:') %] </label>
17
        <select name="allow_changes_from" id="allow_changes_from" onchange="AdjustRemark()">
18
        <select name="allow_changes_from" id="allow_changes_from" onchange="AdjustRemark()">
18
19
19
            [% IF shelf.allow_change_from_owner %]<option value="0">Nobody</option>[% ELSE %]<option value="0" selected="selected">Nobody</option>[% END %]
20
            [% IF shelf.allow_change_from_owner %]<option value="0">[% t('Nobody') %]</option>[% ELSE %]<option value="0" selected="selected">[% t('Nobody') %]</option>[% END %]
20
21
21
            [% IF shelf.allow_change_from_owner && (( !shelf.is_public && !shelf.is_shared ) || !shelf.allow_change_from_others ) %]
22
            [% IF shelf.allow_change_from_owner && (( !shelf.is_public && !shelf.is_shared ) || !shelf.allow_change_from_others ) %]
22
                <option value="1" selected="selected">Owner only</option>
23
                <option value="1" selected="selected">[% t('Owner only') %]</option>
23
            [% ELSE %]
24
            [% ELSE %]
24
                <option value="1">Owner only</option>
25
                <option value="1">[% t('Owner only') %]</option>
25
            [% END %]
26
            [% END %]
26
27
27
            [% IF shelf.allow_change_from_others %]<option value="2" selected="selected">Anyone seeing this list</option>[% ELSE %]<option value="2">Anyone seeing this list</option>[% END %]
28
            [% IF shelf.allow_change_from_others %]<option value="2" selected="selected">[% t('Anyone seeing this list') %]</option>[% ELSE %]<option value="2">[% t('Anyone seeing this list') %]</option>[% END %]
28
29
29
        </select>
30
        </select>
30
        &emsp; <span id="anyone_remark" style="display:none;color:red;">The Anyone permission has no actual effect while this list is strictly private.</span>
31
          <span id="anyone_remark" style="display:none;color:red;">[% t('The Anyone permission has no actual effect while this list is strictly private.') %]</span>
31
    </li>
32
    </li>
32
[% END %]
33
[% END %]
33
34
34
[% INCLUDE 'masthead.inc' %]
35
[% INCLUDE 'masthead.inc' %]
35
<div class="main">
36
<div class="main">
36
    <ul class="breadcrumb noprint">
37
    <ul class="breadcrumb noprint">
37
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
38
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
38
        [% IF ( loggedinusername ) %]
39
        [% IF ( loggedinusername ) %]
39
            <li><a href="/cgi-bin/koha/opac-user.pl">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</a> <span class="divider">&rsaquo;</span></li>
40
            <li><a href="/cgi-bin/koha/opac-user.pl">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</a> <span class="divider">›</span></li>
40
        [% END %]
41
        [% END %]
41
42
42
        [% IF op != 'list' %]
43
        [% IF op != 'list' %]
43
            <li><a href="/cgi-bin/koha/opac-shelves.pl">Lists</a></li>
44
            <li><a href="/cgi-bin/koha/opac-shelves.pl">[% t('Lists') %]</a></li>
44
        [% ELSE %]
45
        [% ELSE %]
45
            <li>Lists</li>
46
            <li>[% t('Lists') %]</li>
46
        [% END %]
47
        [% END %]
47
48
48
        [% IF shelf and shelf.is_private %]
49
        [% IF shelf and shelf.is_private %]
49
            [% IF op == 'view' OR op == 'edit_form' %]
50
            [% IF op == 'view' OR op == 'edit_form' %]
50
                <li><span class="divider">&rsaquo;</span> <a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=[% PRIVATE %]">Your lists</a></li>
51
                <li><span class="divider">›</span> <a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=[% PRIVATE %]">[% t('Your lists') %]</a></li>
51
            [% ELSE %]
52
            [% ELSE %]
52
                <li><span class="divider">&rsaquo;</span> Your lists</li>
53
                <li><span class="divider">›</span> [% t('Your lists') %]</li>
53
            [% END %]
54
            [% END %]
54
        [% ELSIF shelf AND shelf.is_public %]
55
        [% ELSIF shelf AND shelf.is_public %]
55
            [% IF op == 'view' %]
56
            [% IF op == 'view' %]
56
                <li><span class="divider">&rsaquo;</span> <a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=[% PUBLIC %]">Public lists</a></li>
57
                <li><span class="divider">›</span> <a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=[% PUBLIC %]">[% t('Public lists') %]</a></li>
57
            [% ELSE %]
58
            [% ELSE %]
58
                <li><span class="divider">&rsaquo;</span> Public lists</li>
59
                <li><span class="divider">›</span> [% t('Public lists') %]</li>
59
            [% END %]
60
            [% END %]
60
        [% END %]
61
        [% END %]
61
62
62
        [% IF op == 'view' %]
63
        [% IF op == 'view' %]
63
            <li><span class="divider">&rsaquo;</span> Contents of <i>[% shelf.shelfname | html %]</i></li>
64
            <li><span class="divider">›</span> [% t('Contents of') %] <i>[% shelf.shelfname | html %]</i></li>
64
        [% END %]
65
        [% END %]
65
66
66
        [% IF op == 'add_form' %]
67
        [% IF op == 'add_form' %]
67
            <li><span class="divider">&rsaquo;</span> Create new list</li>
68
            <li><span class="divider">›</span> [% t('Create new list') %]</li>
68
        [% END %]
69
        [% END %]
69
70
70
        [% IF op == 'edit_form' %]
71
        [% IF op == 'edit_form' %]
71
            <li><span class="divider">&rsaquo;</span> Edit list <i>[% shelf.shelfname | html %]</i></li>
72
            <li><span class="divider">›</span> [% t('Edit list') %] <i>[% shelf.shelfname | html %]</i></li>
72
        [% END %]
73
        [% END %]
73
74
74
    </ul> <!-- / .breadcrumb -->
75
    </ul> <!-- / .breadcrumb -->
Lines 99-143 Link Here
99
                    [% END %]
100
                    [% END %]
100
                    [% SWITCH m.code %]
101
                    [% SWITCH m.code %]
101
                    [% CASE 'error_on_update' %]
102
                    [% CASE 'error_on_update' %]
102
                        <span>An error occurred when updating this list.</span>
103
                        <span>[% t('An error occurred when updating this list.') %]</span>
103
                    [% CASE 'error_on_insert' %]
104
                    [% CASE 'error_on_insert' %]
104
                        <span>An error occurred when creating this list.</span>
105
                        <span>[% t('An error occurred when creating this list.') %]</span>
105
                    [% CASE 'error_on_delete' %]
106
                    [% CASE 'error_on_delete' %]
106
                        <span>An error occurred when deleting this list.</span>
107
                        <span>[% t('An error occurred when deleting this list.') %]</span>
107
                    [% CASE 'error_on_add_biblio' %]
108
                    [% CASE 'error_on_add_biblio' %]
108
                        <span>The item has not been added to the list. Please check it's not already in the list.</span>
109
                        <span>[% t('The item has not been added to the list. Please check it\'s not already in the list.') %]</span>
109
                    [% CASE 'error_on_remove_share' %]
110
                    [% CASE 'error_on_remove_share' %]
110
                        <span>The share has not been removed.</span>
111
                        <span>[% t('The share has not been removed.') %]</span>
111
                    [% CASE 'success_on_update' %]
112
                    [% CASE 'success_on_update' %]
112
                        <span>List updated.</span>
113
                        <span>[% t('List updated.') %]</span>
113
                    [% CASE 'success_on_insert' %]
114
                    [% CASE 'success_on_insert' %]
114
                        <span>List created.</span>
115
                        <span>[% t('List created.') %]</span>
115
                    [% CASE 'success_on_delete' %]
116
                    [% CASE 'success_on_delete' %]
116
                        <span>List deleted.</span>
117
                        <span>[% t('List deleted.') %]</span>
117
                    [% CASE 'success_on_add_biblio' %]
118
                    [% CASE 'success_on_add_biblio' %]
118
                        <span>The item has been added to the list.</span>
119
                        <span>[% t('The item has been added to the list.') %]</span>
119
                    [% CASE 'success_on_remove_biblios' %]
120
                    [% CASE 'success_on_remove_biblios' %]
120
                        <span>The item has been removed from the list.</span>
121
                        <span>[% t('The item has been removed from the list.') %]</span>
121
                    [% CASE 'success_on_remove_share' %]
122
                    [% CASE 'success_on_remove_share' %]
122
                        <span>The share has been removed.</span>
123
                        <span>[% t('The share has been removed.') %]</span>
123
                    [% CASE 'does_not_exist' %]
124
                    [% CASE 'does_not_exist' %]
124
                        <span>This list does not exist.</span>
125
                        <span>[% t('This list does not exist.') %]</span>
125
                    [% CASE 'item_does_not_exist' %]
126
                    [% CASE 'item_does_not_exist' %]
126
                        <span>This item does not exist.</span>
127
                        <span>[% t('This item does not exist.') %]</span>
127
                    [% CASE 'unauthorized_on_view' %]
128
                    [% CASE 'unauthorized_on_view' %]
128
                        <span>You do not have permission to view this list.</span>
129
                        <span>[% t('You do not have permission to view this list.') %]</span>
129
                    [% CASE 'unauthorized_on_insert' %]
130
                    [% CASE 'unauthorized_on_insert' %]
130
                        <span>You do not have permission to create a new list.</span>
131
                        <span>[% t('You do not have permission to create a new list.') %]</span>
131
                    [% CASE 'unauthorized_on_update' %]
132
                    [% CASE 'unauthorized_on_update' %]
132
                        <span>You do not have permission to update this list.</span>
133
                        <span>[% t('You do not have permission to update this list.') %]</span>
133
                    [% CASE 'unauthorized_on_delete' %]
134
                    [% CASE 'unauthorized_on_delete' %]
134
                        <span>You do not have permission to delete this list.</span>
135
                        <span>[% t('You do not have permission to delete this list.') %]</span>
135
                    [% CASE 'unauthorized_on_add_biblio' %]
136
                    [% CASE 'unauthorized_on_add_biblio' %]
136
                        <span>You do not have permission to add a record to this list.</span>
137
                        <span>[% t('You do not have permission to add a record to this list.') %]</span>
137
                    [% CASE 'no_biblio_removed' %]
138
                    [% CASE 'no_biblio_removed' %]
138
                        <span>No record was removed.</span>
139
                        <span>[% t('No record was removed.') %]</span>
139
                    [% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %]
140
                    [% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %]
140
                        <span>An error occurred when creating the list. The name [% shelfname %] already exists.</span>
141
                        <span>[% t('An error occurred when creating the list. The name') %] [% shelfname %] [% t('already exists.') %]</span>
141
                    [% CASE 'DBIx::Class::Exception' %]
142
                    [% CASE 'DBIx::Class::Exception' %]
142
                        [% m.msg %]
143
                        [% m.msg %]
143
                    [% CASE %]
144
                    [% CASE %]
Lines 150-178 Link Here
150
                    [% IF shelf AND op == 'view' %]
151
                    [% IF shelf AND op == 'view' %]
151
                        <h3>
152
                        <h3>
152
                            [% shelf.shelfname |html %]
153
                            [% shelf.shelfname |html %]
153
                            <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&amp;op=view&amp;shelfnumber=[% shelf.shelfnumber %]" class="rss-list-link noprint">
154
                            <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&op=view&shelfnumber=[% shelf.shelfnumber %]" class="rss-list-link noprint">
154
                                <img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this list" title="Subscribe to this list" border="0" class="rsssearchicon"/>
155
                                <img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="[% t('Subscribe to this list') %]" title="[% t('Subscribe to this list') %]" border="0" class="rsssearchicon" />
155
                            </a>
156
                            </a>
156
                        </h3>
157
                        </h3>
157
158
158
                        [% IF ( itemsloop ) %]
159
                        [% IF ( itemsloop ) %]
159
                            <div id="toolbar" class="toolbar clearfix">
160
                            <div id="toolbar" class="toolbar clearfix">
160
                                <div class="list-actions">
161
                                <div class="list-actions">
161
                                    <a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form">New list</a> <span class="sep">|</span>
162
                                    <a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form">[% t('New list') %]</a> <span class="sep">|</span>
162
                                    <a href="/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=[% shelf.shelfnumber | html %]" class="download" data-toggle="modal" data-target="#modalWin">Download list</a>
163
                                    <a href="/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=[% shelf.shelfnumber | html %]" class="download" data-toggle="modal" data-target="#modalWin">[% t('Download list') %]</a>
163
164
164
                                    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
165
                                    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
165
                                        <span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber | html %]" class="send" onclick="open('/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber | html %]','win_form','scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send list</a></span>
166
                                        <span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber | html %]" class="send" onclick="open('/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber | html %]','win_form','scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">[% t('Send list') %]</a></span>
166
                                    [% END %]
167
                                    [% END %]
167
168
168
                                    <a class="print-small" target="_blank" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber %]&sortfield=[% sortfield %]&direction=[% direction |uri %]&print=1">Print list</a>
169
                                    <a class="print-small" target="_blank" href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]&sortfield=[% sortfield %]&direction=[% direction |uri %]&print=1">[% t('Print list') %]</a>
169
170
170
                                    [% IF can_manage_shelf %]
171
                                    [% IF can_manage_shelf %]
171
                                        <span class="sep">|</span>
172
                                        <span class="sep">|</span>
172
                                        <form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
173
                                        <form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
173
                                            <input type="hidden" name="op" value="edit_form" />
174
                                            <input type="hidden" name="op" value="edit_form" />
174
                                            <input type="hidden" name="referer" value="view" />
175
                                            <input type="hidden" name="referer" value="view" />
175
                                            <input type='hidden' name='category' value='[% category | html %]' />
176
                                            <input type="hidden" name="category" value="[% category | html %]" />
176
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
177
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
177
                                            <input type="submit" class="editshelf" value="Edit list" />
178
                                            <input type="submit" class="editshelf" value="Edit list" />
178
                                        </form>
179
                                        </form>
Lines 180-197 Link Here
180
                                        <form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
181
                                        <form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
181
                                            <input type="hidden" name="op" value="delete" />
182
                                            <input type="hidden" name="op" value="delete" />
182
                                            <input type="hidden" name="referer" value="list" />
183
                                            <input type="hidden" name="referer" value="list" />
183
                                            <input type='hidden' name='category' value='[% category | html %]' />
184
                                            <input type="hidden" name="category" value="[% category | html %]" />
184
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
185
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
185
                                            <input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/>
186
                                            <input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" />
186
                                        </form>
187
                                        </form>
187
                                        [% IF category == PRIVATE && Koha.Preference('OpacAllowSharingPrivateLists') %]
188
                                        [% IF category == PRIVATE && Koha.Preference('OpacAllowSharingPrivateLists') %]
188
                                            <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelf.shelfnumber | html %]" class="sharelist">Share list</a>
189
                                            <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelf.shelfnumber | html %]" class="sharelist">[% t('Share list') %]</a>
189
                                        [% END %]
190
                                        [% END %]
190
                                    [% ELSIF category == PRIVATE # not manageshelf and private means shared %]
191
                                    [% ELSIF category == PRIVATE # not manageshelf and private means shared %]
191
                                        <form action="/cgi-bin/koha/opac-shelves.pl" method="post" class="form-inline">
192
                                        <form action="/cgi-bin/koha/opac-shelves.pl" method="post" class="form-inline">
192
                                            <input type="hidden" name="op" value="remove_share" />
193
                                            <input type="hidden" name="op" value="remove_share" />
193
                                            <input type="hidden" name="referer" value="list" />
194
                                            <input type="hidden" name="referer" value="list" />
194
                                            <input type='hidden' name='category' value='[% category | html %]' />
195
                                            <input type="hidden" name="category" value="[% category | html %]" />
195
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
196
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
196
                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" />
197
                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" />
197
                                        </form>
198
                                        </form>
Lines 202-247 Link Here
202
                                    <input type="hidden" name="op" value="view" />
203
                                    <input type="hidden" name="op" value="view" />
203
                                    <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
204
                                    <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
204
205
205
                                    <label for="sortfield">Sort by: </label>
206
                                    <label for="sortfield">[% t('Sort by:') %] </label>
206
                                    <select name="sortfield" id="sortfield" class="resort" onchange="$('#sorting-form').submit()">
207
                                    <select name="sortfield" id="sortfield" class="resort" onchange="$('#sorting-form').submit()">
207
                                        <option value="">Default sorting</option>
208
                                        <option value="">[% t('Default sorting') %]</option>
208
209
209
                                        [% IF sortfield == 'author' %]
210
                                        [% IF sortfield == 'author' %]
210
                                            <option value="author" selected="selected">Author</option>
211
                                            <option value="author" selected="selected">[% t('Author') %]</option>
211
                                        [% ELSE %]
212
                                        [% ELSE %]
212
                                            <option value="author">Author</option>
213
                                            <option value="author">[% t('Author') %]</option>
213
                                        [% END %]
214
                                        [% END %]
214
215
215
                                        [% IF sortfield == 'title' %]
216
                                        [% IF sortfield == 'title' %]
216
                                            <option value="title" selected="selected">Title</option>
217
                                            <option value="title" selected="selected">[% t('Title') %]</option>
217
                                        [% ELSE %]
218
                                        [% ELSE %]
218
                                            <option value="title">Title</option>
219
                                            <option value="title">[% t('Title') %]</option>
219
                                        [% END %]
220
                                        [% END %]
220
221
221
                                        [% IF sortfield == 'itemcallnumber' %]
222
                                        [% IF sortfield == 'itemcallnumber' %]
222
                                            <option value="itemcallnumber" selected="selected">Call number</option>
223
                                            <option value="itemcallnumber" selected="selected">[% t('Call number') %]</option>
223
                                        [% ELSE %]
224
                                        [% ELSE %]
224
                                            <option value="itemcallnumber">Call number</option>
225
                                            <option value="itemcallnumber">[% t('Call number') %]</option>
225
                                        [% END %]
226
                                        [% END %]
226
227
227
                                        [% IF sortfield == 'copyrightdate' %]
228
                                        [% IF sortfield == 'copyrightdate' %]
228
                                            <option value="copyrightdate" selected="selected">Copyright date</option>
229
                                            <option value="copyrightdate" selected="selected">[% t('Copyright date') %]</option>
229
                                        [% ELSE %]
230
                                        [% ELSE %]
230
                                            <option value="copyrightdate">Copyright date</option>
231
                                            <option value="copyrightdate">[% t('Copyright date') %]</option>
231
                                        [% END %]
232
                                        [% END %]
232
                                    </select>
233
                                    </select>
233
234
234
                                    <select name="direction" class="resort" onchange="$('#sorting-form').submit()">
235
                                    <select name="direction" class="resort" onchange="$('#sorting-form').submit()">
235
                                        [% IF direction == 'asc' %]
236
                                        [% IF direction == 'asc' %]
236
                                            <option value="asc" selected="selected">Ascending</option>
237
                                            <option value="asc" selected="selected">[% t('Ascending') %]</option>
237
                                        [% ELSE %]
238
                                        [% ELSE %]
238
                                            <option value="asc">Ascending</option>
239
                                            <option value="asc">[% t('Ascending') %]</option>
239
                                        [% END %]
240
                                        [% END %]
240
241
241
                                        [% IF direction == 'desc' %]
242
                                        [% IF direction == 'desc' %]
242
                                            <option value="desc" selected="selected">Descending</option>
243
                                            <option value="desc" selected="selected">[% t('Descending') %]</option>
243
                                        [% ELSE %]
244
                                        [% ELSE %]
244
                                            <option value="desc">Descending</option>
245
                                            <option value="desc">[% t('Descending') %]</option>
245
                                        [% END %]
246
                                        [% END %]
246
                                    </select>
247
                                    </select>
247
248
Lines 253-271 Link Here
253
                            <div id="selections-toolbar" class="toolbar noprint">
254
                            <div id="selections-toolbar" class="toolbar noprint">
254
                                <span class="checkall"></span> <span class="clearall"></span> <span class="sep">|</span>
255
                                <span class="checkall"></span> <span class="clearall"></span> <span class="sep">|</span>
255
                                <span class="links">
256
                                <span class="links">
256
                                    <span id="selections">Select titles to: </span>
257
                                    <span id="selections">[% t('Select titles to:') %] </span>
257
                                    [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
258
                                    [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
258
                                        <span id="placehold"></span>
259
                                        <span id="placehold"></span>
259
                                    [% END %]
260
                                    [% END %]
260
                                    [% IF ( TagsInputEnabled && loggedinusername ) %]
261
                                    [% IF ( TagsInputEnabled && loggedinusername ) %]
261
                                        <span id="addtags">
262
                                        <span id="addtags">
262
                                          <a id="tagsel_tag" href="#" class="disabled">Tag</a>
263
                                          <a id="tagsel_tag" href="#" class="disabled">[% t('Tag') %]</a>
263
                                        </span>
264
                                        </span>
264
                                        <span id="tagsel_form" style="display:none">
265
                                        <span id="tagsel_form" style="display:none">
265
                                          <label for="tagsel_new">New tag(s), separated by a comma:</label>
266
                                          <label for="tagsel_new">[% t('New tag(s), separated by a comma:') %]</label>
266
                                          <input name="tagsel_new" id="tagsel_new" maxlength="100" />
267
                                          <input name="tagsel_new" id="tagsel_new" maxlength="100" />
267
                                          <input id="tagsel_button" name="tagsel_button" class="tagsel_button btn btn-small" title="tagsel_button" type="submit" value="Add" />
268
                                          <input id="tagsel_button" name="tagsel_button" class="tagsel_button btn btn-small" title="[% t('tagsel_button') %]" type="submit" value="Add" />
268
                                          <a href="#" id="tagsel_cancel">Cancel</a>
269
                                          <a href="#" id="tagsel_cancel">[% t('Cancel') %]</a>
269
                                        </span>
270
                                        </span>
270
                                    [% END %]
271
                                    [% END %]
271
                                    [% IF loggedinusername && can_remove_biblios %]
272
                                    [% IF loggedinusername && can_remove_biblios %]
Lines 304-318 Link Here
304
                                                                [% IF ( itemsloo.normalized_isbn ) %]
305
                                                                [% IF ( itemsloo.normalized_isbn ) %]
305
                                                                    <span title="[% itemsloo.biblionumber %]" id="amazon-thumbnail[% loop.count %]"><img src="https://images-na.ssl-images-amazon.com/images/P/[% itemsloo.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" /></span>
306
                                                                    <span title="[% itemsloo.biblionumber %]" id="amazon-thumbnail[% loop.count %]"><img src="https://images-na.ssl-images-amazon.com/images/P/[% itemsloo.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" /></span>
306
                                                                [% ELSE %]
307
                                                                [% ELSE %]
307
                                                                    <span class="no-image">No cover image available</span>
308
                                                                    <span class="no-image">[% t('No cover image available') %]</span>
308
                                                                [% END %]
309
                                                                [% END %]
309
                                                            [% END %]
310
                                                            [% END %]
310
311
311
                                                            [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
312
                                                            [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
312
                                                                [% IF ( using_https ) %]
313
                                                                [% IF ( using_https ) %]
313
                                                                    <span title="[% itemsloo.biblionumber %]" id="syndetics-thumbnail[% loop.count %]"><img src="https://secure.syndetics.com/index.aspx?isbn=[% itemsloo.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% itemsloo.normalized_upc %]&amp;oclc=[% itemsloo.normalized_oclc %]" alt="" /></span>
314
                                                                    <span title="[% itemsloo.biblionumber %]" id="syndetics-thumbnail[% loop.count %]"><img src="https://secure.syndetics.com/index.aspx?isbn=[% itemsloo.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% itemsloo.normalized_upc %]&oclc=[% itemsloo.normalized_oclc %]" alt="" /></span>
314
                                                                [% ELSE %]
315
                                                                [% ELSE %]
315
                                                                    <span title="[% itemsloo.biblionumber %]" id="syndetics-thumbnail[% loop.count %]"><img src="http://www.syndetics.com/index.aspx?isbn=[% itemsloo.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% itemsloo.normalized_upc %]&amp;oclc=[% itemsloo.normalized_oclc %]" alt="" /></span>
316
                                                                    <span title="[% itemsloo.biblionumber %]" id="syndetics-thumbnail[% loop.count %]"><img src="http://www.syndetics.com/index.aspx?isbn=[% itemsloo.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% itemsloo.normalized_upc %]&oclc=[% itemsloo.normalized_oclc %]" alt="" /></span>
316
                                                                [% END %]
317
                                                                [% END %]
317
                                                            [% END %]
318
                                                            [% END %]
318
319
Lines 320-326 Link Here
320
                                                                [% IF ( itemsloo.normalized_isbn ) %]
321
                                                                [% IF ( itemsloo.normalized_isbn ) %]
321
                                                                    <div title="[% itemsloo.biblionumber |url %]" class="[% itemsloo.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
322
                                                                    <div title="[% itemsloo.biblionumber |url %]" class="[% itemsloo.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
322
                                                                [% ELSE %]
323
                                                                [% ELSE %]
323
                                                                    <span class="no-image">No cover image available</span>
324
                                                                    <span class="no-image">[% t('No cover image available') %]</span>
324
                                                                [% END %]
325
                                                                [% END %]
325
                                                            [% END %]
326
                                                            [% END %]
326
327
Lines 329-335 Link Here
329
                                                                [% IF ( coce_id ) %]
330
                                                                [% IF ( coce_id ) %]
330
                                                                    <span title="[% itemsloo.biblionumber |url %]" class="[% coce_id %]" id="coce-thumbnail[% loop.count %]"></span>
331
                                                                    <span title="[% itemsloo.biblionumber |url %]" class="[% coce_id %]" id="coce-thumbnail[% loop.count %]"></span>
331
                                                                [% ELSE %]
332
                                                                [% ELSE %]
332
                                                                    <span class="no-image">No cover image available</span>
333
                                                                    <span class="no-image">[% t('No cover image available') %]</span>
333
                                                                [% END %]
334
                                                                [% END %]
334
                                                            [% END %]
335
                                                            [% END %]
335
336
Lines 338-344 Link Here
338
                                                                [% IF itemsloo.normalized_isbn %]
339
                                                                [% IF itemsloo.normalized_isbn %]
339
                                                                    <span title="[% itemsloo.biblionumber %]" class="[% itemsloo.normalized_isbn %]" id="openlibrary-thumbnail[% loop.count %]"></span>
340
                                                                    <span title="[% itemsloo.biblionumber %]" class="[% itemsloo.normalized_isbn %]" id="openlibrary-thumbnail[% loop.count %]"></span>
340
                                                                [% ELSE %]
341
                                                                [% ELSE %]
341
                                                                    <span class="no-image">No cover image available</span>
342
                                                                    <span class="no-image">[% t('No cover image available') %]</span>
342
                                                                [% END %]
343
                                                                [% END %]
343
                                                            [% END %]
344
                                                            [% END %]
344
345
Lines 346-354 Link Here
346
                                                        [% IF ( BakerTaylorEnabled ) %]
347
                                                        [% IF ( BakerTaylorEnabled ) %]
347
                                                            [% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %]
348
                                                            [% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %]
348
                                                            [% IF ( bt_id ) %]
349
                                                            [% IF ( bt_id ) %]
349
                                                                <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
350
                                                                <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="[% t('See Baker &amp; Taylor') %]" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
350
                                                            [% ELSE %]
351
                                                            [% ELSE %]
351
                                                                <span class="no-image">No cover image available</span>
352
                                                                <span class="no-image">[% t('No cover image available') %]</span>
352
                                                            [% END %]
353
                                                            [% END %]
353
                                                        [% END %]
354
                                                        [% END %]
354
                                                    </div>
355
                                                    </div>
Lines 357-375 Link Here
357
                                                    [% ELSE %]
358
                                                    [% ELSE %]
358
359
359
                                                        [% IF ( itemsloo.BiblioDefaultViewmarc ) %]
360
                                                        [% IF ( itemsloo.BiblioDefaultViewmarc ) %]
360
                                                            <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% itemsloo.biblionumber |url %]" title="View details for this title">
361
                                                            <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% itemsloo.biblionumber |url %]" title="[% t('View details for this title') %]">
361
                                                        [% ELSE %]
362
                                                        [% ELSE %]
362
                                                            [% IF ( itemsloo.BiblioDefaultViewisbd ) %]
363
                                                            [% IF ( itemsloo.BiblioDefaultViewisbd ) %]
363
                                                                <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% itemsloo.biblionumber |url %]" title="View details for this title">
364
                                                                <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% itemsloo.biblionumber |url %]" title="[% t('View details for this title') %]">
364
                                                            [% ELSE %]
365
                                                            [% ELSE %]
365
                                                                <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% itemsloo.biblionumber |url %]" title="View details for this title">
366
                                                                <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% itemsloo.biblionumber |url %]" title="[% t('View details for this title') %]">
366
                                                            [% END %]
367
                                                            [% END %]
367
                                                        [% END %]
368
                                                        [% END %]
368
369
369
                                                        [% IF ( itemsloo.title ) %]
370
                                                        [% IF ( itemsloo.title ) %]
370
                                                            [% itemsloo.title |html %]
371
                                                            [% itemsloo.title |html %]
371
                                                        [% ELSE %]
372
                                                        [% ELSE %]
372
                                                            No title
373
                                                            [% t('No title') %]
373
                                                        [% END %]
374
                                                        [% END %]
374
375
375
                                                        [% FOREACH subtitl IN itemsloo.subtitle %]
376
                                                        [% FOREACH subtitl IN itemsloo.subtitle %]
Lines 378-390 Link Here
378
                                                        </a>
379
                                                        </a>
379
380
380
                                                        [% IF ( itemsloo.author ) %]
381
                                                        [% IF ( itemsloo.author ) %]
381
                                                            by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% itemsloo.author |url %]" title="Search for works by this author" class="author">[% itemsloo.author %]</a>
382
                                                            [% t('by') %] <a href="/cgi-bin/koha/opac-search.pl?q=au:[% itemsloo.author |url %]" title="[% t('Search for works by this author') %]" class="author">[% itemsloo.author %]</a>
382
                                                        [% ELSE %]
383
                                                        [% ELSE %]
383
                                                            &nbsp;
384
                                                             
384
                                                        [% END %]
385
                                                        [% END %]
385
386
386
                                                        <span class="results_summary">
387
                                                        <span class="results_summary">
387
                                                            <span class="label">Publication:</span>
388
                                                            <span class="label">[% t('Publication:') %]</span>
388
                                                            [% IF ( itemsloo.place ) %]
389
                                                            [% IF ( itemsloo.place ) %]
389
                                                                [% itemsloo.place %]
390
                                                                [% itemsloo.place %]
390
                                                            [% END %]
391
                                                            [% END %]
Lines 403-409 Link Here
403
                                                            [% IF ( itemsloo.item('size') ) %] [% itemsloo.item('size') %][% END %]
404
                                                            [% IF ( itemsloo.item('size') ) %] [% itemsloo.item('size') %][% END %]
404
                                                        </span>
405
                                                        </span>
405
                                                        <span class="results_summary">
406
                                                        <span class="results_summary">
406
                                                            <span class="label">Holdings:</span>
407
                                                            <span class="label">[% t('Holdings:') %]</span>
407
                                                            [% IF ( itemsloo.ITEM_RESULTS ) %]
408
                                                            [% IF ( itemsloo.ITEM_RESULTS ) %]
408
                                                                [% FOREACH ITEM_RESULT IN itemsloo.ITEM_RESULTS %]
409
                                                                [% FOREACH ITEM_RESULT IN itemsloo.ITEM_RESULTS %]
409
                                                                    [% ITEM_RESULT.homebranch %]
410
                                                                    [% ITEM_RESULT.homebranch %]
Lines 416-432 Link Here
416
                                                                    [% END %]
417
                                                                    [% END %]
417
                                                                [% END %]
418
                                                                [% END %]
418
                                                            [% ELSE %]
419
                                                            [% ELSE %]
419
                                                                This record has no items.
420
                                                                [% t('This record has no items.') %]
420
                                                            [% END %]
421
                                                            [% END %]
421
                                                        </span>
422
                                                        </span>
422
                                                    [% END # / IF itemsloo.XSLTBloc %]
423
                                                    [% END # / IF itemsloo.XSLTBloc %]
423
424
424
                                                    [% IF ( TagsShowEnabled && itemsloo.TagLoop.size ) %]
425
                                                    [% IF ( TagsShowEnabled && itemsloo.TagLoop.size ) %]
425
                                                        <div class="results_summary tags">
426
                                                        <div class="results_summary tags">
426
                                                            <span class="label">Tags:</span>
427
                                                            <span class="label">[% t('Tags:') %]</span>
427
                                                            <ul>
428
                                                            <ul>
428
                                                                [% FOREACH TagLoo IN itemsloo.TagLoop %]
429
                                                                [% FOREACH TagLoo IN itemsloo.TagLoop %]
429
                                                                    <li><a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term |url %]&amp;q=[% TagLoo.term |url %]">[% TagLoo.term %]</a> <span class="weight">([% TagLoo.weight_total %])</span></li>
430
                                                                    <li><a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term |url %]&q=[% TagLoo.term |url %]">[% TagLoo.term %]</a> <span class="weight">([% TagLoo.weight_total %])</span></li>
430
                                                                [% END %]
431
                                                                [% END %]
431
                                                            </ul>
432
                                                            </ul>
432
                                                        </div>
433
                                                        </div>
Lines 438-447 Link Here
438
                                                            [% UNLESS ( itemsloo.norequests ) %]
439
                                                            [% UNLESS ( itemsloo.norequests ) %]
439
                                                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
440
                                                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
440
                                                                    [% IF ( itemsloo.allow_onshelf_holds ) %]
441
                                                                    [% IF ( itemsloo.allow_onshelf_holds ) %]
441
                                                                        <span class="actions"><a class="hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% itemsloo.biblionumber %]">Place hold</a><!-- add back when available 0 holds in queue--></span>
442
                                                                        <span class="actions"><a class="hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% itemsloo.biblionumber %]">[% t('Place hold') %]</a><!-- add back when available 0 holds in queue--></span>
442
                                                                    [% ELSE %]
443
                                                                    [% ELSE %]
443
                                                                        [% IF ( itemsloo.itemsissued ) %]
444
                                                                        [% IF ( itemsloo.itemsissued ) %]
444
                                                                            <span class="actions"><a class="hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% itemsloo.biblionumber %]">Place hold</a><!-- add back when available 0 holds in queue--></span>
445
                                                                            <span class="actions"><a class="hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% itemsloo.biblionumber %]">[% t('Place hold') %]</a><!-- add back when available 0 holds in queue--></span>
445
                                                                        [% END %]
446
                                                                        [% END %]
446
                                                                    [% END %]
447
                                                                    [% END %]
447
                                                                [% END # / IF opacuserlogin %]
448
                                                                [% END # / IF opacuserlogin %]
Lines 450-483 Link Here
450
451
451
                                                        [% IF ( TagsInputEnabled ) %]
452
                                                        [% IF ( TagsInputEnabled ) %]
452
                                                            [% IF ( loggedinusername ) %]
453
                                                            [% IF ( loggedinusername ) %]
453
                                                                <span class="actions"><a class="tag_add hidden" id="tag_add[% itemsloo.biblionumber %]" href="#">Add tag</a></span>
454
                                                                <span class="actions"><a class="tag_add hidden" id="tag_add[% itemsloo.biblionumber %]" href="#">[% t('Add tag') %]</a></span>
454
                                                                <div id="tagform[% itemsloo.biblionumber %]" class="tag_results_input" style="display:none;">
455
                                                                <div id="tagform[% itemsloo.biblionumber %]" class="tag_results_input" style="display:none;">
455
                                                                    <label for="newtag[% itemsloo.biblionumber %]">New tag(s), separated by a comma:</label>
456
                                                                    <label for="newtag[% itemsloo.biblionumber %]">[% t('New tag(s), separated by a comma:') %]</label>
456
                                                                    <input name="newtag[% itemsloo.biblionumber %]" id="newtag[% itemsloo.biblionumber %]" maxlength="100" />
457
                                                                    <input name="newtag[% itemsloo.biblionumber %]" id="newtag[% itemsloo.biblionumber %]" maxlength="100" />
457
                                                                    <input name="tagbutton" class="tagbutton btn btn-small" title="[% itemsloo.biblionumber %]" type="submit" value="Add" />
458
                                                                    <input name="tagbutton" class="tagbutton btn btn-small" title="[% itemsloo.biblionumber %]" type="submit" value="Add" />
458
                                                                    <a class="cancel_tag_add" id="cancel[% itemsloo.biblionumber %]" href="#">(done)</a>
459
                                                                    <a class="cancel_tag_add" id="cancel[% itemsloo.biblionumber %]" href="#">[% t('(done)') %]</a>
459
                                                                </div>
460
                                                                </div>
460
                                                                <div id="newtag[% itemsloo.biblionumber %]_status" class="tagstatus" style="display:none;">
461
                                                                <div id="newtag[% itemsloo.biblionumber %]_status" class="tagstatus" style="display:none;">
461
                                                                Tag status here.
462
                                                                [% t('Tag status here.') %]
462
                                                                </div>
463
                                                                </div>
463
                                                            [% ELSIF ( loop.first ) %]
464
                                                            [% ELSIF ( loop.first ) %]
464
                                                                <span class="tagstatus" id="login4tags">Log in to add tags.</span>
465
                                                                <span class="tagstatus" id="login4tags">[% t('Log in to add tags.') %]</span>
465
                                                            [% END # / IF loggedinusername %]
466
                                                            [% END # / IF loggedinusername %]
466
                                                        [% END # / IF TagsInputEnabled %]
467
                                                        [% END # / IF TagsInputEnabled %]
467
468
468
                                                        [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername && ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %]
469
                                                        [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername && ( Koha.Preference( 'virtualshelves' ) == 1 ) ) %]
469
                                                            <span class="actions"><a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=[% itemsloo.biblionumber %]" onclick="Dopop('opac-addbybiblionumber.pl?biblionumber=[% itemsloo.biblionumber %]'); return false;">Save to another list</a></span>
470
                                                            <span class="actions"><a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=[% itemsloo.biblionumber %]" onclick="Dopop('opac-addbybiblionumber.pl?biblionumber=[% itemsloo.biblionumber %]'); return false;">[% t('Save to another list') %]</a></span>
470
                                                        [% END %]
471
                                                        [% END %]
471
472
472
                                                        [% IF can_remove_biblios %]
473
                                                        [% IF can_remove_biblios %]
473
                                                            <span class="actions"><a class="removefromlist" href="/cgi-bin/koha/opac-shelves.pl?op=remove_biblios&amp;shelfnumber=[% shelf.shelfnumber %]&amp;biblionumber=[% itemsloo.biblionumber %]">Remove from this list</a></span>
474
                                                            <span class="actions"><a class="removefromlist" href="/cgi-bin/koha/opac-shelves.pl?op=remove_biblios&shelfnumber=[% shelf.shelfnumber %]&biblionumber=[% itemsloo.biblionumber %]">[% t('Remove from this list') %]</a></span>
474
                                                        [% END %]
475
                                                        [% END %]
475
476
476
                                                        [% IF Koha.Preference( 'opacbookbag' ) == 1 %]
477
                                                        [% IF Koha.Preference( 'opacbookbag' ) == 1 %]
477
                                                            [% IF ( itemsloo.incart ) %]
478
                                                            [% IF ( itemsloo.incart ) %]
478
                                                                <span class="actions"><a class="addtocart cart[% itemsloo.biblionumber %] hidden" href="#" onclick="addRecord('[% itemsloo.biblionumber %]'); return false;">In your cart</a> <a class="cartRemove cartR[% itemsloo.biblionumber %] hidden" href="#" onclick="delSingleRecord('[% itemsloo.biblionumber %]'); return false;">(remove)</a></span>
479
                                                                <span class="actions"><a class="addtocart cart[% itemsloo.biblionumber %] hidden" href="#" onclick="addRecord('[% itemsloo.biblionumber %]'); return false;">[% t('In your cart') %]</a> <a class="cartRemove cartR[% itemsloo.biblionumber %] hidden" href="#" onclick="delSingleRecord('[% itemsloo.biblionumber %]'); return false;">[% t('(remove)') %]</a></span>
479
                                                            [% ELSE %]
480
                                                            [% ELSE %]
480
                                                                <span class="actions"><a class="addtocart cart[% itemsloo.biblionumber %] hidden" href="#" onclick="addRecord('[% itemsloo.biblionumber %]'); return false;">Add to cart</a> <a style="display:none;" class="cartRemove cartR[% itemsloo.biblionumber %] hidden" href="#" onclick="delSingleRecord('[% itemsloo.biblionumber %]'); return false;">(remove)</a></span>
481
                                                                <span class="actions"><a class="addtocart cart[% itemsloo.biblionumber %] hidden" href="#" onclick="addRecord('[% itemsloo.biblionumber %]'); return false;">[% t('Add to cart') %]</a> <a style="display:none;" class="cartRemove cartR[% itemsloo.biblionumber %] hidden" href="#" onclick="delSingleRecord('[% itemsloo.biblionumber %]'); return false;">[% t('(remove)') %]</a></span>
481
                                                            [% END %]
482
                                                            [% END %]
482
                                                        [% END # / IF opacbookbag %]
483
                                                        [% END # / IF opacbookbag %]
483
                                                    </span> <!-- / .results_summary .actions -->
484
                                                    </span> <!-- / .results_summary .actions -->
Lines 498-504 Link Here
498
                        [% ELSE %]
499
                        [% ELSE %]
499
                            <div id="toolbar" class="toolbar clearfix">
500
                            <div id="toolbar" class="toolbar clearfix">
500
                                <div class="list-actions">
501
                                <div class="list-actions">
501
                                    <a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form">New list</a> <span class="sep"></span>
502
                                    <a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form">[% t('New list') %]</a> <span class="sep"></span>
502
                                    [% IF can_manage_shelf %]
503
                                    [% IF can_manage_shelf %]
503
                                        <span class="sep">|</span>
504
                                        <span class="sep">|</span>
504
                                        <form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
505
                                        <form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
Lines 511-528 Link Here
511
512
512
                                        <form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
513
                                        <form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
513
                                            <input type="hidden" name="op" value="delete" />
514
                                            <input type="hidden" name="op" value="delete" />
514
                                            <input type="hidden" name="shelfnumber" value="[% shelfnumber | html  %]"/>
515
                                            <input type="hidden" name="shelfnumber" value="[% shelfnumber | html  %]" />
515
                                            <input type="hidden" name="category" value="category" />
516
                                            <input type="hidden" name="category" value="category" />
516
                                            <input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/>
517
                                            <input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" />
517
                                        </form>
518
                                        </form>
518
                                    [% END %]
519
                                    [% END %]
519
                                </div> <!-- / .list-actions -->
520
                                </div> <!-- / .list-actions -->
520
                            </div> <!-- / #toolbar -->
521
                            </div> <!-- / #toolbar -->
521
522
522
                            <div class="alert alert-info">
523
                            <div class="alert alert-info">
523
                                This list is empty.
524
                                [% t('This list is empty.') %]
524
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
525
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
525
                                    You can add to your lists from the results of any <a href="opac-main.pl">search</a>.
526
                                    [% t('You can add to your lists from the results of any') %] <a href="opac-main.pl">[% t('search') %]</a>.
526
                                [% END %]
527
                                [% END %]
527
                            </div>
528
                            </div>
528
                        [% END # / IF itemsloop %]
529
                        [% END # / IF itemsloop %]
Lines 532-544 Link Here
532
                        <input type="hidden" name="op" value="remove_biblios" />
533
                        <input type="hidden" name="op" value="remove_biblios" />
533
                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
534
                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
534
                        <input type="hidden" name="modifyshelfcontents" value="1" />
535
                        <input type="hidden" name="modifyshelfcontents" value="1" />
535
                        <input type="submit" value="Remove selected items" id="remove-selected" class="btn btn-danger"/>
536
                        <input type="submit" value="Remove selected items" id="remove-selected" class="btn btn-danger" />
536
                        </form>
537
                        </form>
537
                    [% ELSIF !itemsloop && can_manage_shelf %]
538
                    [% ELSIF !itemsloop && can_manage_shelf %]
538
                        <form method="post" action="opac-shelves.pl">
539
                        <form method="post" action="opac-shelves.pl">
539
                        <input type="hidden" name="op" value="delete" />
540
                        <input type="hidden" name="op" value="delete" />
540
                        <input type="hidden" name="referer" value="list" />
541
                        <input type="hidden" name="referer" value="list" />
541
                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html  %]"/>
542
                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html  %]" />
542
                        <input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" />
543
                        <input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" />
543
                        </form>
544
                        </form>
544
                    [% END %]
545
                    [% END %]
Lines 548-557 Link Here
548
                            <fieldset class="rows">
549
                            <fieldset class="rows">
549
                                [% IF op == 'add_form' %]
550
                                [% IF op == 'add_form' %]
550
                                    <div id="addshelf">
551
                                    <div id="addshelf">
551
                                    <legend>Create a new list</legend>
552
                                    <legend>[% t('Create a new list') %]</legend>
552
                                    <input type="hidden" name="op" value="add" />
553
                                    <input type="hidden" name="op" value="add" />
553
                                [% ELSE %]
554
                                [% ELSE %]
554
                                    <legend>Editing <em>[% shelf.shelfname |html %]</em></legend>
555
                                    <legend>[% t('Editing') %] <em>[% shelf.shelfname |html %]</em></legend>
555
                                    <input type="hidden" name="op" value="edit" />
556
                                    <input type="hidden" name="op" value="edit" />
556
                                    <input type="hidden" name="referer" value="[% referer | html %]" />
557
                                    <input type="hidden" name="referer" value="[% referer | html %]" />
557
                                    <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
558
                                    <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
Lines 559-608 Link Here
559
                                <input type="hidden" name="owner" id="owner" value="[% loggedinusernumber %]" />
560
                                <input type="hidden" name="owner" id="owner" value="[% loggedinusernumber %]" />
560
                                <ol>
561
                                <ol>
561
                                    <li>
562
                                    <li>
562
                                        <label class="required" for="shelfname">List name: </label>
563
                                        <label class="required" for="shelfname">[% t('List name:') %] </label>
563
                                        <input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelf.shelfname |html %]" required="required" class="required"/> <span class="required">Required</span></li>
564
                                        <input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelf.shelfname |html %]" required="required" class="required" /> <span class="required">[% t('Required') %]</span></li>
564
                                    <li>
565
                                    <li>
565
                                        <label for="sortfield" >Sort this list by: </label>
566
                                        <label for="sortfield">[% t('Sort this list by:') %] </label>
566
                                        <select name="sortfield" id="sortfield">
567
                                        <select name="sortfield" id="sortfield">
567
                                            [% IF shelf.sortfield == "title" %]
568
                                            [% IF shelf.sortfield == "title" %]
568
                                                <option value="title" selected="selected">Title</option>
569
                                                <option value="title" selected="selected">[% t('Title') %]</option>
569
                                            [% ELSE %]
570
                                            [% ELSE %]
570
                                                <option value="title">Title</option>
571
                                                <option value="title">[% t('Title') %]</option>
571
                                            [% END %]
572
                                            [% END %]
572
                                            [% IF shelf.sortfield == "author" %]
573
                                            [% IF shelf.sortfield == "author" %]
573
                                                <option value="author" selected="selected">Author</option>
574
                                                <option value="author" selected="selected">[% t('Author') %]</option>
574
                                            [% ELSE %]
575
                                            [% ELSE %]
575
                                                <option value="author">Author</option>
576
                                                <option value="author">[% t('Author') %]</option>
576
                                            [% END %]
577
                                            [% END %]
577
                                            [% IF shelf.sortfield == "copyrightdate" %]
578
                                            [% IF shelf.sortfield == "copyrightdate" %]
578
                                                <option value="copyrightdate" selected="selected">Year</option>
579
                                                <option value="copyrightdate" selected="selected">[% t('Year') %]</option>
579
                                            [% ELSE %]
580
                                            [% ELSE %]
580
                                                <option value="copyrightdate">Year</option>
581
                                                <option value="copyrightdate">[% t('Year') %]</option>
581
                                            [% END %]
582
                                            [% END %]
582
                                            [% IF shelf.sortfield == "itemcallnumber" %]
583
                                            [% IF shelf.sortfield == "itemcallnumber" %]
583
                                                <option value="itemcallnumber" selected="selected">Call number</option>
584
                                                <option value="itemcallnumber" selected="selected">[% t('Call number') %]</option>
584
                                            [% ELSE %]
585
                                            [% ELSE %]
585
                                                <option value="itemcallnumber">Call number</option>
586
                                                <option value="itemcallnumber">[% t('Call number') %]</option>
586
                                            [% END %]
587
                                            [% END %]
587
                                        </select>
588
                                        </select>
588
                                    </li>
589
                                    </li>
589
                                    [% IF Koha.Preference('OpacAllowPublicListCreation') OR category == PUBLIC %]
590
                                    [% IF Koha.Preference('OpacAllowPublicListCreation') OR category == PUBLIC %]
590
                                        <li>
591
                                        <li>
591
                                            <label for="category">Category:</label>
592
                                            <label for="category">[% t('Category:') %]</label>
592
                                            <select name="category" id="category" onchange="AdjustRemark()">
593
                                            <select name="category" id="category" onchange="AdjustRemark()">
593
                                                [% IF shelf.is_private %]
594
                                                [% IF shelf.is_private %]
594
                                                        <option value="1" selected="selected">Private</option>
595
                                                        <option value="1" selected="selected">[% t('Private') %]</option>
595
                                                    [% ELSE %]
596
                                                    [% ELSE %]
596
                                                        <option value="1">Private</option>
597
                                                        <option value="1">[% t('Private') %]</option>
597
                                                    [% END %]
598
                                                    [% END %]
598
                                                [% IF shelf.is_public %]
599
                                                [% IF shelf.is_public %]
599
                                                    <option value="2" selected="selected">Public</option>
600
                                                    <option value="2" selected="selected">[% t('Public') %]</option>
600
                                                [% ELSE %]
601
                                                [% ELSE %]
601
                                                    <option value="2">Public</option>
602
                                                    <option value="2">[% t('Public') %]</option>
602
                                                [% END %]
603
                                                [% END %]
603
                                            </select>
604
                                            </select>
604
                                            [% IF shelf.is_public AND NOT Koha.Preference('OpacAllowPublicListCreation') %]
605
                                            [% IF shelf.is_public AND NOT Koha.Preference('OpacAllowPublicListCreation') %]
605
                                                <span class="hint alert alert-info">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.</span>
606
                                                <span class="hint alert alert-info">[% t('The library has disabled the ability for patrons to create new public lists.') %]  [% t('If you make your list private, you will not be able to make it public again.') %]</span>
606
                                            [% END %]
607
                                            [% END %]
607
                                        </li>
608
                                        </li>
608
                                    [% END %]
609
                                    [% END %]
Lines 616-644 Link Here
616
                            <fieldset class="action">
617
                            <fieldset class="action">
617
                                <input type="submit" value="Save" class="btn" />
618
                                <input type="submit" value="Save" class="btn" />
618
                                [% IF referer == 'view' %]
619
                                [% IF referer == 'view' %]
619
                                    <a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber %]" class="cancel">Cancel</a>
620
                                    <a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]" class="cancel">[% t('Cancel') %]</a>
620
                                [% ELSE %]
621
                                [% ELSE %]
621
                                     <a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=[% PRIVATE %]" class="cancel">Cancel</a>
622
                                     <a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=[% PRIVATE %]" class="cancel">[% t('Cancel') %]</a>
622
                                 [% END %]
623
                                 [% END %]
623
624
624
                            </fieldset>
625
                            </fieldset>
625
                        </form>
626
                        </form>
626
627
627
                    [% ELSIF op == 'list' %]
628
                    [% ELSIF op == 'list' %]
628
                        <h2>Lists</h2>
629
                        <h2>[% t('Lists') %]</h2>
629
                        <div class="toptabs ui-tabs ui-widget ui-widget-content ui-corner-all">
630
                        <div class="toptabs ui-tabs ui-widget ui-widget-content ui-corner-all">
630
                        <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
631
                        <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
631
                            [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
632
                            [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
632
                                [% IF category == PRIVATE %]
633
                                [% IF category == PRIVATE %]
633
                                    <li id="privateshelves_tab" class="ui-state-default ui-corner-top ui-tabs-active ui-state-active"><a class="ui-tabs-anchor" href="/cgi-bin/koha/opac-shelves.pl?op=listamp;category=[% PRIVATE %]">Your lists</a></li>
634
                                    <li id="privateshelves_tab" class="ui-state-default ui-corner-top ui-tabs-active ui-state-active"><a class="ui-tabs-anchor" href="/cgi-bin/koha/opac-shelves.pl?op=listamp;category=[% PRIVATE %]">[% t('Your lists') %]</a></li>
634
                                [% ELSE %]
635
                                [% ELSE %]
635
                                    <li id="privateshelves_tab" class="ui-state-default ui-corner-top"><a class="ui-tabs-anchor" href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=[% PRIVATE %]">Your lists</a></li>
636
                                    <li id="privateshelves_tab" class="ui-state-default ui-corner-top"><a class="ui-tabs-anchor" href="/cgi-bin/koha/opac-shelves.pl?op=list&category=[% PRIVATE %]">[% t('Your lists') %]</a></li>
636
                                [% END %]
637
                                [% END %]
637
                            [% END %]
638
                            [% END %]
638
                            [% IF category == PUBLIC %]
639
                            [% IF category == PUBLIC %]
639
                                <li id="publicshelves_tab" class="ui-state-default ui-corner-top ui-tabs-active ui-state-active"><a class="ui-tabs-anchor" href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=[% PUBLIC %]">Public lists</a></li>
640
                                <li id="publicshelves_tab" class="ui-state-default ui-corner-top ui-tabs-active ui-state-active"><a class="ui-tabs-anchor" href="/cgi-bin/koha/opac-shelves.pl?op=list&category=[% PUBLIC %]">[% t('Public lists') %]</a></li>
640
                            [% ELSE %]
641
                            [% ELSE %]
641
                                <li id="publicshelves_tab" class="ui-state-default ui-corner-top"><a class="ui-tabs-anchor" href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=[% PUBLIC %]">Public lists</a></li>
642
                                <li id="publicshelves_tab" class="ui-state-default ui-corner-top"><a class="ui-tabs-anchor" href="/cgi-bin/koha/opac-shelves.pl?op=list&category=[% PUBLIC %]">[% t('Public lists') %]</a></li>
642
                            [% END %]
643
                            [% END %]
643
                        </ul>
644
                        </ul>
644
645
Lines 649-658 Link Here
649
                        [% END %]
650
                        [% END %]
650
651
651
                            [% IF loggedinusername %]
652
                            [% IF loggedinusername %]
652
                                <div id="toolbar" class="toolbar"><a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form">New list</a></div>
653
                                <div id="toolbar" class="toolbar"><a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form">[% t('New list') %]</a></div>
653
                            [% ELSE %]
654
                            [% ELSE %]
654
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
655
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
655
                                    <div class="alert alert-info"><a href="/cgi-bin/koha/opac-user.pl">Log in</a> to create new lists.</div>
656
                                    <div class="alert alert-info"><a href="/cgi-bin/koha/opac-user.pl">[% t('Log in') %]</a> [% t('to create new lists.') %]</div>
656
                                [% END %]
657
                                [% END %]
657
                            [% END %]
658
                            [% END %]
658
659
Lines 660-682 Link Here
660
                                <table class="table">
661
                                <table class="table">
661
                                    <thead>
662
                                    <thead>
662
                                        <tr>
663
                                        <tr>
663
                                            <th>List name</th>
664
                                            <th>[% t('List name') %]</th>
664
                                            <th>Contents</th>
665
                                            <th>[% t('Contents') %]</th>
665
                                            <th>Type</th>
666
                                            <th>[% t('Type') %]</th>
666
                                            <th>&nbsp;</th>
667
                                            <th> </th>
667
                                        </tr>
668
                                        </tr>
668
                                    </thead>
669
                                    </thead>
669
                                    <tbody>
670
                                    <tbody>
670
                                        [% FOREACH s IN shelves %]
671
                                        [% FOREACH s IN shelves %]
671
                                            [% SET contents = s.get_contents %]
672
                                            [% SET contents = s.get_contents %]
672
                                            <tr>
673
                                            <tr>
673
                                                <td><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% s.shelfnumber %]">[% s.shelfname |html %]</a></td>
674
                                                <td><a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname |html %]</a></td>
674
                                                <td>[% IF contents.count %][% contents.count %] [% IF contents.count == 1 %]item[% ELSE %]items[% END %][% ELSE %]Empty[% END %]</td>
675
                                                <td>[% IF contents.count %][% contents.count %] [% IF contents.count == 1 %][% t('item') %][% ELSE %][% t('items') %][% END %][% ELSE %][% t('Empty') %][% END %]</td>
675
                                                <td>
676
                                                <td>
676
                                                    [% IF s.is_private %]
677
                                                    [% IF s.is_private %]
677
                                                        [% IF s.is_shared %]Shared[% ELSE %]Private[% END %]
678
                                                        [% IF s.is_shared %][% t('Shared') %][% ELSE %][% t('Private') %][% END %]
678
                                                    [% ELSE %]
679
                                                    [% ELSE %]
679
                                                        Public
680
                                                        [% t('Public') %]
680
                                                    [% END %]
681
                                                    [% END %]
681
                                                </td>
682
                                                </td>
682
                                                <td>
683
                                                <td>
Lines 693-715 Link Here
693
                                                        <form action="/cgi-bin/koha/opac-shelves.pl" method="post" class="form-inline">
694
                                                        <form action="/cgi-bin/koha/opac-shelves.pl" method="post" class="form-inline">
694
                                                            <input type="hidden" name="op" value="delete" />
695
                                                            <input type="hidden" name="op" value="delete" />
695
                                                            <input type="hidden" name="referer" value="list" />
696
                                                            <input type="hidden" name="referer" value="list" />
696
                                                            <input type='hidden' name='category' value='[% category | html %]' />
697
                                                            <input type="hidden" name="category" value="[% category | html %]" />
697
                                                            <input type="hidden" name="shelfnumber" value="[% s.shelfnumber | html %]" />
698
                                                            <input type="hidden" name="shelfnumber" value="[% s.shelfnumber | html %]" />
698
                                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" />
699
                                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" />
699
                                                        </form>
700
                                                        </form>
700
                                                    [% END %]
701
                                                    [% END %]
701
                                                    [% IF s.is_private AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %]
702
                                                    [% IF s.is_private AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %]
702
                                                        <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber |html %]" class="sharelist">Share</a>
703
                                                        <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber |html %]" class="sharelist">[% t('Share') %]</a>
703
                                                    [% END %]
704
                                                    [% END %]
704
                                                    [% IF s.is_shared_with( loggedinusernumber ) %]
705
                                                    [% IF s.is_shared_with( loggedinusernumber ) %]
705
                                                        <form action="opac-shelves.pl" method="post" class="form-inline">
706
                                                        <form action="opac-shelves.pl" method="post" class="form-inline">
706
                                                            <input type="hidden" name="op" value="remove_share" />
707
                                                            <input type="hidden" name="op" value="remove_share" />
707
                                                            <input type="hidden" name="referer" value="list" />
708
                                                            <input type="hidden" name="referer" value="list" />
708
                                                            <input type='hidden' name='category' value='[% category | html %]' />
709
                                                            <input type="hidden" name="category" value="[% category | html %]" />
709
                                                            <input type="hidden" name="shelfnumber" value="[% s.shelfnumber | html %]" />
710
                                                            <input type="hidden" name="shelfnumber" value="[% s.shelfnumber | html %]" />
710
                                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" />
711
                                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" />
711
                                                        </form>
712
                                                        </form>
712
                                                    [% END %]&nbsp;
713
                                                    [% END %] 
713
                                                </td>
714
                                                </td>
714
                                            </tr>
715
                                            </tr>
715
                                        [% END %]
716
                                        [% END %]
Lines 718-733 Link Here
718
                                <div class="pages">[% pagination_bar %]</div>
719
                                <div class="pages">[% pagination_bar %]</div>
719
                            [% ELSE %]
720
                            [% ELSE %]
720
                                [% IF category == PUBLIC %]
721
                                [% IF category == PUBLIC %]
721
                                    <p>No public lists.</p>
722
                                    <p>[% t('No public lists.') %]</p>
722
                                [% ELSIF loggedinusernumber %]
723
                                [% ELSIF loggedinusernumber %]
723
                                    <p>No private lists.</p>
724
                                    <p>[% t('No private lists.') %]</p>
724
                                [% END %]
725
                                [% END %]
725
                            [% END %]
726
                            [% END %]
726
                            </div> [%# privateshelves or publicshelves %]
727
                            </div> [%# privateshelves or publicshelves %]
727
                            </div> [%# <div class="toptabs ui-tabs ui-widget ui-widget-content ui-corner-all"> %]
728
                            </div> [%# <div class="toptabs ui-tabs ui-widget ui-widget-content ui-corner-all"> %]
728
                        [% ELSIF NOT loggedinusernumber %]
729
                        [% ELSIF NOT loggedinusernumber %]
729
                            [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
730
                            [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
730
                                <div class="alert alert-info"><a href="/cgi-bin/koha/opac-user.pl">Log in</a> to create new lists.</div>
731
                                <div class="alert alert-info"><a href="/cgi-bin/koha/opac-user.pl">[% t('Log in') %]</a> [% t('to create new lists.') %]</div>
731
                            [% END %]
732
                            [% END %]
732
                        [% END  # IF loggedinusername %]
733
                        [% END  # IF loggedinusername %]
733
                </div> <!-- / #usershelves -->
734
                </div> <!-- / #usershelves -->
Lines 740-746 Link Here
740
    <div class="modal-content">
741
    <div class="modal-content">
741
        <div class="modal-body">
742
        <div class="modal-body">
742
            <div style="margin:1em;padding:1em;font-size:150%;">
743
            <div style="margin:1em;padding:1em;font-size:150%;">
743
                <img src="[% interface %]/[% theme %]/images/loading.gif" /> Loading
744
                <img src="[% interface %]/[% theme %]/images/loading.gif" /> [% t('Loading') %]
744
            </div>
745
            </div>
745
        </div>
746
        </div>
746
    </div>
747
    </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showmarc.tt (-1 / +2 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>MARC view</title>
3
<title>[% t('MARC view') %]</title>
3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
</head>
5
</head>
5
[% INCLUDE 'bodytag.inc' bodyid='opac-showmarc' %]
6
[% INCLUDE 'bodytag.inc' bodyid='opac-showmarc' %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt (-17 / +18 lines)
Lines 1-36 Link Here
1
[% USE KohaDates # XML declaration should have no white space before it %]<?xml version="1.0" encoding="utf-8"?>
1
[% PROCESS 'i18n.inc' %]
2
[% USE KohaDates # XML declaration should have no white space before it %]<!--?xml version="1.0" encoding="utf-8"?-->
2
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
3
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
3
<channel>
4
<channel>
4
     <title><![CDATA[[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] Catalog Recent Comments]]></title>
5
     <title><![CDATA[[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('Catalog Recent Comments]]&gt;') %]</title>
5
     <link>[% OPACBaseURL %]/cgi-bin/koha/opac-showreviews.pl&amp;format=rss2</link>
6
     <link>[% OPACBaseURL %][% t('/cgi-bin/koha/opac-showreviews.pl&amp;format=rss2') %]</link>
6
     <description><![CDATA[ The most recent comments from [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] Catalog. Comments can be made by logged in users and are moderated by library staff.]]></description>
7
     <description><!--[CDATA[ The most recent comments from [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] Catalog. Comments can be made by logged in users and are moderated by library staff.]]--></description>
7
     <atom:link href="[% OPACBaseURL %]/cgi-bin/koha/opac-showreviews.pl&amp;format=rss2" rel="self" type="application/rss+xml" />
8
     <atom:link href="[% OPACBaseURL %]/cgi-bin/koha/opac-showreviews.pl&format=rss2" rel="self" type="application/rss+xml" />
8
     <lastBuildDate>[% timestamp %]</lastBuildDate>
9
     <lastbuilddate>[% timestamp %]</lastbuilddate>
9
	 [% FOREACH review IN reviews %]
10
	 [% FOREACH review IN reviews %]
10
     <item>
11
     <item>
11
       <title>New comment on [% review.title |html %] [% FOREACH subtitl IN review.subtitle %], [% subtitl.subfield |html %][% END %]</title>
12
       <title>[% t('New comment on') %] [% review.title |html %] [% FOREACH subtitl IN review.subtitle %], [% subtitl.subfield |html %][% END %]</title>
12
       <link>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber %]#comments</link>
13
       <link>[% OPACBaseURL %][% t('/cgi-bin/koha/opac-detail.pl?biblionumber=') %][% review.biblionumber %][% t('#comments') %]</link>
13
       <description><![CDATA[
14
       <description><!--[CDATA[
14
[% IF ( OPACAmazonCoverImages ) %][% IF ( review.normalized_isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %]
15
[% IF ( OPACAmazonCoverImages ) %][% IF ( review.normalized_isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" /-->[% END %][% END %]
15
16
16
[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( review.content_identifier_exists ) %][% IF ( using_https ) %]<img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% review.normalized_upc %]&amp;oclc=[% review.normalized_oclc %]" alt="" />
17
[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( review.content_identifier_exists ) %][% IF ( using_https ) %]<img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% review.normalized_upc %]&oclc=[% review.normalized_oclc %]" alt="" />
17
[% ELSE %]
18
[% ELSE %]
18
<img src="http://www.syndetics.com/index.aspx?isbn=[% review.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% review.normalized_upc %]&amp;oclc=[% review.normalized_oclc %]" alt="" />
19
<img src="http://www.syndetics.com/index.aspx?isbn=[% review.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% review.normalized_upc %]&oclc=[% review.normalized_oclc %]" alt="" />
19
[% END %][% END %][% END %][% END %]
20
[% END %][% END %][% END %][% END %]
20
21
21
[% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
22
[% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
22
[% IF ( BakerTaylorEnabled && bt_id ) %]<a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>[% END %]
23
[% IF ( BakerTaylorEnabled && bt_id ) %]<a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="[% t('See Baker &amp; Taylor') %]" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>[% END %]
23
	   [% IF ( review.author ) %]<p>By [% review.author |html %].</p> [% END %]
24
	   [% IF ( review.author ) %]<p>[% t('By') %] [% review.author |html %].</p> [% END %]
24
	   <p>[% IF ( review.place ) %][% review.place |html %] [% END %][% IF ( review.publishercode ) %][% review.publishercode |html %][% END %][% IF ( review.publicationyear ) %] [% review.publicationyear |html %]
25
	   <p>[% IF ( review.place ) %][% review.place |html %] [% END %][% IF ( review.publishercode ) %][% review.publishercode |html %][% END %][% IF ( review.publicationyear ) %] [% review.publicationyear |html %]
25
                    [% ELSE %][% IF ( review.copyrightdate ) %] [% review.copyrightdate |html %][% END %][% END %]
26
                    [% ELSE %][% IF ( review.copyrightdate ) %] [% review.copyrightdate |html %][% END %][% END %]
26
                        [% IF ( review.pages ) %]. [% review.pages |html %][% END %]
27
                        [% IF ( review.pages ) %]. [% review.pages |html %][% END %]
27
                        [% IF ( review.notes ) %], [% review.notes |html %][% END %]
28
                        [% IF ( review.notes ) %], [% review.notes |html %][% END %]
28
                        [% IF ( review.size ) %] [% review.size |html %]. [% END %]
29
                        [% IF ( review.size ) %] [% review.size |html %]. [% END %]
29
                        [% IF ( review.isbn ) %] [% review.isbn |html %][% END %] </p>
30
                        [% IF ( review.isbn ) %] [% review.isbn |html %][% END %] </p>
30
<p>[% IF ( review.borrowernumber && ShowReviewer ) %][% review.firstname %] [% review.surname %] commented[% ELSE %]Comment[% END %] on [% review.datereviewed | $KohaDates %]: [% review.review |html %]</p>
31
<p>[% IF ( review.borrowernumber && ShowReviewer ) %][% review.firstname %] [% review.surname %] [% t('commented') %][% ELSE %][% t('Comment') %][% END %] [% t('on') %] [% review.datereviewed | $KohaDates %]: [% review.review |html %]</p>
31
						]]></description>
32
						]]></description>
32
       <guid>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber %]&amp;reviewid=[% review.reviewid %]</guid>
33
       <guid>[% OPACBaseURL %][% t('/cgi-bin/koha/opac-detail.pl?biblionumber=') %][% review.biblionumber %][% t('&amp;reviewid=') %][% review.reviewid %]</guid>
33
       <pubDate>[% review.timestamp %]</pubDate>
34
       <pubdate>[% review.timestamp %]</pubdate>
34
     </item>
35
     </item>
35
	 [% END %]
36
	 [% END %]
36
   </channel>
37
   </channel>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt (-26 / +27 lines)
Lines 1-19 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
4
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Recent comments</title>
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Recent comments') %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% BLOCK cssinclude %][% END %]
8
[% BLOCK cssinclude %][% END %]
8
<link rel="alternate" type="application/rss+xml" title="[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog recent comments" href="[% OPACBaseURL %]/cgi-bin/koha/opac-showreviews.pl?format=rss" />
9
<link rel="alternate" type="application/rss+xml" title="[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog recent comments') %]" href="[% OPACBaseURL %]/cgi-bin/koha/opac-showreviews.pl?format=rss" />
9
</head>
10
</head>
10
[% INCLUDE 'bodytag.inc' bodyid='opac-showreviews' bodyclass='scrollto' %]
11
[% INCLUDE 'bodytag.inc' bodyid='opac-showreviews' bodyclass='scrollto' %]
11
[% INCLUDE 'masthead.inc' %]
12
[% INCLUDE 'masthead.inc' %]
12
13
13
    <div class="main">
14
    <div class="main">
14
        <ul class="breadcrumb">
15
        <ul class="breadcrumb">
15
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
16
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
16
            <li><a href="#">Recent comments</a></li>
17
            <li><a href="#">[% t('Recent comments') %]</a></li>
17
        </ul>
18
        </ul>
18
19
19
        <div class="container-fluid">
20
        <div class="container-fluid">
Lines 29-59 Link Here
29
                    <div class="span12">
30
                    <div class="span12">
30
                [% END %]
31
                [% END %]
31
                   <div id="showreviews" class="searchresults maincontent">
32
                   <div id="showreviews" class="searchresults maincontent">
32
                        <h3>Recent comments <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-showreviews.pl?format=rss" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to recent comments" title="Subscribe to recent comments" border="0" class="rsssearchicon"/></a></h3>
33
                        <h3>[% t('Recent comments') %] <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-showreviews.pl?format=rss" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="[% t('Subscribe to recent comments') %]" title="[% t('Subscribe to recent comments') %]" border="0" class="rsssearchicon" /></a></h3>
33
                        <table class="table table-striped">
34
                        <table class="table table-striped">
34
                            [% FOREACH review IN reviews %]
35
                            [% FOREACH review IN reviews %]
35
                                <tr>
36
                                <tr>
36
                                    <td>
37
                                    <td>
37
                                        <p>
38
                                        <p>
38
                                            [% IF ( BiblioDefaultViewmarc ) %]
39
                                            [% IF ( BiblioDefaultViewmarc ) %]
39
                                                <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
40
                                                <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="[% t('View details for this title') %]">
40
                                            [% ELSE %]
41
                                            [% ELSE %]
41
                                                [% IF ( BiblioDefaultViewisbd ) %]
42
                                                [% IF ( BiblioDefaultViewisbd ) %]
42
                                                    <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
43
                                                    <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="[% t('View details for this title') %]">
43
                                                [% ELSE %]
44
                                                [% ELSE %]
44
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
45
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="[% t('View details for this title') %]">
45
                                                [% END %]
46
                                                [% END %]
46
                                            [% END %]
47
                                            [% END %]
47
                                            [% IF ( review.title ) %][% review.title %][% ELSE %]No title[% END %]
48
                                            [% IF ( review.title ) %][% review.title %][% ELSE %][% t('No title') %][% END %]
48
                                            [% FOREACH subtitl IN review.subtitle %] [% subtitl.subfield |html %][% END %]
49
                                            [% FOREACH subtitl IN review.subtitle %] [% subtitl.subfield |html %][% END %]
49
                                            </a>
50
                                            </a>
50
                                            [% IF ( review.author ) %]
51
                                            [% IF ( review.author ) %]
51
                                                by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% review.author |url %]" title="Search for works by this author" class="author">[% review.author %]</a>
52
                                                [% t('by') %] <a href="/cgi-bin/koha/opac-search.pl?q=au:[% review.author |url %]" title="[% t('Search for works by this author') %]" class="author">[% review.author %]</a>
52
                                            [% END %]
53
                                            [% END %]
53
                                        </p>
54
                                        </p>
54
                                        <p>
55
                                        <p>
55
                                            <span class="results_summary">
56
                                            <span class="results_summary">
56
                                                <span class="label">Publication:</span>
57
                                                <span class="label">[% t('Publication:') %]</span>
57
                                                [% IF ( review.place ) %][% review.place %] [% END %]
58
                                                [% IF ( review.place ) %][% review.place %] [% END %]
58
                                                [% IF ( review.publishercode ) %][% review.publishercode %][% END %]
59
                                                [% IF ( review.publishercode ) %][% review.publishercode %][% END %]
59
                                                [% IF ( review.publicationyear ) %]
60
                                                [% IF ( review.publicationyear ) %]
Lines 74-80 Link Here
74
                                            [% END %]
75
                                            [% END %]
75
                                            [% IF ( review.copyrightdate ) %]
76
                                            [% IF ( review.copyrightdate ) %]
76
                                                <span class="results_summary">
77
                                                <span class="results_summary">
77
                                                    <span class="label">Date:</span>
78
                                                    <span class="label">[% t('Date:') %]</span>
78
                                                    [% review.copyrightdate %]</span>
79
                                                    [% review.copyrightdate %]</span>
79
                                            [% END %]
80
                                            [% END %]
80
                                        </p>
81
                                        </p>
Lines 88-97 Link Here
88
                                            [% END %]
89
                                            [% END %]
89
                                        <span style="font-size:87%;font-color:#CCC;">
90
                                        <span style="font-size:87%;font-color:#CCC;">
90
                                        [% IF review.your_comment %]
91
                                        [% IF review.your_comment %]
91
                                            Added [% review.datereviewed | $KohaDates %] by you
92
                                            [% t('Added') %] [% review.datereviewed | $KohaDates %] [% t('by you') %]
92
                                        [% ELSE %]
93
                                        [% ELSE %]
93
                                        [% IF ( review.borrowernumber && ShowReviewer != "none" ) %]
94
                                        [% IF ( review.borrowernumber && ShowReviewer != "none" ) %]
94
                                            Added [% review.datereviewed | $KohaDates %] by
95
                                            [% t('Added') %] [% review.datereviewed | $KohaDates %] [% t('by') %]
95
                                            [% SWITCH ShowReviewer %]
96
                                            [% SWITCH ShowReviewer %]
96
                                            [% CASE 'full' %]
97
                                            [% CASE 'full' %]
97
                                                [% review.borrtitle %] [% review.firstname %] [% review.surname %]
98
                                                [% review.borrtitle %] [% review.firstname %] [% review.surname %]
Lines 108-119 Link Here
108
                                    </td>
109
                                    </td>
109
                                    <td>
110
                                    <td>
110
                                        [% IF ( review.BiblioDefaultViewmarc ) %]
111
                                        [% IF ( review.BiblioDefaultViewmarc ) %]
111
                                            <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
112
                                            <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="[% t('View details for this title') %]">
112
                                        [% ELSE %]
113
                                        [% ELSE %]
113
                                            [% IF ( review.BiblioDefaultViewisbd ) %]
114
                                            [% IF ( review.BiblioDefaultViewisbd ) %]
114
                                                <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
115
                                                <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="[% t('View details for this title') %]">
115
                                            [% ELSE %]
116
                                            [% ELSE %]
116
                                                <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
117
                                                <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="[% t('View details for this title') %]">
117
                                            [% END %]
118
                                            [% END %]
118
                                        [% END %]
119
                                        [% END %]
119
120
Lines 121-135 Link Here
121
                                            [% IF ( review.normalized_isbn ) %]
122
                                            [% IF ( review.normalized_isbn ) %]
122
                                                <img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />
123
                                                <img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />
123
                                            [% ELSE %]
124
                                            [% ELSE %]
124
                                                <span class="no-image">No cover image available</span>
125
                                                <span class="no-image">[% t('No cover image available') %]</span>
125
                                            [% END %]
126
                                            [% END %]
126
                                        [% END %]
127
                                        [% END %]
127
128
128
                                        [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
129
                                        [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
129
                                            [% IF ( using_https ) %]
130
                                            [% IF ( using_https ) %]
130
                                                <img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% review.normalized_upc %]&amp;oclc=[% review.normalized_oclc %]" alt="" class="thumbnail" />
131
                                                <img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% review.normalized_upc %]&oclc=[% review.normalized_oclc %]" alt="" class="thumbnail" />
131
                                            [% ELSE %]
132
                                            [% ELSE %]
132
                                                <img src="http://www.syndetics.com/index.aspx?isbn=[% review.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% review.normalized_upc %]&amp;oclc=[% review.normalized_oclc %]" alt="" class="thumbnail" />
133
                                                <img src="http://www.syndetics.com/index.aspx?isbn=[% review.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% review.normalized_upc %]&oclc=[% review.normalized_oclc %]" alt="" class="thumbnail" />
133
                                            [% END %]
134
                                            [% END %]
134
                                        [% END %]
135
                                        [% END %]
135
136
Lines 137-152 Link Here
137
                                            [% IF ( review.normalized_isbn ) %]
138
                                            [% IF ( review.normalized_isbn ) %]
138
                                                <div style="block" title="[% review.biblionumber |url %]" class="[% review.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
139
                                                <div style="block" title="[% review.biblionumber |url %]" class="[% review.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
139
                                            [% ELSE %]
140
                                            [% ELSE %]
140
                                                <span class="no-image">No cover image available</span>
141
                                                <span class="no-image">[% t('No cover image available') %]</span>
141
                                            [% END %]
142
                                            [% END %]
142
                                        [% END %]
143
                                        [% END %]
143
                                            </a>
144
                                            </a>
144
                                        [% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
145
                                        [% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
145
                                        [% IF ( BakerTaylorEnabled ) %]
146
                                        [% IF ( BakerTaylorEnabled ) %]
146
                                            [% IF ( bt_id ) %]
147
                                            [% IF ( bt_id ) %]
147
                                                <a href="https://[% review.BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% review.BakerTaylorImageURL |html %][% bt_id %]" /></a>
148
                                                <a href="https://[% review.BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="[% t('See Baker &amp; Taylor') %]" src="[% review.BakerTaylorImageURL |html %][% bt_id %]" /></a>
148
                                            [% ELSE %]
149
                                            [% ELSE %]
149
                                                <span class="no-image">No cover image available</span>
150
                                                <span class="no-image">[% t('No cover image available') %]</span>
150
                                            [% END %]
151
                                            [% END %]
151
                                        [% END %]
152
                                        [% END %]
152
                                    </td>
153
                                    </td>
Lines 158-167 Link Here
158
                            <div class="pages">
159
                            <div class="pages">
159
                                <!-- Row of numbers corresponding to showreviews result pages -->
160
                                <!-- Row of numbers corresponding to showreviews result pages -->
160
                                [% IF ( previous_page_offset ) %]
161
                                [% IF ( previous_page_offset ) %]
161
                                    <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% previous_page_offset %]&count=[% results_per_page %]">&lt;&lt; Previous</a>
162
                                    <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% previous_page_offset %]&count=[% results_per_page %]">[% t('&lt;&lt; Previous') %]</a>
162
                                [% ELSE %]
163
                                [% ELSE %]
163
                                    [% IF ( previous_page_first ) %]
164
                                    [% IF ( previous_page_first ) %]
164
                                        <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=0&count=[% results_per_page %]">&lt;&lt; Previous</a>
165
                                        <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=0&count=[% results_per_page %]">[% t('&lt;&lt; Previous') %]</a>
165
                                    [% END %]
166
                                    [% END %]
166
                                [% END %]
167
                                [% END %]
167
                                [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
168
                                [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
Lines 172-178 Link Here
172
                                    [% END %]
173
                                    [% END %]
173
                                [% END %]
174
                                [% END %]
174
                                [% IF ( next_page_offset ) %]
175
                                [% IF ( next_page_offset ) %]
175
                                    <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% next_page_offset %]&count=[% results_per_page %]">Next &gt;&gt;</a>
176
                                    <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% next_page_offset %]&count=[% results_per_page %]">[% t('Next &gt;&gt;') %]</a>
176
                                [% END %]
177
                                [% END %]
177
                            </div>
178
                            </div>
178
                        [% END # / IF PAGE_NUMBERS %]
179
                        [% END # / IF PAGE_NUMBERS %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (-65 / +66 lines)
Lines 1-12 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE Branches %]
4
[% USE Branches %]
4
[% USE AuthorisedValues %]
5
[% USE AuthorisedValues %]
5
[% USE KohaDates %]
6
[% USE KohaDates %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;
8
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %]
8
[% IF ( op_add ) %]Enter a new purchase suggestion[% END %]
9
[% IF ( op_add ) %][% t('Enter a new purchase suggestion') %][% END %]
9
[% IF ( op_else ) %]Purchase Suggestions[% END %]</title>
10
[% IF ( op_else ) %][% t('Purchase Suggestions') %][% END %]</title>
10
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
11
[% BLOCK cssinclude %][% END %]
12
[% BLOCK cssinclude %][% END %]
12
</head>
13
</head>
Lines 15-23 Link Here
15
16
16
    <div class="main">
17
    <div class="main">
17
        <ul class="breadcrumb">
18
        <ul class="breadcrumb">
18
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
19
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
19
            <li><a href="/cgi-bin/koha/opac-user.pl">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</a> <span class="divider">&rsaquo;</span></li>
20
            <li><a href="/cgi-bin/koha/opac-user.pl">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</a> <span class="divider">›</span></li>
20
            <li><a href="#">Your purchase suggestions</a></li>
21
            <li><a href="#">[% t('Your purchase suggestions') %]</a></li>
21
        </ul>
22
        </ul>
22
23
23
        <div class="container-fluid">
24
        <div class="container-fluid">
Lines 31-64 Link Here
31
                    <div id="usersuggestions" class="maincontent">
32
                    <div id="usersuggestions" class="maincontent">
32
                        [% IF ( op_add ) %]
33
                        [% IF ( op_add ) %]
33
                            [% IF ( Koha.Preference('MaxOpenSuggestions') != '' && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %]
34
                            [% IF ( Koha.Preference('MaxOpenSuggestions') != '' && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %]
34
                                    <h1 class="TooManySuggestions">You cannot place any more suggestions</h1>
35
                                    <h1 class="TooManySuggestions">[% t('You cannot place any more suggestions') %]</h1>
35
                                    <h2 class="TooManySuggestionsText">You have reached your limit of suggestions you can place at this time ([% Koha.Preference('MaxOpenSuggestions') %]). Once the library has processed those suggestions you will be able to place more.</h2>
36
                                    <h2 class="TooManySuggestionsText">[% t('You have reached your limit of suggestions you can place at this time (') %][% Koha.Preference('MaxOpenSuggestions') %][% t('). Once the library has processed those suggestions you will be able to place more.') %]</h2>
36
                            [% ELSE %]
37
                            [% ELSE %]
37
                            <h1>Enter a new purchase suggestion</h1>
38
                            <h1>[% t('Enter a new purchase suggestion') %]</h1>
38
39
39
                            <p>Please fill out this form to make a purchase suggestion. You will receive an email when the library processes your suggestion.</p>
40
                            <p>[% t('Please fill out this form to make a purchase suggestion. You will receive an email when the library processes your suggestion.') %]</p>
40
                            <p>Only certain fields (marked in red) are required, but the more information you enter the easier it will be for the librarians to find the title you're requesting. The "Notes" field can be used to provide any additional information.</p>
41
                            <p>[% t('Only certain fields (marked in red) are required, but the more information you enter the easier it will be for the librarians to find the title you\'re requesting. The &#34;Notes&#34; field can be used to provide any additional information.') %]</p>
41
42
42
                            <form action="/cgi-bin/koha/opac-suggestions.pl" method="post" id="add_suggestion_form">
43
                            <form action="/cgi-bin/koha/opac-suggestions.pl" method="post" id="add_suggestion_form">
43
                                <fieldset class="rows">
44
                                <fieldset class="rows">
44
                                    <ol>
45
                                    <ol>
45
                                        <li><label for="title">Title:</label><input type="text" id="title" name="title" class="span6" maxlength="255" /></li>
46
                                        <li><label for="title">[% t('Title:') %]</label><input type="text" id="title" name="title" class="span6" maxlength="255" /></li>
46
                                        <li><label for="author">Author:</label><input type="text" id="author" name="author" class="span6" maxlength="80" /></li>
47
                                        <li><label for="author">[% t('Author:') %]</label><input type="text" id="author" name="author" class="span6" maxlength="80" /></li>
47
                                        <li>
48
                                        <li>
48
                                            <div title="Copyright or publication year, for example: 2016">
49
                                            <div title="[% t('Copyright or publication year, for example: 2016') %]">
49
                                            <label for="copyrightdate">Copyright date:</label><input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="4" maxlength="4" />
50
                                            <label for="copyrightdate">[% t('Copyright date:') %]</label><input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="4" maxlength="4" />
50
                                            </div>
51
                                            </div>
51
                                        </li>
52
                                        </li>
52
                                        <li><label for="isbn">Standard number (ISBN, ISSN or other):</label><input type="text" id="isbn" name="isbn"  maxlength="80" /></li>
53
                                        <li><label for="isbn">[% t('Standard number (ISBN, ISSN or other):') %]</label><input type="text" id="isbn" name="isbn" maxlength="80" /></li>
53
                                        <li><label for="publishercode">Publisher:</label><input type="text" id="publishercode" name="publishercode" class="span6" maxlength="80" /></li>
54
                                        <li><label for="publishercode">[% t('Publisher:') %]</label><input type="text" id="publishercode" name="publishercode" class="span6" maxlength="80" /></li>
54
                                        <li><label for="collectiontitle">Collection title:</label><input type="text" id="collectiontitle" name="collectiontitle" class="span6" maxlength="80" /></li>
55
                                        <li><label for="collectiontitle">[% t('Collection title:') %]</label><input type="text" id="collectiontitle" name="collectiontitle" class="span6" maxlength="80" /></li>
55
                                        <li><label for="place">Publication place:</label><input type="text" id="place" name="place"  maxlength="80" /></li>
56
                                        <li><label for="place">[% t('Publication place:') %]</label><input type="text" id="place" name="place" maxlength="80" /></li>
56
                                        <li id="opac-suggestion-quantity"><label for="quantity">Quantity:</label><input type="text" id="quantity" name="quantity"  maxlength="4" size="4" /></li>
57
                                        <li id="opac-suggestion-quantity"><label for="quantity">[% t('Quantity:') %]</label><input type="text" id="quantity" name="quantity" maxlength="4" size="4" /></li>
57
                                        <li><label for="itemtype">Item type:</label>
58
                                        <li><label for="itemtype">[% t('Item type:') %]</label>
58
                                            [% PROCESS 'av-build-dropbox.inc' name="itemtype", category="SUGGEST_FORMAT", size = 20 %]
59
                                            [% PROCESS 'av-build-dropbox.inc' name="itemtype", category="SUGGEST_FORMAT", size = 20 %]
59
                                        </li>
60
                                        </li>
60
                                        [% IF branchcode %]
61
                                        [% IF branchcode %]
61
                                            <li><label for="branch">Library:</label>
62
                                            <li><label for="branch">[% t('Library:') %]</label>
62
                                                <select name="branchcode" id="branch">
63
                                                <select name="branchcode" id="branch">
63
                                                    [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode ) %]
64
                                                    [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode ) %]
64
                                                </select>
65
                                                </select>
Lines 66-74 Link Here
66
                                        [% END %]
67
                                        [% END %]
67
                                        [% IF ( patron_reason_loop ) %]
68
                                        [% IF ( patron_reason_loop ) %]
68
                                            <li>
69
                                            <li>
69
                                                <label for="patronreason">Reason for suggestion: </label>
70
                                                <label for="patronreason">[% t('Reason for suggestion:') %] </label>
70
                                                <select name="patronreason" id="patronreason">
71
                                                <select name="patronreason" id="patronreason">
71
                                                    <option value="">-- Choose --</option>
72
                                                    <option value="">[% t('-- Choose --') %]</option>
72
                                                    [% FOREACH patron_reason_loo IN patron_reason_loop %]
73
                                                    [% FOREACH patron_reason_loo IN patron_reason_loop %]
73
                                                        <option value="[% patron_reason_loo.authorised_value %]">[% patron_reason_loo.lib %]</option>
74
                                                        <option value="[% patron_reason_loo.authorised_value %]">[% patron_reason_loo.lib %]</option>
74
                                                    [% END %]
75
                                                    [% END %]
Lines 76-88 Link Here
76
                                            </li>
77
                                            </li>
77
                                        [% END %]
78
                                        [% END %]
78
                                        <li>
79
                                        <li>
79
                                            <label for="note">Notes:</label>
80
                                            <label for="note">[% t('Notes:') %]</label>
80
                                            <textarea name="note" id="note" rows="5" cols="40"></textarea>
81
                                            <textarea name="note" id="note" rows="5" cols="40"></textarea>
81
                                        </li>
82
                                        </li>
82
83
83
                                        <!--  Add a hidden 'negcap' field -->
84
                                        <!--  Add a hidden 'negcap' field -->
84
                                        <li id="negcap" style="position: absolute; left: -2000px;">
85
                                        <li id="negcap" style="position: absolute; left: -2000px;">
85
                                            negcap <input type="text" name="negcap"/>
86
                                            [% t('negcap') %] <input type="text" name="negcap" />
86
                                        </li>
87
                                        </li>
87
88
88
                                    </ol>
89
                                    </ol>
Lines 90-96 Link Here
90
                                <fieldset class="action">
91
                                <fieldset class="action">
91
                                    <input type="hidden" name="suggested_by_anyone" value="[% suggested_by_anyone %]" />
92
                                    <input type="hidden" name="suggested_by_anyone" value="[% suggested_by_anyone %]" />
92
                                    <input type="hidden" name="op" value="add_confirm" />
93
                                    <input type="hidden" name="op" value="add_confirm" />
93
                                    <input type="submit" class="btn" value="Submit your suggestion" /> <a class="action" href="/cgi-bin/koha/opac-suggestions.pl">Cancel</a>
94
                                    <input type="submit" class="btn" value="Submit your suggestion" /> <a class="action" href="/cgi-bin/koha/opac-suggestions.pl">[% t('Cancel') %]</a>
94
                                </fieldset>
95
                                </fieldset>
95
                            </form>
96
                            </form>
96
                            [% END %]
97
                            [% END %]
Lines 99-110 Link Here
99
                        [% IF ( op_else ) %]
100
                        [% IF ( op_else ) %]
100
                            <h1>
101
                            <h1>
101
                                [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
102
                                [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
102
                                    Purchase suggestions
103
                                    [% t('Purchase suggestions') %]
103
                                [% ELSE %]
104
                                [% ELSE %]
104
                                    [% IF ( loggedinusername ) %]
105
                                    [% IF ( loggedinusername ) %]
105
                                        Your purchase suggestions
106
                                        [% t('Your purchase suggestions') %]
106
                                    [% ELSE %]
107
                                    [% ELSE %]
107
                                        Purchase suggestions
108
                                        [% t('Purchase suggestions') %]
108
                                    [% END %]
109
                                    [% END %]
109
                                [% END %]
110
                                [% END %]
110
                            </h1>
111
                            </h1>
Lines 112-149 Link Here
112
                                <div class="alert alert-[% m.type %]">
113
                                <div class="alert alert-[% m.type %]">
113
                                    [% SWITCH m.code %]
114
                                    [% SWITCH m.code %]
114
                                    [% CASE 'too_many' %]
115
                                    [% CASE 'too_many' %]
115
                                        The suggestion has not been added. You have reached your limit of suggestions you can place at this time ([% Koha.Preference('MaxOpenSuggestions') %]). Once the library has processed those suggestions you will be able to place more.
116
                                        [% t('The suggestion has not been added. You have reached your limit of suggestions you can place at this time (') %][% Koha.Preference('MaxOpenSuggestions') %][% t('). Once the library has processed those suggestions you will be able to place more.') %]
116
                                    [% CASE 'already_exists' %]
117
                                    [% CASE 'already_exists' %]
117
                                        The suggestion has not been added. A suggestion with this title already exists.
118
                                        [% t('The suggestion has not been added. A suggestion with this title already exists.') %]
118
                                    [% CASE 'success_on_inserted' %]
119
                                    [% CASE 'success_on_inserted' %]
119
                                        Your suggestion has been submitted.
120
                                        [% t('Your suggestion has been submitted.') %]
120
                                    [% CASE %]
121
                                    [% CASE %]
121
                                        [% m.code %]
122
                                        [% m.code %]
122
                                    [% END %]
123
                                    [% END %]
123
                                </div>
124
                                </div>
124
                            [% END %]
125
                            [% END %]
125
126
126
                            [% IF ( deleted ) %]<div class="alert alert-info">The selected suggestions have been deleted.</div>[% END %]
127
                            [% IF ( deleted ) %]<div class="alert alert-info">[% t('The selected suggestions have been deleted.') %]</div>[% END %]
127
128
128
                            [% IF ( suggestions_loop ) %]
129
                            [% IF ( suggestions_loop ) %]
129
                                <form action="/cgi-bin/koha/opac-suggestions.pl" class="form-inline" method="get">
130
                                <form action="/cgi-bin/koha/opac-suggestions.pl" class="form-inline" method="get">
130
                                    <fieldset>
131
                                    <fieldset>
131
                                        <label for="title">Search for:</label>
132
                                        <label for="title">[% t('Search for:') %]</label>
132
                                        <input type="text" name="title" id="title" value="[% title |html %]" />
133
                                        <input type="text" name="title" id="title" value="[% title |html %]" />
133
                                        [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
134
                                        [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
134
                                            [% IF loggedinusername %]
135
                                            [% IF loggedinusername %]
135
                                                <label for="suggested_by_anyone">Suggested by:</label>
136
                                                <label for="suggested_by_anyone">[% t('Suggested by:') %]</label>
136
                                                <div class="input-append">
137
                                                <div class="input-append">
137
                                                    <select name="suggested_by_anyone" id="suggested_by_anyone">
138
                                                    <select name="suggested_by_anyone" id="suggested_by_anyone">
138
                                                        [% IF suggested_by_anyone %]
139
                                                        [% IF suggested_by_anyone %]
139
                                                            <option value="0">Me</option>
140
                                                            <option value="0">[% t('Me') %]</option>
140
                                                            <option value="1" selected="selected">Anyone</option>
141
                                                            <option value="1" selected="selected">[% t('Anyone') %]</option>
141
                                                        [% ELSE %]
142
                                                        [% ELSE %]
142
                                                            <option value="0" selected="selected">Me</option>
143
                                                            <option value="0" selected="selected">[% t('Me') %]</option>
143
                                                            <option value="1">Anyone</option>
144
                                                            <option value="1">[% t('Anyone') %]</option>
144
                                                        [% END %]
145
                                                        [% END %]
145
                                                    </select>
146
                                                    </select>
146
                                                    <button type="submit" class="btn">Go</button>
147
                                                    <button type="submit" class="btn">[% t('Go') %]</button>
147
                                                </div>
148
                                                </div>
148
                                            [% END %]
149
                                            [% END %]
149
                                        [% END %]
150
                                        [% END %]
Lines 154-162 Link Here
154
                                    [% IF ( loggedinusername || ( Koha.Preference( 'AnonSuggestions' ) == 1 ) ) %]
155
                                    [% IF ( loggedinusername || ( Koha.Preference( 'AnonSuggestions' ) == 1 ) ) %]
155
                                        <div id="toolbar" class="toolbar clearfix">
156
                                        <div id="toolbar" class="toolbar clearfix">
156
                                        [% IF ( Koha.Preference('MaxOpenSuggestions') != '' && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %]
157
                                        [% IF ( Koha.Preference('MaxOpenSuggestions') != '' && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %]
157
                                                <p class="TooManySuggestionsText">You have reached your limit of suggestions you can place at this time ([% Koha.Preference('MaxOpenSuggestions') %]).</br>Once the library has processed those suggestions you will be able to place more.</p>
158
                                                <p class="TooManySuggestionsText">[% t('You have reached your limit of suggestions you can place at this time (') %][% Koha.Preference('MaxOpenSuggestions') %]).</br>[% t('Once the library has processed those suggestions you will be able to place more.') %]</p>
158
                                        [% ELSE %]
159
                                        [% ELSE %]
159
                                                <a class="new" href="/cgi-bin/koha/opac-suggestions.pl?op=add">New purchase suggestion</a>
160
                                                <a class="new" href="/cgi-bin/koha/opac-suggestions.pl?op=add">[% t('New purchase suggestion') %]</a>
160
                                        [% END %]
161
                                        [% END %]
161
                                        </div>
162
                                        </div>
162
                                    [% END %]
163
                                    [% END %]
Lines 164-170 Link Here
164
                                    [% IF ( loggedinusername ) %]
165
                                    [% IF ( loggedinusername ) %]
165
                                        <div id="selections-toolbar" class="toolbar">
166
                                        <div id="selections-toolbar" class="toolbar">
166
                                              <span class="checkall"></span> <span class="clearall"></span> <span class="sep">|</span>
167
                                              <span class="checkall"></span> <span class="clearall"></span> <span class="sep">|</span>
167
                                              <span class="links"><span id="selections">Select suggestions to: </span>
168
                                              <span class="links"><span id="selections">[% t('Select suggestions to:') %] </span>
168
                                              <span id="removeitems"></span>
169
                                              <span id="removeitems"></span>
169
                                        </div>
170
                                        </div>
170
                                    [% END %]
171
                                    [% END %]
Lines 172-184 Link Here
172
                                    <table id="suggestt" class="checkboxed table table-bordered table-striped">
173
                                    <table id="suggestt" class="checkboxed table table-bordered table-striped">
173
                                        <thead>
174
                                        <thead>
174
                                            <tr>
175
                                            <tr>
175
                                                [% IF ( loggedinusername ) %]<th>&nbsp;</th>[% END %]
176
                                                [% IF ( loggedinusername ) %]<th> </th>[% END %]
176
                                                <th>Summary</th>
177
                                                <th>[% t('Summary') %]</th>
177
                                                <th>Suggested on</th>
178
                                                <th>[% t('Suggested on') %]</th>
178
                                                <th>Note</th>
179
                                                <th>[% t('Note') %]</th>
179
                                                [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]<th>Suggested for</th>[% END %]
180
                                                [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]<th>[% t('Suggested for') %]</th>[% END %]
180
                                                [% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]<th>Managed by</th>[% END %]
181
                                                [% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]<th>[% t('Managed by') %]</th>[% END %]
181
                                                <th>Status</th>
182
                                                <th>[% t('Status') %]</th>
182
                                            </tr>
183
                                            </tr>
183
                                        </thead>
184
                                        </thead>
184
                                        <tbody>
185
                                        <tbody>
Lines 206-219 Link Here
206
                                                    </td>
207
                                                    </td>
207
                                                    <td>
208
                                                    <td>
208
                                                        [% IF ( suggestions_loo.note ) %]
209
                                                        [% IF ( suggestions_loo.note ) %]
209
                                                            <span class="tdlabel">Note: </span>
210
                                                            <span class="tdlabel">[% t('Note:') %] </span>
210
                                                            [% suggestions_loo.note |html %]
211
                                                            [% suggestions_loo.note |html %]
211
                                                        [% END %]
212
                                                        [% END %]
212
                                                    </td>
213
                                                    </td>
213
                                                    [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
214
                                                    [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
214
                                                        <td>
215
                                                        <td>
215
                                                            [% IF ( suggestions_loo.branchcodesuggestedby ) %]
216
                                                            [% IF ( suggestions_loo.branchcodesuggestedby ) %]
216
                                                                <span class="tdlabel">Suggested for:</span>
217
                                                                <span class="tdlabel">[% t('Suggested for:') %]</span>
217
                                                                [% suggestions_loo.branchcodesuggestedby %]
218
                                                                [% suggestions_loo.branchcodesuggestedby %]
218
                                                            [% END %]
219
                                                            [% END %]
219
                                                        </td>
220
                                                        </td>
Lines 221-227 Link Here
221
                                                    [% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]
222
                                                    [% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]
222
                                                    <td>
223
                                                    <td>
223
                                                        [% IF ( suggestions_loo.surnamemanagedby ) %]
224
                                                        [% IF ( suggestions_loo.surnamemanagedby ) %]
224
                                                            <span class="tdlabel">Managed by:</span>
225
                                                            <span class="tdlabel">[% t('Managed by:') %]</span>
225
                                                            [% suggestions_loo.surnamemanagedby %]
226
                                                            [% suggestions_loo.surnamemanagedby %]
226
                                                            [% IF ( suggestions_loo.firstnamemanagedby ) %]    , [% suggestions_loo.firstnamemanagedby %]
227
                                                            [% IF ( suggestions_loo.firstnamemanagedby ) %]    , [% suggestions_loo.firstnamemanagedby %]
227
                                                            [% END %]
228
                                                            [% END %]
Lines 229-241 Link Here
229
                                                    </td>
230
                                                    </td>
230
                                                    [% END %]
231
                                                    [% END %]
231
                                                    <td>
232
                                                    <td>
232
                                                        <span class="tdlabel">Status:</span>
233
                                                        <span class="tdlabel">[% t('Status:') %]</span>
233
                                                        [% IF ( suggestions_loo.ASKED ) %]Requested
234
                                                        [% IF ( suggestions_loo.ASKED ) %][% t('Requested') %]
234
                                                        [% ELSIF ( suggestions_loo.CHECKED ) %]Checked by the library
235
                                                        [% ELSIF ( suggestions_loo.CHECKED ) %][% t('Checked by the library') %]
235
                                                        [% ELSIF ( suggestions_loo.ACCEPTED ) %]Accepted by the library
236
                                                        [% ELSIF ( suggestions_loo.ACCEPTED ) %][% t('Accepted by the library') %]
236
                                                        [% ELSIF ( suggestions_loo.ORDERED ) %]Ordered by the library
237
                                                        [% ELSIF ( suggestions_loo.ORDERED ) %][% t('Ordered by the library') %]
237
                                                        [% ELSIF ( suggestions_loo.REJECTED ) %]Suggestion declined
238
                                                        [% ELSIF ( suggestions_loo.REJECTED ) %][% t('Suggestion declined') %]
238
                                                        [% ELSIF ( suggestions_loo.AVAILABLE ) %]Available in the library
239
                                                        [% ELSIF ( suggestions_loo.AVAILABLE ) %][% t('Available in the library') %]
239
                                                        [% ELSE %] [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestions_loo.STATUS, 1 ) %] [% END %]
240
                                                        [% ELSE %] [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestions_loo.STATUS, 1 ) %] [% END %]
240
                                                        [% IF ( suggestions_loo.reason ) %]([% suggestions_loo.reason |html %])[% END %]
241
                                                        [% IF ( suggestions_loo.reason ) %]([% suggestions_loo.reason |html %])[% END %]
241
                                                    </td>
242
                                                    </td>
Lines 252-266 Link Here
252
                                </form>
253
                                </form>
253
                            [% ELSE %]
254
                            [% ELSE %]
254
                                [% UNLESS Koha.Preference( 'OPACViewOthersSuggestions' ) or loggedinusername %]
255
                                [% UNLESS Koha.Preference( 'OPACViewOthersSuggestions' ) or loggedinusername %]
255
                                    <p>You are not authorized to see pending purchase suggestions.</p>
256
                                    <p>[% t('You are not authorized to see pending purchase suggestions.') %]</p>
256
                                [% ELSE %]
257
                                [% ELSE %]
257
                                    <p>There are no pending purchase suggestions.</p>
258
                                    <p>[% t('There are no pending purchase suggestions.') %]</p>
258
                                [% END %]
259
                                [% END %]
259
                                [% IF ( loggedinusername || ( Koha.Preference( 'AnonSuggestions' ) == 1 ) ) %]
260
                                [% IF ( loggedinusername || ( Koha.Preference( 'AnonSuggestions' ) == 1 ) ) %]
260
                                    [% IF ( Koha.Preference('MaxOpenSuggestions') != ''  && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %]
261
                                    [% IF ( Koha.Preference('MaxOpenSuggestions') != ''  && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %]
261
                                        <p class="TooManySuggestionsText">You have reached your limit of suggestions you can place at this time.</br>Once the library has processed those suggestions you will be able to place more.</p>
262
                                        <p class="TooManySuggestionsText">[% t('You have reached your limit of suggestions you can place at this time.') %]</br>[% t('Once the library has processed those suggestions you will be able to place more.') %]</p>
262
                                    [% ELSE %]
263
                                    [% ELSE %]
263
                                        <p><a class="new" href="/cgi-bin/koha/opac-suggestions.pl?op=add">New purchase suggestion</a></p>
264
                                        <p><a class="new" href="/cgi-bin/koha/opac-suggestions.pl?op=add">[% t('New purchase suggestion') %]</a></p>
264
                                    [% END %]
265
                                    [% END %]
265
                                [% END %]
266
                                [% END %]
266
                            [% END # / IF suggestions_loop %]
267
                            [% END # / IF suggestions_loop %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt (-30 / +31 lines)
Lines 1-8 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
4
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Tags</title>
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Tags') %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% BLOCK cssinclude %]
8
[% BLOCK cssinclude %]
8
    <style>
9
    <style>
Lines 28-35 Link Here
28
29
29
<div class="main">
30
<div class="main">
30
    <ul class="breadcrumb">
31
    <ul class="breadcrumb">
31
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
32
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
32
        <li><a href="#">Tags</a></li>
33
        <li><a href="#">[% t('Tags') %]</a></li>
33
    </ul>
34
    </ul>
34
35
35
    <div class="container-fluid">
36
    <div class="container-fluid">
Lines 49-84 Link Here
49
                        [% IF ( ERRORS ) %]
50
                        [% IF ( ERRORS ) %]
50
                            [% FOREACH ERROR IN ERRORS %]
51
                            [% FOREACH ERROR IN ERRORS %]
51
                                <div class="alert">
52
                                <div class="alert">
52
                                    There was a problem with this operation:
53
                                    [% t('There was a problem with this operation:') %]
53
                                    [% IF ( ERROR.tagsdisabled ) %]
54
                                    [% IF ( ERROR.tagsdisabled ) %]
54
                                        Sorry, tags are not enabled on this system.
55
                                        [% t('Sorry, tags are not enabled on this system.') %]
55
                                    [% ELSIF ( ERROR.badparam ) %]
56
                                    [% ELSIF ( ERROR.badparam ) %]
56
                                        ERROR: illegal parameter [% ERROR.badparam %]
57
                                        [% t('ERROR: illegal parameter') %] [% ERROR.badparam %]
57
                                    [% ELSIF ( ERROR.login ) %]
58
                                    [% ELSIF ( ERROR.login ) %]
58
                                        ERROR: You must log in to complete that action.
59
                                        [% t('ERROR: You must log in to complete that action.') %]
59
                                    [% ELSIF ( ERROR.failed_delete ) %]
60
                                    [% ELSIF ( ERROR.failed_delete ) %]
60
                                        ERROR: You cannot delete the tag [% ERROR.failed_delete %].
61
                                        [% t('ERROR: You cannot delete the tag') %] [% ERROR.failed_delete %].
61
                                        <br />Note: you can only delete your own tags.
62
                                        <br />[% t('Note: you can only delete your own tags.') %]
62
                                    [% ELSIF ( ERROR.scrubbed ) %]
63
                                    [% ELSIF ( ERROR.scrubbed ) %]
63
                                        Note: your tag contained markup code that was removed.
64
                                        [% t('Note: your tag contained markup code that was removed.') %]
64
                                        <br />The tag was added as &quot;[% ERROR.scrubbed %]&quot;.
65
                                        <br />[% t('The tag was added as &#34;') %][% ERROR.scrubbed %]".
65
                                    [% ELSIF ( ERROR.scrubbed_all_bad ) %]
66
                                    [% ELSIF ( ERROR.scrubbed_all_bad ) %]
66
                                        Note: your tag was entirely markup code.  It was NOT added.
67
                                        [% t('Note: your tag was entirely markup code.') %]  [% t('It was NOT added.') %]
67
                                        <br />Please try again with plain text.
68
                                        <br />[% t('Please try again with plain text.') %]
68
                                    [% ELSE %]Unrecognized error.
69
                                    [% ELSE %][% t('Unrecognized error.') %]
69
                                    [% END %]
70
                                    [% END %]
70
                                </div>
71
                                </div>
71
                            [% END %]
72
                            [% END %]
72
                        [% END # /IF ERRORS %]
73
                        [% END # /IF ERRORS %]
73
                        <h1>All Tags</h1>
74
                        <h1>[% t('All Tags') %]</h1>
74
75
75
                        <form method="get" action="opac-tags.pl" class="form-inline">
76
                        <form method="get" action="opac-tags.pl" class="form-inline">
76
                            <fieldset>
77
                            <fieldset>
77
                                <label>
78
                                <label>
78
                                    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
79
                                    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
79
                                        Tags to show from other users
80
                                        [% t('Tags to show from other users') %]
80
                                    [% ELSE %]
81
                                    [% ELSE %]
81
                                        Tags to show
82
                                        [% t('Tags to show') %]
82
                                    [% END %]:
83
                                    [% END %]:
83
                                </label>
84
                                </label>
84
                                <div class="input-append">
85
                                <div class="input-append">
Lines 90-98 Link Here
90
                                        <p>
91
                                        <p>
91
                                            [% IF Koha.Preference('casAuthentication') %]
92
                                            [% IF Koha.Preference('casAuthentication') %]
92
                                                [%# CAS authentication is too complicated for modal window %]
93
                                                [%# CAS authentication is too complicated for modal window %]
93
                                                <a href="/cgi-bin/koha/opac-user.pl">Log in to see your own saved tags.</a>
94
                                                <a href="/cgi-bin/koha/opac-user.pl">[% t('Log in to see your own saved tags.') %]</a>
94
                                            [% ELSE %]
95
                                            [% ELSE %]
95
                                                <a class="loginModal-trigger" href="/cgi-bin/koha/opac-user.pl">Log in to see your own saved tags.</a>
96
                                                <a class="loginModal-trigger" href="/cgi-bin/koha/opac-user.pl">[% t('Log in to see your own saved tags.') %]</a>
96
                                            [% END %]
97
                                            [% END %]
97
                                        </p>
98
                                        </p>
98
                                    [% END %]
99
                                    [% END %]
Lines 104-110 Link Here
104
                            <div id="tagcloud">
105
                            <div id="tagcloud">
105
                                [% FOREACH TAGLOO IN TAGLOOP %]
106
                                [% FOREACH TAGLOO IN TAGLOOP %]
106
                                    <span class="tag tagweight[% TAGLOO.stratum %]" id="tag[% loop.count %]" style="display:inline;">
107
                                    <span class="tag tagweight[% TAGLOO.stratum %]" id="tag[% loop.count %]" style="display:inline;">
107
                                    <a href="/cgi-bin/koha/opac-search.pl?tag=[% TAGLOO.term |url %]&amp;q=[% TAGLOO.term |url %]">[% TAGLOO.term |html %]</a>
108
                                    <a href="/cgi-bin/koha/opac-search.pl?tag=[% TAGLOO.term |url %]&q=[% TAGLOO.term |url %]">[% TAGLOO.term |html %]</a>
108
                                    <span class="tagweight">[% TAGLOO.weight_total %]</span>
109
                                    <span class="tagweight">[% TAGLOO.weight_total %]</span>
109
                                    </span>
110
                                    </span>
110
                                [% END %]
111
                                [% END %]
Lines 112-129 Link Here
112
                        [% END # / TAGLOOP%]
113
                        [% END # / TAGLOOP%]
113
                        [% IF ( add_op ) %]
114
                        [% IF ( add_op ) %]
114
                            [% IF ( added_count ) %]
115
                            [% IF ( added_count ) %]
115
                                <div class="dialog message">[% added_count %] [% IF ( added_count == 1 ) %]tag[% ELSE %]tags[% END %] successfully added.</div>
116
                                <div class="dialog message">[% added_count %] [% IF ( added_count == 1 ) %][% t('tag') %][% ELSE %][% t('tags') %][% END %] [% t('successfully added.') %]</div>
116
                            [% END %]
117
                            [% END %]
117
                            [% IF ( deleted_count ) %]
118
                            [% IF ( deleted_count ) %]
118
                            <div class="dialog message">[% deleted_count %] [% IF ( deleted_count == 1 ) %]tag[% ELSE %]tags[% END %] successfully deleted.</div>
119
                            <div class="dialog message">[% deleted_count %] [% IF ( deleted_count == 1 ) %][% t('tag') %][% ELSE %][% t('tags') %][% END %] [% t('successfully deleted.') %]</div>
119
                            [% END %]
120
                            [% END %]
120
                        [% END # /add_op %]
121
                        [% END # /add_op %]
121
122
122
                        [% IF ( MY_TAGS ) %]
123
                        [% IF ( MY_TAGS ) %]
123
                        <form id="deletetags" method="post" action="opac-tags.pl">
124
                        <form id="deletetags" method="post" action="opac-tags.pl">
124
                            <h2>Your tags</h2>
125
                            <h2>[% t('Your tags') %]</h2>
125
                            <table id="mytagst" class="table table-bordered table-striped">
126
                            <table id="mytagst" class="table table-bordered table-striped">
126
                                <thead><tr><th>&nbsp;</th><th>Term</th><th>Title</th><th>Date added</th></tr></thead>
127
                                <thead><tr><th> </th><th>[% t('Term') %]</th><th>[% t('Title') %]</th><th>[% t('Date added') %]</th></tr></thead>
127
                                <tbody>
128
                                <tbody>
128
                                    [% FOREACH MY_TAG IN MY_TAGS %]
129
                                    [% FOREACH MY_TAG IN MY_TAGS %]
129
                                        <tr>
130
                                        <tr>
Lines 131-148 Link Here
131
                                                <input type="checkbox" name="del[% MY_TAG.tag_id %]" value="del[% MY_TAG.tag_id %]">
132
                                                <input type="checkbox" name="del[% MY_TAG.tag_id %]" value="del[% MY_TAG.tag_id %]">
132
                                            </td>
133
                                            </td>
133
                                            <td class="tagterm">
134
                                            <td class="tagterm">
134
                                                <span class="tdlabel">Tag:</span>
135
                                                <span class="tdlabel">[% t('Tag:') %]</span>
135
                                                [% IF MY_TAG.approved == 1 %]
136
                                                [% IF MY_TAG.approved == 1 %]
136
                                                    <a href="/cgi-bin/koha/opac-search.pl?tag=[% MY_TAG.term |url %]&amp;q=[% MY_TAG.term |url %]">[% MY_TAG.term |html %]</a>
137
                                                    <a href="/cgi-bin/koha/opac-search.pl?tag=[% MY_TAG.term |url %]&q=[% MY_TAG.term |url %]">[% MY_TAG.term |html %]</a>
137
                                                [% ELSE %]
138
                                                [% ELSE %]
138
                                                    [% MY_TAG.term |html %] (not approved)
139
                                                    [% MY_TAG.term |html %] [% t('(not approved)') %]
139
                                                [% END %]
140
                                                [% END %]
140
                                            </td>
141
                                            </td>
141
                                            <td>
142
                                            <td>
142
                                                [% IF ( MY_TAG.XSLTBloc ) %]
143
                                                [% IF ( MY_TAG.XSLTBloc ) %]
143
                                                    [% MY_TAG.XSLTBloc %]
144
                                                    [% MY_TAG.XSLTBloc %]
144
                                                [% ELSE %]
145
                                                [% ELSE %]
145
                                                    <span class="tdlabel">Title:</span>
146
                                                    <span class="tdlabel">[% t('Title:') %]</span>
146
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% MY_TAG.biblionumber %]">
147
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% MY_TAG.biblionumber %]">
147
                                                        [% MY_TAG.title |html %]
148
                                                        [% MY_TAG.title |html %]
148
                                                        [% IF ( MY_TAG.subtitle ) %]
149
                                                        [% IF ( MY_TAG.subtitle ) %]
Lines 152-164 Link Here
152
                                                        [% END %]
153
                                                        [% END %]
153
                                                    </a>
154
                                                    </a>
154
                                                    [% IF ( MY_TAG.author ) %]
155
                                                    [% IF ( MY_TAG.author ) %]
155
                                                        by [% MY_TAG.author %]
156
                                                        [% t('by') %] [% MY_TAG.author %]
156
                                                    [% END %]
157
                                                    [% END %]
157
                                                [% END # /IF MY_TAG.XSLTBloc %]
158
                                                [% END # /IF MY_TAG.XSLTBloc %]
158
                                            </td>
159
                                            </td>
159
                                            <td>
160
                                            <td>
160
                                                <span title="[% MY_TAG.date_created %]">
161
                                                <span title="[% MY_TAG.date_created %]">
161
                                                    <span class="tdlabel">Date added:</span>
162
                                                    <span class="tdlabel">[% t('Date added:') %]</span>
162
                                                    [% MY_TAG.date_created | $KohaDates %]
163
                                                    [% MY_TAG.date_created | $KohaDates %]
163
                                                </span>
164
                                                </span>
164
                                            </td>
165
                                            </td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags_subject.tt (-10 / +11 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Subject cloud</title>
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Subject cloud') %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
6
</head>
7
</head>
Lines 9-16 Link Here
9
10
10
    <div class="main">
11
    <div class="main">
11
        <ul class="breadcrumb">
12
        <ul class="breadcrumb">
12
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
13
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
13
            <li><a href="#">Subject cloud</a></li>
14
            <li><a href="#">[% t('Subject cloud') %]</a></li>
14
        </ul>
15
        </ul>
15
16
16
        <div class="container-fluid">
17
        <div class="container-fluid">
Lines 29-54 Link Here
29
                    <div class="span9">
30
                    <div class="span9">
30
                [% END %]
31
                [% END %]
31
                    <div id="subjectcloud">
32
                    <div id="subjectcloud">
32
                        <h1>Subject cloud</h1>
33
                        <h1>[% t('Subject cloud') %]</h1>
33
                            [% IF Koha.Preference( 'OpacCloud' ) == 1 %]
34
                            [% IF Koha.Preference( 'OpacCloud' ) == 1 %]
34
                                [% IF ( LOOP ) %]
35
                                [% IF ( LOOP ) %]
35
                                    <p>This &quot;cloud&quot; shows the most used topics in our catalog. Click on any subject below to see the items in our collection.</p>
36
                                    <p>[% t('This &#34;cloud&#34; shows the most used topics in our catalog. Click on any subject below to see the items in our collection.') %]</p>
36
                                    <fieldset>
37
                                    <fieldset>
37
                                        <legend>Show</legend>
38
                                        <legend>[% t('Show') %]</legend>
38
                                        <form class="form-inline" action="/cgi-bin/koha/opac-tags_subject.pl" method="post">
39
                                        <form class="form-inline" action="/cgi-bin/koha/opac-tags_subject.pl" method="post">
39
                                            <p>up to <input type="text" name="number" value="[% number %]" size="4" maxlength="4" /> subjects <input type="submit" class="btn" value="OK" /></p>
40
                                            <p>[% t('up to') %] <input type="text" name="number" value="[% number %]" size="4" maxlength="4" /> [% t('subjects') %] <input type="submit" class="btn" value="OK" /></p>
40
                                        </form>
41
                                        </form>
41
                                    </fieldset>
42
                                    </fieldset>
42
43
43
                                    [% FOREACH LOO IN LOOP %]
44
                                    [% FOREACH LOO IN LOOP %]
44
                                        <a href="/cgi-bin/koha/opac-search.pl?idx=su&amp;q=&quot;[% LOO.entry |html %]&quot;" style="font-size:[% LOO.weight %]px;">[% LOO.entry %]</a>
45
                                        <a href="/cgi-bin/koha/opac-search.pl?idx=su&q="[% LOO.entry |html %]"" style="font-size:[% LOO.weight %]px;">[% LOO.entry %]</a>
45
                                    [% END %]
46
                                    [% END %]
46
                                [% ELSE %]
47
                                [% ELSE %]
47
                                    <p>Note: This feature only available to French catalogs where ISBD subjects have been populated, and an index built by separate script.</p>
48
                                    <p>[% t('Note: This feature only available to French catalogs where ISBD subjects have been populated, and an index built by separate script.') %]</p>
48
                                [% END # / IF LOOP %]
49
                                [% END # / IF LOOP %]
49
                            [% ELSE %]
50
                            [% ELSE %]
50
                                <div class="alert alert-info">
51
                                <div class="alert alert-info">
51
                                    <p>The ISBD cloud is not enabled.</p>
52
                                    <p>[% t('The ISBD cloud is not enabled.') %]</p>
52
                                </div>
53
                                </div>
53
                            [% END # / IF OpacCloud %]
54
                            [% END # / IF OpacCloud %]
54
                    </div> <!-- / #subjectcloud -->
55
                    </div> <!-- / #subjectcloud -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt (-16 / +17 lines)
Lines 1-9 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE AuthorisedValues %]
4
[% USE AuthorisedValues %]
4
[% USE ItemTypes %]
5
[% USE ItemTypes %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Most popular titles</title>
7
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Most popular titles') %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
[% BLOCK cssinclude %]
9
[% BLOCK cssinclude %]
9
    <style>
10
    <style>
Lines 16-23 Link Here
16
17
17
    <div class="main">
18
    <div class="main">
18
        <ul class="breadcrumb">
19
        <ul class="breadcrumb">
19
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
20
            <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
20
            <li><a href="#">Most popular titles</a></li>
21
            <li><a href="#">[% t('Most popular titles') %]</a></li>
21
        </ul>
22
        </ul>
22
23
23
        <div class="container-fluid">
24
        <div class="container-fluid">
Lines 36-59 Link Here
36
                        [% IF ( results ) %]
37
                        [% IF ( results ) %]
37
                            <table id="topissuest" class="table table-bordered table-striped">
38
                            <table id="topissuest" class="table table-bordered table-striped">
38
                                <caption>
39
                                <caption>
39
                                    The [% limit %] most checked-out
40
                                    [% t('The') %] [% limit %] [% t('most checked-out') %]
40
                                    [% IF selected_itemtype %]
41
                                    [% IF selected_itemtype %]
41
                                        [% ItemTypes.GetDescription(selected_itemtype) %]
42
                                        [% ItemTypes.GetDescription(selected_itemtype) %]
42
                                    [% END %]
43
                                    [% END %]
43
                                    [% IF ( branch ) %]
44
                                    [% IF ( branch ) %]
44
                                    at
45
                                    [% t('at') %]
45
                                    [% Branches.GetName( branch ) %]
46
                                    [% Branches.GetName( branch ) %]
46
                                    [% END %]
47
                                    [% END %]
47
                                    [% IF ( timeLimit != 999 ) %]
48
                                    [% IF ( timeLimit != 999 ) %]
48
                                    in the past [% timeLimit |html %] months
49
                                    [% t('in the past') %] [% timeLimit |html %] [% t('months') %]
49
                                    [% ELSE %] of all time[% END %]
50
                                    [% ELSE %] [% t('of all time') %][% END %]
50
                                </caption>
51
                                </caption>
51
                                <thead>
52
                                <thead>
52
                                    <tr>
53
                                    <tr>
53
                                        <th>Title</th>
54
                                        <th>[% t('Title') %]</th>
54
                                        <th>[% IF ( ccodesearch ) %]Collection[% ELSE %]Item type[% END %]</th>
55
                                        <th>[% IF ( ccodesearch ) %][% t('Collection') %][% ELSE %][% t('Item type') %][% END %]</th>
55
                                        <th>Checkouts</th>
56
                                        <th>[% t('Checkouts') %]</th>
56
                                        [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]<th>&nbsp;</th>[% END %]
57
                                        [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]<th> </th>[% END %]
57
                                    </tr>
58
                                    </tr>
58
                                </thead>
59
                                </thead>
59
                                <tbody>
60
                                <tbody>
Lines 72-92 Link Here
72
                                            </td>
73
                                            </td>
73
                                            <td>
74
                                            <td>
74
                                              [% IF Koha.Preference('AdvancedSearchTypes') == 'ccode' %]
75
                                              [% IF Koha.Preference('AdvancedSearchTypes') == 'ccode' %]
75
                                                <span class="tdlabel">Collection</span>
76
                                                <span class="tdlabel">[% t('Collection') %]</span>
76
                                                [% AuthorisedValues.GetByCode('ccode', result.ccode, 1) %]
77
                                                [% AuthorisedValues.GetByCode('ccode', result.ccode, 1) %]
77
                                              [% ELSE %]
78
                                              [% ELSE %]
78
                                                <span class="tdlabel">Item type</span>
79
                                                <span class="tdlabel">[% t('Item type') %]</span>
79
                                                [% ItemTypes.GetDescription(result.itemtype) %]
80
                                                [% ItemTypes.GetDescription(result.itemtype) %]
80
                                              [% END %]
81
                                              [% END %]
81
                                            </td>
82
                                            </td>
82
                                            <td><span class="tdlabel">Checkouts: </span> <span title="[% result.count %]">[% result.count %]</span></td>
83
                                            <td><span class="tdlabel">[% t('Checkouts:') %] </span> <span title="[% result.count %]">[% result.count %]</span></td>
83
                                            [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]<td>[% IF Koha.Preference( 'RequestOnOpac' ) == 1 %][% UNLESS ( result.norequests ) %]<a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% result.biblionumber %]">Place hold</a>[% END %][% END %]</td>[% END %]
84
                                            [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]<td>[% IF Koha.Preference( 'RequestOnOpac' ) == 1 %][% UNLESS ( result.norequests ) %]<a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% result.biblionumber %]">[% t('Place hold') %]</a>[% END %][% END %]</td>[% END %]
84
                                            </tr>
85
                                            </tr>
85
                                    [% END %]
86
                                    [% END %]
86
                                </tbody>
87
                                </tbody>
87
                            </table>
88
                            </table>
88
                        [% ELSE %]
89
                        [% ELSE %]
89
                            No results, try to change filters.
90
                            [% t('No results, try to change filters.') %]
90
                        [% END # / IF results %]
91
                        [% END # / IF results %]
91
                    </div> <!-- / #topissues -->
92
                    </div> <!-- / #topissues -->
92
                </div> <!-- / .span10 -->
93
                </div> <!-- / .span10 -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-198 / +198 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 9-15 Link Here
9
[% SET borrower_enrollable_clubs = borrower.get_enrollable_clubs(1,1) %]
10
[% SET borrower_enrollable_clubs = borrower.get_enrollable_clubs(1,1) %]
10
11
11
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
12
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your library home</title>
13
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog › Your library home') %]</title>
13
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
14
[% BLOCK cssinclude %][% END %]
15
[% BLOCK cssinclude %][% END %]
15
</head>
16
</head>
Lines 24-32 Link Here
24
25
25
<div class="main">
26
<div class="main">
26
    <ul class="breadcrumb">
27
    <ul class="breadcrumb">
27
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
28
        <li><a href="/cgi-bin/koha/opac-main.pl">[% t('Home') %]</a> <span class="divider">›</span></li>
28
        <li><a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' category_type = BORROWER_INFO.category_type firstname = BORROWER_INFO.firstname surname = BORROWER_INFO.surname othernames = BORROWER_INFO.othernames cardnumber = BORROWER_INFO.cardnumber %]</a> <span class="divider">&rsaquo;</span></li>
29
        <li><a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' category_type = BORROWER_INFO.category_type firstname = BORROWER_INFO.firstname surname = BORROWER_INFO.surname othernames = BORROWER_INFO.othernames cardnumber = BORROWER_INFO.cardnumber %]</a> <span class="divider">›</span></li>
29
        <li><a href="#">Your summary</a></li>
30
        <li><a href="#">[% t('Your summary') %]</a></li>
30
    </ul>
31
    </ul>
31
32
32
    <div class="container-fluid">
33
    <div class="container-fluid">
Lines 41-87 Link Here
41
42
42
                    [% INCLUDE 'opac-note.inc' %]
43
                    [% INCLUDE 'opac-note.inc' %]
43
44
44
                    <h2>Hello, [% INCLUDE 'patron-title.inc' category_type = BORROWER_INFO.category_type firstname = BORROWER_INFO.firstname surname = BORROWER_INFO.surname othernames = BORROWER_INFO.othernames cardnumber = BORROWER_INFO.cardnumber %]
45
                    <h2>[% t('Hello,') %] [% INCLUDE 'patron-title.inc' category_type = BORROWER_INFO.category_type firstname = BORROWER_INFO.firstname surname = BORROWER_INFO.surname othernames = BORROWER_INFO.othernames cardnumber = BORROWER_INFO.cardnumber %]
45
                    </h2>
46
                    </h2>
46
47
47
                    <p><a href="/cgi-bin/koha/opac-main.pl?logout.x=1">Click here if you're not [% BORROWER_INFO.title %] [% INCLUDE 'patron-title.inc' category_type = BORROWER_INFO.category_type firstname = BORROWER_INFO.firstname surname = BORROWER_INFO.surname othernames = BORROWER_INFO.othernames cardnumber = BORROWER_INFO.cardnumber %]</a></p>
48
                    <p><a href="/cgi-bin/koha/opac-main.pl?logout.x=1">[% t('Click here if you\'re not') %] [% BORROWER_INFO.title %] [% INCLUDE 'patron-title.inc' category_type = BORROWER_INFO.category_type firstname = BORROWER_INFO.firstname surname = BORROWER_INFO.surname othernames = BORROWER_INFO.othernames cardnumber = BORROWER_INFO.cardnumber %]</a></p>
48
49
49
                    [% IF ( patronupdate ) %]<div class="alert alert-info"><h3>Thank you!</h3><p>Your corrections have been submitted to the library, and a staff member will update your record as soon as possible.</p></div>[% END %]
50
                    [% IF ( patronupdate ) %]<div class="alert alert-info"><h3>[% t('Thank you!') %]</h3><p>[% t('Your corrections have been submitted to the library, and a staff member will update your record as soon as possible.') %]</p></div>[% END %]
50
51
51
                    [% IF failed_holds %]
52
                    [% IF failed_holds %]
52
                        <div class="alert alert-info">
53
                        <div class="alert alert-info">
53
                            <h3>Notice:</h3>
54
                            <h3>[% t('Notice:') %]</h3>
54
                            <p>One or more holds were not placed due to existing holds.</p>
55
                            <p>[% t('One or more holds were not placed due to existing holds.') %]</p>
55
                        </div>
56
                        </div>
56
                    [% END %]
57
                    [% END %]
57
58
58
                    [% IF ( BORROWER_INFO.warndeparture ) %]
59
                    [% IF ( BORROWER_INFO.warndeparture ) %]
59
                        <div class="alert" id="warndeparture">
60
                        <div class="alert" id="warndeparture">
60
                            <strong>Please note:</strong><span> Your card will expire on <span id="warndeparture_date">[% BORROWER_INFO.warndeparture | $KohaDates %]</span>. Please contact the library for more information.</span>
61
                            <strong>[% t('Please note:') %]</strong><span> [% t('Your card will expire on') %] <span id="warndeparture_date">[% BORROWER_INFO.warndeparture | $KohaDates %]</span>[% t('. Please contact the library for more information.') %]</span>
61
                                [% IF ( BORROWER_INFO.returnbeforeexpiry ) %]<span id="warndeparture_returnbeforeexpiry"> Also note that you must return all checked out items before your card expires.</span>[% END %]
62
                                [% IF ( BORROWER_INFO.returnbeforeexpiry ) %]<span id="warndeparture_returnbeforeexpiry"> [% t('Also note that you must return all checked out items before your card expires.') %]</span>[% END %]
62
                        </div>
63
                        </div>
63
                    [% END %]
64
                    [% END %]
64
65
65
                    [% IF ( BORROWER_INFO.warnexpired ) %]
66
                    [% IF ( BORROWER_INFO.warnexpired ) %]
66
                        <div class="alert" id="warnexpired">
67
                        <div class="alert" id="warnexpired">
67
                            <strong>Please note: </strong><span>Your account has expired as of [% BORROWER_INFO.warnexpired | $KohaDates %]. Please contact the library if you wish to renew your account.</span>
68
                            <strong>[% t('Please note:') %] </strong><span>[% t('Your account has expired as of') %] [% BORROWER_INFO.warnexpired | $KohaDates %][% t('. Please contact the library if you wish to renew your account.') %]</span>
68
                        </div>
69
                        </div>
69
                    [% END %]
70
                    [% END %]
70
71
71
                    [% IF ( RENEW_ERROR ) %]
72
                    [% IF ( RENEW_ERROR ) %]
72
                        <div class="dialog alert">
73
                        <div class="dialog alert">
73
                            <strong>Please note:</strong>
74
                            <strong>[% t('Please note:') %]</strong>
74
                                Your loan renewal failed because of the following reason(s):
75
                                [% t('Your loan renewal failed because of the following reason(s):') %]
75
                                <ul>
76
                                <ul>
76
                                    [% FOREACH error IN RENEW_ERROR.split('\|') %]
77
                                    [% FOREACH error IN RENEW_ERROR.split('\|') %]
77
                                        [% IF error == 'card_expired' %]
78
                                        [% IF error == 'card_expired' %]
78
                                            <li>Your account has expired. Please contact the library for more information.</li>
79
                                            <li>[% t('Your account has expired. Please contact the library for more information.') %]</li>
79
                                        [% ELSIF error == 'too_many' %]
80
                                        [% ELSIF error == 'too_many' %]
80
                                            <li>You have renewed this item the maximum number of times allowed.</li>
81
                                            <li>[% t('You have renewed this item the maximum number of times allowed.') %]</li>
81
                                        [% ELSIF error == 'too_soon' %]
82
                                        [% ELSIF error == 'too_soon' %]
82
                                            <li>It is too soon after the checkout date for this item to be renewed.</li>
83
                                            <li>[% t('It is too soon after the checkout date for this item to be renewed.') %]</li>
83
                                        [% ELSIF error == 'on_reserve' %]
84
                                        [% ELSIF error == 'on_reserve' %]
84
                                            <li>This item is on hold for another borrower.</li>
85
                                            <li>[% t('This item is on hold for another borrower.') %]</li>
85
                                        [% END %]
86
                                        [% END %]
86
                                    [% END %]
87
                                    [% END %]
87
                                </ul>
88
                                </ul>
Lines 94-119 Link Here
94
                                [% IF ( userdebarred ) %]
95
                                [% IF ( userdebarred ) %]
95
                                    [% IF ( discharge_available ) %]
96
                                    [% IF ( discharge_available ) %]
96
                                        <li id="discharged">
97
                                        <li id="discharged">
97
                                            <strong>Please note:</strong> Your account is frozen because it has been discharged. <a href="/cgi-bin/koha/opac-discharge.pl?op=get">Get your discharge</a>
98
                                            <strong>[% t('Please note:') %]</strong> [% t('Your account is frozen because it has been discharged.') %] <a href="/cgi-bin/koha/opac-discharge.pl?op=get">[% t('Get your discharge') %]</a>
98
                                        </li>
99
                                        </li>
99
                                    [% ELSE %]
100
                                    [% ELSE %]
100
                                        <li id="userdebarred"><strong>Please note:</strong> Your account has been frozen.
101
                                        <li id="userdebarred"><strong>[% t('Please note:') %]</strong> [% t('Your account has been frozen.') %]
101
                                        [% IF ( BORROWER_INFO.debarredcomment ) %] Comment: <span id="userdebarred_comment">"[% BORROWER_INFO.debarredcomment %]"</span>[% END %]
102
                                        [% IF ( BORROWER_INFO.debarredcomment ) %] [% t('Comment:') %] <span id="userdebarred_comment">"[% BORROWER_INFO.debarredcomment %]"</span>[% END %]
102
                                        [% IF ( BORROWER_INFO.userdebarreddate ) %] End date: <span id="userdebarred_date">[% BORROWER_INFO.userdebarreddate | $KohaDates %]</span>[% END %]
103
                                        [% IF ( BORROWER_INFO.userdebarreddate ) %] [% t('End date:') %] <span id="userdebarred_date">[% BORROWER_INFO.userdebarreddate | $KohaDates %]</span>[% END %]
103
                                        <em>Usually the reason for freezing an account is old overdues or damage fees. If your account shows to be clear, please contact the library.</em> <a href="/cgi-bin/koha/opac-account.pl">Go to your account page</a></li>
104
                                        <em>[% t('Usually the reason for freezing an account is old overdues or damage fees. If your account shows to be clear, please contact the library.') %]</em> <a href="/cgi-bin/koha/opac-account.pl">[% t('Go to your account page') %]</a></li>
104
                                    [% END %]
105
                                    [% END %]
105
                                [% END %]
106
                                [% END %]
106
                                [% IF ( BORROWER_INFO.gonenoaddress ) %]
107
                                [% IF ( BORROWER_INFO.gonenoaddress ) %]
107
                                    <li id="gonenoaddress"><strong>Please note:</strong> According to our records, we don't have up-to-date contact information. Please contact the library.
108
                                    <li id="gonenoaddress"><strong>[% t('Please note:') %]</strong> [% t('According to our records, we don\'t have up-to-date contact information. Please contact the library.') %]
108
                                <a href="/cgi-bin/koha/opac-memberentry.pl">[% IF ( Koha.Preference('OPACPatronDetails') ) %]Update your contact information[% ELSE %]Go to your contact information[% END %]</a>
109
                                <a href="/cgi-bin/koha/opac-memberentry.pl">[% IF ( Koha.Preference('OPACPatronDetails') ) %][% t('Update your contact information') %][% ELSE %][% t('Go to your contact information') %][% END %]</a>
109
                                [% IF ( Koha.Preference('OPACPatronDetails') ) %]<em>(Please note: there may be a delay in restoring your account if you submit online.)</em>[% END %]
110
                                [% IF ( Koha.Preference('OPACPatronDetails') ) %]<em>[% t('(Please note: there may be a delay in restoring your account if you submit online.)') %]</em>[% END %]
110
                                    </li>
111
                                    </li>
111
                                [% END %]
112
                                [% END %]
112
                                [% IF ( BORROWER_INFO.lost ) %]
113
                                [% IF ( BORROWER_INFO.lost ) %]
113
                                    <li id="lost"><strong>Please note: </strong> Your library card has been marked as lost or stolen. <em>If this is an error, please contact the library.</em></li>
114
                                    <li id="lost"><strong>[% t('Please note:') %] </strong> [% t('Your library card has been marked as lost or stolen.') %] <em>[% t('If this is an error, please contact the library.') %]</em></li>
114
                                [% END %]
115
                                [% END %]
115
                                [% IF ( renewal_blocked_fines.defined ) && ( OpacRenewalAllowed ) %]
116
                                [% IF ( renewal_blocked_fines.defined ) && ( OpacRenewalAllowed ) %]
116
                                    <li id="renewal_blocked_fines"><strong>Please note: </strong>You cannot renew your books online. Reason: [% IF ( renewal_blocked_fines ) > 0  %]Your fines exceed <span id="renewal_blocked_fines_amount">[% renewal_blocked_fines | $Price %]</span>.[% ELSE %]You have fines.[% END %]
117
                                    <li id="renewal_blocked_fines"><strong>[% t('Please note:') %] </strong>[% t('You cannot renew your books online. Reason:') %] [% IF ( renewal_blocked_fines ) > 0  %][% t('Your fines exceed') %] <span id="renewal_blocked_fines_amount">[% renewal_blocked_fines | $Price %]</span>.[% ELSE %][% t('You have fines.') %][% END %]
117
                                [% END %]
118
                                [% END %]
118
                            </ul>
119
                            </ul>
119
                        </div>
120
                        </div>
Lines 126-152 Link Here
126
127
127
                    <div id="opac-user-views" class="toptabs">
128
                    <div id="opac-user-views" class="toptabs">
128
                        <ul>
129
                        <ul>
129
                            <li><a href="#opac-user-checkouts">Checked out ([% issues_count %])</a></li>
130
                            <li><a href="#opac-user-checkouts">[% t('Checked out (') %][% issues_count %])</a></li>
130
                            [% IF relatives %]<li><a href="#opac-user-relative-issues">Relatives' checkouts</a></li>[% END %]
131
                            [% IF relatives %]<li><a href="#opac-user-relative-issues">[% t('Relatives\' checkouts') %]</a></li>[% END %]
131
                            [% IF ( overdues_count ) %]<li><a href="#opac-user-overdues">Overdue ([% overdues_count %])</a></li>[% END %]
132
                            [% IF ( overdues_count ) %]<li><a href="#opac-user-overdues">[% t('Overdue (') %][% overdues_count %])</a></li>[% END %]
132
                            [% IF ( OPACFinesTab ) %]
133
                            [% IF ( OPACFinesTab ) %]
133
                                [% IF ( BORROWER_INFO.amountoverfive ) %]<li><a href="#opac-user-fines">Fines ([% amountoutstanding | $Price %])</a></li>[% END %]
134
                                [% IF ( BORROWER_INFO.amountoverfive ) %]<li><a href="#opac-user-fines">[% t('Fines (') %][% amountoutstanding | $Price %])</a></li>[% END %]
134
                                [% IF ( BORROWER_INFO.amountoverzero ) %]<li><a href="#opac-user-fines">Fines ([% amountoutstanding | $Price %])</a></li>[% END %]
135
                                [% IF ( BORROWER_INFO.amountoverzero ) %]<li><a href="#opac-user-fines">[% t('Fines (') %][% amountoutstanding | $Price %])</a></li>[% END %]
135
                                [% IF ( BORROWER_INFO.amountlessthanzero ) %]<li><a href="#opac-user-fines">Credits ([% amountoutstanding | $Price %])</a></li>[% END %]
136
                                [% IF ( BORROWER_INFO.amountlessthanzero ) %]<li><a href="#opac-user-fines">[% t('Credits (') %][% amountoutstanding | $Price %])</a></li>[% END %]
136
                            [% END %]
137
                            [% END %]
137
138
138
                            [% IF borrower_club_enrollments.count || borrower_enrollable_clubs.count %]
139
                            [% IF borrower_club_enrollments.count || borrower_enrollable_clubs.count %]
139
                                <li>
140
                                <li>
140
                                    <a id="opac-user-clubs-tab-link" href="#opac-user-clubs">
141
                                    <a id="opac-user-clubs-tab-link" href="#opac-user-clubs">
141
                                        Clubs ([% borrower_club_enrollments.count || 0 %]/[% borrower_enrollable_clubs.count || 0 %])
142
                                        [% t('Clubs (') %][% borrower_club_enrollments.count || 0 %]/[% borrower_enrollable_clubs.count || 0 %])
142
                                    </a>
143
                                    </a>
143
                                </li>
144
                                </li>
144
                            [% END %]
145
                            [% END %]
145
146
146
                            [% IF ( RESERVES.count ) %]<li><a href="#opac-user-holds">Holds ([% RESERVES.count %])</a></li>[% END %]
147
                            [% IF ( RESERVES.count ) %]<li><a href="#opac-user-holds">[% t('Holds (') %][% RESERVES.count %])</a></li>[% END %]
147
                            [% IF Koha.Preference('ArticleRequests') && borrower.article_requests_current %]<li><a href="#opac-user-article-requests">Article requests ([% borrower.article_requests_current.count %])</a></li>[% END %]
148
                            [% IF Koha.Preference('ArticleRequests') && borrower.article_requests_current %]<li><a href="#opac-user-article-requests">[% t('Article requests (') %][% borrower.article_requests_current.count %])</a></li>[% END %]
148
                            [% IF ( OverDriveCirculation ) %]
149
                            [% IF ( OverDriveCirculation ) %]
149
                            <li><a href="#opac-user-overdrive">OverDrive Account</a></li>
150
                            <li><a href="#opac-user-overdrive">[% t('OverDrive Account') %]</a></li>
150
                            [% END %]
151
                            [% END %]
151
                        </ul>
152
                        </ul>
152
153
Lines 158-188 Link Here
158
                                    <input type="hidden" name="borrowernumber" value="[% borrowernumber %]">
159
                                    <input type="hidden" name="borrowernumber" value="[% borrowernumber %]">
159
                                    <input type="hidden" name="from" value="opac_user" />
160
                                    <input type="hidden" name="from" value="opac_user" />
160
                                    <table id="checkoutst" class="table table-bordered table-striped">
161
                                    <table id="checkoutst" class="table table-bordered table-striped">
161
                                        <caption>[% issues_count %] Item(s) checked out</caption>
162
                                        <caption>[% issues_count %] [% t('Item(s) checked out') %]</caption>
162
                                        <thead>
163
                                        <thead>
163
                                            <tr>
164
                                            <tr>
164
                                                [% IF ( JacketImages ) %]<th class="nosort">&nbsp;</th>[% END %]
165
                                                [% IF ( JacketImages ) %]<th class="nosort"> </th>[% END %]
165
                                                <th class="anti-the">Title</th>
166
                                                <th class="anti-the">[% t('Title') %]</th>
166
                                                <th>Author</th>
167
                                                <th>[% t('Author') %]</th>
167
                                                <th class="title-string psort">Due</th>
168
                                                <th class="title-string psort">[% t('Due') %]</th>
168
                                                [% UNLESS ( item_level_itypes ) %]
169
                                                [% UNLESS ( item_level_itypes ) %]
169
                                                    <th>Item type</th>
170
                                                    <th>[% t('Item type') %]</th>
170
                                                [% END %]
171
                                                [% END %]
171
                                                [% IF ( show_barcode ) %]
172
                                                [% IF ( show_barcode ) %]
172
                                                    <th>Barcode</th>
173
                                                    <th>[% t('Barcode') %]</th>
173
                                                [% END %]
174
                                                [% END %]
174
                                                    <th>Call no.</th>
175
                                                    <th>[% t('Call no.') %]</th>
175
                                                [% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.category.effective_BlockExpiredPatronOpacActions ) ) %]
176
                                                [% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.category.effective_BlockExpiredPatronOpacActions ) ) %]
176
                                                    <th class="nosort">Renew</th>
177
                                                    <th class="nosort">[% t('Renew') %]</th>
177
                                                [% END %]
178
                                                [% END %]
178
                                                [% IF ( OPACFinesTab ) %]
179
                                                [% IF ( OPACFinesTab ) %]
179
                                                    <th>Fines</th>
180
                                                    <th>[% t('Fines') %]</th>
180
                                                [% END %]
181
                                                [% END %]
181
                                                [% IF ( OPACMySummaryHTML ) %]
182
                                                [% IF ( OPACMySummaryHTML ) %]
182
                                                    <th class="nosort">Links</th>
183
                                                    <th class="nosort">[% t('Links') %]</th>
183
                                                [% END %]
184
                                                [% END %]
184
                                                [% IF ( Koha.Preference('AllowCheckoutNotes') ) %]
185
                                                [% IF ( Koha.Preference('AllowCheckoutNotes') ) %]
185
                                                    <th class="nosort">Note</th>
186
                                                    <th class="nosort">[% t('Note') %]</th>
186
                                                [% END %]
187
                                                [% END %]
187
                                            </tr>
188
                                            </tr>
188
                                        </thead>
189
                                        </thead>
Lines 193-226 Link Here
193
194
194
                                                    [% IF ( OPACAmazonCoverImages ) %]
195
                                                    [% IF ( OPACAmazonCoverImages ) %]
195
                                                        [% IF ( ISSUE.normalized_isbn ) %]
196
                                                        [% IF ( ISSUE.normalized_isbn ) %]
196
                                                            <a href="http://www.amazon.com/gp/reader/[% ISSUE.normalized_isbn %][% AmazonAssocTag %]#reader-link" title="View on Amazon.com"><img src="https://images-na.ssl-images-amazon.com/images/P/[% ISSUE.normalized_isbn %].01.THUMBZZZ.jpg" alt="View on Amazon.com" class="item-thumbnail"/></a>
197
                                                            <a href="http://www.amazon.com/gp/reader/[% ISSUE.normalized_isbn %][% AmazonAssocTag %]#reader-link" title="[% t('View on Amazon.com') %]"><img src="https://images-na.ssl-images-amazon.com/images/P/[% ISSUE.normalized_isbn %].01.THUMBZZZ.jpg" alt="[% t('View on Amazon.com') %]" class="item-thumbnail" /></a>
197
                                                        [% ELSE %]
198
                                                        [% ELSE %]
198
                                                            <a href="#"><span class="no-image">No cover image available</span></a>
199
                                                            <a href="#"><span class="no-image">[% t('No cover image available') %]</span></a>
199
                                                        [% END %]
200
                                                        [% END %]
200
                                                    [% END %]
201
                                                    [% END %]
201
202
202
                                                    [% IF ( GoogleJackets ) %]
203
                                                    [% IF ( GoogleJackets ) %]
203
                                                        [% IF ( ISSUE.normalized_isbn ) %]
204
                                                        [% IF ( ISSUE.normalized_isbn ) %]
204
                                                            <div style="display:block;" title="Click to view in Google Books" class="[% ISSUE.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
205
                                                            <div style="display:block;" title="[% t('Click to view in Google Books') %]" class="[% ISSUE.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
205
                                                        [% ELSE %]
206
                                                        [% ELSE %]
206
                                                            <a href="http://books.google.com/books?q=[% ISSUE.title |url %]"><span class="no-image">No cover image available</span></a>
207
                                                            <a href="http://books.google.com/books?q=[% ISSUE.title |url %]"><span class="no-image">[% t('No cover image available') %]</span></a>
207
                                                        [% END %]
208
                                                        [% END %]
208
                                                    [% END %]
209
                                                    [% END %]
209
210
210
                                                    [% IF ( BakerTaylorEnabled ) %]
211
                                                    [% IF ( BakerTaylorEnabled ) %]
211
                                                        [% bt_id = ( ISSUE.normalized_upc || ISSUE.normalized_isbn ) %]
212
                                                        [% bt_id = ( ISSUE.normalized_upc || ISSUE.normalized_isbn ) %]
212
                                                        [% IF ( bt_id ) %]
213
                                                        [% IF ( bt_id ) %]
213
                                                            <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
214
                                                            <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="[% t('See Baker &amp; Taylor') %]" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
214
                                                        [% ELSE %]
215
                                                        [% ELSE %]
215
                                                            <span class="no-image">No cover image available</span><!-- BakerTaylor needs normalized_upc or normalized_isbn! -->
216
                                                            <span class="no-image">[% t('No cover image available') %]</span><!-- BakerTaylor needs normalized_upc or normalized_isbn! -->
216
                                                        [% END %]
217
                                                        [% END %]
217
                                                    [% END %]
218
                                                    [% END %]
218
219
219
                                                    [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
220
                                                    [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
220
                                                        [% IF ( using_https ) %]
221
                                                        [% IF ( using_https ) %]
221
                                                            <img src="https://secure.syndetics.com/index.aspx?isbn=[% ISSUE.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% ISSUE.normalized_upc %]&amp;oclc=[% ISSUE.normalized_oclc %]" alt="" class="item-thumbnail" />
222
                                                            <img src="https://secure.syndetics.com/index.aspx?isbn=[% ISSUE.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% ISSUE.normalized_upc %]&oclc=[% ISSUE.normalized_oclc %]" alt="" class="item-thumbnail" />
222
                                                        [% ELSE %]
223
                                                        [% ELSE %]
223
                                                            <img src="http://www.syndetics.com/index.aspx?isbn=[% ISSUE.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% ISSUE.normalized_upc %]&amp;oclc=[% ISSUE.normalized_oclc %]" alt="" class="item-thumbnail" />
224
                                                            <img src="http://www.syndetics.com/index.aspx?isbn=[% ISSUE.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% ISSUE.normalized_upc %]&oclc=[% ISSUE.normalized_oclc %]" alt="" class="item-thumbnail" />
224
                                                        [% END %]
225
                                                        [% END %]
225
                                                    [% END %]
226
                                                    [% END %]
226
227
Lines 235-255 Link Here
235
                                                [% IF ( ISSUE.overdue ) %]
236
                                                [% IF ( ISSUE.overdue ) %]
236
                                                    <td class="date_due overdue">
237
                                                    <td class="date_due overdue">
237
                                                        <span title="[% ISSUE.date_due %]">
238
                                                        <span title="[% ISSUE.date_due %]">
238
                                                            <span class="tdlabel">Date due:</span>
239
                                                            <span class="tdlabel">[% t('Date due:') %]</span>
239
                                                            [% ISSUE.date_due | $KohaDates as_due_date => 1 %]
240
                                                            [% ISSUE.date_due | $KohaDates as_due_date => 1 %]
240
                                                        </span>
241
                                                        </span>
241
                                                    </td>
242
                                                    </td>
242
                                                [% ELSE %]
243
                                                [% ELSE %]
243
                                                    <td class="date_due">
244
                                                    <td class="date_due">
244
                                                        <span title="[% ISSUE.date_due %]">
245
                                                        <span title="[% ISSUE.date_due %]">
245
                                                            <span class="tdlabel">Date due:</span>
246
                                                            <span class="tdlabel">[% t('Date due:') %]</span>
246
                                                            [% ISSUE.date_due | $KohaDates as_due_date => 1 %]
247
                                                            [% ISSUE.date_due | $KohaDates as_due_date => 1 %]
247
                                                        </span>
248
                                                        </span>
248
                                                    </td>
249
                                                    </td>
249
                                                [% END %]
250
                                                [% END %]
250
                                                [% UNLESS ( item_level_itypes ) %]
251
                                                [% UNLESS ( item_level_itypes ) %]
251
                                                    <td class="itype">
252
                                                    <td class="itype">
252
                                                        <span class="tdlabel">Item type:</span>
253
                                                        <span class="tdlabel">[% t('Item type:') %]</span>
253
                                                        [% IF ( ISSUE.imageurl ) %]
254
                                                        [% IF ( ISSUE.imageurl ) %]
254
                                                            <img src="[% ISSUE.imageurl %]" title="[% ISSUE.description %]" alt="[% ISSUE.description %]" />
255
                                                            <img src="[% ISSUE.imageurl %]" title="[% ISSUE.description %]" alt="[% ISSUE.description %]" />
255
                                                        [% END %] [% ISSUE.description %]
256
                                                        [% END %] [% ISSUE.description %]
Lines 257-313 Link Here
257
                                                [% END %]
258
                                                [% END %]
258
                                                [% IF ( show_barcode ) %]
259
                                                [% IF ( show_barcode ) %]
259
                                                    <td class="barcode">
260
                                                    <td class="barcode">
260
                                                        <span class="tdlabel">Barcode:</span>
261
                                                        <span class="tdlabel">[% t('Barcode:') %]</span>
261
                                                        [% ISSUE.barcode %]
262
                                                        [% ISSUE.barcode %]
262
                                                    </td>
263
                                                    </td>
263
                                                [% END %]
264
                                                [% END %]
264
                                                <td class="call_no">
265
                                                <td class="call_no">
265
                                                    <span class="tdlabel">Call no.:</span>
266
                                                    <span class="tdlabel">[% t('Call no.:') %]</span>
266
                                                    [% ISSUE.itemcallnumber %]
267
                                                    [% ISSUE.itemcallnumber %]
267
                                                </td>
268
                                                </td>
268
                                                [% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.category.effective_BlockExpiredPatronOpacActions ) ) %]
269
                                                [% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.category.effective_BlockExpiredPatronOpacActions ) ) %]
269
                                                    <td class="renew">
270
                                                    <td class="renew">
270
                                                    [% IF ISSUE.renewed %]<span class="blabel label-success">Renewed!</span><br />[% END %]
271
                                                    [% IF ISSUE.renewed %]<span class="blabel label-success">[% t('Renewed!') %]</span><br />[% END %]
271
                                                    [% IF ( ISSUE.status ) %]
272
                                                    [% IF ( ISSUE.status ) %]
272
                                                        [% IF ( canrenew ) %]
273
                                                        [% IF ( canrenew ) %]
273
                                                            <input type="checkbox" name="item" value="[% ISSUE.itemnumber %]"/> <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&amp;item=[% ISSUE.itemnumber %]&amp;borrowernumber=[% ISSUE.borrowernumber %]">Renew</a>
274
                                                            <input type="checkbox" name="item" value="[% ISSUE.itemnumber %]" /> <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&item=[% ISSUE.itemnumber %]&borrowernumber=[% ISSUE.borrowernumber %]">[% t('Renew') %]</a>
274
                                                        [% END %]
275
                                                        [% END %]
275
                                                        [% IF ISSUE.renewalfee > 0 %]
276
                                                        [% IF ISSUE.renewalfee > 0 %]
276
                                                            <span class="renewalfee">Fee for item type '[% ItemTypes.GetDescription( ISSUE.renewalitemtype) %]': [% ISSUE.renewalfee | $Price %]</span>
277
                                                            <span class="renewalfee">[% t('Fee for item type \'') %][% ItemTypes.GetDescription( ISSUE.renewalitemtype) %]': [% ISSUE.renewalfee | $Price %]</span>
277
                                                        [% END %]
278
                                                        [% END %]
278
                                                        <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span>
279
                                                        <span class="renewals">([% ISSUE.renewsleft %] [% t('of') %] [% ISSUE.renewsallowed %] [% t('renewals remaining)') %]</span>
279
                                                    [% ELSIF ( ISSUE.on_reserve ) %]
280
                                                    [% ELSIF ( ISSUE.on_reserve ) %]
280
                                                        Not renewable <span class="renewals">(on hold)</span>
281
                                                        [% t('Not renewable') %] <span class="renewals">[% t('(on hold)') %]</span>
281
                                                    [% ELSIF ( ISSUE.too_many ) %]
282
                                                    [% ELSIF ( ISSUE.too_many ) %]
282
                                                        Not renewable
283
                                                        [% t('Not renewable') %]
283
                                                    [% ELSIF ( ISSUE.norenew_overdue ) %]
284
                                                    [% ELSIF ( ISSUE.norenew_overdue ) %]
284
                                                        Not allowed <span class="renewals">(overdue)</span>
285
                                                        [% t('Not allowed') %] <span class="renewals">[% t('(overdue)') %]</span>
285
                                                    [% ELSIF ( ISSUE.auto_too_late ) %]
286
                                                    [% ELSIF ( ISSUE.auto_too_late ) %]
286
                                                        No longer renewable
287
                                                        [% t('No longer renewable') %]
287
                                                    [% ELSIF ISSUE.auto_too_much_oweing %]
288
                                                    [% ELSIF ISSUE.auto_too_much_oweing %]
288
                                                        Automatic renewal failed, you have unpaid fines.
289
                                                        [% t('Automatic renewal failed, you have unpaid fines.') %]
289
                                                        <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span>
290
                                                        <span class="renewals">([% ISSUE.renewsleft %] [% t('of') %] [% ISSUE.renewsallowed %] [% t('renewals remaining)') %]</span>
290
                                                    [% ELSIF ISSUE.auto_account_expired %]
291
                                                    [% ELSIF ISSUE.auto_account_expired %]
291
                                                        Automatic renewal failed, your account is expired.
292
                                                        [% t('Automatic renewal failed, your account is expired.') %]
292
                                                        <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span>
293
                                                        <span class="renewals">([% ISSUE.renewsleft %] [% t('of') %] [% ISSUE.renewsallowed %] [% t('renewals remaining)') %]</span>
293
                                                    [% ELSIF ( ISSUE.auto_renew || ISSUE.auto_too_soon ) %]
294
                                                    [% ELSIF ( ISSUE.auto_renew || ISSUE.auto_too_soon ) %]
294
                                                        Automatic renewal
295
                                                        [% t('Automatic renewal') %]
295
                                                        <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span>
296
                                                        <span class="renewals">([% ISSUE.renewsleft %] [% t('of') %] [% ISSUE.renewsallowed %] [% t('renewals remaining)') %]</span>
296
                                                    [% ELSIF ( ISSUE.too_soon ) %]
297
                                                    [% ELSIF ( ISSUE.too_soon ) %]
297
                                                        No renewal before [% ISSUE.soonestrenewdate %]
298
                                                        [% t('No renewal before') %] [% ISSUE.soonestrenewdate %]
298
                                                        <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span>
299
                                                        <span class="renewals">([% ISSUE.renewsleft %] [% t('of') %] [% ISSUE.renewsallowed %] [% t('renewals remaining)') %]</span>
299
                                                    [% END %]
300
                                                    [% END %]
300
                                                    </td>
301
                                                    </td>
301
                                                [% END %]
302
                                                [% END %]
302
                                                [% IF ( OPACFinesTab ) %]
303
                                                [% IF ( OPACFinesTab ) %]
303
                                                    <td class="fines">
304
                                                    <td class="fines">
304
                                                        <span class="tdlabel">Fines:</span>
305
                                                        <span class="tdlabel">[% t('Fines:') %]</span>
305
                                                        [% IF ( ISSUE.charges ) %]
306
                                                        [% IF ( ISSUE.charges ) %]
306
                                                            Yes (Item overdue or lost)
307
                                                            [% t('Yes (Item overdue or lost)') %]
307
                                                        [% ELSIF ( ISSUE.rentalfines ) %]
308
                                                        [% ELSIF ( ISSUE.rentalfines ) %]
308
                                                            Yes (Rental fees)
309
                                                            [% t('Yes (Rental fees)') %]
309
                                                        [% ELSE %]
310
                                                        [% ELSE %]
310
                                                            No
311
                                                            [% t('No') %]
311
                                                        [% END %]
312
                                                        [% END %]
312
                                                    </td>
313
                                                    </td>
313
                                                [% END %]
314
                                                [% END %]
Lines 316-324 Link Here
316
                                                [% END %]
317
                                                [% END %]
317
                                                [% IF ( Koha.Preference('AllowCheckoutNotes') ) %]
318
                                                [% IF ( Koha.Preference('AllowCheckoutNotes') ) %]
318
                                                    <td class="note">
319
                                                    <td class="note">
319
                                                        <input type="text" name="note" data-issue_id="[% ISSUE.issue_id %]" data-origvalue="[% ISSUE.note %]" value="[% ISSUE.note %]" readonly>
320
                                                        <input type="text" name="note" data-issue_id="[% ISSUE.issue_id %]" data-origvalue="[% ISSUE.note %]" value="[% ISSUE.note %]" readonly="">
320
                                                        <a class="btn" name="js_submitnote" id="save_[% ISSUE.issue_id %]" style="display:none;">Submit note</a>
321
                                                        <a class="btn" name="js_submitnote" id="save_[% ISSUE.issue_id %]" style="display:none;">[% t('Submit note') %]</a>
321
                                                        <a class="btn" name="nonjs_submitnote" href="/cgi-bin/koha/opac-issue-note.pl?issue_id=[% ISSUE.issue_id | url %]">Edit / Create note</a>
322
                                                        <a class="btn" name="nonjs_submitnote" href="/cgi-bin/koha/opac-issue-note.pl?issue_id=[% ISSUE.issue_id | url %]">[% t('Edit / Create note') %]</a>
322
                                                    </td>
323
                                                    </td>
323
                                                [% END %]
324
                                                [% END %]
324
                                            </tr>
325
                                            </tr>
Lines 340-368 Link Here
340
                                    <input type="submit" class="btn" value="Renew all" />
341
                                    <input type="submit" class="btn" value="Renew all" />
341
                                </form>
342
                                </form>
342
                                [% END %]
343
                                [% END %]
343
                                <p><a href="opac-ics.pl">Download as iCal/.ics file</a></p>
344
                                <p><a href="opac-ics.pl">[% t('Download as iCal/.ics file') %]</a></p>
344
                            [% ELSE %]
345
                            [% ELSE %]
345
                                <table class="table table-bordered table-striped">
346
                                <table class="table table-bordered table-striped">
346
                                    <tr><td>You have nothing checked out</td></tr>
347
                                    <tr><td>[% t('You have nothing checked out') %]</td></tr>
347
                                </table>
348
                                </table>
348
                            [% END # IF issues_count %]
349
                            [% END # IF issues_count %]
349
                        </div> <!-- / .opac-user-checkouts -->
350
                        </div> <!-- / .opac-user-checkouts -->
350
351
351
                        [% IF borrower_club_enrollments.count || borrower_enrollable_clubs.count %]
352
                        [% IF borrower_club_enrollments.count || borrower_enrollable_clubs.count %]
352
                            <div id="opac-user-clubs">
353
                            <div id="opac-user-clubs">
353
                                Loading...
354
                                [% t('Loading...') %]
354
                            </div>
355
                            </div>
355
                        [% END %]
356
                        [% END %]
356
357
357
                        [% IF ( OPACFinesTab ) %]
358
                        [% IF ( OPACFinesTab ) %]
358
                            <!-- FINES BOX -->
359
                            <!-- FINES BOX -->
359
                            [% IF BORROWER_INFO.amountoverfive %]
360
                            [% IF BORROWER_INFO.amountoverfive %]
360
                                <div id="opac-user-fines"> <h3>Fines and charges</h3>
361
                                <div id="opac-user-fines"> <h3>[% t('Fines and charges') %]</h3>
361
                                    <table class="table table-bordered table-striped">
362
                                    <table class="table table-bordered table-striped">
362
                                        <thead><tr><th colspan="2">Amount</th></tr></thead>
363
                                        <thead><tr><th colspan="2">[% t('Amount') %]</th></tr></thead>
363
                                        <tbody>
364
                                        <tbody>
364
                                            <tr>
365
                                            <tr>
365
                                                <td>You currently owe fines and charges amounting to:</td>
366
                                                <td>[% t('You currently owe fines and charges amounting to:') %]</td>
366
                                                <td><a href="/cgi-bin/koha/opac-account.pl">[% amountoutstanding | $Price %]</a></td>
367
                                                <td><a href="/cgi-bin/koha/opac-account.pl">[% amountoutstanding | $Price %]</a></td>
367
                                            </tr>
368
                                            </tr>
368
                                        </tbody>
369
                                        </tbody>
Lines 371-382 Link Here
371
                            [% END %]
372
                            [% END %]
372
373
373
                            [% IF BORROWER_INFO.amountoverzero %]
374
                            [% IF BORROWER_INFO.amountoverzero %]
374
                               <div id="opac-user-fines"> <h3>Fines and charges</h3>
375
                               <div id="opac-user-fines"> <h3>[% t('Fines and charges') %]</h3>
375
                                    <table class="table table-bordered table-striped">
376
                                    <table class="table table-bordered table-striped">
376
                                        <thead><tr><th colspan="2">Amount</th></tr></thead>
377
                                        <thead><tr><th colspan="2">[% t('Amount') %]</th></tr></thead>
377
                                        <tbody>
378
                                        <tbody>
378
                                            <tr>
379
                                            <tr>
379
                                                <td>You currently owe fines and charges amounting to:</td>
380
                                                <td>[% t('You currently owe fines and charges amounting to:') %]</td>
380
                                                <td><a href="/cgi-bin/koha/opac-account.pl">[% amountoutstanding | $Price %]</a></td>
381
                                                <td><a href="/cgi-bin/koha/opac-account.pl">[% amountoutstanding | $Price %]</a></td>
381
                                            </tr>
382
                                            </tr>
382
                                        </tbody>
383
                                        </tbody>
Lines 385-396 Link Here
385
                            [% END %]
386
                            [% END %]
386
387
387
                            [% IF BORROWER_INFO.amountlessthanzero %]
388
                            [% IF BORROWER_INFO.amountlessthanzero %]
388
                                <div id="opac-user-fines">  <h3>Credits</h3>
389
                                <div id="opac-user-fines">  <h3>[% t('Credits') %]</h3>
389
                                    <table class="table table-bordered table-striped">
390
                                    <table class="table table-bordered table-striped">
390
                                        <thead><tr><th colspan="2">Amount</th></tr></thead>
391
                                        <thead><tr><th colspan="2">[% t('Amount') %]</th></tr></thead>
391
                                        <tbody>
392
                                        <tbody>
392
                                            <tr>
393
                                            <tr>
393
                                                <td>You have a credit of:</td><td><a href="/cgi-bin/koha/opac-account.pl">[% amountoutstanding | $Price %]</a></td>
394
                                                <td>[% t('You have a credit of:') %]</td><td><a href="/cgi-bin/koha/opac-account.pl">[% amountoutstanding | $Price %]</a></td>
394
                                            </tr>
395
                                            </tr>
395
                                        </tbody>
396
                                        </tbody>
396
                                    </table>
397
                                    </table>
Lines 403-413 Link Here
403
                                <table id="opac-user-relative-issues-table" class="table table-bordered table-striped">
404
                                <table id="opac-user-relative-issues-table" class="table table-bordered table-striped">
404
                                    <thead>
405
                                    <thead>
405
                                        <tr>
406
                                        <tr>
406
                                            <th class="anti-the">Title</th>
407
                                            <th class="anti-the">[% t('Title') %]</th>
407
                                            <th>Due</th>
408
                                            <th>[% t('Due') %]</th>
408
                                            <th>Barcode</th>
409
                                            <th>[% t('Barcode') %]</th>
409
                                            <th>Call no.</th>
410
                                            <th>[% t('Call no.') %]</th>
410
                                            <th class="psort">Relative</th>
411
                                            <th class="psort">[% t('Relative') %]</th>
411
                                        </tr>
412
                                        </tr>
412
                                    </thead>
413
                                    </thead>
413
414
Lines 447-467 Link Here
447
                        [% IF ( overdues_count ) %]
448
                        [% IF ( overdues_count ) %]
448
                            <div id="opac-user-overdues">
449
                            <div id="opac-user-overdues">
449
                                <table id="overduest" class="table table-bordered table-striped">
450
                                <table id="overduest" class="table table-bordered table-striped">
450
                                    <caption>Overdues <span class="count">([% overdues_count %] total)</span></caption>
451
                                    <caption>[% t('Overdues') %] <span class="count">([% overdues_count %] [% t('total)') %]</span></caption>
451
                                    <!-- OVERDUES TABLE ROWS -->
452
                                    <!-- OVERDUES TABLE ROWS -->
452
                                    <thead>
453
                                    <thead>
453
                                        <tr>
454
                                        <tr>
454
                                            [% IF ( JacketImages ) %]<th class="nosort">&nbsp;</th>[% END %]
455
                                            [% IF ( JacketImages ) %]<th class="nosort"> </th>[% END %]
455
                                            <th class="anti-the">Title</th>
456
                                            <th class="anti-the">[% t('Title') %]</th>
456
                                            [% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %]
457
                                            [% UNLESS ( item_level_itypes ) %]<th>[% t('Item type') %]</th> [% END %]
457
                                            [% IF ( show_barcode ) %]<th>Barcode</th>[% END %]
458
                                            [% IF ( show_barcode ) %]<th>[% t('Barcode') %]</th>[% END %]
458
                                            <th>Call no.</th>
459
                                            <th>[% t('Call no.') %]</th>
459
                                            <th class="title-string psort">Due</th>
460
                                            <th class="title-string psort">[% t('Due') %]</th>
460
                                            [% IF ( OpacRenewalAllowed ) %]
461
                                            [% IF ( OpacRenewalAllowed ) %]
461
                                                <th class="nosort">Renew</th>
462
                                                <th class="nosort">[% t('Renew') %]</th>
462
                                            [% END %]
463
                                            [% END %]
463
                                            [% IF ( OPACFinesTab ) %]
464
                                            [% IF ( OPACFinesTab ) %]
464
                                                <th>Fines</th>
465
                                                <th>[% t('Fines') %]</th>
465
                                            [% END %]
466
                                            [% END %]
466
                                        </tr>
467
                                        </tr>
467
                                    </thead>
468
                                    </thead>
Lines 472-505 Link Here
472
                                                    <td class="jacketcell">
473
                                                    <td class="jacketcell">
473
                                                    [% IF ( OPACAmazonCoverImages ) %]
474
                                                    [% IF ( OPACAmazonCoverImages ) %]
474
                                                        [% IF ( OVERDUE.normalized_isbn ) %]
475
                                                        [% IF ( OVERDUE.normalized_isbn ) %]
475
                                                            <a href="http://www.amazon.com/gp/reader/[% OVERDUE.normalized_isbn %][% AmazonAssocTag %]#reader-link" title="View on Amazon.com"><img src="https://images-na.ssl-images-amazon.com/images/P/[% OVERDUE.normalized_isbn %].01.THUMBZZZ.jpg" alt="View on Amazon.com" class="item-thumbnail" /></a>
476
                                                            <a href="http://www.amazon.com/gp/reader/[% OVERDUE.normalized_isbn %][% AmazonAssocTag %]#reader-link" title="[% t('View on Amazon.com') %]"><img src="https://images-na.ssl-images-amazon.com/images/P/[% OVERDUE.normalized_isbn %].01.THUMBZZZ.jpg" alt="[% t('View on Amazon.com') %]" class="item-thumbnail" /></a>
476
                                                        [% ELSE %]
477
                                                        [% ELSE %]
477
                                                            <a href="#"><span class="no-image">No cover image available</span></a>
478
                                                            <a href="#"><span class="no-image">[% t('No cover image available') %]</span></a>
478
                                                        [% END %]
479
                                                        [% END %]
479
                                                    [% END %]
480
                                                    [% END %]
480
481
481
                                                    [% IF ( GoogleJackets ) %]
482
                                                    [% IF ( GoogleJackets ) %]
482
                                                        [% IF ( OVERDUE.normalized_isbn ) %]
483
                                                        [% IF ( OVERDUE.normalized_isbn ) %]
483
                                                            <div style="display:block;" title="Click to view in Google Books" class="[% OVERDUE.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
484
                                                            <div style="display:block;" title="[% t('Click to view in Google Books') %]" class="[% OVERDUE.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
484
                                                        [% ELSE %]
485
                                                        [% ELSE %]
485
                                                            <a href="http://books.google.com/books?q=[% OVERDUE.title |url %]"><span class="no-image">No cover image available</span></a>
486
                                                            <a href="http://books.google.com/books?q=[% OVERDUE.title |url %]"><span class="no-image">[% t('No cover image available') %]</span></a>
486
                                                        [% END %]
487
                                                        [% END %]
487
                                                    [% END %]
488
                                                    [% END %]
488
489
489
                                                    [% IF ( BakerTaylorEnabled ) %]
490
                                                    [% IF ( BakerTaylorEnabled ) %]
490
                                                        [% bt_id = ( OVERDUE.normalized_upc || OVERDUE.normalized_isbn ) %]
491
                                                        [% bt_id = ( OVERDUE.normalized_upc || OVERDUE.normalized_isbn ) %]
491
                                                        [% IF ( bt_id ) %]
492
                                                        [% IF ( bt_id ) %]
492
                                                            <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
493
                                                            <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="[% t('See Baker &amp; Taylor') %]" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
493
                                                        [% ELSE %]
494
                                                        [% ELSE %]
494
                                                            <span class="no-image">No cover image available</span><!-- BakerTaylor needs normalized_upc or normalized_isbn! -->
495
                                                            <span class="no-image">[% t('No cover image available') %]</span><!-- BakerTaylor needs normalized_upc or normalized_isbn! -->
495
                                                        [% END %]
496
                                                        [% END %]
496
                                                    [% END %]
497
                                                    [% END %]
497
498
498
                                                    [% IF ( SyndeticsCoverImages ) %]
499
                                                    [% IF ( SyndeticsCoverImages ) %]
499
                                                        [% IF ( using_https ) %]
500
                                                        [% IF ( using_https ) %]
500
                                                            <img src="https://secure.syndetics.com/index.aspx?isbn=[% OVERDUE.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;upc=[% OVERDUE.normalized_upc %]&amp;oclc=[% OVERDUE.normalized_oclc %]&amp;type=xw10" alt="" class="item-thumbnail" />
501
                                                            <img src="https://secure.syndetics.com/index.aspx?isbn=[% OVERDUE.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&upc=[% OVERDUE.normalized_upc %]&oclc=[% OVERDUE.normalized_oclc %]&type=xw10" alt="" class="item-thumbnail" />
501
                                                        [% ELSE %]
502
                                                        [% ELSE %]
502
                                                            <img src="http://www.syndetics.com/index.aspx?isbn=[% OVERDUE.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;upc=[% OVERDUE.normalized_upc %]&amp;oclc=[% OVERDUE.normalized_oclc %]&amp;type=xw10" alt="" class="item-thumbnail" />
503
                                                            <img src="http://www.syndetics.com/index.aspx?isbn=[% OVERDUE.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&upc=[% OVERDUE.normalized_upc %]&oclc=[% OVERDUE.normalized_oclc %]&type=xw10" alt="" class="item-thumbnail" />
503
                                                        [% END %]
504
                                                        [% END %]
504
                                                    [% END %]
505
                                                    [% END %]
505
                                                    </td>
506
                                                    </td>
Lines 519-563 Link Here
519
                                                [% END %]
520
                                                [% END %]
520
                                                [% IF ( show_barcode ) %]
521
                                                [% IF ( show_barcode ) %]
521
                                                    <td>
522
                                                    <td>
522
                                                        <span class="tdlabel">Barcode:</span>
523
                                                        <span class="tdlabel">[% t('Barcode:') %]</span>
523
                                                        [% OVERDUE.barcode %]
524
                                                        [% OVERDUE.barcode %]
524
                                                    </td>
525
                                                    </td>
525
                                                [% END %]
526
                                                [% END %]
526
                                                <td>
527
                                                <td>
527
                                                    <span class="tdlabel">Call no.:</span>
528
                                                    <span class="tdlabel">[% t('Call no.:') %]</span>
528
                                                    [% OVERDUE.itemcallnumber %]
529
                                                    [% OVERDUE.itemcallnumber %]
529
                                                </td>
530
                                                </td>
530
                                                <td>
531
                                                <td>
531
                                                    <span title="[% OVERDUE.date_due %]">
532
                                                    <span title="[% OVERDUE.date_due %]">
532
                                                        <span class="tdlabel">Date due:</span>
533
                                                        <span class="tdlabel">[% t('Date due:') %]</span>
533
                                                        [% OVERDUE.date_due | $KohaDates as_due_date => 1 %]
534
                                                        [% OVERDUE.date_due | $KohaDates as_due_date => 1 %]
534
                                                    </span>
535
                                                    </span>
535
                                                </td>
536
                                                </td>
536
                                                [% IF ( OpacRenewalAllowed ) %]
537
                                                [% IF ( OpacRenewalAllowed ) %]
537
                                                    <td>
538
                                                    <td>
538
                                                        [% IF ( OVERDUE.debarred ) %]
539
                                                        [% IF ( OVERDUE.debarred ) %]
539
                                                            Account frozen
540
                                                            [% t('Account frozen') %]
540
                                                        [% ELSIF ( OVERDUE.status ) %]
541
                                                        [% ELSIF ( OVERDUE.status ) %]
541
                                                            [% IF ( canrenew ) %]
542
                                                            [% IF ( canrenew ) %]
542
                                                                <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&amp;item=[% OVERDUE.itemnumber %]&amp;bornum=[% OVERDUE.borrowernumber %]">Renew</a>
543
                                                                <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&item=[% OVERDUE.itemnumber %]&bornum=[% OVERDUE.borrowernumber %]">[% t('Renew') %]</a>
543
                                                            [% END %]
544
                                                            [% END %]
544
                                                                <span class="renewals">([% OVERDUE.renewsleft %] of [% OVERDUE.renewsallowed %] renewals remaining)</span>
545
                                                                <span class="renewals">([% OVERDUE.renewsleft %] [% t('of') %] [% OVERDUE.renewsallowed %] [% t('renewals remaining)') %]</span>
545
                                                        [% ELSIF ( OVERDUE.norenew_overdue ) %]
546
                                                        [% ELSIF ( OVERDUE.norenew_overdue ) %]
546
                                                            Not allowed<span class="renewals">(overdue)</span>
547
                                                            [% t('Not allowed') %]<span class="renewals">[% t('(overdue)') %]</span>
547
                                                        [% ELSIF ( OVERDUE.onreserve ) %]
548
                                                        [% ELSIF ( OVERDUE.onreserve ) %]
548
                                                            On hold
549
                                                            [% t('On hold') %]
549
                                                        [% ELSE %]
550
                                                        [% ELSE %]
550
                                                            No renewals left
551
                                                            [% t('No renewals left') %]
551
                                                        [% END %]
552
                                                        [% END %]
552
                                                    </td>
553
                                                    </td>
553
                                                [% END %]
554
                                                [% END %]
554
                                                [% IF ( OPACFinesTab ) %]
555
                                                [% IF ( OPACFinesTab ) %]
555
                                                    <td>
556
                                                    <td>
556
                                                        <span class="tdlabel">Fines:</span>
557
                                                        <span class="tdlabel">[% t('Fines:') %]</span>
557
                                                        [% IF ( OVERDUE.charges ) %]
558
                                                        [% IF ( OVERDUE.charges ) %]
558
                                                            Yes
559
                                                            [% t('Yes') %]
559
                                                        [% ELSE %]
560
                                                        [% ELSE %]
560
                                                            No
561
                                                            [% t('No') %]
561
                                                        [% END %]
562
                                                        [% END %]
562
                                                    </td>
563
                                                    </td>
563
                                                [% END %]
564
                                                [% END %]
Lines 572-593 Link Here
572
                        [% IF ( RESERVES.count ) %]
573
                        [% IF ( RESERVES.count ) %]
573
                            <div id="opac-user-holds">
574
                            <div id="opac-user-holds">
574
                                <table id="holdst" class="table table-bordered table-striped">
575
                                <table id="holdst" class="table table-bordered table-striped">
575
                                    <caption>Holds <span class="count">([% RESERVES.count %] total)</span></caption>
576
                                    <caption>[% t('Holds') %] <span class="count">([% RESERVES.count %] [% t('total)') %]</span></caption>
576
                                    <!-- RESERVES TABLE ROWS -->
577
                                    <!-- RESERVES TABLE ROWS -->
577
                                    <thead>
578
                                    <thead>
578
                                        <tr>
579
                                        <tr>
579
                                            <th class="anti-the">Title</th>
580
                                            <th class="anti-the">[% t('Title') %]</th>
580
                                            <th class="psort title-string">Placed on</th>
581
                                            <th class="psort title-string">[% t('Placed on') %]</th>
581
                                            <th class="title-string">Expires on</th>
582
                                            <th class="title-string">[% t('Expires on') %]</th>
582
                                            <th>Pick up location</th>
583
                                            <th>[% t('Pick up location') %]</th>
583
                                            [% IF ( showpriority ) %]
584
                                            [% IF ( showpriority ) %]
584
                                                <th>Priority</th>
585
                                                <th>[% t('Priority') %]</th>
585
                                            [% END %]
586
                                            [% END %]
586
                                            <th>Status</th>
587
                                            <th>[% t('Status') %]</th>
587
                                            [% IF SuspendHoldsOpac %]
588
                                            [% IF SuspendHoldsOpac %]
588
                                                 <th class="nosort" >Suspend</th>
589
                                                 <th class="nosort">[% t('Suspend') %]</th>
589
                                            [% END %]
590
                                            [% END %]
590
                                            <th class="nosort">Modify</th>
591
                                            <th class="nosort">[% t('Modify') %]</th>
591
                                        </tr>
592
                                        </tr>
592
                                    </thead>
593
                                    </thead>
593
                                    <tbody>
594
                                    <tbody>
Lines 617-623 Link Here
617
                                            </td>
618
                                            </td>
618
                                            <td class="reservedate">
619
                                            <td class="reservedate">
619
                                                <span title="[% RESERVE.reservedate %]">
620
                                                <span title="[% RESERVE.reservedate %]">
620
                                                    <span class="tdlabel">Hold date:</span>
621
                                                    <span class="tdlabel">[% t('Hold date:') %]</span>
621
                                                    [% RESERVE.reservedate | $KohaDates %]
622
                                                    [% RESERVE.reservedate | $KohaDates %]
622
                                                </span>
623
                                                </span>
623
                                            </td>
624
                                            </td>
Lines 625-684 Link Here
625
                                                [% IF ! RESERVE.found %]
626
                                                [% IF ! RESERVE.found %]
626
                                                    [% IF ( RESERVE.expirationdate ) %]
627
                                                    [% IF ( RESERVE.expirationdate ) %]
627
                                                        <span title="[% RESERVE.expirationdate %]">
628
                                                        <span title="[% RESERVE.expirationdate %]">
628
                                                            <span class="tdlabel">Expiration:</span>
629
                                                            <span class="tdlabel">[% t('Expiration:') %]</span>
629
                                                                [% RESERVE.expirationdate | $KohaDates %]
630
                                                                [% RESERVE.expirationdate | $KohaDates %]
630
                                                        </span>
631
                                                        </span>
631
                                                    [% ELSE %]
632
                                                    [% ELSE %]
632
                                                        <span title="0000-00-00">
633
                                                        <span title="[% t('0000-00-00') %]">
633
                                                            <span class="tdlabel">Expiration:</span>
634
                                                            <span class="tdlabel">[% t('Expiration:') %]</span>
634
                                                            Never expires
635
                                                            [% t('Never expires') %]
635
                                                        </span>
636
                                                        </span>
636
                                                    [% END %]
637
                                                    [% END %]
637
                                                [% ELSE %]
638
                                                [% ELSE %]
638
                                                    <span title="0000-00-00">-</span>
639
                                                    <span title="[% t('0000-00-00') %]">-</span>
639
                                                [% END %]
640
                                                [% END %]
640
                                            </td>
641
                                            </td>
641
                                            <td class="branch">
642
                                            <td class="branch">
642
                                                <span class="tdlabel">Pick up location:</span>
643
                                                <span class="tdlabel">[% t('Pick up location:') %]</span>
643
                                                [% RESERVE.branch.branchname %]
644
                                                [% RESERVE.branch.branchname %]
644
                                            </td>
645
                                            </td>
645
                                            [% IF ( showpriority ) %]
646
                                            [% IF ( showpriority ) %]
646
                                                 <td class="priority">
647
                                                 <td class="priority">
647
                                                    <span class="tdlabel">Priority:</span>
648
                                                    <span class="tdlabel">[% t('Priority:') %]</span>
648
                                                    [% RESERVE.priority %]
649
                                                    [% RESERVE.priority %]
649
                                                </td>
650
                                                </td>
650
                                            [% END %]
651
                                            [% END %]
651
                                            <td class="status">
652
                                            <td class="status">
652
                                                <span class="tdlabel">Status:</span>
653
                                                <span class="tdlabel">[% t('Status:') %]</span>
653
                                                [% IF ( RESERVE.is_waiting ) %]
654
                                                [% IF ( RESERVE.is_waiting ) %]
654
                                                    [% IF ( RESERVE.is_at_destination ) %]
655
                                                    [% IF ( RESERVE.is_at_destination ) %]
655
                                                        [% IF ( RESERVE.found ) %]
656
                                                        [% IF ( RESERVE.found ) %]
656
                                                            Item waiting at <b> [% RESERVE.branch.branchname %]</b>
657
                                                            [% t('Item waiting at') %] <b> [% RESERVE.branch.branchname %]</b>
657
                                                            [% IF ( RESERVE.waitingdate ) %]
658
                                                            [% IF ( RESERVE.waitingdate ) %]
658
                                                                since [% RESERVE.waitingdate | $KohaDates %]
659
                                                                [% t('since') %] [% RESERVE.waitingdate | $KohaDates %]
659
                                                                [% IF RESERVE.expirationdate %]
660
                                                                [% IF RESERVE.expirationdate %]
660
                                                                    until [% RESERVE.expirationdate | $KohaDates %]
661
                                                                    [% t('until') %] [% RESERVE.expirationdate | $KohaDates %]
661
                                                                [% END %]
662
                                                                [% END %]
662
                                                            [% END %]
663
                                                            [% END %]
663
                                                            <input type="hidden" name="pickup" value="[% RESERVE.branchcode %]" />
664
                                                            <input type="hidden" name="pickup" value="[% RESERVE.branchcode %]" />
664
                                                        [% ELSE %]
665
                                                        [% ELSE %]
665
                                                            Item waiting to be pulled from <b> [% Branches.GetName( RESERVE.branchcode ) %]</b>
666
                                                            [% t('Item waiting to be pulled from') %] <b> [% Branches.GetName( RESERVE.branchcode ) %]</b>
666
                                                        [% END %]
667
                                                        [% END %]
667
                                                    [% ELSE %]
668
                                                    [% ELSE %]
668
                                                        Item in transit to <b> [% Branches.GetName( RESERVE.branchcode ) %]</b> <input type="hidden" name="pickup" value="[% RESERVE.branchcode %]" />
669
                                                        [% t('Item in transit to') %] <b> [% Branches.GetName( RESERVE.branchcode ) %]</b> <input type="hidden" name="pickup" value="[% RESERVE.branchcode %]" />
669
                                                    [% END %]
670
                                                    [% END %]
670
                                                [% ELSE %]
671
                                                [% ELSE %]
671
                                                    [% IF ( RESERVE.is_in_transit ) %]
672
                                                    [% IF ( RESERVE.is_in_transit ) %]
672
                                                        [% SET transfer = RESERVE.item.get_transfer %]
673
                                                        [% SET transfer = RESERVE.item.get_transfer %]
673
                                                        Item in transit from <b> [% Branches.GetName( transfer.frombranch ) %]</b> since
674
                                                        [% t('Item in transit from') %] <b> [% Branches.GetName( transfer.frombranch ) %]</b> [% t('since') %]
674
                                                        [% transfer.datesent | $KohaDates %]
675
                                                        [% transfer.datesent | $KohaDates %]
675
                                                    [% ELSIF ( RESERVE.suspend ) %]
676
                                                    [% ELSIF ( RESERVE.suspend ) %]
676
                                                        Suspended [% IF ( RESERVE.suspend_until ) %] until [% RESERVE.suspend_until %] [% END %]
677
                                                        [% t('Suspended') %] [% IF ( RESERVE.suspend_until ) %] [% t('until') %] [% RESERVE.suspend_until %] [% END %]
677
                                                    [% ELSE %]
678
                                                    [% ELSE %]
678
                                                        [% IF RESERVE.itemtype %]
679
                                                        [% IF RESERVE.itemtype %]
679
                                                            Pending for next available item of item type '[% ItemTypes.GetDescription( RESERVE.itemtype ) %]'
680
                                                            [% t('Pending for next available item of item type \'') %][% ItemTypes.GetDescription( RESERVE.itemtype ) %]'
680
                                                        [% ELSE %]
681
                                                        [% ELSE %]
681
                                                            Pending
682
                                                            [% t('Pending') %]
682
                                                        [% END %]
683
                                                        [% END %]
683
                                                    [% END %]
684
                                                    [% END %]
684
                                                [% END %]
685
                                                [% END %]
Lines 689-728 Link Here
689
                                                        [% IF RESERVE.suspend %]
690
                                                        [% IF RESERVE.suspend %]
690
                                                            <form class="form-inline" action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post">
691
                                                            <form class="form-inline" action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post">
691
                                                                <input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" />
692
                                                                <input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" />
692
                                                                <button class="btn btn-link" type="submit" name="submit"><i class="icon-play"></i> Resume</button>
693
                                                                <button class="btn btn-link" type="submit" name="submit"><i class="icon-play"></i> [% t('Resume') %]</button>
693
                                                            </form>
694
                                                            </form>
694
                                                        [% ELSE %]
695
                                                        [% ELSE %]
695
                                                            [% IF AutoResumeSuspendedHolds %]
696
                                                            [% IF AutoResumeSuspendedHolds %]
696
                                                                <a class="btn btn-link js-show" href="#suspendModal[% RESERVE.reserve_id %]" role="button" data-toggle="modal"><i class="icon-pause"></i> Suspend</a>
697
                                                                <a class="btn btn-link js-show" href="#suspendModal[% RESERVE.reserve_id %]" role="button" data-toggle="modal"><i class="icon-pause"></i> [% t('Suspend') %]</a>
697
                                                                [% # hold suspend modal form %]
698
                                                                [% # hold suspend modal form %]
698
                                                                <div id="suspendModal[% RESERVE.reserve_id %]" class="modal-nojs" tabindex="-1" role="dialog" aria-labelledby="suspendModal[% RESERVE.reserve_id %]Label" aria-hidden="true">
699
                                                                <div id="suspendModal[% RESERVE.reserve_id %]" class="modal-nojs" tabindex="-1" role="dialog" aria-labelledby="suspendModal[% RESERVE.reserve_id %]Label" aria-hidden="true">
699
                                                                    <form class="form-inline" action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post">
700
                                                                    <form class="form-inline" action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post">
700
                                                                        <div class="modal-header">
701
                                                                        <div class="modal-header">
701
                                                                            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
702
                                                                            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
702
                                                                            [% IF RESERVE.suspend %]
703
                                                                            [% IF RESERVE.suspend %]
703
                                                                                <h3 id="suspendModal[% RESERVE.reserve_id %]Label">Resume your hold on <i>[% RESERVE.biblio.title %]</i></h3>
704
                                                                                <h3 id="suspendModal[% RESERVE.reserve_id %]Label">[% t('Resume your hold on') %] <i>[% RESERVE.biblio.title %]</i></h3>
704
                                                                            [% ELSE %]
705
                                                                            [% ELSE %]
705
                                                                                <h3 id="suspendModal[% RESERVE.reserve_id %]Label">Suspend your hold on <i>[% RESERVE.biblio.title %]</i></h3>
706
                                                                                <h3 id="suspendModal[% RESERVE.reserve_id %]Label">[% t('Suspend your hold on') %] <i>[% RESERVE.biblio.title %]</i></h3>
706
                                                                            [% END %]
707
                                                                            [% END %]
707
                                                                        </div>
708
                                                                        </div>
708
                                                                        <div class="modal-body">
709
                                                                        <div class="modal-body">
709
                                                                            <input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" />
710
                                                                            <input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" />
710
                                                                            <label for="suspend_until_[% RESERVE.reserve_id %]">Suspend until:</label>
711
                                                                            <label for="suspend_until_[% RESERVE.reserve_id %]">[% t('Suspend until:') %]</label>
711
                                                                            <input name="suspend_until" id="suspend_until_[% RESERVE.reserve_id %]" class="suspend-until" size="10" />
712
                                                                            <input name="suspend_until" id="suspend_until_[% RESERVE.reserve_id %]" class="suspend-until" size="10" />
712
                                                                            [% INCLUDE 'date-format.inc' %]
713
                                                                            [% INCLUDE 'date-format.inc' %]
713
                                                                            <p class="js-show"><a href="#" onclick="document.getElementById('suspend_until_[% RESERVE.reserve_id %]').value='';return false;">Clear date to suspend indefinitely</a></p>
714
                                                                            <p class="js-show"><a href="#" onclick="document.getElementById('suspend_until_[% RESERVE.reserve_id %]').value='';return false;">[% t('Clear date to suspend indefinitely') %]</a></p>
714
                                                                            <button class="btn btn-mini js-hide" type="submit" name="submit">Suspend</button>
715
                                                                            <button class="btn btn-mini js-hide" type="submit" name="submit">[% t('Suspend') %]</button>
715
                                                                        </div>
716
                                                                        </div>
716
                                                                        <div class="modal-footer">
717
                                                                        <div class="modal-footer">
717
                                                                            <button class="btn btn-primary" type="submit" name="submit">Suspend</button>
718
                                                                            <button class="btn btn-primary" type="submit" name="submit">[% t('Suspend') %]</button>
718
                                                                            <a href="#" data-dismiss="modal" aria-hidden="true" class="cancel">Cancel</a>
719
                                                                            <a href="#" data-dismiss="modal" aria-hidden="true" class="cancel">[% t('Cancel') %]</a>
719
                                                                        </div>
720
                                                                        </div>
720
                                                                    </form>
721
                                                                    </form>
721
                                                                </div>  <!-- /#suspendModal[% RESERVE.reserve_id %] -->
722
                                                                </div>  <!-- /#suspendModal[% RESERVE.reserve_id %] -->
722
                                                            [% ELSE %]
723
                                                            [% ELSE %]
723
                                                                <form class="form-inline" action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post">
724
                                                                <form class="form-inline" action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post">
724
                                                                    <input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" />
725
                                                                    <input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" />
725
                                                                    <button class="btn btn-link" type="submit" name="submit"><i class="icon-pause"></i> Suspend</button>
726
                                                                    <button class="btn btn-link" type="submit" name="submit"><i class="icon-pause"></i> [% t('Suspend') %]</button>
726
                                                                </form>
727
                                                                </form>
727
                                                            [% END # / IF AutoResumeSuspendedHolds %]
728
                                                            [% END # / IF AutoResumeSuspendedHolds %]
728
                                                        [% END # / IF RESERVE.suspend %]
729
                                                        [% END # / IF RESERVE.suspend %]
Lines 734-740 Link Here
734
                                                    <form action="/cgi-bin/koha/opac-modrequest.pl" method="post">
735
                                                    <form action="/cgi-bin/koha/opac-modrequest.pl" method="post">
735
                                                    <input type="hidden" name="biblionumber" value="[% RESERVE.biblionumber %]" />
736
                                                    <input type="hidden" name="biblionumber" value="[% RESERVE.biblionumber %]" />
736
                                                    <input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" />
737
                                                    <input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" />
737
                                                    <button type="submit" name="submit" class="btn btn-mini btn-danger" onclick="return confirmDelete(MSG_CONFIRM_DELETE_HOLD);"><i class="icon-remove icon-white"></i> Cancel</button></form>
738
                                                    <button type="submit" name="submit" class="btn btn-mini btn-danger" onclick="return confirmDelete(MSG_CONFIRM_DELETE_HOLD);"><i class="icon-remove icon-white"></i> [% t('Cancel') %]</button></form>
738
                                                [% END %]
739
                                                [% END %]
739
                                            </td>
740
                                            </td>
740
                                        </tr>
741
                                        </tr>
Lines 745-764 Link Here
745
                            [% IF SuspendHoldsOpac %]
746
                            [% IF SuspendHoldsOpac %]
746
                                <div>
747
                                <div>
747
                                    <form class="form-inline" action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post">
748
                                    <form class="form-inline" action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post">
748
                                        <button type="submit" name="submit" class="btn" onclick="return confirmDelete(MSG_CONFIRM_SUSPEND_HOLDS);"><i class="icon-pause"></i> Suspend all holds</button>
749
                                        <button type="submit" name="submit" class="btn" onclick="return confirmDelete(MSG_CONFIRM_SUSPEND_HOLDS);"><i class="icon-pause"></i> [% t('Suspend all holds') %]</button>
749
                                        <input type="hidden" name="suspend" value="1" />
750
                                        <input type="hidden" name="suspend" value="1" />
750
751
751
                                        [% IF AutoResumeSuspendedHolds %]
752
                                        [% IF AutoResumeSuspendedHolds %]
752
                                            <label for="suspend_until"> until </label>
753
                                            <label for="suspend_until"> [% t('until') %] </label>
753
                                            <input name="suspend_until" id="suspend_until" class="suspend-until" readonly="readonly" size="10" />
754
                                            <input name="suspend_until" id="suspend_until" class="suspend-until" readonly="readonly" size="10" />
754
                                            <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('suspend_until').value='';return false;">Clear date to suspend indefinitely</a>
755
                                            <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('suspend_until').value='';return false;">[% t('Clear date to suspend indefinitely') %]</a>
755
                                        [% END %]
756
                                        [% END %]
756
                                    </form>
757
                                    </form>
757
                                </div>
758
                                </div>
758
                                <br/>
759
                                <br />
759
                                <div>
760
                                <div>
760
                                    <form action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post">
761
                                    <form action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post">
761
                                        <button type="submit" name="submit" class="btn" onclick="return confirmDelete(MSG_CONFIRM_RESUME_HOLDS);"><i class="icon-play"></i> Resume all suspended holds</button>
762
                                        <button type="submit" name="submit" class="btn" onclick="return confirmDelete(MSG_CONFIRM_RESUME_HOLDS);"><i class="icon-play"></i> [% t('Resume all suspended holds') %]</button>
762
                                        <input type="hidden" name="suspend" value="0" />
763
                                        <input type="hidden" name="suspend" value="0" />
763
                                    </form>
764
                                    </form>
764
                                </div>
765
                                </div>
Lines 770-791 Link Here
770
                            <div id="opac-user-article-requests">
771
                            <div id="opac-user-article-requests">
771
                                [% IF borrower.article_requests_current.count %]
772
                                [% IF borrower.article_requests_current.count %]
772
                                    <table id="article-requests-table" class="table table-bordered table-striped">
773
                                    <table id="article-requests-table" class="table table-bordered table-striped">
773
                                        <caption>Article requests <span class="count">([% borrower.article_requests_current.count %] total)</span></caption>
774
                                        <caption>[% t('Article requests') %] <span class="count">([% borrower.article_requests_current.count %] [% t('total)') %]</span></caption>
774
                                        <thead>
775
                                        <thead>
775
                                            <tr>
776
                                            <tr>
776
                                                <th class="anti-the article-request-record-title">Record title</th>
777
                                                <th class="anti-the article-request-record-title">[% t('Record title') %]</th>
777
                                                <th class="psort article-request-created-on">Placed on</th>
778
                                                <th class="psort article-request-created-on">[% t('Placed on') %]</th>
778
                                                <th class="anti-the article-request-title">Title</th>
779
                                                <th class="anti-the article-request-title">[% t('Title') %]</th>
779
                                                <th class="article-request-author">Author</th>
780
                                                <th class="article-request-author">[% t('Author') %]</th>
780
                                                <th class="article-request-volume">Volume</th>
781
                                                <th class="article-request-volume">[% t('Volume') %]</th>
781
                                                <th class="article-request-issue">Issue</th>
782
                                                <th class="article-request-issue">[% t('Issue') %]</th>
782
                                                <th class="article-request-date">Date</th>
783
                                                <th class="article-request-date">[% t('Date') %]</th>
783
                                                <th class="article-request-pages">Pages</th>
784
                                                <th class="article-request-pages">[% t('Pages') %]</th>
784
                                                <th class="article-request-chapters">Chapters</th>
785
                                                <th class="article-request-chapters">[% t('Chapters') %]</th>
785
                                                <th class="article-request-patron-notes">Notes</th>
786
                                                <th class="article-request-patron-notes">[% t('Notes') %]</th>
786
                                                <th class="article-request-status">Status</th>
787
                                                <th class="article-request-status">[% t('Status') %]</th>
787
                                                <th class="article-request-branchcode">Pickup library</th>
788
                                                <th class="article-request-branchcode">[% t('Pickup library') %]</th>
788
                                                <th class="nosort article-request-cancel">&nbsp;</th>
789
                                                <th class="nosort article-request-cancel"> </th>
789
                                            </tr>
790
                                            </tr>
790
                                        </thead>
791
                                        </thead>
791
792
Lines 797-803 Link Here
797
                                                        [% ar.item.enumchron %]
798
                                                        [% ar.item.enumchron %]
798
                                                    </a>
799
                                                    </a>
799
                                                    [% ar.biblio.author %]
800
                                                    [% ar.biblio.author %]
800
                                                    [% IF ar.itemnumber %] <i>(only [% ar.item.barcode %])</i>[% END %]
801
                                                    [% IF ar.itemnumber %] <i>[% t('(only') %] [% ar.item.barcode %])</i>[% END %]
801
                                                </td>
802
                                                </td>
802
803
803
                                                <td class="article-request-created_on">
804
                                                <td class="article-request-created_on">
Lines 838-850 Link Here
838
839
839
                                                <td class="article-request-status">
840
                                                <td class="article-request-status">
840
                                                    [% IF ar.status == 'PENDING' %]
841
                                                    [% IF ar.status == 'PENDING' %]
841
                                                        Pending
842
                                                        [% t('Pending') %]
842
                                                    [% ELSIF ar.status == 'PROCESSING' %]
843
                                                    [% ELSIF ar.status == 'PROCESSING' %]
843
                                                        Processing
844
                                                        [% t('Processing') %]
844
                                                    [% ELSIF ar.status == 'COMPLETED' %]
845
                                                    [% ELSIF ar.status == 'COMPLETED' %]
845
                                                        Completed
846
                                                        [% t('Completed') %]
846
                                                    [% ELSIF ar.status == 'CANCELED' %]
847
                                                    [% ELSIF ar.status == 'CANCELED' %]
847
                                                        Canceled
848
                                                        [% t('Canceled') %]
848
                                                    [% END %]
849
                                                    [% END %]
849
                                                </td>
850
                                                </td>
850
851
Lines 853-860 Link Here
853
                                                </td>
854
                                                </td>
854
855
855
                                                <td class="article-request-cancel">
856
                                                <td class="article-request-cancel">
856
                                                    <span class="tdlabel">Cancel:</span>
857
                                                    <span class="tdlabel">[% t('Cancel:') %]</span>
857
                                                    <a class="btn btn-mini btn-danger" href="opac-article-request-cancel.pl?id=[% ar.id %]" onclick="return confirmDelete(MSG_CONFIRM_DELETE_ARTREQ);"><i class="icon-remove icon-white"></i> Cancel</a>
858
                                                    <a class="btn btn-mini btn-danger" href="opac-article-request-cancel.pl?id=[% ar.id %]" onclick="return confirmDelete(MSG_CONFIRM_DELETE_ARTREQ);"><i class="icon-remove icon-white"></i> [% t('Cancel') %]</a>
858
                                                </td>
859
                                                </td>
859
                                            </tr>
860
                                            </tr>
860
                                        [% END %]
861
                                        [% END %]
Lines 862-868 Link Here
862
                                </table>
863
                                </table>
863
                            [% ELSE %]
864
                            [% ELSE %]
864
                                <table class="table table-bordered table-striped">
865
                                <table class="table table-bordered table-striped">
865
                                    <tr><td>You have no article requests currently.</td></tr>
866
                                    <tr><td>[% t('You have no article requests currently.') %]</td></tr>
866
                                </table>
867
                                </table>
867
                            [% END # IF article_requests_current.count %]
868
                            [% END # IF article_requests_current.count %]
868
                        </div> <!-- / #opac-user-article-requests -->
869
                        </div> <!-- / #opac-user-article-requests -->
869
- 

Return to bug 20988