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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc (-11 / +11 lines)
Lines 11-34 Link Here
11
    [% IF marcflavour == 'UNIMARC' %]
11
    [% IF marcflavour == 'UNIMARC' %]
12
        [% SWITCH type %]
12
        [% SWITCH type %]
13
            [% CASE 'broader' %]
13
            [% CASE 'broader' %]
14
              <span class="BT">BT: [% heading | html %]</span>
14
              <span class="BT">BT: [% heading %]</span>
15
            [% CASE 'narrower' %]
15
            [% CASE 'narrower' %]
16
              <span class="NT">NT: [% heading | html %]</span>
16
              <span class="NT">NT: [% heading %]</span>
17
            [% CASE 'seefrom' %]
17
            [% CASE 'seefrom' %]
18
              <span class="UF">UF: [% heading | html %]</span>
18
              <span class="UF">UF: [% heading %]</span>
19
            [% CASE 'seealso' %]
19
            [% CASE 'seealso' %]
20
              <span class="RT">RT: [% heading | html %]</span>
20
              <span class="RT">RT: [% heading %]</span>
21
        [% END %]
21
        [% END %]
22
    [% ELSE %]
22
    [% ELSE %]
23
        <span class="heading">
23
        <span class="heading">
24
        [% IF ( linkType=='seealso' ) %]
24
        [% IF ( linkType=='seealso' ) %]
25
            [% IF ( authid ) %]
25
            [% IF ( authid ) %]
26
            <a href="[% authidurl | url %][% authid | url %]">[% heading | html %]</a>
26
            <a href="[% authidurl | url %][% authid | url %]">[% heading %]</a>
27
            [% ELSE %]
27
            [% ELSE %]
28
            <a href="[% searchurl | url %][% heading | html %]">[% heading | html %]</a>
28
            <a href="[% searchurl | url %][% heading %]">[% heading %]</a>
29
            [% END %]
29
            [% END %]
30
        [% ELSE %]
30
        [% ELSE %]
31
            [% heading | html %]
31
            [% heading %]
32
        [% END %]
32
        [% END %]
33
        </span>
33
        </span>
34
        [% UNLESS ( type=='seefrom' || type=='seealso' ) %]
34
        [% UNLESS ( type=='seefrom' || type=='seealso' ) %]
Lines 42-48 Link Here
42
                    [% CASE 'narrower' %](Narrower heading)
42
                    [% CASE 'narrower' %](Narrower heading)
43
                    [% CASE 'parent' %](Immediate parent body)
43
                    [% CASE 'parent' %](Immediate parent body)
44
                    [% CASE %]
44
                    [% CASE %]
45
                        [% IF type %]([% type | html %])[% END %]
45
                        [% IF type %]([% type %])[% END %]
46
                    [% END %]
46
                    [% END %]
47
                </span>
47
                </span>
48
        [% END # / UNLESS seefrom %]
48
        [% END # / UNLESS seefrom %]
Lines 50-56 Link Here
50
[% END # / BLOCK showreference %]
50
[% END # / BLOCK showreference %]
51
51
52
[% BLOCK authresult %]
52
[% BLOCK authresult %]
53
    [% IF ( summary.label ) %][% summary.label | html %]:[% END %]
53
    [% IF ( summary.label ) %][% summary.label %]:[% END %]
54
    [% IF summary.summary %]
54
    [% IF summary.summary %]
55
        <div class="authority-summary">
55
        <div class="authority-summary">
56
            [% summary.summary %]
56
            [% summary.summary %]
Lines 59-65 Link Here
59
    [% UNLESS ( summary.summaryonly ) %]
59
    [% UNLESS ( summary.summaryonly ) %]
60
        <div class="authorizedheading">
60
        <div class="authorizedheading">
61
            [% FOREACH authorize IN summary.authorized %]
61
            [% FOREACH authorize IN summary.authorized %]
62
                <span class="authorizedheading">[% authorize.heading | html %]</span>
62
                <span class="authorizedheading">[% authorize.heading %]</span>
63
                [% UNLESS loop.last %] | [% END %]
63
                [% UNLESS loop.last %] | [% END %]
64
            [% END %]
64
            [% END %]
65
        </div>
65
        </div>
Lines 67-73 Link Here
67
            [% IF summary.notes %]
67
            [% IF summary.notes %]
68
                <div class="authres_notes">
68
                <div class="authres_notes">
69
                    [% FOREACH note IN summary.notes %]
69
                    [% FOREACH note IN summary.notes %]
70
                        <span>[% note.note | html %]</span>
70
                        <span>[% note.note %]</span>
71
                    [% END %]
71
                    [% END %]
72
                </div>
72
                </div>
73
            [% END %]
73
            [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc (-3 / +3 lines)
Lines 41-47 Link Here
41
                                    <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=2" tabindex="-1" role="menuitem"><strong>Public lists</strong></a></li>
41
                                    <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=2" tabindex="-1" role="menuitem"><strong>Public lists</strong></a></li>
42
                                    [% SET number_of_public_shelves = 0 %]
42
                                    [% SET number_of_public_shelves = 0 %]
43
                                    [% FOREACH s IN some_public_shelves %]
43
                                    [% FOREACH s IN some_public_shelves %]
44
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% s.shelfnumber %]&amp;sortfield=[% s.sortfield %]" tabindex="-1" role="menuitem">[% s.shelfname |html %]</a></li>
44
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% s.shelfnumber %]&amp;sortfield=[% s.sortfield %]" tabindex="-1" role="menuitem">[% s.shelfname %]</a></li>
45
                                        [% SET number_of_public_shelves = number_of_public_shelves + 1 %]
45
                                        [% SET number_of_public_shelves = number_of_public_shelves + 1 %]
46
                                        [% IF number_of_public_shelves >= 10 %][% LAST %][% END %]
46
                                        [% IF number_of_public_shelves >= 10 %][% LAST %][% END %]
47
                                    [% END %]
47
                                    [% END %]
Lines 58-64 Link Here
58
                                        [% IF some_private_shelves.count %]
58
                                        [% IF some_private_shelves.count %]
59
                                            [% SET number_of_private_shelves = 0 %]
59
                                            [% SET number_of_private_shelves = 0 %]
60
                                            [% FOREACH s IN some_private_shelves %]
60
                                            [% FOREACH s IN some_private_shelves %]
61
                                                <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% s.shelfnumber %]&amp;sortfield=[% s.sortfield %]" tabindex="-1" role="menuitem">[% s.shelfname |html %]</a></li>
61
                                                <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% s.shelfnumber %]&amp;sortfield=[% s.sortfield %]" tabindex="-1" role="menuitem">[% s.shelfname %]</a></li>
62
                                                [% SET number_of_private_shelves = number_of_private_shelves + 1 %]
62
                                                [% SET number_of_private_shelves = number_of_private_shelves + 1 %]
63
                                                [% IF number_of_private_shelves >= 10 %][% LAST %][% END %]
63
                                                [% IF number_of_private_shelves >= 10 %][% LAST %][% END %]
64
                                            [% END %]
64
                                            [% END %]
Lines 211-217 Link Here
211
                                    <div class="input-append nolibrarypulldown">
211
                                    <div class="input-append nolibrarypulldown">
212
                                [% END %]
212
                                [% END %]
213
                                [% IF ( ms_value ) %]
213
                                [% IF ( ms_value ) %]
214
                                    <input type="text" title="Type search term" class="transl1" id = "translControl1" name="q" value="[% ms_value |html %]" /><span id="translControl"></span>
214
                                    <input type="text" title="Type search term" class="transl1" id = "translControl1" name="q" value="[% ms_value %]" /><span id="translControl"></span>
215
                                [% ELSE %]
215
                                [% ELSE %]
216
                                    <input type="text" title="Type search term" class="transl1" id = "translControl1" name="q" /><span id="translControl"></span>
216
                                    <input type="text" title="Type search term" class="transl1" id = "translControl1" name="q" /><span id="translControl"></span>
217
                                [% END # /ms_value %]
217
                                [% END # /ms_value %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-authorities.inc (-2 / +2 lines)
Lines 9-17 Link Here
9
        [% FOREACH node IN tree %]
9
        [% FOREACH node IN tree %]
10
            <li id="hier[% node.authid %]" class="[% node.class %] authnode">
10
            <li id="hier[% node.authid %]" class="[% node.class %] authnode">
11
            [% IF ( node.current_value ) %]
11
            [% IF ( node.current_value ) %]
12
                <span class="currentauth">[% node.value | html %]</span>
12
                <span class="currentauth">[% node.value %]</span>
13
            [% ELSE %]
13
            [% ELSE %]
14
                <a href="opac-authoritiesdetail.pl?authid=[% node.authid %]" title="Term">[% node.value | html %]</a>
14
                <a href="opac-authoritiesdetail.pl?authid=[% node.authid %]" title="Term">[% node.value %]</a>
15
            [% END %]
15
            [% END %]
16
            [% IF ( node.children && node.children.size > 0 ) %]
16
            [% IF ( node.children && node.children.size > 0 ) %]
17
                [% PROCESS showtree tree = node.children %]
17
                [% PROCESS showtree tree = node.children %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc (-1 / +1 lines)
Lines 241-247 $.widget.bridge('uitooltip', $.ui.tooltip); Link Here
241
        signinLink.onclick = function(evt) {
241
        signinLink.onclick = function(evt) {
242
            // Requests a signed identity assertion from the user.
242
            // Requests a signed identity assertion from the user.
243
            navigator.id.request({
243
            navigator.id.request({
244
                siteName: "[% LibraryName | html %]",
244
                siteName: "[% LibraryName %]",
245
                returnTo: '/cgi-bin/koha/opac-user.pl',
245
                returnTo: '/cgi-bin/koha/opac-user.pl',
246
                oncancel: function() { alert('user refuses to share identity.'); }
246
                oncancel: function() { alert('user refuses to share identity.'); }
247
                });
247
                });
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc (-2 / +2 lines)
Lines 39-48 Link Here
39
                                  [% IF facet.active %]
39
                                  [% IF facet.active %]
40
                                    [% SET local_url = url _ "&amp;nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
40
                                    [% SET local_url = url _ "&amp;nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
41
                                    <span class="facet-label">[% facet.facet_label_value %]</span>
41
                                    <span class="facet-label">[% facet.facet_label_value %]</span>
42
                                    [<a href="[% local_url %]" title="Remove facet [% facet.facet_link_value | html %]">x</a>]
42
                                    [<a href="[% local_url %]" title="Remove facet [% facet.facet_link_value %]">x</a>]
43
                                  [% ELSE %]
43
                                  [% ELSE %]
44
                                    [% SET local_url = url _ "&amp;limit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
44
                                    [% SET local_url = url _ "&amp;limit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
45
                                    <span class="facet-label"><a href="[% local_url %]" title="[% facet.facet_title_value |html %]">[% facet.facet_label_value %]</a></span>
45
                                    <span class="facet-label"><a href="[% local_url %]" title="[% facet.facet_title_value %]">[% facet.facet_label_value %]</a></span>
46
                                    [% IF ( displayFacetCount ) %]
46
                                    [% IF ( displayFacetCount ) %]
47
                                      <span class="facet-count"> ([% facet.facet_count %])</span>
47
                                      <span class="facet-count"> ([% facet.facet_count %])</span>
48
                                    [% END %]
48
                                    [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/page-numbers.inc (-3 / +3 lines)
Lines 2-18 Link Here
2
    <div class="pagination pagination-small noprint">
2
    <div class="pagination pagination-small noprint">
3
        <ul>
3
        <ul>
4
        [% IF ( previous_page_offset.defined ) %]
4
        [% IF ( previous_page_offset.defined ) %]
5
            <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% previous_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |html %][% END %]">&laquo; Previous</a></li>
5
            <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;offset=[% previous_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by %][% END %]">&laquo; Previous</a></li>
6
        [% END %]
6
        [% END %]
7
        [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
7
        [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
8
            [% IF ( PAGE_NUMBER.highlight ) %]
8
            [% IF ( PAGE_NUMBER.highlight ) %]
9
                <li class="active"><a href="#">[% PAGE_NUMBER.pg %]</a></li>
9
                <li class="active"><a href="#">[% PAGE_NUMBER.pg %]</a></li>
10
            [% ELSE %]
10
            [% ELSE %]
11
                <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% PAGE_NUMBER.offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |html%][% END %]">[% PAGE_NUMBER.pg %]</a></li>
11
                <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;offset=[% PAGE_NUMBER.offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by%][% END %]">[% PAGE_NUMBER.pg %]</a></li>
12
            [% END %]
12
            [% END %]
13
        [% END %]
13
        [% END %]
14
        [% IF ( next_page_offset ) %]
14
        [% IF ( next_page_offset ) %]
15
            <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% next_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |html %][% END %]">Next &raquo;</a></li>
15
            <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;offset=[% next_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by %][% END %]">Next &raquo;</a></li>
16
        [% END %]
16
        [% END %]
17
        </ul>
17
        </ul>
18
    </div>
18
    </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc (-2 / +2 lines)
Lines 60-66 Link Here
60
                                [% IF ( BakerTaylorEnabled ) %]
60
                                [% IF ( BakerTaylorEnabled ) %]
61
                                    [% bt_id = ( item.browser_normalized_upc || item.browser_normalized_isbn ) %]
61
                                    [% bt_id = ( item.browser_normalized_upc || item.browser_normalized_isbn ) %]
62
                                    [% IF ( bt_id ) %]
62
                                    [% IF ( bt_id ) %]
63
                                        <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
63
                                        <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" />
64
                                    [% ELSE %]
64
                                    [% ELSE %]
65
                                        <span class="no-image">No cover image available</span>
65
                                        <span class="no-image">No cover image available</span>
66
                                    [% END %]
66
                                    [% END %]
Lines 81-87 Link Here
81
                    [% FOREACH item IN shelfbrowser_items %]
81
                    [% FOREACH item IN shelfbrowser_items %]
82
                        <td class="top">
82
                        <td class="top">
83
                            [% item.itemcallnumber %]
83
                            [% item.itemcallnumber %]
84
                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber %]&amp;shelfbrowse_itemnumber=[% item.itemnumber %]#shelfbrowser">[% item.title |html %]</a>
84
                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber %]&amp;shelfbrowse_itemnumber=[% item.itemnumber %]#shelfbrowser">[% item.title %]</a>
85
                        </td>
85
                        </td>
86
                    [% END %]
86
                    [% END %]
87
                </tr>
87
                </tr>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt (-7 / +7 lines)
Lines 12-24 Link Here
12
                        [% IF ( authorized ) %]
12
                        [% IF ( authorized ) %]
13
                            [% UNLESS ( newshelf ) %]
13
                            [% UNLESS ( newshelf ) %]
14
                                [% IF ( multiple ) %]
14
                                [% IF ( multiple ) %]
15
                                    <h1>Add [% total %] items to [% IF ( singleshelf ) %]<em>[% shelfname | html %]</em>: [% ELSE %]a list:[% END %]</h1>
15
                                    <h1>Add [% total %] items to [% IF ( singleshelf ) %]<em>[% shelfname %]</em>: [% ELSE %]a list:[% END %]</h1>
16
                                [% ELSE %]
16
                                [% ELSE %]
17
                                    <h1>Add to [% IF ( singleshelf ) %]<em>[% shelfname | html %]</em>[% ELSE %]a list:[% END %]</h1>
17
                                    <h1>Add to [% IF ( singleshelf ) %]<em>[% shelfname %]</em>[% ELSE %]a list:[% END %]</h1>
18
                                [% END %]
18
                                [% END %]
19
                                <ul>
19
                                <ul>
20
                                    [% FOREACH biblio IN biblios %]
20
                                    [% FOREACH biblio IN biblios %]
21
                                        <li> <span class="title">[% biblio.title |html %]</span>
21
                                        <li> <span class="title">[% biblio.title %]</span>
22
                                            [% IF ( biblio.author ) %]<span class="author"> [% biblio.author %] </span>[% END %]
22
                                            [% IF ( biblio.author ) %]<span class="author"> [% biblio.author %] </span>[% END %]
23
                                        </li>
23
                                        </li>
24
                                    [% END %]
24
                                    [% END %]
Lines 30-46 Link Here
30
                                            <label for="shelfnumber">Add to list:</label> <select name="shelfnumber" id="shelfnumber">
30
                                            <label for="shelfnumber">Add to list:</label> <select name="shelfnumber" id="shelfnumber">
31
                                                [% IF private_shelves.count %]<optgroup label="Private lists">
31
                                                [% IF private_shelves.count %]<optgroup label="Private lists">
32
                                                    [% FOREACH private_shelf IN private_shelves %]
32
                                                    [% FOREACH private_shelf IN private_shelves %]
33
                                                    <option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname | html%]</option>
33
                                                    <option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname %]</option>
34
                                                    [% END %]
34
                                                    [% END %]
35
                                                </optgroup>[% END %]
35
                                                </optgroup>[% END %]
36
                                                [% IF private_shelves_shared_with_me.count %]<optgroup label="Private lists shared with me">
36
                                                [% IF private_shelves_shared_with_me.count %]<optgroup label="Private lists shared with me">
37
                                                    [% FOREACH private_shelf IN private_shelves_shared_with_me %]
37
                                                    [% FOREACH private_shelf IN private_shelves_shared_with_me %]
38
                                                    <option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname | html%]</option>
38
                                                    <option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname %]</option>
39
                                                    [% END %]
39
                                                    [% END %]
40
                                                </optgroup>[% END %]
40
                                                </optgroup>[% END %]
41
                                                [% IF public_shelves.count %]<optgroup label="Public lists">
41
                                                [% IF public_shelves.count %]<optgroup label="Public lists">
42
                                                    [% FOREACH public_shelf IN public_shelves %]
42
                                                    [% FOREACH public_shelf IN public_shelves %]
43
                                                    <option value="[% public_shelf.shelfnumber %]">[% public_shelf.shelfname |html%]</option>
43
                                                    <option value="[% public_shelf.shelfnumber %]">[% public_shelf.shelfname %]</option>
44
                                                    [% END %]
44
                                                    [% END %]
45
                                                </optgroup>[% END %]
45
                                                </optgroup>[% END %]
46
                                            </select>
46
                                            </select>
Lines 87-93 Link Here
87
                                            </select>
87
                                            </select>
88
                                    </fieldset>
88
                                    </fieldset>
89
                                    [% FOREACH biblio IN biblios %]
89
                                    [% FOREACH biblio IN biblios %]
90
                                        <input type="hidden" name="biblionumber" value="[% biblio.biblionumber | html%]" />
90
                                        <input type="hidden" name="biblionumber" value="[% biblio.biblionumber%]" />
91
                                    [% END %]
91
                                    [% END %]
92
                                    <fieldset class="action">
92
                                    <fieldset class="action">
93
                                        <input type="hidden" name="sortfield" value="title" />
93
                                        <input type="hidden" name="sortfield" value="title" />
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt (-1 / +1 lines)
Lines 142-148 Link Here
142
                                <input type="hidden" name="koha_login_context" value="opac" />
142
                                <input type="hidden" name="koha_login_context" value="opac" />
143
                                <fieldset class="brief">
143
                                <fieldset class="brief">
144
                                    [% FOREACH INPUT IN INPUTS %]
144
                                    [% FOREACH INPUT IN INPUTS %]
145
                                        <input type="hidden" name="[% INPUT.name |html %]" value="[% INPUT.value |html %]" />
145
                                        <input type="hidden" name="[% INPUT.name %]" value="[% INPUT.value %]" />
146
                                    [% END %]
146
                                    [% END %]
147
                                    <label for="userid">Login</label>
147
                                    <label for="userid">Login</label>
148
                                    <input type="text"  size="25" id="userid"  name="userid" />
148
                                    <input type="text"  size="25" id="userid"  name="userid" />
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt (-3 / +3 lines)
Lines 6-12 Link Here
6
        <ul>
6
        <ul>
7
            [% IF ( displayprev ) %]
7
            [% IF ( displayprev ) %]
8
                <li>
8
                <li>
9
                    <a href="opac-authorities-home.pl?startfrom=[% startfromprev %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage |html %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby|html %]">
9
                    <a href="opac-authorities-home.pl?startfrom=[% startfromprev %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">
10
                        &laquo;
10
                        &laquo;
11
                    </a>
11
                    </a>
12
                </li>
12
                </li>
Lines 15-26 Link Here
15
                [% IF ( number.highlight ) %]
15
                [% IF ( number.highlight ) %]
16
                    <li class="active"><a href="#">[% number.number %]</a></li>
16
                    <li class="active"><a href="#">[% number.number %]</a></li>
17
                [% ELSE %]
17
                [% ELSE %]
18
                    <li><a href="opac-authorities-home.pl?startfrom=[% number.startfrom %]&amp;[% FOREACH searchdat IN number.searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage |html %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby|html %]">[% number.number %]</a></li>
18
                    <li><a href="opac-authorities-home.pl?startfrom=[% number.startfrom %]&amp;[% FOREACH searchdat IN number.searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">[% number.number %]</a></li>
19
                [% END %]
19
                [% END %]
20
            [% END %]
20
            [% END %]
21
            [% IF ( displaynext ) %]
21
            [% IF ( displaynext ) %]
22
                <li>
22
                <li>
23
                    <a href="opac-authorities-home.pl?startfrom=[% startfromnext %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]&amp;resultsperpage=[% resultsperpage |html %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby|html %]">&raquo;</a>
23
                    <a href="opac-authorities-home.pl?startfrom=[% startfromnext %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]&amp;resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">&raquo;</a>
24
                </li>
24
                </li>
25
            [% END %]
25
            [% END %]
26
        </ul>
26
        </ul>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt (-7 / +7 lines)
Lines 66-79 Link Here
66
                                [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
66
                                [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
67
                                    <h3>
67
                                    <h3>
68
                                        [% IF ( print_basket ) %]
68
                                        [% IF ( print_basket ) %]
69
                                            [% BIBLIO_RESULT.title |html %]
69
                                            [% BIBLIO_RESULT.title %]
70
                                                [% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield |html %] [% END %][% END %]
70
                                                [% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield %] [% END %][% END %]
71
                                                [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author |html %][% END %]
71
                                                [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %]
72
                                        [% ELSE %]
72
                                        [% ELSE %]
73
                                                <input type="checkbox" class="cb" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" onclick="selRecord(value,checked)" />
73
                                                <input type="checkbox" class="cb" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" onclick="selRecord(value,checked)" />
74
                                                [% BIBLIO_RESULT.title |html %]
74
                                                [% BIBLIO_RESULT.title %]
75
                                                [% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield |html %] [% END %][% END %]
75
                                                [% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield %] [% END %][% END %]
76
                                                [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author |html %][% END %]
76
                                                [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %]
77
                                        [% END # / IF print_basket %]
77
                                        [% END # / IF print_basket %]
78
                                    </h3>
78
                                    </h3>
79
                                    <!-- COinS / Openurl -->
79
                                    <!-- COinS / Openurl -->
Lines 256-262 Link Here
256
                                                </td>
256
                                                </td>
257
                                            [% END %]
257
                                            [% END %]
258
                                            <td>
258
                                            <td>
259
                                                <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>
259
                                                <a href="#" onclick="openBiblio('[% BIBLIO_RESULT.dest %]',[% BIBLIO_RESULT.biblionumber %])">[% BIBLIO_RESULT.title %][% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
260
                                                <!-- COinS / Openurl -->
260
                                                <!-- COinS / Openurl -->
261
                                                <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>
261
                                                <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>
262
                                                [% IF ( TagsInputEnabled && loggedinusername ) %]
262
                                                [% IF ( TagsInputEnabled && loggedinusername ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt (-3 / +3 lines)
Lines 32-38 Link Here
32
                                <ul>
32
                                <ul>
33
                                    [% FOREACH HIERARCHY_LOO IN HIERARCHY_LOOP %]
33
                                    [% FOREACH HIERARCHY_LOO IN HIERARCHY_LOOP %]
34
                                        <li>
34
                                        <li>
35
                                            <a href="opac-browser.pl?level=[% HIERARCHY_LOO.level %]&amp;filter=[% HIERARCHY_LOO.classification |uri %]">[% HIERARCHY_LOO.description |html %]</a>
35
                                            <a href="opac-browser.pl?level=[% HIERARCHY_LOO.level %]&amp;filter=[% HIERARCHY_LOO.classification |uri %]">[% HIERARCHY_LOO.description %]</a>
36
                                        </li>
36
                                        </li>
37
                                        <li style="list-style-type: none;">
37
                                        <li style="list-style-type: none;">
38
                                    [% END %]
38
                                    [% END %]
Lines 43-51 Link Here
43
                                                    <td>
43
                                                    <td>
44
                                                        <p>
44
                                                        <p>
45
                                                            [% IF ( LEVEL_LOO.endnode ) %]
45
                                                            [% IF ( LEVEL_LOO.endnode ) %]
46
                                                                <a href="opac-search.pl?q=Dewey-classification:[% LEVEL_LOO.classification |uri %]">[% LEVEL_LOO.description |html %]</a>
46
                                                                <a href="opac-search.pl?q=Dewey-classification:[% LEVEL_LOO.classification |uri %]">[% LEVEL_LOO.description %]</a>
47
                                                            [% ELSE %]
47
                                                            [% ELSE %]
48
                                                                <a href="opac-browser.pl?level=[% LEVEL_LOO.level %]&amp;filter=[% LEVEL_LOO.classification |uri %]">[% LEVEL_LOO.description |html %]</a>
48
                                                                <a href="opac-browser.pl?level=[% LEVEL_LOO.level %]&amp;filter=[% LEVEL_LOO.classification |uri %]">[% LEVEL_LOO.description %]</a>
49
                                                            [% END %]
49
                                                            [% END %]
50
                                                        </p>
50
                                                        </p>
51
                                                        <p style="font-size:0.75em"><i>([% LEVEL_LOO.number %] biblios)</i></p>
51
                                                        <p style="font-size:0.75em"><i>([% LEVEL_LOO.number %] biblios)</i></p>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-20 / +20 lines)
Lines 24-30 Link Here
24
    [% SET protocol = "http://" %]
24
    [% SET protocol = "http://" %]
25
[% END %]
25
[% END %]
26
[% INCLUDE 'doc-head-open.inc' %]
26
[% INCLUDE 'doc-head-open.inc' %]
27
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Details for: [% title |html %][% FOREACH subtitl IN subtitle %], [% subtitl.subfield |html %][% END %]</title>
27
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Details for: [% title %][% FOREACH subtitl IN subtitle %], [% subtitl.subfield %][% END %]</title>
28
[% INCLUDE 'doc-head-close.inc' %]
28
[% INCLUDE 'doc-head-close.inc' %]
29
[% IF ( bidi ) %]
29
[% IF ( bidi ) %]
30
  [% BLOCK cssinclude %]<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left.css" />[% END %]
30
  [% BLOCK cssinclude %]<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left.css" />[% END %]
Lines 40-46 Link Here
40
<div class="main">
40
<div class="main">
41
    <ul class="breadcrumb">
41
    <ul class="breadcrumb">
42
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
42
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
43
        <li><a href="#">Details for: [% title |html %][% FOREACH subtitl IN subtitle %], [% subtitl.subfield |html %][% END %]</a></li>
43
        <li><a href="#">Details for: [% title %][% FOREACH subtitl IN subtitle %], [% subtitl.subfield %][% END %]</a></li>
44
    </ul>
44
    </ul>
45
45
46
    <div class="container-fluid">
46
    <div class="container-fluid">
Lines 92-103 Link Here
92
                    [% IF ( BakerTaylorEnabled && bt_id ) %]
92
                    [% IF ( BakerTaylorEnabled && bt_id ) %]
93
                        [% IF BakerTaylorBookstoreURL %]
93
                        [% IF BakerTaylorBookstoreURL %]
94
                            [% IF ( OPACURLOpenInNewWindow ) %]
94
                            [% IF ( OPACURLOpenInNewWindow ) %]
95
                                <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]" target="_blank"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
95
                                <a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]" target="_blank"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a>
96
                            [% ELSE %]
96
                            [% ELSE %]
97
                                <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
97
                                <a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a>
98
                            [% END %]
98
                            [% END %]
99
                        [% ELSE %]
99
                        [% ELSE %]
100
                            <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
100
                            <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" />
101
                        [% END %]
101
                        [% END %]
102
                    [% END %]
102
                    [% END %]
103
                    </div><!-- / #bookcover -->
103
                    </div><!-- / #bookcover -->
Lines 115-122 Link Here
115
                    [% IF ( OPACXSLTDetailsDisplay ) %]
115
                    [% IF ( OPACXSLTDetailsDisplay ) %]
116
                        [% XSLTBloc %]
116
                        [% XSLTBloc %]
117
                    [% ELSE %]
117
                    [% ELSE %]
118
                        <h1 class="title">[% title |html %][% IF ( subtitle ) %] <span class="subtitle">[% FOREACH subtitl IN subtitle %][% subtitl.subfield |html %] [% END %]</span>[% END %]</h1>
118
                        <h1 class="title">[% title %][% IF ( subtitle ) %] <span class="subtitle">[% FOREACH subtitl IN subtitle %][% subtitl.subfield %] [% END %]</span>[% END %]</h1>
119
                        [% IF ( author ) %]<h5 class="author">by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author |html %]</a></h5>[% END %]
119
                        [% IF ( author ) %]<h5 class="author">by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author %]</a></h5>[% END %]
120
120
121
                        <span class="results_summary">[% UNLESS ( item_level_itypes ) %]
121
                        <span class="results_summary">[% UNLESS ( item_level_itypes ) %]
122
                            [
122
                            [
Lines 217-223 Link Here
217
                        [% IF ( publishercode ) %]
217
                        [% IF ( publishercode ) %]
218
                            <span class="results_summary publisher"><span class="label">Published by :</span>
218
                            <span class="results_summary publisher"><span class="label">Published by :</span>
219
                                <a href="/cgi-bin/koha/opac-search.pl?q=pb:[% publishercode |url %] ">
219
                                <a href="/cgi-bin/koha/opac-search.pl?q=pb:[% publishercode |url %] ">
220
                                    [% publishercode |html %]
220
                                    [% publishercode %]
221
                                </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %]
221
                                </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %]
222
                            </span>
222
                            </span>
223
                        [% END %]
223
                        [% END %]
Lines 405-411 Link Here
405
                            <span class="label">Tags from this library:</span>
405
                            <span class="label">Tags from this library:</span>
406
                            <ul id="tagslist">
406
                            <ul id="tagslist">
407
                                [% FOREACH TagLoo IN TagLoop %]
407
                                [% FOREACH TagLoo IN TagLoop %]
408
                                    <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>
408
                                    <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>
409
                                    [% IF ( loop.last ) %][% ELSE %], [% END %]
409
                                    [% IF ( loop.last ) %][% ELSE %], [% END %]
410
                                    </li>
410
                                    </li>
411
                                [% END %]
411
                                [% END %]
Lines 519-525 Link Here
519
                    [% IF ( BakerTaylorContentURL ) %]
519
                    [% IF ( BakerTaylorContentURL ) %]
520
                        <span class="results_summary">
520
                        <span class="results_summary">
521
                        <span class="label">Enhanced content: </span>
521
                        <span class="label">Enhanced content: </span>
522
                              [% IF ( OPACURLOpenInNewWindow ) %]<a href="[% BakerTaylorContentURL |html %]" target="_blank">Content Cafe</a>[% ELSE %]<a href="[% BakerTaylorContentURL |html %]">Content Cafe</a>[% END %]
522
                              [% IF ( OPACURLOpenInNewWindow ) %]<a href="[% BakerTaylorContentURL %]" target="_blank">Content Cafe</a>[% ELSE %]<a href="[% BakerTaylorContentURL %]">Content Cafe</a>[% END %]
523
                        </span>
523
                        </span>
524
                    [% END # / IF BakerTaylorContentURL %]
524
                    [% END # / IF BakerTaylorContentURL %]
525
525
Lines 905-911 Link Here
905
                                                <small>[% review.datereviewed | $KohaDates %]</small>
905
                                                <small>[% review.datereviewed | $KohaDates %]</small>
906
                                                <p>
906
                                                <p>
907
                                                    [% FILTER html_break %]
907
                                                    [% FILTER html_break %]
908
                                                        [% review.review |html %]
908
                                                        [% review.review %]
909
                                                    [% END %]
909
                                                    [% END %]
910
                                                    <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber %]&amp;reviewid=[% review.reviewid %]');">Edit</a>
910
                                                    <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber %]&amp;reviewid=[% review.reviewid %]');">Edit</a>
911
                                                </p>
911
                                                </p>
Lines 934-940 Link Here
934
                                                [% END # / IF ShowReviewer != "none"%]
934
                                                [% END # / IF ShowReviewer != "none"%]
935
                                                <p>
935
                                                <p>
936
                                                  [% FILTER html_break %]
936
                                                  [% FILTER html_break %]
937
                                                  [% review.review |html %]
937
                                                  [% review.review %]
938
                                                  [% END %]
938
                                                  [% END %]
939
                                                </p>
939
                                                </p>
940
                                            </div> <!-- / .commentline -->
940
                                            </div> <!-- / .commentline -->
Lines 983-993 Link Here
983
                                            [% UNLESS ( item_level_itypes ) %]
983
                                            [% UNLESS ( item_level_itypes ) %]
984
                                                <td>[% XISBN.description %]</td>
984
                                                <td>[% XISBN.description %]</td>
985
                                            [% END %]
985
                                            [% END %]
986
                                            <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a>
986
                                            <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title %]</a>
987
                                                [% IF ( XISBN.author ) %] by [% XISBN.author |html %][% END %]
987
                                                [% IF ( XISBN.author ) %] by [% XISBN.author %][% END %]
988
                                                [% IF ( XISBN.copyrightdate ) %] &copy;[% XISBN.copyrightdate %][% END %]
988
                                                [% IF ( XISBN.copyrightdate ) %] &copy;[% XISBN.copyrightdate %][% END %]
989
                                                [% IF ( XISBN.publishercode ) %]
989
                                                [% IF ( XISBN.publishercode ) %]
990
                                                    <p>[% XISBN.publishercode |html %]
990
                                                    <p>[% XISBN.publishercode %]
991
                                                        [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %]
991
                                                        [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %]
992
                                                        [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %]
992
                                                        [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %]
993
                                                        [% IF ( XISBN.pages ) %][% XISBN.pages %] [% XISBN.illus %] [% XISBN.size %][% END %]
993
                                                        [% IF ( XISBN.pages ) %][% XISBN.pages %] [% XISBN.illus %] [% XISBN.size %][% END %]
Lines 1070-1076 Link Here
1070
                        <ul class="pg_menu clearfix">
1070
                        <ul class="pg_menu clearfix">
1071
                            <li class="left_results">
1071
                            <li class="left_results">
1072
                                [% IF ( previousBiblionumber ) %]
1072
                                [% IF ( previousBiblionumber ) %]
1073
                                    <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>
1073
                                    <a href="opac-detail.pl?biblionumber=[% previousBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( previousTitle ) %][% previousTitle %][% ELSE %]previous biblio[% END %]">&laquo; Previous</a>
1074
                                [% ELSE %]
1074
                                [% ELSE %]
1075
                                    <span>Previous</span>
1075
                                    <span>Previous</span>
1076
                                [% END %]
1076
                                [% END %]
Lines 1079-1085 Link Here
1079
                            <li class="back_results"><a href="opac-search.pl?[% busc %]" title="Back to the results search list">Back to results</a></li>
1079
                            <li class="back_results"><a href="opac-search.pl?[% busc %]" title="Back to the results search list">Back to results</a></li>
1080
                            <li class="right_results">
1080
                            <li class="right_results">
1081
                                [% IF ( nextBiblionumber ) %]
1081
                                [% IF ( nextBiblionumber ) %]
1082
                                    <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>
1082
                                    <a href="opac-detail.pl?biblionumber=[% nextBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( nextTitle ) %][% nextTitle %][% ELSE %]next biblio[% END %]">Next &raquo;</a>
1083
                                [% ELSE %]
1083
                                [% ELSE %]
1084
                                    <span>Next</span>
1084
                                    <span>Next</span>
1085
                                [% END %]
1085
                                [% END %]
Lines 1357-1364 Link Here
1357
            [% FOREACH listResult IN listResults %]
1357
            [% FOREACH listResult IN listResults %]
1358
                arrPagination[[% listResult.index %]] = {
1358
                arrPagination[[% listResult.index %]] = {
1359
                    url:"[% listResult.url %][% IF ( listResult.url && query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]",
1359
                    url:"[% listResult.url %][% IF ( listResult.url && query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]",
1360
                    title:"[% listResult.title|remove('\n')|html %]",
1360
                    title:"[% listResult.title|remove('\n') %]",
1361
                    author:"[% listResult.author|html %]",
1361
                    author:"[% listResult.author %]",
1362
                    biblionumber:[% listResult.biblionumber %]
1362
                    biblionumber:[% listResult.biblionumber %]
1363
                };
1363
                };
1364
           [% END %]
1364
           [% END %]
Lines 1455-1461 Link Here
1455
            ]
1455
            ]
1456
        }));
1456
        }));
1457
1457
1458
        [% IF ( query_desc ) %][% IF ( OpacHighlightedWords ) %]var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') |html %]";
1458
        [% IF ( query_desc ) %][% IF ( OpacHighlightedWords ) %]var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') %]";
1459
            q_array = query_desc.split(" ");
1459
            q_array = query_desc.split(" ");
1460
            q_array = q_array.filter(function(n){ return n }); // Remove empty strings
1460
            q_array = q_array.filter(function(n){ return n }); // Remove empty strings
1461
            highlightOn();
1461
            highlightOn();
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadcart.tt (-1 / +1 lines)
Lines 22-28 Link Here
22
                                [% END %]
22
                                [% END %]
23
                            </select>
23
                            </select>
24
                            <fieldset class="action">
24
                            <fieldset class="action">
25
                                <input type="hidden" name="bib_list" value="[% bib_list | html %]" />
25
                                <input type="hidden" name="bib_list" value="[% bib_list %]" />
26
                                <input type="submit" name="save" value="Go" />
26
                                <input type="submit" name="save" value="Go" />
27
                                    <a class="cancel close" href="#">Cancel</a>
27
                                    <a class="cancel close" href="#">Cancel</a>
28
                            </fieldset>
28
                            </fieldset>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadshelf.tt (-3 / +3 lines)
Lines 57-72 Link Here
57
                                            <option value="isbd">ISBD</option>
57
                                            <option value="isbd">ISBD</option>
58
                                            <option value="iso2709">MARC</option>
58
                                            <option value="iso2709">MARC</option>
59
                                            [% FOREACH csv_profile IN csv_profiles %]
59
                                            [% FOREACH csv_profile IN csv_profiles %]
60
                                            <option value="[% csv_profile.export_format_id |html %]">CSV - [% csv_profile.profile |html %]</option>
60
                                            <option value="[% csv_profile.export_format_id %]">CSV - [% csv_profile.profile %]</option>
61
                                            [% END %]
61
                                            [% END %]
62
                                        </select>
62
                                        </select>
63
                                        <span class="required">Required</span>
63
                                        <span class="required">Required</span>
64
                                    </fieldset>
64
                                    </fieldset>
65
65
66
                                    <fieldset class="action">
66
                                    <fieldset class="action">
67
                                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
67
                                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
68
                                        <input type="submit" name="save" class="btn" value="Go" />
68
                                        <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>
69
                                        <a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber %]" class="cancel close" data-dismiss="modal">Cancel</a>
70
                                    </fieldset>
70
                                    </fieldset>
71
                                </form>
71
                                </form>
72
                                [% IF ( modal ) %]
72
                                [% IF ( modal ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-imageviewer.tt (-1 / +1 lines)
Lines 1-6 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Images for: [% biblio.title |html %]</title>
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Images for: [% biblio.title %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %]
5
[% BLOCK cssinclude %]
6
    <style type="text/css">
6
    <style type="text/css">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-mymessages.tt (-5 / +5 lines)
Lines 13-23 Link Here
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 %]</title>
17
        <link>[% message_lis.title |html %]</link>
17
        <link>[% message_lis.title %]</link>
18
        <description>[% message_lis.content |html %]</description>
18
        <description>[% message_lis.content %]</description>
19
        <pubDate>[% message_lis.time_queued |html %]</pubDate>
19
        <pubDate>[% message_lis.time_queued %]</pubDate>
20
        <guid>[% message_lis.title |html %]</guid>
20
        <guid>[% message_lis.title %]</guid>
21
      </item>
21
      </item>
22
      [% END %]
22
      [% END %]
23
   </channel>
23
   </channel>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-news-rss.tt (-3 / +3 lines)
Lines 7-15 Link Here
7
      <description></description>
7
      <description></description>
8
      [% FOREACH newsitem IN koha_news %]
8
      [% FOREACH newsitem IN koha_news %]
9
      <item>
9
      <item>
10
        <title>[% newsitem.title |html %]</title>
10
        <title>[% newsitem.title %]</title>
11
        <description>[% newsitem.new |html %]</description>
11
        <description>[% newsitem.new %]</description>
12
        <guid>[% OPACBaseURL %]/cgi-bin/koha/opac-main.pl#newsitem[% newsitem.idnew |html %]</guid>
12
        <guid>[% OPACBaseURL %]/cgi-bin/koha/opac-main.pl#newsitem[% newsitem.idnew %]</guid>
13
      </item>
13
      </item>
14
      [% END %]
14
      [% END %]
15
   </channel>
15
   </channel>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt (-26 / +26 lines)
Lines 2-11 Link Here
2
[% USE Koha %]
2
[% USE Koha %]
3
[% IF ( opensearchdescription ) %]
3
[% IF ( opensearchdescription ) %]
4
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
4
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
5
   <ShortName>[% LibraryName |html %] Search</ShortName>
5
   <ShortName>[% LibraryName %] Search</ShortName>
6
   <Description>Search the [% LibraryName |html %]</Description>
6
   <Description>Search the [% LibraryName %]</Description>
7
   <Tags>koha opac [% LibraryName |html %]</Tags>
7
   <Tags>koha opac [% LibraryName %]</Tags>
8
   <Contact>[% KohaAdminEmailAddress |html %]</Contact>
8
   <Contact>[% KohaAdminEmailAddress %]</Contact>
9
   <Url type="application/rss+xml"
9
   <Url type="application/rss+xml"
10
        template="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?q={searchTerms}&amp;pw={startPage?}&amp;format=rss2"/>
10
        template="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?q={searchTerms}&amp;pw={startPage?}&amp;format=rss2"/>
11
</OpenSearchDescription>
11
</OpenSearchDescription>
Lines 18-40 Link Here
18
      xmlns:dc="http://purl.org/dc/elements/1.1/"
18
      xmlns:dc="http://purl.org/dc/elements/1.1/"
19
      xmlns:atom="http://www.w3.org/2005/Atom">
19
      xmlns:atom="http://www.w3.org/2005/Atom">
20
   <channel>
20
   <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>
21
     <title><![CDATA[[% LibraryName %] Search [% IF ( query_desc ) %]for '[% query_desc %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc %]'[% END %]]]></title>
22
     <link>[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;format=rss2</link>
22
     <link>[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;format=rss2</link>
23
     <atom:link rel="self" type="application/rss+xml" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;sort_by=[% sort_by |html %]&amp;format=rss2"/>
23
     <atom:link rel="self" type="application/rss+xml" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;sort_by=[% sort_by %]&amp;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>
24
     <description><![CDATA[ Search results [% IF ( query_desc ) %]for '[% query_desc %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc %]'[% END %] at [% LibraryName %]]]></description>
25
     <opensearch:totalResults>[% total %]</opensearch:totalResults>
25
     <opensearch:totalResults>[% total %]</opensearch:totalResults>
26
     <opensearch:startIndex>[% offset %]</opensearch:startIndex>
26
     <opensearch:startIndex>[% offset %]</opensearch:startIndex>
27
     [% IF ( results_per_page ) %]
27
     [% IF ( results_per_page ) %]
28
       <opensearch:itemsPerPage>[% results_per_page |html%]</opensearch:itemsPerPage>
28
       <opensearch:itemsPerPage>[% results_per_page%]</opensearch:itemsPerPage>
29
     [% ELSE %]
29
     [% ELSE %]
30
       <opensearch:itemsPerPage>20</opensearch:itemsPerPage>
30
       <opensearch:itemsPerPage>20</opensearch:itemsPerPage>
31
     [% END %]
31
     [% END %]
32
	 [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
32
	 [% 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 |html %][% SEARCH_RESULT.limit_cgi |html %]&amp;sort_by=[% SEARCH_RESULT.sort_by |html %]&amp;format=opensearchdescription"/>
33
     <atom:link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% SEARCH_RESULT.query_cgi %][% SEARCH_RESULT.limit_cgi %]&amp;sort_by=[% SEARCH_RESULT.sort_by %]&amp;format=opensearchdescription"/>
34
     <opensearch:Query role="request" searchTerms="[% SEARCH_RESULT.query_desc |url %][% SEARCH_RESULT.limit_desc |url %]" startPage="[% SEARCH_RESULT.page %]" />
34
     <opensearch:Query role="request" searchTerms="[% SEARCH_RESULT.query_desc |url %][% SEARCH_RESULT.limit_desc |url %]" startPage="[% SEARCH_RESULT.page %]" />
35
     <item>
35
     <item>
36
       <title>[% SEARCH_RESULT.title |html %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield |html %][% END %]</title>
36
       <title>[% SEARCH_RESULT.title %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield %][% END %]</title>
37
       <dc:identifier>ISBN [% SEARCH_RESULT.isbn |html %]</dc:identifier>
37
       <dc:identifier>ISBN [% SEARCH_RESULT.isbn %]</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>
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>
39
       <description><![CDATA[
39
       <description><![CDATA[
40
[% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<img src="http://images.amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %]
40
[% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<img src="http://images.amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %]
Lines 44-57 Link Here
44
[% END %][% END %][% END %]
44
[% END %][% END %][% END %]
45
45
46
[% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
46
[% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
47
[% IF ( BakerTaylorEnabled ) %][% IF bt_id %]<a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>[% END %][% END %]
47
[% IF ( BakerTaylorEnabled ) %][% IF bt_id %]<a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a>[% END %][% END %]
48
	   <p>[% IF ( SEARCH_RESULT.author ) %]By [% SEARCH_RESULT.author |html %]. [% END %]
48
	   <p>[% IF ( SEARCH_RESULT.author ) %]By [% SEARCH_RESULT.author %]. [% 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 %]
49
	   [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place %] [% END %][% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode %][% END %][% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear %]
50
                    [% ELSE %][% IF ( SEARCH_RESULT.copyrightdate ) %] [% SEARCH_RESULT.copyrightdate |html %][% END %][% END %]
50
                    [% ELSE %][% IF ( SEARCH_RESULT.copyrightdate ) %] [% SEARCH_RESULT.copyrightdate %][% END %][% END %]
51
                        [% IF ( SEARCH_RESULT.pages ) %]. [% SEARCH_RESULT.pages |html %][% END %]
51
                        [% IF ( SEARCH_RESULT.pages ) %]. [% SEARCH_RESULT.pages %][% END %]
52
                        [% IF ( SEARCH_RESULT.notes ) %], [% SEARCH_RESULT.notes |html %][% END %]
52
                        [% IF ( SEARCH_RESULT.notes ) %], [% SEARCH_RESULT.notes %][% END %]
53
                        [% IF ( SEARCH_RESULT.size ) %] [% SEARCH_RESULT.size |html %]. [% END %]
53
                        [% IF ( SEARCH_RESULT.size ) %] [% SEARCH_RESULT.size %]. [% END %]
54
                        [% IF ( SEARCH_RESULT.isbn ) %] [% SEARCH_RESULT.isbn |html %][% END %]
54
                        [% IF ( SEARCH_RESULT.isbn ) %] [% SEARCH_RESULT.isbn %][% END %]
55
       </p>
55
       </p>
56
[% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
56
[% 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>
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>
Lines 67-78 Link Here
67
[% IF ( atom ) %]
67
[% IF ( atom ) %]
68
<feed xmlns="http://www.w3.org/2005/Atom"
68
<feed xmlns="http://www.w3.org/2005/Atom"
69
       xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
69
       xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
70
   <id>[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;format=atom</id>
70
   <id>[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;format=atom</id>
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>
71
   <title>[% LibraryName %] Search [% IF ( query_desc ) %]for '[% query_desc %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc %]'[% END %]</title>
72
    <link href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;format=rss2"/>
72
    <link href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;format=rss2"/>
73
   <updated>[% timestamp %]</updated>
73
   <updated>[% timestamp %]</updated>
74
   <author>
74
   <author>
75
     <name>[% LibraryName |html %]</name>
75
     <name>[% LibraryName %]</name>
76
   </author>
76
   </author>
77
   <!-- <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id> -->
77
   <!-- <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id> -->
78
   <opensearch:totalResults>[% total %]</opensearch:totalResults>
78
   <opensearch:totalResults>[% total %]</opensearch:totalResults>
Lines 82-88 Link Here
82
   [% ELSE %]
82
   [% ELSE %]
83
     <opensearch:itemsPerPage>20</opensearch:itemsPerPage>
83
     <opensearch:itemsPerPage>20</opensearch:itemsPerPage>
84
   [% END %]
84
   [% END %]
85
   <opensearch:Query role="request" searchTerms="[% query_desc |html %] [% limit_desc |html %]" startPage="[% page |html %]" />
85
   <opensearch:Query role="request" searchTerms="[% query_desc %] [% limit_desc %]" startPage="[% page %]" />
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"/>
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"/>
87
   <link rel="self" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&amp;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"/>
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"/>
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"/>
Lines 93-99 Link Here
93
93
94
   [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
94
   [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
95
   <entry>
95
   <entry>
96
     <title>[% SEARCH_RESULT.title |html %]</title>
96
     <title>[% SEARCH_RESULT.title %]</title>
97
     <link href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]"/>
97
     <link href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]"/>
98
     <!-- <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> -->
98
     <!-- <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> -->
99
     <updated>[% SEARCH_RESULT.timestamp %]</updated>
99
     <updated>[% SEARCH_RESULT.timestamp %]</updated>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt (-4 / +4 lines)
Lines 1-6 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; OverDrive search for '[% q | html %]'</title>
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; OverDrive search for '[% q %]'</title>
4
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %]
5
[% BLOCK cssinclude %]
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/jquery.rating.css" />
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/jquery.rating.css" />
Lines 17-23 Link Here
17
    <div class="main">
17
    <div class="main">
18
        <ul class="breadcrumb">
18
        <ul class="breadcrumb">
19
            <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">Home</a> <span class="divider">&rsaquo;</span></li>
20
            <li><a href="#">OverDrive search for '[% q | html %]'</a></li>
20
            <li><a href="#">OverDrive search for '[% q %]'</a></li>
21
        </ul>
21
        </ul>
22
22
23
        <div class="container-fluid">
23
        <div class="container-fluid">
Lines 29-35 Link Here
29
                </div>
29
                </div>
30
                <div class="span10">
30
                <div class="span10">
31
                    <div id="overdrive-results-content" class="maincontent searchresults">
31
                    <div id="overdrive-results-content" class="maincontent searchresults">
32
                        <h1>OverDrive search for '[% q | html %]'</h1>
32
                        <h1>OverDrive search for '[% q %]'</h1>
33
                            <div id="breadcrumbs">
33
                            <div id="breadcrumbs">
34
                                <p></p>
34
                                <p></p>
35
                            </div>
35
                            </div>
Lines 60-66 Link Here
60
<script type="text/javascript" src="[% interface %]/[% theme %]/js/overdrive.js"></script>
60
<script type="text/javascript" src="[% interface %]/[% theme %]/js/overdrive.js"></script>
61
<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/plugins/jquery.rating.js"></script>
61
<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/plugins/jquery.rating.js"></script>
62
<script type="text/javascript">
62
<script type="text/javascript">
63
var querystring = "[% q |replace( "'", "\'" ) |replace( '\n', '\\n' ) |replace( '\r', '\\r' ) |html %]";
63
var querystring = "[% q |replace( "'", "\'" ) |replace( '\n', '\\n' ) |replace( '\r', '\\r' ) %]";
64
var results_per_page = [% OPACnumSearchResults %];
64
var results_per_page = [% OPACnumSearchResults %];
65
65
66
function fetch_availability( prod, $tr ) {
66
function fetch_availability( prod, $tr ) {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt (-4 / +4 lines)
Lines 106-112 Link Here
106
                                                [% IF BakerTaylorEnabled %]
106
                                                [% IF BakerTaylorEnabled %]
107
                                                    [% bt_id = ( issue.normalized_upc || issue.normalized_isbn ) %]
107
                                                    [% bt_id = ( issue.normalized_upc || issue.normalized_isbn ) %]
108
                                                    [% IF ( bt_id ) %]
108
                                                    [% IF ( bt_id ) %]
109
                                                       <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
109
                                                       <a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a>
110
                                                    [% ELSE %]
110
                                                    [% ELSE %]
111
                                                       <span class="no-image">No cover image available</span>
111
                                                       <span class="no-image">No cover image available</span>
112
                                                    [% END %]
112
                                                    [% END %]
Lines 122-132 Link Here
122
                                                </td>
122
                                                </td>
123
                                                <td>
123
                                                <td>
124
                                                [% IF  issue.BiblioDefaultViewmarc %]
124
                                                [% IF  issue.BiblioDefaultViewmarc %]
125
                                                     <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title |html %] [% IF  issue.subtitle  %][% FOREACH subtitl IN issue.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
125
                                                     <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title %] [% IF  issue.subtitle  %][% FOREACH subtitl IN issue.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
126
                                                [% ELSIF issue.BiblioDefaultViewisbd %]
126
                                                [% ELSIF issue.BiblioDefaultViewisbd %]
127
                                                     <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title |html %] [% IF issue.subtitle %][% FOREACH subtitl IN issue.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
127
                                                     <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title %] [% IF issue.subtitle %][% FOREACH subtitl IN issue.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
128
                                                [% ELSE %]
128
                                                [% ELSE %]
129
                                                     <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title |html %] [% IF issue.subtitle %][% FOREACH subtitl IN issue.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
129
                                                     <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title %] [% IF issue.subtitle %][% FOREACH subtitl IN issue.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
130
                                                [% END %]
130
                                                [% END %]
131
                                                <span class="item-details">[% issue.author %]</span>
131
                                                <span class="item-details">[% issue.author %]</span>
132
                                                </td>
132
                                                </td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-1 / +1 lines)
Lines 128-134 Link Here
128
                                            [% END # / bibitemloo.holdable %]
128
                                            [% END # / bibitemloo.holdable %]
129
129
130
                                            <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% bibitemloo.biblionumber %]">
130
                                            <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% bibitemloo.biblionumber %]">
131
                                                [% bibitemloo.title |html %]
131
                                                [% bibitemloo.title %]
132
                                                [% IF ( bibitemloo.subtitle ) %]
132
                                                [% IF ( bibitemloo.subtitle ) %]
133
                                                    [% FOREACH subtitl IN bibitemloo.subtitle %]
133
                                                    [% FOREACH subtitl IN bibitemloo.subtitle %]
134
                                                        [% subtitl.subfield %]
134
                                                        [% subtitl.subfield %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt (-7 / +7 lines)
Lines 2-15 Link Here
2
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;
4
[% IF ( searchdesc ) %]
4
[% IF ( searchdesc ) %]
5
    Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %]
5
    Results of search [% IF ( query_desc ) %]for '[% query_desc %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc %]'[% END %]
6
[% ELSE %]
6
[% ELSE %]
7
    You did not specify any search criteria.
7
    You did not specify any search criteria.
8
[% END %]</title>
8
[% END %]</title>
9
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% BLOCK cssinclude %][% END %]
10
[% BLOCK cssinclude %][% END %]
11
<link rel="alternate" type="application/rss+xml" title="Koha - RSS"
11
<link rel="alternate" type="application/rss+xml" title="Koha - RSS"
12
href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" />
12
href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi %]" />
13
13
14
</head>
14
</head>
15
[% INCLUDE 'bodytag.inc' bodyid='results-grouped' %]
15
[% INCLUDE 'bodytag.inc' bodyid='results-grouped' %]
Lines 20-26 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
20
            <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">Home</a> <span class="divider">&rsaquo;</span></li>
21
            <li>
21
            <li>
22
                [% IF ( searchdesc ) %]
22
                [% IF ( searchdesc ) %]
23
                    <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>
23
                    <a href="#">Results of search [% IF ( query_desc ) %]for '[% query_desc %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc %]'[% END %]</a>
24
                [% ELSE %]
24
                [% ELSE %]
25
                    <a href="#">You did not specify any search criteria.</a>
25
                    <a href="#">You did not specify any search criteria.</a>
26
                [% END %]
26
                [% END %]
Lines 104-110 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
104
                                                [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
104
                                                [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
105
                                                <tr>
105
                                                <tr>
106
                                                    <td>
106
                                                    <td>
107
                                                        <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>
107
                                                        <a href="/cgi-bin/koha/opac-search.pl?q=[% SEARCH_RESULT.scan_use |url %]&quot;[% SEARCH_RESULT.title |url %]&quot;">[% SEARCH_RESULT.title %]</a>
108
                                                    </td>
108
                                                    </td>
109
                                                    <td>
109
                                                    <td>
110
                                                        [% FOREACH subtitl IN SEARCH_RESULT.subtitle %]
110
                                                        [% FOREACH subtitl IN SEARCH_RESULT.subtitle %]
Lines 122-131 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
122
                                    <form action="/cgi-bin/koha/opac-search.pl" method="get" name="bookbag_form" id="bookbag_form">
122
                                    <form action="/cgi-bin/koha/opac-search.pl" method="get" name="bookbag_form" id="bookbag_form">
123
                                        [% IF ( searchdesc ) %]
123
                                        [% IF ( searchdesc ) %]
124
                                            [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
124
                                            [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
125
                                                <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]"/>
125
                                                <input type="hidden" name="[% QUERY_INPUT.input_name %]" value="[% QUERY_INPUT.input_value %]"/>
126
                                            [% END %]
126
                                            [% END %]
127
                                            [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
127
                                            [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
128
                                                <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]"/>
128
                                                <input type="hidden" name="[% LIMIT_INPUT.input_name %]" value="[% LIMIT_INPUT.input_value %]"/>
129
                                            [% END %]
129
                                            [% END %]
130
                                        [% END %]
130
                                        [% END %]
131
131
Lines 323-329 $(document).ready(function(){ Link Here
323
        return false;
323
        return false;
324
    });
324
    });
325
    [% IF ( query_desc ) %]
325
    [% IF ( query_desc ) %]
326
    var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') |html %]";
326
    var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') %]";
327
    q_array = query_desc.split(" ");
327
    q_array = query_desc.split(" ");
328
    // ensure that we don't have "" at the end of the array, which can
328
    // ensure that we don't have "" at the end of the array, which can
329
    // break the highlighter
329
    // break the highlighter
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-16 / +16 lines)
Lines 5-11 Link Here
5
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;
7
[% IF ( searchdesc ) %]
7
[% IF ( searchdesc ) %]
8
    Results of search [% IF ( query_desc ) %]for '[% query_desc | html%]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %]
8
    Results of search [% IF ( query_desc ) %]for '[% query_desc%]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc %]'[% END %]
9
[% ELSE %]
9
[% ELSE %]
10
    You did not specify any search criteria.
10
    You did not specify any search criteria.
11
[% END %]</title>
11
[% END %]</title>
Lines 16-22 Link Here
16
    [% END %]
16
    [% END %]
17
[% END %]
17
[% END %]
18
18
19
<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" />
19
<link rel="alternate" type="application/rss+xml" title="[% LibraryName %] 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" />
20
</head>
20
</head>
21
21
22
[% INCLUDE 'bodytag.inc' bodyid='results' bodyclass='scrollto' %]
22
[% INCLUDE 'bodytag.inc' bodyid='results' bodyclass='scrollto' %]
Lines 27-33 Link Here
27
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
27
            <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
28
            <li>
28
            <li>
29
                [% IF ( searchdesc ) %]
29
                [% IF ( searchdesc ) %]
30
                    <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>
30
                    <a href="#">Results of search [% IF ( query_desc ) %]for '[% query_desc%]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc %]'[% END %]</a>
31
                [% ELSE %]
31
                [% ELSE %]
32
                    <a href="#">You did not specify any search criteria</a>
32
                    <a href="#">You did not specify any search criteria</a>
33
                [% END %]
33
                [% END %]
Lines 77-83 Link Here
77
77
78
                [% IF ( searchdesc ) %]
78
                [% IF ( searchdesc ) %]
79
                    <p id="numresults">
79
                    <p id="numresults">
80
                    [% IF ( total ) %]<strong>Your search returned [% total |html %] results.</strong>
80
                    [% IF ( total ) %]<strong>Your search returned [% total %] results.</strong>
81
                        [% IF ( related ) %]
81
                        [% IF ( related ) %]
82
                            (related searches:
82
                            (related searches:
83
                                [% FOREACH relate IN related %]
83
                                [% FOREACH relate IN related %]
Lines 85-91 Link Here
85
                                [% END %]
85
                                [% END %]
86
                            ).
86
                            ).
87
                        [% END %]
87
                        [% END %]
88
                        <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>
88
                        <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi | url %][% limit_cgi |html | url %]&amp;count=[% countrss %]&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>
89
                    [% END # / IF total %]
89
                    [% END # / IF total %]
90
                    </p>
90
                    </p>
91
                [% END # / IF searchdesc %]
91
                [% END # / IF searchdesc %]
Lines 128-137 Link Here
128
                            <form action="/cgi-bin/koha/opac-search.pl" method="get" name="bookbag_form" id="bookbag_form" class="checkboxed">
128
                            <form action="/cgi-bin/koha/opac-search.pl" method="get" name="bookbag_form" id="bookbag_form" class="checkboxed">
129
                                [% IF ( searchdesc ) %]
129
                                [% IF ( searchdesc ) %]
130
                                    [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
130
                                    [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
131
                                        <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]"/>
131
                                        <input type="hidden" name="[% QUERY_INPUT.input_name %]" value="[% QUERY_INPUT.input_value %]"/>
132
                                    [% END %]
132
                                    [% END %]
133
                                    [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
133
                                    [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
134
                                        <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]"/>
134
                                        <input type="hidden" name="[% LIMIT_INPUT.input_name %]" value="[% LIMIT_INPUT.input_value %]"/>
135
                                    [% END %]
135
                                    [% END %]
136
                                [% END # IF /searchdesc %]
136
                                [% END # IF /searchdesc %]
137
137
Lines 290-296 Link Here
290
                                                        [% IF ( BakerTaylorEnabled && !BakerTaylorBookstoreURL ) %]
290
                                                        [% IF ( BakerTaylorEnabled && !BakerTaylorBookstoreURL ) %]
291
                                                            [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
291
                                                            [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
292
                                                            [% IF ( bt_id ) %]
292
                                                            [% IF ( bt_id ) %]
293
                                                                <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
293
                                                                <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" />
294
                                                            [% ELSE %]
294
                                                            [% ELSE %]
295
                                                                <span class="no-image">No cover image available</span>
295
                                                                <span class="no-image">No cover image available</span>
296
                                                            [% END %]
296
                                                            [% END %]
Lines 300-307 Link Here
300
                                                    [% IF ( BakerTaylorEnabled && BakerTaylorBookstoreURL ) %]
300
                                                    [% IF ( BakerTaylorEnabled && BakerTaylorBookstoreURL ) %]
301
                                                        [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
301
                                                        [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
302
                                                        [% IF ( bt_id ) %]
302
                                                        [% IF ( bt_id ) %]
303
                                                            <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]">
303
                                                            <a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]">
304
                                                                <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
304
                                                                <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" />
305
                                                            </a>
305
                                                            </a>
306
                                                        [% ELSE %]
306
                                                        [% ELSE %]
307
                                                            <span class="no-image">No cover image available</span>
307
                                                            <span class="no-image">No cover image available</span>
Lines 338-350 Link Here
338
                                                    [% END %]
338
                                                    [% END %]
339
339
340
                                                    [% IF ( SEARCH_RESULT.title ) %]
340
                                                    [% IF ( SEARCH_RESULT.title ) %]
341
                                                        [% SEARCH_RESULT.title |html %]
341
                                                        [% SEARCH_RESULT.title %]
342
                                                    [% ELSE %]
342
                                                    [% ELSE %]
343
                                                        No title
343
                                                        No title
344
                                                    [% END %]
344
                                                    [% END %]
345
345
346
                                                    [% FOREACH subtitl IN SEARCH_RESULT.subtitle %]
346
                                                    [% FOREACH subtitl IN SEARCH_RESULT.subtitle %]
347
                                                        , [% subtitl.subfield|html %]
347
                                                        , [% subtitl.subfield %]
348
                                                    [% END %]</a>
348
                                                    [% END %]</a>
349
349
350
                                                    [% IF ( SEARCH_RESULT.author ) %]
350
                                                    [% IF ( SEARCH_RESULT.author ) %]
Lines 356-362 Link Here
356
                                                    <span class="results_summary publisher">
356
                                                    <span class="results_summary publisher">
357
                                                        <span class="label">Publication:</span>
357
                                                        <span class="label">Publication:</span>
358
                                                            [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place %] [% END %]
358
                                                            [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place %] [% END %]
359
                                                            [% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode|html %][% END %]
359
                                                            [% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode %][% END %]
360
                                                            [% IF ( SEARCH_RESULT.publicationyear ) %]
360
                                                            [% IF ( SEARCH_RESULT.publicationyear ) %]
361
                                                                [% SEARCH_RESULT.publicationyear %]
361
                                                                [% SEARCH_RESULT.publicationyear %]
362
                                                            [% ELSE %]
362
                                                            [% ELSE %]
Lines 365-371 Link Here
365
                                                                [% END %]
365
                                                                [% END %]
366
                                                            [% END %]
366
                                                            [% END %]
367
                                                            [% IF ( SEARCH_RESULT.pages ) %]. [% SEARCH_RESULT.pages %][% END %]
367
                                                            [% IF ( SEARCH_RESULT.pages ) %]. [% SEARCH_RESULT.pages %][% END %]
368
                                                            [% IF ( SEARCH_RESULT.notes ) %], [% SEARCH_RESULT.notes|html %][% END %]
368
                                                            [% IF ( SEARCH_RESULT.notes ) %], [% SEARCH_RESULT.notes %][% END %]
369
                                                            [% IF ( SEARCH_RESULT.size ) %] [% SEARCH_RESULT.size %][% END %]
369
                                                            [% IF ( SEARCH_RESULT.size ) %] [% SEARCH_RESULT.size %][% END %]
370
                                                            [% IF ( SEARCH_RESULT.timestamp ) %] <i>(modified on [% SEARCH_RESULT.timestamp %])</i>[% END %]
370
                                                            [% IF ( SEARCH_RESULT.timestamp ) %] <i>(modified on [% SEARCH_RESULT.timestamp %])</i>[% END %]
371
                                                    </span>
371
                                                    </span>
Lines 865-872 $(document).ready(function(){ Link Here
865
[% END %]
865
[% END %]
866
866
867
[% IF ( query_desc ) %]
867
[% IF ( query_desc ) %]
868
    var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') |html %]";
868
    var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') %]";
869
    var querystring = "[% querystring |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') |html %]";
869
    var querystring = "[% querystring |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') %]";
870
    [% IF ( OpacHighlightedWords ) %]
870
    [% IF ( OpacHighlightedWords ) %]
871
        q_array = query_desc.split(" ");
871
        q_array = query_desc.split(" ");
872
        // ensure that we don't have "" at the end of the array, which can
872
        // ensure that we don't have "" at the end of the array, which can
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-review.tt (-5 / +5 lines)
Lines 1-5 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Comments on [% title |html %]</title>
2
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Comments on [% title %]</title>
3
<style type="text/css">
3
<style type="text/css">
4
  #custom-doc { width:37.08em;*width:36.16em;min-width:485px; margin:1em auto; text-align:left; }
4
  #custom-doc { width:37.08em;*width:36.16em;min-width:485px; margin:1em auto; text-align:left; }
5
</style>
5
</style>
Lines 36-46 Link Here
36
                            </div>
36
                            </div>
37
                        [% END # / ERRORs %]
37
                        [% END # / ERRORs %]
38
38
39
                        <h1>Comments on <i>[% title |html %] [% subtitle %]</i></h1>
39
                        <h1>Comments on <i>[% title %] [% subtitle %]</i></h1>
40
                        [% IF ( author ) %]<h3>[% author |html %]</h3>[% END %]
40
                        [% IF ( author ) %]<h3>[% author %]</h3>[% END %]
41
                        <form id="reviewf" action="/cgi-bin/koha/opac-review.pl[% IF ( cgi_debug ) %]?debug=1[% END %]" method="post">
41
                        <form id="reviewf" action="/cgi-bin/koha/opac-review.pl[% IF ( cgi_debug ) %]?debug=1[% END %]" method="post">
42
                            <input type="hidden" name="biblionumber" value="[% biblionumber | html%]" />
42
                            <input type="hidden" name="biblionumber" value="[% biblionumber%]" />
43
                            [% IF ( reviewid ) %]<input type="hidden" name="reviewid" value="[% reviewid | html%]" />[% END %]
43
                            [% IF ( reviewid ) %]<input type="hidden" name="reviewid" value="[% reviewid%]" />[% END %]
44
                            <fieldset>
44
                            <fieldset>
45
                                <textarea id="review" name="review" cols="60" rows="8">[% review %]</textarea>
45
                                <textarea id="review" name="review" cols="60" rows="8">[% review %]</textarea>
46
                            </fieldset>
46
                            </fieldset>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt (-4 / +4 lines)
Lines 68-74 Link Here
68
                                                    <tr>
68
                                                    <tr>
69
                                                        <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
69
                                                        <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
70
                                                        <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
70
                                                        <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
71
                                                        <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>
71
                                                        <td><a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html |url %][% limit_cgi |html | url %]&amp;[% s.query_cgi %]&amp;count=[% countrss %]&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 %]">[% s.query_desc %]</a></td>
72
                                                        <td>[% s.total %]</td>
72
                                                        <td>[% s.total %]</td>
73
                                                    </tr>
73
                                                    </tr>
74
                                                [% END %]
74
                                                [% END %]
Lines 108-114 Link Here
108
                                                <tr>
108
                                                <tr>
109
                                                    <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
109
                                                    <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
110
                                                    <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
110
                                                    <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
111
                                                    <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>
111
                                                    <td><a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html |url %][% limit_cgi |html | url %]&amp;[% s.query_cgi %]&amp;count=[% countrss %]&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 %]">[% s.query_desc %]</a></td>
112
                                                    <td>[% s.total %]</td>
112
                                                    <td>[% s.total %]</td>
113
                                                </tr>
113
                                                </tr>
114
                                            [% END %]
114
                                            [% END %]
Lines 153-159 Link Here
153
                                                    <tr>
153
                                                    <tr>
154
                                                        <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
154
                                                        <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
155
                                                        <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
155
                                                        <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
156
                                                        <td><a href="/cgi-bin/koha/opac-authorities-home.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</a></td>
156
                                                        <td><a href="/cgi-bin/koha/opac-authorities-home.pl?[% s.query_cgi %]">[% s.query_desc %]</a></td>
157
                                                        <td>[% s.total %]</td>
157
                                                        <td>[% s.total %]</td>
158
                                                    </tr>
158
                                                    </tr>
159
                                                [% END %]
159
                                                [% END %]
Lines 190-196 Link Here
190
                                                    <tr>
190
                                                    <tr>
191
                                                        <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
191
                                                        <td><input type="checkbox" name="id" value="[% s.id %]" /></td>
192
                                                        <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
192
                                                        <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
193
                                                        <td><a href="/cgi-bin/koha/opac-authorities-home.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</a></td>
193
                                                        <td><a href="/cgi-bin/koha/opac-authorities-home.pl?[% s.query_cgi %]">[% s.query_desc %]</a></td>
194
                                                        <td>[% s.total %]</td>
194
                                                        <td>[% s.total %]</td>
195
                                                    </tr>
195
                                                    </tr>
196
                                                [% END %]
196
                                                [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt (-2 / +2 lines)
Lines 30-39 Link Here
30
                        <h2>Issues for a subscription</h2>
30
                        <h2>Issues for a subscription</h2>
31
                        <div id="views">
31
                        <div id="views">
32
                            <span class="view">
32
                            <span class="view">
33
                                <a id="Normalview" href="opac-detail.pl?biblionumber=[% biblionumber | html %]" class="button">Normal view</a>
33
                                <a id="Normalview" href="opac-detail.pl?biblionumber=[% biblionumber %]" class="button">Normal view</a>
34
                            </span>
34
                            </span>
35
                            <span class="view"><span id="Briefhistory">Brief history</span></span>
35
                            <span class="view"><span id="Briefhistory">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>
36
                            <span class="view"><a id="Fullhistory" href="opac-serial-issues.pl?selectview=full&amp;biblionumber=[% biblionumber%]" class="button">Full history</a></span>
37
                        </div>
37
                        </div>
38
                        <form method="post" name="f">
38
                        <form method="post" name="f">
39
                            [% FOREACH subscription_LOO IN subscription_LOOP %]
39
                            [% FOREACH subscription_LOO IN subscription_LOOP %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves-rss.tt (-3 / +3 lines)
Lines 5-18 Link Here
5
<channel>
5
<channel>
6
 <title>[% shelf.shelfname %]</title>
6
 <title>[% shelf.shelfname %]</title>
7
 <link>[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&amp;viewshelf=[% shelf.shelfnumber %]</link>
7
 <link>[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&amp;viewshelf=[% shelf.shelfnumber %]</link>
8
 <description>RSS feed for public list [% shelf.shelfname | html %]</description>
8
 <description>RSS feed for public list [% shelf.shelfname %]</description>
9
9
10
[% FOREACH i IN itemsloop %]
10
[% FOREACH i IN itemsloop %]
11
 <item>
11
 <item>
12
  <title>
12
  <title>
13
    [% i.title | html %]
13
    [% i.title %]
14
    [% IF i.author %]
14
    [% IF i.author %]
15
        by [% i.author | html %]
15
        by [% i.author %]
16
    [% END %]
16
    [% END %]
17
  </title>
17
  </title>
18
  <link>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.biblionumber %]</link>
18
  <link>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.biblionumber %]</link>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-36 / +29 lines)
Lines 5-11 Link Here
5
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsInputOnList') ) %]
5
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsInputOnList') ) %]
6
6
7
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
8
<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' %]
8
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;   [% IF op == 'view' %]Contents of [% shelf.shelfname %][% ELSE %]Your lists[% END %]</title>[% INCLUDE 'doc-head-close.inc' %]
9
[% BLOCK cssinclude %][% END %]
9
[% BLOCK cssinclude %][% END %]
10
</head>
10
</head>
11
[% IF ( loggedinusername ) %][% INCLUDE 'bodytag.inc' bodyid='opac-userlists' bodyclass='scrollto' %][% ELSE %][% INCLUDE 'bodytag.inc' bodyid='opac-lists' bodyclass='scrollto' %][% END %]
11
[% IF ( loggedinusername ) %][% INCLUDE 'bodytag.inc' bodyid='opac-userlists' bodyclass='scrollto' %][% ELSE %][% INCLUDE 'bodytag.inc' bodyid='opac-lists' bodyclass='scrollto' %][% END %]
Lines 66-72 Link Here
66
        [% END %]
66
        [% END %]
67
67
68
        [% IF op == 'view' %]
68
        [% IF op == 'view' %]
69
            <li><span class="divider">&rsaquo;</span> Contents of <i>[% shelf.shelfname | html %]</i></li>
69
            <li><span class="divider">&rsaquo;</span> Contents of <i>[% shelf.shelfname %]</i></li>
70
        [% END %]
70
        [% END %]
71
71
72
        [% IF op == 'add_form' %]
72
        [% IF op == 'add_form' %]
Lines 74-80 Link Here
74
        [% END %]
74
        [% END %]
75
75
76
        [% IF op == 'edit_form' %]
76
        [% IF op == 'edit_form' %]
77
            <li><span class="divider">&rsaquo;</span> Edit list <i>[% shelf.shelfname | html %]</i></li>
77
            <li><span class="divider">&rsaquo;</span> Edit list <i>[% shelf.shelfname %]</i></li>
78
        [% END %]
78
        [% END %]
79
79
80
    </ul> <!-- / .breadcrumb -->
80
    </ul> <!-- / .breadcrumb -->
Lines 155-174 Link Here
155
155
156
                    [% IF op == 'view' %]
156
                    [% IF op == 'view' %]
157
                        <h3>
157
                        <h3>
158
                            [% shelf.shelfname |html %]
158
                            [% shelf.shelfname %]
159
                            <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&amp;op=view&amp;shelfnumber=[% shelf.shelfnumber %]" class="rss-list-link noprint">
159
                            <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&amp;op=view&amp;shelfnumber=[% shelf.shelfnumber %]" class="rss-list-link noprint">
160
                                <img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this list" title="Subscribe to this list" border="0" class="rsssearchicon"/>
161
                            </a>
162
                        </h3>
163
164
                        [% IF ( itemsloop ) %]
165
                            <div id="toolbar" class="toolbar clearfix">
166
                                <div class="list-actions">
167
                                    <a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form">New list</a> <span class="sep">|</span>
160
                                    <a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form">New list</a> <span class="sep">|</span>
168
                                    <a href="/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=[% shelf.shelfnumber | html %]" class="download" data-toggle="modal" data-target="#modalWin">Download list</a>
161
                                    <a href="/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=[% shelf.shelfnumber %]" class="download" data-toggle="modal" data-target="#modalWin">Download list</a>
169
162
170
                                    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
163
                                    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
171
                                        <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>
164
                                        <span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber %]" class="send" onclick="open('/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber %]','win_form','scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send list</a></span>
172
                                    [% END %]
165
                                    [% END %]
173
166
174
                                    <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>
167
                                    <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>
Lines 178-201 Link Here
178
                                        <form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
171
                                        <form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
179
                                            <input type="hidden" name="op" value="edit_form" />
172
                                            <input type="hidden" name="op" value="edit_form" />
180
                                            <input type='hidden' name='category' value='[% category %]' />
173
                                            <input type='hidden' name='category' value='[% category %]' />
181
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
174
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
182
                                            <input type="submit" class="editshelf" value="Edit list" />
175
                                            <input type="submit" class="editshelf" value="Edit list" />
183
                                        </form>
176
                                        </form>
184
177
185
                                        <form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
178
                                        <form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
186
                                            <input type="hidden" name="op" value="delete" />
179
                                            <input type="hidden" name="op" value="delete" />
187
                                            <input type='hidden' name='category' value='[% category %]' />
180
                                            <input type='hidden' name='category' value='[% category %]' />
188
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
181
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
189
                                            <input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/>
182
                                            <input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/>
190
                                        </form>
183
                                        </form>
191
                                        [% IF category == PRIVATE && Koha.Preference('OpacAllowSharingPrivateLists') %]
184
                                        [% IF category == PRIVATE && Koha.Preference('OpacAllowSharingPrivateLists') %]
192
                                            <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelf.shelfnumber | html %]" class="">Share list</a>
185
                                            <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelf.shelfnumber %]" class="">Share list</a>
193
                                        [% END %]
186
                                        [% END %]
194
                                    [% ELSIF category == PRIVATE # not manageshelf and private means shared %]
187
                                    [% ELSIF category == PRIVATE # not manageshelf and private means shared %]
195
                                        <form action="/cgi-bin/koha/opac-shelves.pl" method="post" class="form-inline">
188
                                        <form action="/cgi-bin/koha/opac-shelves.pl" method="post" class="form-inline">
196
                                            <input type="hidden" name="op" value="remove_share" />
189
                                            <input type="hidden" name="op" value="remove_share" />
197
                                            <input type='hidden' name='category' value='[% category %]' />
190
                                            <input type='hidden' name='category' value='[% category %]' />
198
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
191
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
199
                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" />
192
                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" />
200
                                        </form>
193
                                        </form>
201
                                    [% END %]
194
                                    [% END %]
Lines 203-209 Link Here
203
196
204
                                <form action="/cgi-bin/koha/opac-shelves.pl" id="sorting-form" class="form-inline sort_by pull-right">
197
                                <form action="/cgi-bin/koha/opac-shelves.pl" id="sorting-form" class="form-inline sort_by pull-right">
205
                                    <input type="hidden" name="op" value="view" />
198
                                    <input type="hidden" name="op" value="view" />
206
                                    <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
199
                                    <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
207
200
208
                                    <label for="sortfield">Sort by: </label>
201
                                    <label for="sortfield">Sort by: </label>
209
                                    <select name="sortfield" id="sortfield" class="resort" onchange="$('#sorting-form').submit()">
202
                                    <select name="sortfield" id="sortfield" class="resort" onchange="$('#sorting-form').submit()">
Lines 280-286 Link Here
280
                            <form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="myform" name="myform" class="checkboxed">
273
                            <form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="myform" name="myform" class="checkboxed">
281
                                [% IF can_manage_shelf %]
274
                                [% IF can_manage_shelf %]
282
                                    <input type="hidden" name="op" value="remove_biblios" />
275
                                    <input type="hidden" name="op" value="remove_biblios" />
283
                                    <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
276
                                    <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
284
                                [% END %]
277
                                [% END %]
285
                                <div class="searchresults">
278
                                <div class="searchresults">
286
                                    <table id="listcontents" class="table">
279
                                    <table id="listcontents" class="table">
Lines 339-345 Link Here
339
                                                        [% IF ( BakerTaylorEnabled ) %]
332
                                                        [% IF ( BakerTaylorEnabled ) %]
340
                                                            [% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %]
333
                                                            [% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %]
341
                                                            [% IF ( bt_id ) %]
334
                                                            [% IF ( bt_id ) %]
342
                                                                <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
335
                                                                <a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a>
343
                                                            [% ELSE %]
336
                                                            [% ELSE %]
344
                                                                <span class="no-image">No cover image available</span>
337
                                                                <span class="no-image">No cover image available</span>
345
                                                            [% END %]
338
                                                            [% END %]
Lines 360-372 Link Here
360
                                                        [% END %]
353
                                                        [% END %]
361
354
362
                                                        [% IF ( itemsloo.title ) %]
355
                                                        [% IF ( itemsloo.title ) %]
363
                                                            [% itemsloo.title |html %]
356
                                                            [% itemsloo.title %]
364
                                                        [% ELSE %]
357
                                                        [% ELSE %]
365
                                                            No title
358
                                                            No title
366
                                                        [% END %]
359
                                                        [% END %]
367
360
368
                                                        [% FOREACH subtitl IN itemsloo.subtitle %]
361
                                                        [% FOREACH subtitl IN itemsloo.subtitle %]
369
                                                            [% subtitl.subfield|html %]
362
                                                            [% subtitl.subfield %]
370
                                                        [% END %]
363
                                                        [% END %]
371
                                                        </a>
364
                                                        </a>
372
365
Lines 382-388 Link Here
382
                                                                [% itemsloo.place %]
375
                                                                [% itemsloo.place %]
383
                                                            [% END %]
376
                                                            [% END %]
384
                                                            [% IF ( itemsloo.publishercode ) %]
377
                                                            [% IF ( itemsloo.publishercode ) %]
385
                                                                [% itemsloo.publishercode|html %]
378
                                                                [% itemsloo.publishercode %]
386
                                                            [% END %]
379
                                                            [% END %]
387
                                                            [% IF ( itemsloo.publicationyear ) %]
380
                                                            [% IF ( itemsloo.publicationyear ) %]
388
                                                                [% itemsloo.publicationyear %]
381
                                                                [% itemsloo.publicationyear %]
Lines 392-398 Link Here
392
                                                                [% END %]
385
                                                                [% END %]
393
                                                            [% END %]
386
                                                            [% END %]
394
                                                            [% IF ( itemsloo.pages ) %]. [% itemsloo.pages %][% END %]
387
                                                            [% IF ( itemsloo.pages ) %]. [% itemsloo.pages %][% END %]
395
                                                            [% IF ( itemsloo.notes ) %], [% itemsloo.notes|html %][% END %]
388
                                                            [% IF ( itemsloo.notes ) %], [% itemsloo.notes %][% END %]
396
                                                            [% IF ( itemsloo.item('size') ) %] [% itemsloo.item('size') %][% END %]
389
                                                            [% IF ( itemsloo.item('size') ) %] [% itemsloo.item('size') %][% END %]
397
                                                        </span>
390
                                                        </span>
398
                                                        <span class="results_summary">
391
                                                        <span class="results_summary">
Lines 497-509 Link Here
497
                                        <form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
490
                                        <form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
498
                                            <input type="hidden" name="op" value="edit_form" />
491
                                            <input type="hidden" name="op" value="edit_form" />
499
                                            <input type="hidden" name="category" value="category" />
492
                                            <input type="hidden" name="category" value="category" />
500
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
493
                                            <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
501
                                            <input type="submit" class="editshelf" value="Edit list" />
494
                                            <input type="submit" class="editshelf" value="Edit list" />
502
                                        </form>
495
                                        </form>
503
496
504
                                        <form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
497
                                        <form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline">
505
                                            <input type="hidden" name="op" value="delete" />
498
                                            <input type="hidden" name="op" value="delete" />
506
                                            <input type="hidden" name="shelfnumber" value="[% shelfnumber | html  %]"/>
499
                                            <input type="hidden" name="shelfnumber" value="[% shelfnumber %]"/>
507
                                            <input type="hidden" name="category" value="category" />
500
                                            <input type="hidden" name="category" value="category" />
508
                                            <input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/>
501
                                            <input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/>
509
                                        </form>
502
                                        </form>
Lines 522-528 Link Here
522
515
523
                    [% IF itemsloop && can_remove_biblios %]
516
                    [% IF itemsloop && can_remove_biblios %]
524
                        <input type="hidden" name="op" value="remove_biblios" />
517
                        <input type="hidden" name="op" value="remove_biblios" />
525
                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
518
                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
526
                        <input type="hidden" name="modifyshelfcontents" value="1" />
519
                        <input type="hidden" name="modifyshelfcontents" value="1" />
527
                        <input type="submit" value="Remove selected items" id="remove-selected" class="btn btn-danger"/>
520
                        <input type="submit" value="Remove selected items" id="remove-selected" class="btn btn-danger"/>
528
                        </form>
521
                        </form>
Lines 530-536 Link Here
530
                        <form method="post" action="opac-shelves.pl">
523
                        <form method="post" action="opac-shelves.pl">
531
                        <input type="hidden" name="op" value="delete" />
524
                        <input type="hidden" name="op" value="delete" />
532
                        <input type="hidden" name="referer" value="list" />
525
                        <input type="hidden" name="referer" value="list" />
533
                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html  %]"/>
526
                        <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]"/>
534
                        <input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" />
527
                        <input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" />
535
                        </form>
528
                        </form>
536
                    [% END %]
529
                    [% END %]
Lines 543-558 Link Here
543
                                    <legend>Create a new list</legend>
536
                                    <legend>Create a new list</legend>
544
                                    <input type="hidden" name="op" value="add" />
537
                                    <input type="hidden" name="op" value="add" />
545
                                [% ELSE %]
538
                                [% ELSE %]
546
                                    <legend>Editing <em>[% shelf.shelfname |html %]</em></legend>
539
                                    <legend>Editing <em>[% shelf.shelfname %]</em></legend>
547
                                    <input type="hidden" name="op" value="edit" />
540
                                    <input type="hidden" name="op" value="edit" />
548
                                    <input type="hidden" name="referer" value="view" />
541
                                    <input type="hidden" name="referer" value="view" />
549
                                    <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
542
                                    <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
550
                                [% END %]
543
                                [% END %]
551
                                <input type="hidden" name="owner" id="owner" value="[% loggedinusernumber %]" />
544
                                <input type="hidden" name="owner" id="owner" value="[% loggedinusernumber %]" />
552
                                <ol>
545
                                <ol>
553
                                    <li>
546
                                    <li>
554
                                        <label class="required" for="shelfname">List name: </label>
547
                                        <label class="required" for="shelfname">List name: </label>
555
                                        <input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelf.shelfname |html %]" /></li>
548
                                        <input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelf.shelfname %]" /></li>
556
                                    <li>
549
                                    <li>
557
                                        <label for="sortfield" >Sort this list by: </label>
550
                                        <label for="sortfield" >Sort this list by: </label>
558
                                        <select name="sortfield" id="sortfield">
551
                                        <select name="sortfield" id="sortfield">
Lines 662-668 Link Here
662
                                        [% FOREACH s IN shelves %]
655
                                        [% FOREACH s IN shelves %]
663
                                            [% SET contents = s.get_contents %]
656
                                            [% SET contents = s.get_contents %]
664
                                            <tr>
657
                                            <tr>
665
                                                <td><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% s.shelfnumber %]">[% s.shelfname |html %]</a></td>
658
                                                <td><a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a></td>
666
                                                <td>[% IF contents.count %][% contents.count %] [% IF contents.count == 1 %]item[% ELSE %]items[% END %][% ELSE %]Empty[% END %]</td>
659
                                                <td>[% IF contents.count %][% contents.count %] [% IF contents.count == 1 %]item[% ELSE %]items[% END %][% ELSE %]Empty[% END %]</td>
667
                                                <td>
660
                                                <td>
668
                                                    [% IF s.category == PRIVATE %]
661
                                                    [% IF s.category == PRIVATE %]
Lines 674-680 Link Here
674
                                                <td>
667
                                                <td>
675
                                                    [% IF s.can_be_managed( loggedinusernumber ) %]
668
                                                    [% IF s.can_be_managed( loggedinusernumber ) %]
676
                                                        <form action="/cgi-bin/koha/opac-shelves.pl" method="get" class="form-inline">
669
                                                        <form action="/cgi-bin/koha/opac-shelves.pl" method="get" class="form-inline">
677
                                                            <input type="hidden" name="shelfnumber" value="[% s.shelfnumber |html %]" />
670
                                                            <input type="hidden" name="shelfnumber" value="[% s.shelfnumber %]" />
678
                                                            <input type="hidden" name="category" value="[% s.category %]" />
671
                                                            <input type="hidden" name="category" value="[% s.category %]" />
679
                                                            <input type="hidden" name="op" value="edit_form" />
672
                                                            <input type="hidden" name="op" value="edit_form" />
680
                                                            <input type="hidden" name="referer" value="list" />
673
                                                            <input type="hidden" name="referer" value="list" />
Lines 686-704 Link Here
686
                                                            <input type="hidden" name="op" value="delete" />
679
                                                            <input type="hidden" name="op" value="delete" />
687
                                                            <input type="hidden" name="referer" value="list" />
680
                                                            <input type="hidden" name="referer" value="list" />
688
                                                            <input type='hidden' name='category' value='[% category %]' />
681
                                                            <input type='hidden' name='category' value='[% category %]' />
689
                                                            <input type="hidden" name="shelfnumber" value="[% s.shelfnumber | html %]" />
682
                                                            <input type="hidden" name="shelfnumber" value="[% s.shelfnumber %]" />
690
                                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" />
683
                                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" />
691
                                                        </form>
684
                                                        </form>
692
                                                    [% END %]
685
                                                    [% END %]
693
                                                    [% IF s.category == PRIVATE AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %]
686
                                                    [% IF s.category == PRIVATE AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %]
694
                                                        <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber |html %]" class="">Share</a>
687
                                                        <a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber %]" class="">Share</a>
695
                                                    [% END %]
688
                                                    [% END %]
696
                                                    [% IF s.is_shared_with( loggedinusernumber ) %]
689
                                                    [% IF s.is_shared_with( loggedinusernumber ) %]
697
                                                        <form action="opac-shelves.pl" method="post" class="form-inline">
690
                                                        <form action="opac-shelves.pl" method="post" class="form-inline">
698
                                                            <input type="hidden" name="op" value="remove_share" />
691
                                                            <input type="hidden" name="op" value="remove_share" />
699
                                                            <input type="hidden" name="referer" value="list" />
692
                                                            <input type="hidden" name="referer" value="list" />
700
                                                            <input type='hidden' name='category' value='[% category %]' />
693
                                                            <input type='hidden' name='category' value='[% category %]' />
701
                                                            <input type="hidden" name="shelfnumber" value="[% s.shelfnumber | html %]" />
694
                                                            <input type="hidden" name="shelfnumber" value="[% s.shelfnumber %]" />
702
                                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" />
695
                                                            <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" />
703
                                                        </form>
696
                                                        </form>
704
                                                    [% END %]&nbsp;
697
                                                    [% END %]&nbsp;
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt (-10 / +10 lines)
Lines 8-14 Link Here
8
     <lastBuildDate>[% timestamp %]</lastBuildDate>
8
     <lastBuildDate>[% timestamp %]</lastBuildDate>
9
	 [% FOREACH review IN reviews %]
9
	 [% FOREACH review IN reviews %]
10
     <item>
10
     <item>
11
       <title>New comment on [% review.title |html %] [% FOREACH subtitl IN review.subtitle %], [% subtitl.subfield |html %][% END %]</title>
11
       <title>New comment on [% review.title %] [% FOREACH subtitl IN review.subtitle %], [% subtitl.subfield %][% END %]</title>
12
       <link>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber %]#comments</link>
12
       <link>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber %]#comments</link>
13
       <description><![CDATA[
13
       <description><![CDATA[
14
[% IF ( OPACAmazonCoverImages ) %][% IF ( review.normalized_isbn ) %]<img src="http://images.amazon.com/images/P/[% review.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %]
14
[% IF ( OPACAmazonCoverImages ) %][% IF ( review.normalized_isbn ) %]<img src="http://images.amazon.com/images/P/[% review.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %]
Lines 19-33 Link Here
19
[% END %][% END %][% END %][% END %]
19
[% END %][% END %][% END %][% END %]
20
20
21
[% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
21
[% 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 %]
22
[% IF ( BakerTaylorEnabled && bt_id ) %]<a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a>[% END %]
23
	   [% IF ( review.author ) %]<p>By [% review.author |html %].</p> [% END %]
23
	   [% IF ( review.author ) %]<p>By [% review.author %].</p> [% END %]
24
	   <p>[% IF ( review.place ) %][% review.place |html %] [% END %][% IF ( review.publishercode ) %][% review.publishercode |html %][% END %][% IF ( review.publicationyear ) %] [% review.publicationyear |html %]
24
	   <p>[% IF ( review.place ) %][% review.place %] [% END %][% IF ( review.publishercode ) %][% review.publishercode %][% END %][% IF ( review.publicationyear ) %] [% review.publicationyear %]
25
                    [% ELSE %][% IF ( review.copyrightdate ) %] [% review.copyrightdate |html %][% END %][% END %]
25
                    [% ELSE %][% IF ( review.copyrightdate ) %] [% review.copyrightdate %][% END %][% END %]
26
                        [% IF ( review.pages ) %]. [% review.pages |html %][% END %]
26
                        [% IF ( review.pages ) %]. [% review.pages %][% END %]
27
                        [% IF ( review.notes ) %], [% review.notes |html %][% END %]
27
                        [% IF ( review.notes ) %], [% review.notes %][% END %]
28
                        [% IF ( review.size ) %] [% review.size |html %]. [% END %]
28
                        [% IF ( review.size ) %] [% review.size %]. [% END %]
29
                        [% IF ( review.isbn ) %] [% review.isbn |html %][% END %] </p>
29
                        [% IF ( review.isbn ) %] [% review.isbn %][% END %] </p>
30
<p>[% IF ( review.borrowernumber && ShowReviewer ) %][% review.firstname %] [% review.surname %] commented[% ELSE %]Comment[% END %] on [% review.datereviewed | $KohaDates %]: [% review.review |html %]</p>
30
<p>[% IF ( review.borrowernumber && ShowReviewer ) %][% review.firstname %] [% review.surname %] commented[% ELSE %]Comment[% END %] on [% review.datereviewed | $KohaDates %]: [% review.review %]</p>
31
						]]></description>
31
						]]></description>
32
       <guid>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber %]&amp;reviewid=[% review.reviewid %]</guid>
32
       <guid>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber %]&amp;reviewid=[% review.reviewid %]</guid>
33
       <pubDate>[% review.timestamp %]</pubDate>
33
       <pubDate>[% review.timestamp %]</pubDate>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt (-3 / +3 lines)
Lines 45-51 Link Here
45
                                                [% END %]
45
                                                [% END %]
46
                                            [% END %]
46
                                            [% END %]
47
                                            [% IF ( review.title ) %][% review.title %][% ELSE %]No title[% END %]
47
                                            [% IF ( review.title ) %][% review.title %][% ELSE %]No title[% END %]
48
                                            [% FOREACH subtitl IN review.subtitle %] [% subtitl.subfield |html %][% END %]
48
                                            [% FOREACH subtitl IN review.subtitle %] [% subtitl.subfield %][% END %]
49
                                            </a>
49
                                            </a>
50
                                            [% IF ( review.author ) %]
50
                                            [% 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>
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>
Lines 84-90 Link Here
84
                                                <img class="avatar" src="[% review.avatarurl %]" height="40" width="40" alt="" />
84
                                                <img class="avatar" src="[% review.avatarurl %]" height="40" width="40" alt="" />
85
                                            [% END %]
85
                                            [% END %]
86
                                            [% FILTER html_break %]
86
                                            [% FILTER html_break %]
87
                                                [% review.review |html %]
87
                                                [% review.review %]
88
                                            [% END %]
88
                                            [% END %]
89
                                        <span style="font-size:87%;font-color:#CCC;">Added [% review.datereviewed | $KohaDates %] [% IF ( review.your_comment ) %] by <strong>you</strong>[% ELSE %]
89
                                        <span style="font-size:87%;font-color:#CCC;">Added [% review.datereviewed | $KohaDates %] [% IF ( review.your_comment ) %] by <strong>you</strong>[% ELSE %]
90
                                        [% IF ( review.borrowernumber && ShowReviewer != "none" ) %] by
90
                                        [% IF ( review.borrowernumber && ShowReviewer != "none" ) %] by
Lines 140-146 Link Here
140
                                        [% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
140
                                        [% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
141
                                        [% IF ( BakerTaylorEnabled ) %]
141
                                        [% IF ( BakerTaylorEnabled ) %]
142
                                            [% IF ( bt_id ) %]
142
                                            [% IF ( bt_id ) %]
143
                                                <a href="https://[% review.BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% review.BakerTaylorImageURL |html %][% bt_id %]" /></a>
143
                                                <a href="https://[% review.BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% review.BakerTaylorImageURL %][% bt_id %]" /></a>
144
                                            [% ELSE %]
144
                                            [% ELSE %]
145
                                                <span class="no-image">No cover image available</span>
145
                                                <span class="no-image">No cover image available</span>
146
                                            [% END %]
146
                                            [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (-9 / +9 lines)
Lines 120-126 Link Here
120
                                <form action="/cgi-bin/koha/opac-suggestions.pl" class="form-inline" method="get">
120
                                <form action="/cgi-bin/koha/opac-suggestions.pl" class="form-inline" method="get">
121
                                    <fieldset>
121
                                    <fieldset>
122
                                        <label for="title">Search for:</label>
122
                                        <label for="title">Search for:</label>
123
                                        <input type="text" name="title" id="title" value="[% title |html %]" />
123
                                        <input type="text" name="title" id="title" value="[% title %]" />
124
                                        [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
124
                                        [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
125
                                            [% IF loggedinusername %]
125
                                            [% IF loggedinusername %]
126
                                                <label for="suggested_by_anyone">Suggested by:</label>
126
                                                <label for="suggested_by_anyone">Suggested by:</label>
Lines 178-196 Link Here
178
                                                        </td>
178
                                                        </td>
179
                                                    [% END %]
179
                                                    [% END %]
180
                                                    <td>
180
                                                    <td>
181
                                                        <p><strong>[% suggestions_loo.title |html %]</strong></p>
181
                                                        <p><strong>[% suggestions_loo.title %]</strong></p>
182
                                                            <p>[% IF ( suggestions_loo.author ) %][% suggestions_loo.author |html %],[% END %]
182
                                                            <p>[% IF ( suggestions_loo.author ) %][% suggestions_loo.author %],[% END %]
183
                                                                [% IF ( suggestions_loo.copyrightdate ) %] - [% suggestions_loo.copyrightdate |html %],[% END %]
183
                                                                [% IF ( suggestions_loo.copyrightdate ) %] - [% suggestions_loo.copyrightdate %],[% END %]
184
                                                                [% IF ( suggestions_loo.publishercode ) %] - [% suggestions_loo.publishercode |html %][% END %]
184
                                                                [% IF ( suggestions_loo.publishercode ) %] - [% suggestions_loo.publishercode %][% END %]
185
                                                                [% IF ( suggestions_loo.place ) %]([% suggestions_loo.place |html %])[% END %]
185
                                                                [% IF ( suggestions_loo.place ) %]([% suggestions_loo.place %])[% END %]
186
                                                                [% IF ( suggestions_loo.collectiontitle ) %] , [% suggestions_loo.collectiontitle |html %][% END %]
186
                                                                [% IF ( suggestions_loo.collectiontitle ) %] , [% suggestions_loo.collectiontitle %][% END %]
187
                                                                [% IF ( suggestions_loo.itemtype ) %] - [% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', suggestions_loo.itemtype, 1 ) %][% END %]
187
                                                                [% IF ( suggestions_loo.itemtype ) %] - [% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', suggestions_loo.itemtype, 1 ) %][% END %]
188
                                                        </p>
188
                                                        </p>
189
                                                    </td>
189
                                                    </td>
190
                                                    <td>
190
                                                    <td>
191
                                                        [% IF ( suggestions_loo.note ) %]
191
                                                        [% IF ( suggestions_loo.note ) %]
192
                                                            <span class="tdlabel">Note: </span>
192
                                                            <span class="tdlabel">Note: </span>
193
                                                            [% suggestions_loo.note |html %]
193
                                                            [% suggestions_loo.note %]
194
                                                        [% END %]
194
                                                        [% END %]
195
                                                    </td>
195
                                                    </td>
196
                                                    [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
196
                                                    [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
Lines 220-226 Link Here
220
                                                        [% ELSIF ( suggestions_loo.REJECTED ) %]Suggestion declined
220
                                                        [% ELSIF ( suggestions_loo.REJECTED ) %]Suggestion declined
221
                                                        [% ELSIF ( suggestions_loo.AVAILABLE ) %]Available in the library
221
                                                        [% ELSIF ( suggestions_loo.AVAILABLE ) %]Available in the library
222
                                                        [% ELSE %] [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestions_loo.STATUS, 1 ) %] [% END %]
222
                                                        [% ELSE %] [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestions_loo.STATUS, 1 ) %] [% END %]
223
                                                        [% IF ( suggestions_loo.reason ) %]([% suggestions_loo.reason |html %])[% END %]
223
                                                        [% IF ( suggestions_loo.reason ) %]([% suggestions_loo.reason %])[% END %]
224
                                                    </td>
224
                                                    </td>
225
                                                </tr>
225
                                                </tr>
226
                                            [% END # / FOREACH suggestions_loo %]
226
                                            [% END # / FOREACH suggestions_loo %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt (-6 / +5 lines)
Lines 97-103 Link Here
97
                            <div id="tagcloud">
97
                            <div id="tagcloud">
98
                                [% FOREACH TAGLOO IN TAGLOOP %]
98
                                [% FOREACH TAGLOO IN TAGLOOP %]
99
                                    <span class="tag tagweight[% TAGLOO.stratum %]" id="tag[% loop.count %]" style="display:inline;">
99
                                    <span class="tag tagweight[% TAGLOO.stratum %]" id="tag[% loop.count %]" style="display:inline;">
100
                                    <a href="/cgi-bin/koha/opac-search.pl?tag=[% TAGLOO.term |url %]&amp;q=[% TAGLOO.term |url %]">[% TAGLOO.term |html %]</a>
100
                                    <a href="/cgi-bin/koha/opac-search.pl?tag=[% TAGLOO.term |url %]&amp;q=[% TAGLOO.term |url %]">[% TAGLOO.term %]</a>
101
                                    <span class="tagweight">[% TAGLOO.weight_total %]</span>
101
                                    <span class="tagweight">[% TAGLOO.weight_total %]</span>
102
                                    </span>
102
                                    </span>
103
                                [% END %]
103
                                [% END %]
Lines 123-144 Link Here
123
                                            <td class="tagterm">
123
                                            <td class="tagterm">
124
                                                <span class="tdlabel">Tag:</span>
124
                                                <span class="tdlabel">Tag:</span>
125
                                                [% IF MY_TAG.approved == 1 %]
125
                                                [% IF MY_TAG.approved == 1 %]
126
                                                    <a href="/cgi-bin/koha/opac-search.pl?tag=[% MY_TAG.term |url %]&amp;q=[% MY_TAG.term |url %]">[% MY_TAG.term |html %]</a>
126
                                                    <a href="/cgi-bin/koha/opac-search.pl?tag=[% MY_TAG.term |url %]&amp;q=[% MY_TAG.term |url %]">[% MY_TAG.term %]</a>
127
                                                [% ELSE %]
127
                                                [% ELSE %]
128
                                                    [% MY_TAG.term |html %] (not approved)
128
                                                    [% MY_TAG.term %] (not approved)
129
                                                [% END %]
129
                                                [% END %]
130
                                            </td>
130
                                            </td>
131
132
                                            <td>
131
                                            <td>
133
                                                [% IF ( MY_TAG.XSLTBloc ) %]
132
                                                [% IF ( MY_TAG.XSLTBloc ) %]
134
                                                    [% MY_TAG.XSLTBloc %]
133
                                                    [% MY_TAG.XSLTBloc %]
135
                                                [% ELSE %]
134
                                                [% ELSE %]
136
                                                    <span class="tdlabel">Title:</span>
135
                                                    <span class="tdlabel">Title:</span>
137
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% MY_TAG.biblionumber %]">
136
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% MY_TAG.biblionumber %]">
138
                                                        [% MY_TAG.title |html %]
137
                                                        [% MY_TAG.title %]
139
                                                        [% IF ( MY_TAG.subtitle ) %]
138
                                                        [% IF ( MY_TAG.subtitle ) %]
140
                                                            [% FOREACH subtitle IN MY_TAG.subtitle %]
139
                                                            [% FOREACH subtitle IN MY_TAG.subtitle %]
141
                                                                [% subtitle.subfield |html %]
140
                                                                [% subtitle.subfield %]
142
                                                            [% END %]
141
                                                            [% END %]
143
                                                        [% END %]
142
                                                        [% END %]
144
                                                    </a>
143
                                                    </a>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags_subject.tt (-1 / +1 lines)
Lines 41-47 Link Here
41
                                    </fieldset>
41
                                    </fieldset>
42
42
43
                                    [% FOREACH LOO IN LOOP %]
43
                                    [% 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>
44
                                        <a href="/cgi-bin/koha/opac-search.pl?idx=su&amp;q=&quot;[% LOO.entry %]&quot;" style="font-size:[% LOO.weight %]px;">[% LOO.entry %]</a>
45
                                    [% END %]
45
                                    [% END %]
46
                                [% ELSE %]
46
                                [% 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>
47
                                    <p>Note: This feature only available to French catalogs where ISBD subjects have been populated, and an index built by separate script.</p>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt (-2 / +2 lines)
Lines 44-50 Link Here
44
                                    [% branch %]
44
                                    [% branch %]
45
                                    [% END %]
45
                                    [% END %]
46
                                    [% IF ( timeLimit != 999 ) %]
46
                                    [% IF ( timeLimit != 999 ) %]
47
                                    in the past [% timeLimit |html %] months
47
                                    in the past [% timeLimitFinite %] months
48
                                    [% ELSE %] of all time[% END %]
48
                                    [% ELSE %] of all time[% END %]
49
                                </caption>
49
                                </caption>
50
                                <thead>
50
                                <thead>
Lines 58-64 Link Here
58
                                <tbody>
58
                                <tbody>
59
                                    [% FOREACH result IN results %]
59
                                    [% FOREACH result IN results %]
60
                                        <tr>
60
                                        <tr>
61
                                            <td><a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% result.biblionumber %]">[% result.title |html %]</a><p>[% result.author %]
61
                                            <td><a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% result.biblionumber %]">[% result.title %]</a><p>[% result.author %]
62
                                            [% IF ( result.publishercode ) %]- [% result.publishercode %][% END %]
62
                                            [% IF ( result.publishercode ) %]- [% result.publishercode %][% END %]
63
                                            [% IF ( result.place ) %][% result.place %][% END %]
63
                                            [% IF ( result.place ) %][% result.place %][% END %]
64
                                            [% IF ( result.publicationyear ) %]
64
                                            [% IF ( result.publicationyear ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-4 / +4 lines)
Lines 174-180 Link Here
174
                                                    [% IF ( BakerTaylorEnabled ) %]
174
                                                    [% IF ( BakerTaylorEnabled ) %]
175
                                                        [% bt_id = ( ISSUE.normalized_upc || ISSUE.normalized_isbn ) %]
175
                                                        [% bt_id = ( ISSUE.normalized_upc || ISSUE.normalized_isbn ) %]
176
                                                        [% IF ( bt_id ) %]
176
                                                        [% IF ( bt_id ) %]
177
                                                            <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
177
                                                            <a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a>
178
                                                        [% ELSE %]
178
                                                        [% ELSE %]
179
                                                            <span class="no-image">No cover image available</span><!-- BakerTaylor needs normalized_upc or normalized_isbn! -->
179
                                                            <span class="no-image">No cover image available</span><!-- BakerTaylor needs normalized_upc or normalized_isbn! -->
180
                                                        [% END %]
180
                                                        [% END %]
Lines 191-197 Link Here
191
                                                </td>[% END # / IF JacketImages %]
191
                                                </td>[% END # / IF JacketImages %]
192
192
193
                                                <td class="title">
193
                                                <td class="title">
194
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber %]">[% ISSUE.title |html %] [% FOREACH subtitl IN ISSUE.subtitle %] [% subtitl.subfield %][% END %]</a>
194
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber %]">[% ISSUE.title %] [% FOREACH subtitl IN ISSUE.subtitle %] [% subtitl.subfield %][% END %]</a>
195
                                                    <span class="item-details">[% ISSUE.author %]</span>
195
                                                    <span class="item-details">[% ISSUE.author %]</span>
196
                                                </td>
196
                                                </td>
197
                                                [% IF ( ISSUE.overdue ) %]
197
                                                [% IF ( ISSUE.overdue ) %]
Lines 424-430 Link Here
424
                                                    [% IF ( BakerTaylorEnabled ) %]
424
                                                    [% IF ( BakerTaylorEnabled ) %]
425
                                                        [% bt_id = ( OVERDUE.normalized_upc || OVERDUE.normalized_isbn ) %]
425
                                                        [% bt_id = ( OVERDUE.normalized_upc || OVERDUE.normalized_isbn ) %]
426
                                                        [% IF ( bt_id ) %]
426
                                                        [% IF ( bt_id ) %]
427
                                                            <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
427
                                                            <a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a>
428
                                                        [% ELSE %]
428
                                                        [% ELSE %]
429
                                                            <span class="no-image">No cover image available</span><!-- BakerTaylor needs normalized_upc or normalized_isbn! -->
429
                                                            <span class="no-image">No cover image available</span><!-- BakerTaylor needs normalized_upc or normalized_isbn! -->
430
                                                        [% END %]
430
                                                        [% END %]
Lines 441-447 Link Here
441
                                                [% END # /IF jacketcell %]
441
                                                [% END # /IF jacketcell %]
442
442
443
                                                <td>
443
                                                <td>
444
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?bib=[% OVERDUE.biblionumber %]">[% OVERDUE.title |html %] [% FOREACH subtitl IN OVERDUE.subtitle %] [% subtitl.subfield %][% END %]
444
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?bib=[% OVERDUE.biblionumber %]">[% OVERDUE.title %] [% FOREACH subtitl IN OVERDUE.subtitle %] [% subtitl.subfield %][% END %]
445
                                                    </a>
445
                                                    </a>
446
                                                    <span class="item-details">[% OVERDUE.author %]</span></td>
446
                                                    <span class="item-details">[% OVERDUE.author %]</span></td>
447
447
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt (-4 / +4 lines)
Lines 37-43 Link Here
37
                            <h3>Item cannot be checked out.</h3>
37
                            <h3>Item cannot be checked out.</h3>
38
                            <p>Sorry, this item cannot be checked out at this station.</p>
38
                            <p>Sorry, this item cannot be checked out at this station.</p>
39
                            [% IF ( title ) %]
39
                            [% IF ( title ) %]
40
                                <p>Title: <em>[% title |html %]</em> </p>
40
                                <p>Title: <em>[% title %]</em> </p>
41
                            [% END %]
41
                            [% END %]
42
42
43
                            <p>
43
                            <p>
Lines 231-239 Link Here
231
                                                <td>[% ISSUE.issuedate %]</td>
231
                                                <td>[% ISSUE.issuedate %]</td>
232
                                                <td>
232
                                                <td>
233
                                                    [% UNLESS ( noitemlinks ) %]
233
                                                    [% UNLESS ( noitemlinks ) %]
234
                                                        <a href="/cgi-bin/koha/opac-detail.pl?bib=[% ISSUE.  biblionumber %]">[% ISSUE.title |html %]</a>
234
                                                        <a href="/cgi-bin/koha/opac-detail.pl?bib=[% ISSUE.  biblionumber %]">[% ISSUE.title %]</a>
235
                                                    [% ELSE %]
235
                                                    [% ELSE %]
236
                                                        <strong>[% ISSUE.title |html %]</strong>
236
                                                        <strong>[% ISSUE.title %]</strong>
237
                                                    [% END %]
237
                                                    [% END %]
238
                                                    <span class="item-details">[% ISSUE.author %]</span>
238
                                                    <span class="item-details">[% ISSUE.author %]</span>
239
                                                    ([% ISSUE.barcode %])
239
                                                    ([% ISSUE.barcode %])
Lines 302-308 Link Here
302
                                        [% END # / IF authbylogin %]
302
                                        [% END # / IF authbylogin %]
303
303
304
                                        [% FOREACH INPUT IN INPUTS %]
304
                                        [% FOREACH INPUT IN INPUTS %]
305
                                            <input type="hidden" name="[% INPUT.name |html %]" value="[% INPUT.value |html %]">
305
                                            <input type="hidden" name="[% INPUT.name %]" value="[% INPUT.value %]">
306
                                        [% END %]
306
                                        [% END %]
307
                                        <input type="hidden" name="op" value="login" />
307
                                        <input type="hidden" name="op" value="login" />
308
                                    </fieldset>
308
                                    </fieldset>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/svc/suggestion.tt (-2 / +1 lines)
Lines 34-40 Link Here
34
    <div>
34
    <div>
35
        <span class="suggestionlabel">Did you mean:</span>
35
        <span class="suggestionlabel">Did you mean:</span>
36
        [% FOREACH suggestion IN suggestions %]
36
        [% FOREACH suggestion IN suggestions %]
37
            <span class="searchsuggestion"><a href="/cgi-bin/koha/opac-search.pl?q=[% suggestion.search |uri %]">[% suggestion.label |html %]</a></span>
37
            <span class="searchsuggestion"><a href="/cgi-bin/koha/opac-search.pl?q=[% suggestion.search |uri %]">[% suggestion.label %]</a></span>
38
        [% END %]
38
        [% END %]
39
    </div>
39
    </div>
40
[% ELSE %]
40
[% ELSE %]
41
- 

Return to bug 13618