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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc (-13 / +14 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% BLOCK showreference %]
2
[% BLOCK showreference %]
2
[%# Parameters: %]
3
[%# Parameters: %]
3
[%# heading: the heading itself %]
4
[%# heading: the heading itself %]
Lines 10-22 Link Here
10
    [% IF marcflavour == 'UNIMARC' %]
11
    [% IF marcflavour == 'UNIMARC' %]
11
        [% SWITCH type %]
12
        [% SWITCH type %]
12
            [% CASE 'broader' %]
13
            [% CASE 'broader' %]
13
              <span class="BT"><abbr title="Broader Term">BT</abbr>: [% heading | html %]</span>
14
              <span class="BT"><abbr title="[% t('Broader Term') %]">[% t('BT') %]</abbr>: [% heading | html %]</span>
14
            [% CASE 'narrower' %]
15
            [% CASE 'narrower' %]
15
              <span class="NT"><abbr title="Narrower Term">NT</abbr>: [% heading | html %]</span>
16
              <span class="NT"><abbr title="[% t('Narrower Term') %]">[% t('NT') %]</abbr>: [% heading | html %]</span>
16
            [% CASE 'seefrom' %]
17
            [% CASE 'seefrom' %]
17
              <span class="UF"><abbr title="Used For">UF</abbr>: [% heading | html %]</span>
18
              <span class="UF"><abbr title="[% t('Used For') %]">[% t('UF') %]</abbr>: [% heading | html %]</span>
18
            [% CASE 'seealso' %]
19
            [% CASE 'seealso' %]
19
              <span class="RT"><abbr title="Related Term">RT</abbr>: [% heading | html %]</span>
20
              <span class="RT"><abbr title="[% t('Related Term') %]">[% t('RT') %]</abbr>: [% heading | html %]</span>
20
        [% END %]
21
        [% END %]
21
    [% ELSE %]
22
    [% ELSE %]
22
        <span class="heading">
23
        <span class="heading">
Lines 33-45 Link Here
33
        [% UNLESS ( type=='seefrom' || type=='seealso' ) %]
34
        [% UNLESS ( type=='seefrom' || type=='seealso' ) %]
34
            <span class="type">
35
            <span class="type">
35
                [% SWITCH type %]
36
                [% SWITCH type %]
36
                    [% CASE 'earlier' %](Earlier heading)
37
                    [% CASE 'earlier' %][% t('(Earlier heading)') %]
37
                    [% CASE 'later' %](Later heading)
38
                    [% CASE 'later' %][% t('(Later heading)') %]
38
                    [% CASE 'acronym' %](Acronym)
39
                    [% CASE 'acronym' %][% t('(Acronym)') %]
39
                    [% CASE 'musical' %](Musical composition)
40
                    [% CASE 'musical' %][% t('(Musical composition)') %]
40
                    [% CASE 'broader' %](Broader heading)
41
                    [% CASE 'broader' %][% t('(Broader heading)') %]
41
                    [% CASE 'narrower' %](Narrower heading)
42
                    [% CASE 'narrower' %][% t('(Narrower heading)') %]
42
                    [% CASE 'parent' %](Immediate parent body)
43
                    [% CASE 'parent' %][% t('(Immediate parent body)') %]
43
                    [% CASE %]
44
                    [% CASE %]
44
                        [% IF type %]([% type | html %])[% END %]
45
                        [% IF type %]([% type | html %])[% END %]
45
                    [% END %]
46
                    [% END %]
Lines 89-95 Link Here
89
            [% END %]
90
            [% END %]
90
        [% ELSE %]
91
        [% ELSE %]
91
            [% IF ( summary.seefrom.size >= 1 ) %]
92
            [% IF ( summary.seefrom.size >= 1 ) %]
92
                    <span class="seefrom">used for/see from:</span>
93
                    <span class="seefrom">[% t('used for/see from:') %]</span>
93
                [% FOREACH seefro IN summary.seefrom %]
94
                [% FOREACH seefro IN summary.seefrom %]
94
                    <div class="seefrom authref">
95
                    <div class="seefrom authref">
95
                    [%# Following on one line for translatability %]
96
                    [%# Following on one line for translatability %]
Lines 98-104 Link Here
98
                [% END %]
99
                [% END %]
99
            [% END %]
100
            [% END %]
100
            [% IF ( summary.seealso.size >= 1 ) %]
101
            [% IF ( summary.seealso.size >= 1 ) %]
101
                    <span class="seealso">see also:</span>
102
                    <span class="seealso">[% t('see also:') %]</span>
102
                [% FOREACH seeals IN summary.seealso %]
103
                [% FOREACH seeals IN summary.seealso %]
103
                    <div class="seealso authref">
104
                    <div class="seealso authref">
104
                    [%# Following on one line for translatability %]
105
                    [%# Following on one line for translatability %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/av-build-dropbox.inc (-1 / +1 lines)
Lines 10-16 Link Here
10
[% DEFAULT class = '' size = 20 %]
10
[% DEFAULT class = '' size = 20 %]
11
11
12
[% IF avs %]
12
[% IF avs %]
13
  <select id="[% name %]" name="[% name %]" class="[% class %]" >
13
  <select id="[% name %]" name="[% name %]" class="[% class %]">
14
  [% FOR av IN avs %]
14
  [% FOR av IN avs %]
15
    [% IF av.authorised_value == default %]
15
    [% IF av.authorised_value == default %]
16
      <option value="[% av.authorised_value %]" selected="selected">[% av.lib | html_entity %]</option>
16
      <option value="[% av.authorised_value %]" selected="selected">[% av.lib | html_entity %]</option>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/date-format.inc (-1 / +2 lines)
Line 1 Link Here
1
<span class="dateformat">[% IF ( dateformat == "us" ) %](MM/DD/YYYY)[% ELSIF ( dateformat == "metric" ) %](DD/MM/YYYY)[% ELSE %](YYYY-MM-DD)[% END %]</span>
1
[% PROCESS 'i18n.inc' %]
2
<span class="dateformat">[% IF ( dateformat == "us" ) %][% t('(MM/DD/YYYY)') %][% ELSIF ( dateformat == "metric" ) %][% t('(DD/MM/YYYY)') %][% ELSE %][% t('(YYYY-MM-DD)') %][% END %]</span>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc (-1 / +2 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[%- USE KohaPlugins -%]
2
[%- USE KohaPlugins -%]
2
[% USE Asset %]
3
[% USE Asset %]
3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Lines 43-49 Link Here
43
        <style>[% SCOUserCSS %]</style>
44
        <style>[% SCOUserCSS %]</style>
44
    [% END %]
45
    [% END %]
45
[% END %]
46
[% END %]
46
<link rel="unapi-server" type="application/xml" title="unAPI" href="[% OPACBaseURL %]/cgi-bin/koha/unapi" />
47
<link rel="unapi-server" type="application/xml" title="[% t('unAPI') %]" href="[% OPACBaseURL %]/cgi-bin/koha/unapi" />
47
[% PROCESS cssinclude %]
48
[% PROCESS cssinclude %]
48
<!-- Respond.js brings responsive layout behavior to IE < v.9 -->
49
<!-- Respond.js brings responsive layout behavior to IE < v.9 -->
49
<!--[if lt IE 9]>
50
<!--[if lt IE 9]>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc (-14 / +15 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
2
[% SET itemavailable = 1 %]
3
[% SET itemavailable = 1 %]
3
4
Lines 12-18 Link Here
12
    [% IF ( av_lib_include ) %]
13
    [% IF ( av_lib_include ) %]
13
        <span class="item-status lost">[% av_lib_include %]</span>
14
        <span class="item-status lost">[% av_lib_include %]</span>
14
    [% ELSE %]
15
    [% ELSE %]
15
        <span class="item-status lost">Item lost</span>
16
        <span class="item-status lost">[% t('Item lost') %]</span>
16
    [% END %]
17
    [% END %]
17
[% END %]
18
[% END %]
18
19
Lines 27-54 Link Here
27
    [% SET itemavailable = 0 %]
28
    [% SET itemavailable = 0 %]
28
    [% IF onsite_checkout %]
29
    [% IF onsite_checkout %]
29
        [% IF ( OPACShowCheckoutName ) %]
30
        [% IF ( OPACShowCheckoutName ) %]
30
            <span class="item-status checkedout">Currently in local use by [% item.firstname %] [% item.surname %] [% IF ( item.cardnumber ) %]([% item.cardnumber %])[% END %]</span>
31
            <span class="item-status checkedout">[% t('Currently in local use by') %] [% item.firstname %] [% item.surname %] [% IF ( item.cardnumber ) %]([% item.cardnumber %])[% END %]</span>
31
        [% ELSE %]
32
        [% ELSE %]
32
            <span class="item-status checkedout">Currently in local use</span>
33
            <span class="item-status checkedout">[% t('Currently in local use') %]</span>
33
        [% END %]
34
        [% END %]
34
    [% ELSE %]
35
    [% ELSE %]
35
        [% IF ( OPACShowCheckoutName ) %]
36
        [% IF ( OPACShowCheckoutName ) %]
36
            <span class="item-status checkedout">Checked out to [% item.firstname %] [% item.surname %] [% IF ( item.cardnumber ) %]([% item.cardnumber %])[% END %]</span>
37
            <span class="item-status checkedout">[% t('Checked out to') %] [% item.firstname %] [% item.surname %] [% IF ( item.cardnumber ) %]([% item.cardnumber %])[% END %]</span>
37
        [% ELSE %]
38
        [% ELSE %]
38
            <span class="item-status checkedout">Checked out</span>
39
            <span class="item-status checkedout">[% t('Checked out') %]</span>
39
        [% END %]
40
        [% END %]
40
    [% END %]
41
    [% END %]
41
[% END %]
42
[% END %]
42
43
43
[% IF NOT ( item.isa('Koha::Item') ) AND item.transfertwhen %] [%# transfertwhen is set in C4::Search, do not have it for course reserves %]
44
[% IF NOT ( item.isa('Koha::Item') ) AND item.transfertwhen %] [%# transfertwhen is set in C4::Search, do not have it for course reserves %]
44
    [% SET itemavailable = 0 %]
45
    [% SET itemavailable = 0 %]
45
    <span class="item-status intransit">In transit from [% Branches.GetName( item.transfertfrom ) %]
46
    <span class="item-status intransit">[% t('In transit from') %] [% Branches.GetName( item.transfertfrom ) %]
46
    to [% Branches.GetName( item.transfertto ) %] since [% item.transfertwhen | $KohaDates %]</span>
47
    [% t('to') %] [% Branches.GetName( item.transfertto ) %] [% t('since') %] [% item.transfertwhen | $KohaDates %]</span>
47
[% END %]
48
[% END %]
48
49
49
[% IF NOT( item.isa('Koha::Item') ) AND item.waiting %] [%# Not sure where does come from this waiting flag %]
50
[% IF NOT( item.isa('Koha::Item') ) AND item.waiting %] [%# Not sure where does come from this waiting flag %]
50
    [% SET itemavailable = 0 %]
51
    [% SET itemavailable = 0 %]
51
    <span class="item-status onhold">On hold</span>
52
    <span class="item-status onhold">[% t('On hold') %]</span>
52
[% END %]
53
[% END %]
53
54
54
[% IF ( item.withdrawn ) %]
55
[% IF ( item.withdrawn ) %]
Lines 57-63 Link Here
57
    [% IF av_lib_include %]
58
    [% IF av_lib_include %]
58
        <span class="item-status withdrawn">[% av_lib_include %]</span>
59
        <span class="item-status withdrawn">[% av_lib_include %]</span>
59
    [% ELSE %]
60
    [% ELSE %]
60
        <span class="item-status withdrawn">Item withdrawn</span>
61
        <span class="item-status withdrawn">[% t('Item withdrawn') %]</span>
61
    [% END %]
62
    [% END %]
62
[% END %]
63
[% END %]
63
64
Lines 67-77 Link Here
67
    [% IF ( item.notforloanvalueopac ) %]
68
    [% IF ( item.notforloanvalueopac ) %]
68
        <span class="item-status notforloan">[% item.notforloanvalueopac %] [% IF ( item.restrictedopac ) %]<span class="restricted">([% item.restrictedopac %])</span>[% END %]</span>
69
        <span class="item-status notforloan">[% item.notforloanvalueopac %] [% IF ( item.restrictedopac ) %]<span class="restricted">([% item.restrictedopac %])</span>[% END %]</span>
69
    [% ELSE %]
70
    [% ELSE %]
70
        <span class="item-status notforloan">Not for loan [% IF ( item.restrictedopac ) %]<span class="restricted">([% item.restrictedopac %])</span>[% END %]</span>
71
        <span class="item-status notforloan">[% t('Not for loan') %] [% IF ( item.restrictedopac ) %]<span class="restricted">([% item.restrictedopac %])</span>[% END %]</span>
71
    [% END %]
72
    [% END %]
72
[% ELSIF NOT ( item.isa('Koha::Item') ) AND item.notforloan_per_itemtype %]
73
[% ELSIF NOT ( item.isa('Koha::Item') ) AND item.notforloan_per_itemtype %]
73
    [% SET itemavailable = 0 %]
74
    [% SET itemavailable = 0 %]
74
    <span class="item-status notforloan">Not for loan [% IF ( item.restrictedopac ) %]<span class="restricted">([% item.restrictedopac %])</span>[% END %]</span>
75
    <span class="item-status notforloan">[% t('Not for loan') %] [% IF ( item.restrictedopac ) %]<span class="restricted">([% item.restrictedopac %])</span>[% END %]</span>
75
[% END %]
76
[% END %]
76
77
77
[% IF ( item.damaged ) %]
78
[% IF ( item.damaged ) %]
Lines 80-95 Link Here
80
    [% IF av_lib_include %]
81
    [% IF av_lib_include %]
81
        <span class="item-status damaged">[% av_lib_include %]</span>
82
        <span class="item-status damaged">[% av_lib_include %]</span>
82
    [% ELSE %]
83
    [% ELSE %]
83
        <span class="item-status damaged">Item damaged</span>
84
        <span class="item-status damaged">[% t('Item damaged') %]</span>
84
    [% END %]
85
    [% END %]
85
[% END %]
86
[% END %]
86
87
87
[% IF NOT ( item.isa('Koha::Item') ) AND item.on_order %][%# on_order is only set from opac-detail.pl %]
88
[% IF NOT ( item.isa('Koha::Item') ) AND item.on_order %][%# on_order is only set from opac-detail.pl %]
88
    [% SET itemavailable = 0 %]
89
    [% SET itemavailable = 0 %]
89
    <span class="item-status onorder">On order</span>
90
    <span class="item-status onorder">[% t('On order') %]</span>
90
[% END %]
91
[% END %]
91
92
92
[% IF ( itemavailable ) %]
93
[% IF ( itemavailable ) %]
93
    [% IF NOT item.isa('Koha::Item') %][% SET restrictedopac = item.restrictedopac %][% END %]
94
    [% IF NOT item.isa('Koha::Item') %][% SET restrictedopac = item.restrictedopac %][% END %]
94
    <span class="item-status available">Available [% IF restrictedopac %]<span class="restricted">([% restrictedopac %])</span>[% END %]</span>
95
    <span class="item-status available">[% t('Available') %] [% IF restrictedopac %]<span class="restricted">([% restrictedopac %])</span>[% END %]</span>
95
[% END %]
96
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-langmenu.inc (-5 / +6 lines)
Lines 1-7 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[%# Following on one line for translatability %]
2
[%# Following on one line for translatability %]
2
[% IF ( ( opaclanguagesdisplay ) && ( ! one_language_enabled ) && ( languages_loop ) && ( OpacLangSelectorMode == 'both' || OpacLangSelectorMode == 'top') ) %]
3
[% IF ( ( opaclanguagesdisplay ) && ( ! one_language_enabled ) && ( languages_loop ) && ( OpacLangSelectorMode == 'both' || OpacLangSelectorMode == 'top') ) %]
3
<li class="dropdown">
4
<li class="dropdown">
4
  <a href="#" title="Switch languages" class="dropdown-toggle" id="langmenu" data-toggle="dropdown" role="button"><i class="icon-flag icon-white"></i> <span class="langlabel">Languages</span> <b class="caret"></b></a>
5
  <a href="#" title="[% t('Switch languages') %]" class="dropdown-toggle" id="langmenu" data-toggle="dropdown" role="button"><i class="icon-flag icon-white"></i> <span class="langlabel">[% t('Languages') %]</span> <b class="caret"></b></a>
5
    <ul aria-labelledby="langmenu" role="menu" class="dropdown-menu">
6
    <ul aria-labelledby="langmenu" role="menu" class="dropdown-menu">
6
    [% FOREACH languages_loo IN languages_loop %]
7
    [% FOREACH languages_loo IN languages_loop %]
7
        [% IF ( languages_loo.group_enabled ) %]
8
        [% IF ( languages_loo.group_enabled ) %]
Lines 9-26 Link Here
9
                [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
10
                [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
10
                    [% IF ( sublanguages_loo.enabled ) %]
11
                    [% IF ( sublanguages_loo.enabled ) %]
11
                        [% IF ( sublanguages_loo.sublanguage_current ) %]
12
                        [% IF ( sublanguages_loo.sublanguage_current ) %]
12
                         <li role="presentation"> <a href="#" tabindex="-1" role="menuitem">[% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %]&nbsp;<i class="icon-ok"></i></a></li>
13
                         <li role="presentation"> <a href="#" tabindex="-1" role="menuitem">[% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] <i class="icon-ok"></i></a></li>
13
                        [% ELSE %]
14
                        [% ELSE %]
14
                        <li role="presentation"><a href="/cgi-bin/koha/opac-changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag %]"  tabindex="-1" role="menuitem"> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %]</a></li>
15
                        <li role="presentation"><a href="/cgi-bin/koha/opac-changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag %]" tabindex="-1" role="menuitem"> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %]</a></li>
15
                        [% END %]
16
                        [% END %]
16
                    [% END # / IF sublanguages_loo.enabled %]
17
                    [% END # / IF sublanguages_loo.enabled %]
17
                [% END # / FOREACH sublanguages_loo %]
18
                [% END # / FOREACH sublanguages_loo %]
18
            [% ELSE %]
19
            [% ELSE %]
19
                [% IF ( languages_loo.group_enabled ) %]
20
                [% IF ( languages_loo.group_enabled ) %]
20
                    [% IF ( languages_loo.current ) %]
21
                    [% IF ( languages_loo.current ) %]
21
                    <li role="presentation"><a href="#" tabindex="-1" class="menu-inactive" role="menuitem">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]&nbsp;<i class="icon-ok"></i></a></li>
22
                    <li role="presentation"><a href="#" tabindex="-1" class="menu-inactive" role="menuitem">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %] <i class="icon-ok"></i></a></li>
22
                    [% ELSE %]
23
                    [% ELSE %]
23
                    <li role="presentation"><a href="/cgi-bin/koha/opac-changelanguage.pl?language=[% languages_loo.rfc4646_subtag %]"  tabindex="-1" role="menuitem">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</a></li>
24
                    <li role="presentation"><a href="/cgi-bin/koha/opac-changelanguage.pl?language=[% languages_loo.rfc4646_subtag %]" tabindex="-1" role="menuitem">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</a></li>
24
                    [% END %]
25
                    [% END %]
25
                [% END # / IF languages_loo.current %]
26
                [% END # / IF languages_loo.current %]
26
            [% END # / IF ( languages_loo.plural ) %]
27
            [% END # / IF ( languages_loo.plural ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-sco.inc (-1 / +2 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %]
3
[% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %]
3
<div id="wrap">
4
<div id="wrap">
Lines 7-13 Link Here
7
                <a class="brand" href="/cgi-bin/koha/sco/sco-main.pl"><img src="[% interface %]/[% theme %]/images/koha-logo-navbar.png" alt=""></a>
8
                <a class="brand" href="/cgi-bin/koha/sco/sco-main.pl"><img src="[% interface %]/[% theme %]/images/koha-logo-navbar.png" alt=""></a>
8
                <div id="checkouthelp">
9
                <div id="checkouthelp">
9
                    <ul class="nav pull-right">
10
                    <ul class="nav pull-right">
10
                        <li><a href="/cgi-bin/koha/sco/help.pl"><i class="icon help"></i> Help</a></li>
11
                        <li><a href="/cgi-bin/koha/sco/help.pl"><i class="icon help"></i> [% t('Help') %]</a></li>
11
                    </ul>
12
                    </ul>
12
                </div>
13
                </div>
13
14
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc (-68 / +69 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %]
4
[% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %]
Lines 11-32 Link Here
11
                            [% IF ( LibraryNameTitle ) %]
12
                            [% IF ( LibraryNameTitle ) %]
12
                                [% LibraryNameTitle %]
13
                                [% LibraryNameTitle %]
13
                            [% ELSE %]
14
                            [% ELSE %]
14
                                Koha online
15
                                [% t('Koha online') %]
15
                            [% END %]
16
                            [% END %]
16
                        </a>
17
                        </a>
17
                    </h1>
18
                    </h1>
18
                    [% IF ( Koha.Preference( 'opacbookbag' ) == 1 ) %]
19
                    [% IF ( Koha.Preference( 'opacbookbag' ) == 1 ) %]
19
                        <div id="cartDetails" class="cart-message">Your cart is empty.</div>
20
                        <div id="cartDetails" class="cart-message">[% t('Your cart is empty.') %]</div>
20
                    [% END %]
21
                    [% END %]
21
                    <ul class="nav">
22
                    <ul class="nav">
22
                        [% IF ( Koha.Preference( 'opacbookbag' ) == 1 ) %]
23
                        [% IF ( Koha.Preference( 'opacbookbag' ) == 1 ) %]
23
                            <li class="dropdown">
24
                            <li class="dropdown">
24
                                <a href="#" title="Collect items you are interested in" class="dropdown-toggle" id="cartmenulink" data-toggle="dropdown" role="button">
25
                                <a href="#" title="[% t('Collect items you are interested in') %]" class="dropdown-toggle" id="cartmenulink" data-toggle="dropdown" role="button">
25
                                    <i id="carticon" class="icon-shopping-cart icon-white"></i> <span class="cartlabel">Cart</span> <span id="basketcount"></span> <b class="caret"></b>
26
                                    <i id="carticon" class="icon-shopping-cart icon-white"></i> <span class="cartlabel">[% t('Cart') %]</span> <span id="basketcount"></span> <b class="caret"></b>
26
                                </a>
27
                                </a>
27
                                <ul aria-labelledby="cartmenulink" role="menu" class="dropdown-menu">
28
                                <ul aria-labelledby="cartmenulink" role="menu" class="dropdown-menu">
28
                                    <li role="presentation">
29
                                    <li role="presentation">
29
                                        <a href="#" id="cartmenuitem" class="cart-message" tabindex="-1" role="menuitem">Your cart is empty.</a>
30
                                        <a href="#" id="cartmenuitem" class="cart-message" tabindex="-1" role="menuitem">[% t('Your cart is empty.') %]</a>
30
                                    </li>
31
                                    </li>
31
                                </ul>
32
                                </ul>
32
                            </li>
33
                            </li>
Lines 36-81 Link Here
36
                        [% END %]
37
                        [% END %]
37
                        [% IF ( Koha.Preference( 'virtualshelves' ) == 1 ) %]
38
                        [% IF ( Koha.Preference( 'virtualshelves' ) == 1 ) %]
38
                            <li class="dropdown">
39
                            <li class="dropdown">
39
                                <a href="#" title="Show lists" class="dropdown-toggle" id="listsmenu" data-toggle="dropdown" role="button"><i class="icon-list icon-white"></i> <span class="listslabel">Lists</span> <b class="caret"></b></a>
40
                                <a href="#" title="[% t('Show lists') %]" class="dropdown-toggle" id="listsmenu" data-toggle="dropdown" role="button"><i class="icon-list icon-white"></i> <span class="listslabel">[% t('Lists') %]</span> <b class="caret"></b></a>
40
                                <ul aria-labelledby="listsmenu" role="menu" class="dropdown-menu">
41
                                <ul aria-labelledby="listsmenu" role="menu" class="dropdown-menu">
41
                                [% IF some_public_shelves.count %]
42
                                [% IF some_public_shelves.count %]
42
                                    <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>
43
                                    <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=2" tabindex="-1" role="menuitem"><strong>[% t('Public lists') %]</strong></a></li>
43
                                    [% SET number_of_public_shelves = 0 %]
44
                                    [% SET number_of_public_shelves = 0 %]
44
                                    [% FOREACH s IN some_public_shelves %]
45
                                    [% FOREACH s IN some_public_shelves %]
45
                                        <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>
46
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]&sortfield=[% s.sortfield %]" tabindex="-1" role="menuitem">[% s.shelfname |html %]</a></li>
46
                                        [% SET number_of_public_shelves = number_of_public_shelves + 1 %]
47
                                        [% SET number_of_public_shelves = number_of_public_shelves + 1 %]
47
                                        [% IF number_of_public_shelves >= 10 %][% LAST %][% END %]
48
                                        [% IF number_of_public_shelves >= 10 %][% LAST %][% END %]
48
                                    [% END %]
49
                                    [% END %]
49
                                    [% IF some_public_shelves > 10 %]
50
                                    [% IF some_public_shelves > 10 %]
50
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=2" tabindex="-1" role="menuitem" class="listmenulink">View All</a></li>
51
                                        <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=2" tabindex="-1" role="menuitem" class="listmenulink">[% t('View All') %]</a></li>
51
                                    [% END %]
52
                                    [% END %]
52
                                [% ELSE %]
53
                                [% ELSE %]
53
                                    <li role="presentation"><a href="#" tabindex="-1" class="menu-inactive" role="menuitem">No public lists</a></li>
54
                                    <li role="presentation"><a href="#" tabindex="-1" class="menu-inactive" role="menuitem">[% t('No public lists') %]</a></li>
54
                                [% END %]
55
                                [% END %]
55
                                <li class="divider" role="presentation"></li>
56
                                <li class="divider" role="presentation"></li>
56
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
57
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
57
                                    <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=1" tabindex="-1" role="menuitem"><strong>Your lists</strong></a></li>
58
                                    <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=1" tabindex="-1" role="menuitem"><strong>[% t('Your lists') %]</strong></a></li>
58
                                    [% IF loggedinusername %]
59
                                    [% IF loggedinusername %]
59
                                        [% IF some_private_shelves.count %]
60
                                        [% IF some_private_shelves.count %]
60
                                            [% SET number_of_private_shelves = 0 %]
61
                                            [% SET number_of_private_shelves = 0 %]
61
                                            [% FOREACH s IN some_private_shelves %]
62
                                            [% FOREACH s IN some_private_shelves %]
62
                                                <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>
63
                                                <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]&sortfield=[% s.sortfield %]" tabindex="-1" role="menuitem">[% s.shelfname |html %]</a></li>
63
                                                [% SET number_of_private_shelves = number_of_private_shelves + 1 %]
64
                                                [% SET number_of_private_shelves = number_of_private_shelves + 1 %]
64
                                                [% IF number_of_private_shelves >= 10 %][% LAST %][% END %]
65
                                                [% IF number_of_private_shelves >= 10 %][% LAST %][% END %]
65
                                            [% END %]
66
                                            [% END %]
66
                                            [% IF some_private_shelves > 10 %]
67
                                            [% IF some_private_shelves > 10 %]
67
                                                <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=1" tabindex="-1" role="menuitem" class="listmenulink">View All</a></li>
68
                                                <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=1" tabindex="-1" role="menuitem" class="listmenulink">[% t('View All') %]</a></li>
68
                                            [% END %]
69
                                            [% END %]
69
                                        [% ELSE %]
70
                                        [% ELSE %]
70
                                            <li role="presentation"><a href="#" tabindex="-1" class="menu-inactive" role="menuitem">No private lists</a></li>
71
                                            <li role="presentation"><a href="#" tabindex="-1" class="menu-inactive" role="menuitem">[% t('No private lists') %]</a></li>
71
                                        [% END %]
72
                                        [% END %]
72
                                            <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=add_form" tabindex="-1" role="menuitem" class="listmenulink">New list</a></li>
73
                                            <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=add_form" tabindex="-1" role="menuitem" class="listmenulink">[% t('New list') %]</a></li>
73
                                    [% ELSE %]
74
                                    [% ELSE %]
74
                                        [% IF Koha.Preference('casAuthentication') %]
75
                                        [% IF Koha.Preference('casAuthentication') %]
75
                                            [%# CAS authentication is too complicated for modal window %]
76
                                            [%# CAS authentication is too complicated for modal window %]
76
                                            <li role="presentation"><a href="/cgi-bin/koha/opac-user.pl" tabindex="-1" class="menu-inactive" role="menuitem">Log in to create your own lists</a></li>
77
                                            <li role="presentation"><a href="/cgi-bin/koha/opac-user.pl" tabindex="-1" class="menu-inactive" role="menuitem">[% t('Log in to create your own lists') %]</a></li>
77
                                        [% ELSE %]
78
                                        [% ELSE %]
78
                                            <li role="presentation"><a href="/cgi-bin/koha/opac-user.pl" tabindex="-1" class="menu-inactive loginModal-trigger" role="menuitem">Log in to create your own lists</a></li>
79
                                            <li role="presentation"><a href="/cgi-bin/koha/opac-user.pl" tabindex="-1" class="menu-inactive loginModal-trigger" role="menuitem">[% t('Log in to create your own lists') %]</a></li>
79
                                        [% END %]
80
                                        [% END %]
80
                                    [% END # / IF loggedinusername %]
81
                                    [% END # / IF loggedinusername %]
81
                                [% END # / IF opacuserlogin %]
82
                                [% END # / IF opacuserlogin %]
Lines 95-121 Link Here
95
                                    [% UNLESS ( loggedinusername ) %]
96
                                    [% UNLESS ( loggedinusername ) %]
96
                                        [% IF Koha.Preference('casAuthentication') %]
97
                                        [% IF Koha.Preference('casAuthentication') %]
97
                                            [%# CAS authentication is too complicated for modal window %]
98
                                            [%# CAS authentication is too complicated for modal window %]
98
                                            <li><a class="login-link" href="/cgi-bin/koha/opac-user.pl">Log in to your account</a></li>
99
                                            <li><a class="login-link" href="/cgi-bin/koha/opac-user.pl">[% t('Log in to your account') %]</a></li>
99
                                        [% ELSIF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %]
100
                                        [% ELSIF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %]
100
                                            <li><a class="login-link" href="/cgi-bin/koha/svc/auth/googleopenidconnect" role="button" data-toggle="modal">Log in to your account</a></li>
101
                                            <li><a class="login-link" href="/cgi-bin/koha/svc/auth/googleopenidconnect" role="button" data-toggle="modal">[% t('Log in to your account') %]</a></li>
101
                                        [% ELSE %]
102
                                        [% ELSE %]
102
                                            <li><a href="/cgi-bin/koha/opac-user.pl" class="login-link loginModal-trigger" role="button" data-toggle="modal">Log in to your account</a></li>
103
                                            <li><a href="/cgi-bin/koha/opac-user.pl" class="login-link loginModal-trigger" role="button" data-toggle="modal">[% t('Log in to your account') %]</a></li>
103
                                        [% END %]
104
                                        [% END %]
104
                                    [% END %]
105
                                    [% END %]
105
                                    [% IF ( loggedinusername ) %]
106
                                    [% IF ( loggedinusername ) %]
106
                                        <li><p class="members navbar-text">Welcome, <a class="login-link" href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</span></a></p></li>
107
                                        <li><p class="members navbar-text">[% t('Welcome,') %] <a class="login-link" href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</span></a></p></li>
107
                                        <li class="divider-vertical"></li>
108
                                        <li class="divider-vertical"></li>
108
                                    [% END %]
109
                                    [% END %]
109
                                [% END %]
110
                                [% END %]
110
                                [% IF EnableOpacSearchHistory %]
111
                                [% IF EnableOpacSearchHistory %]
111
                                    <li><p class="navbar-text"><a class="login-link" href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> [<a class="logout clearsh" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history">x</a>]</p></li>
112
                                    <li><p class="navbar-text"><a class="login-link" href="/cgi-bin/koha/opac-search-history.pl" title="[% t('View your search history') %]">[% t('Search history') %]</a> [<a class="logout clearsh" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="[% t('Delete your search history') %]">[% t('x') %]</a>]</p></li>
112
                                    <li class="divider-vertical"></li>
113
                                    <li class="divider-vertical"></li>
113
                                [% END %]
114
                                [% END %]
114
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
115
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
115
                                    [% IF ( loggedinusername ) %]
116
                                    [% IF ( loggedinusername ) %]
116
                                        <li><p class="navbar-text">
117
                                        <li><p class="navbar-text">
117
                                            <a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">
118
                                            <a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">
118
                                            Log out</a></p></li>
119
                                            [% t('Log out') %]</a></p></li>
119
                                    [% END %]
120
                                    [% END %]
120
                                [% END %]
121
                                [% END %]
121
                            </ul>
122
                            </ul>
Lines 149-204 Link Here
149
                        [% END %]
150
                        [% END %]
150
                        [% IF Koha.Preference('OpacCustomSearch') == '' %]
151
                        [% IF Koha.Preference('OpacCustomSearch') == '' %]
151
                            <form name="searchform" method="get" action="/cgi-bin/koha/opac-search.pl" id="searchform" class="form-inline">
152
                            <form name="searchform" method="get" action="/cgi-bin/koha/opac-search.pl" id="searchform" class="form-inline">
152
                                <label for="masthead_search"> Search
153
                                <label for="masthead_search"> [% t('Search') %]
153
                                    [% UNLESS ( Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 ) %]
154
                                    [% UNLESS ( Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 ) %]
154
                                        [% IF ( mylibraryfirst ) %]
155
                                        [% IF ( mylibraryfirst ) %]
155
                                            (in [% Branches.GetName( mylibraryfirst ) %] only)
156
                                            [% t('(in') %] [% Branches.GetName( mylibraryfirst ) %] [% t('only)') %]
156
                                        [% END %]
157
                                        [% END %]
157
                                    [% END %]
158
                                    [% END %]
158
                                </label>
159
                                </label>
159
160
160
                                <select name="idx" id="masthead_search">
161
                                <select name="idx" id="masthead_search">
161
                                [% IF ( ms_kw ) %]
162
                                [% IF ( ms_kw ) %]
162
                                    <option selected="selected" value="">Library catalog</option>
163
                                    <option selected="selected" value="">[% t('Library catalog') %]</option>
163
                                [% ELSE %]
164
                                [% ELSE %]
164
                                    <option value="">Library catalog</option>
165
                                    <option value="">[% t('Library catalog') %]</option>
165
                                [% END # /ms_kw %]
166
                                [% END # /ms_kw %]
166
                                [% IF ( ms_ti ) %]
167
                                [% IF ( ms_ti ) %]
167
                                    <option selected="selected" value="ti">Title</option>
168
                                    <option selected="selected" value="ti">[% t('Title') %]</option>
168
                                [% ELSE %]
169
                                [% ELSE %]
169
                                    <option value="ti">Title</option>
170
                                    <option value="ti">[% t('Title') %]</option>
170
                                [% END # /ms_ti %]
171
                                [% END # /ms_ti %]
171
                                [% IF ( ms_au ) %]
172
                                [% IF ( ms_au ) %]
172
                                    <option selected="selected" value="au">Author</option>
173
                                    <option selected="selected" value="au">[% t('Author') %]</option>
173
                                [% ELSE %]
174
                                [% ELSE %]
174
                                    <option value="au">Author</option>
175
                                    <option value="au">[% t('Author') %]</option>
175
                                [% END # /ms_au%]
176
                                [% END # /ms_au%]
176
                                [% IF ( ms_su ) %]
177
                                [% IF ( ms_su ) %]
177
                                    <option selected="selected" value="su">Subject</option>
178
                                    <option selected="selected" value="su">[% t('Subject') %]</option>
178
                                [% ELSE %]
179
                                [% ELSE %]
179
                                    <option value="su">Subject</option>
180
                                    <option value="su">[% t('Subject') %]</option>
180
                                [% END # /ms_su %]
181
                                [% END # /ms_su %]
181
                                [% IF ( ms_nb ) %]
182
                                [% IF ( ms_nb ) %]
182
                                    <option selected="selected" value="nb">ISBN</option>
183
                                    <option selected="selected" value="nb">[% t('ISBN') %]</option>
183
                                [% ELSE %]
184
                                [% ELSE %]
184
                                    <option value="nb">ISBN</option>
185
                                    <option value="nb">[% t('ISBN') %]</option>
185
                                [% END # /ms_nb%]
186
                                [% END # /ms_nb%]
186
                                [% IF ( ms_se ) %]
187
                                [% IF ( ms_se ) %]
187
                                    <option selected="selected" value="se">Series</option>
188
                                    <option selected="selected" value="se">[% t('Series') %]</option>
188
                                [% ELSE %]
189
                                [% ELSE %]
189
                                    <option value="se">Series</option>
190
                                    <option value="se">[% t('Series') %]</option>
190
                                [% END # /ms_se %]
191
                                [% END # /ms_se %]
191
                                [% IF ( Koha.Preference('OPACNumbersPreferPhrase') ) %]
192
                                [% IF ( Koha.Preference('OPACNumbersPreferPhrase') ) %]
192
                                    [% IF ( ms_callnum ) %]
193
                                    [% IF ( ms_callnum ) %]
193
                                            <option selected="selected" value="callnum,phr">Call number</option>
194
                                            <option selected="selected" value="callnum,phr">[% t('Call number') %]</option>
194
                                    [% ELSE %]
195
                                    [% ELSE %]
195
                                        <option value="callnum,phr">Call number</option>
196
                                        <option value="callnum,phr">[% t('Call number') %]</option>
196
                                    [% END #/ms_callnum %]
197
                                    [% END #/ms_callnum %]
197
                                [% ELSE %]
198
                                [% ELSE %]
198
                                    [% IF ( ms_callnum ) %]
199
                                    [% IF ( ms_callnum ) %]
199
                                        <option selected="selected" value="callnum">Call number</option>
200
                                        <option selected="selected" value="callnum">[% t('Call number') %]</option>
200
                                    [% ELSE %]
201
                                    [% ELSE %]
201
                                        <option value="callnum">Call number</option>
202
                                        <option value="callnum">[% t('Call number') %]</option>
202
                                    [% END # /ms_callnum %]
203
                                    [% END # /ms_callnum %]
203
                                [% END # /IF OPACNumbersPreferPhrase %]
204
                                [% END # /IF OPACNumbersPreferPhrase %]
204
                                </select>
205
                                </select>
Lines 207-228 Link Here
207
                                    <div class="input-append nolibrarypulldown">
208
                                    <div class="input-append nolibrarypulldown">
208
                                [% END %]
209
                                [% END %]
209
                                [% IF ( ms_value ) %]
210
                                [% IF ( ms_value ) %]
210
                                    <input type="text" title="Type search term" class="transl1" id = "translControl1" name="q" value="[% ms_value |html %]" /><span id="translControl"></span>
211
                                    <input type="text" title="[% t('Type search term') %]" class="transl1" id="translControl1" name="q" value="[% ms_value |html %]" /><span id="translControl"></span>
211
                                [% ELSE %]
212
                                [% ELSE %]
212
                                    <input type="text" title="Type search term" class="transl1" id = "translControl1" name="q" /><span id="translControl"></span>
213
                                    <input type="text" title="[% t('Type search term') %]" class="transl1" id="translControl1" name="q" /><span id="translControl"></span>
213
                                [% END # /ms_value %]
214
                                [% END # /ms_value %]
214
215
215
                                [% UNLESS ( Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 ) %]
216
                                [% UNLESS ( Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 ) %]
216
                                    <button type="submit" id="searchsubmit" class="btn btn-primary">Go</button>
217
                                    <button type="submit" id="searchsubmit" class="btn btn-primary">[% t('Go') %]</button>
217
                                    </div>
218
                                    </div>
218
                                [% END %]
219
                                [% END %]
219
220
220
                                [% IF ( Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 ) %]
221
                                [% IF ( Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 ) %]
221
                                    <div class="input-append">
222
                                    <div class="input-append">
222
                                        <select name="branch_group_limit" id="select_library">
223
                                        <select name="branch_group_limit" id="select_library">
223
                                            <option value="">All libraries</option>
224
                                            <option value="">[% t('All libraries') %]</option>
224
225
225
                                            [% IF LibrarySearchGroups %]<optgroup label="Libraries">[% END %]
226
                                            [% IF LibrarySearchGroups %]<optgroup label="[% t('Libraries') %]">[% END %]
226
227
227
                                            [% FOREACH library IN Branches.all( selected => opac_name ) %]
228
                                            [% FOREACH library IN Branches.all( selected => opac_name ) %]
228
                                                [% IF library.selected %]
229
                                                [% IF library.selected %]
Lines 234-240 Link Here
234
235
235
                                            [% IF LibrarySearchGroups %]
236
                                            [% IF LibrarySearchGroups %]
236
                                                </optgroup>
237
                                                </optgroup>
237
                                                <optgroup label="Groups">
238
                                                <optgroup label="[% t('Groups') %]">
238
                                                    [% FOREACH lsg IN LibrarySearchGroups %]
239
                                                    [% FOREACH lsg IN LibrarySearchGroups %]
239
                                                        [% IF lsg.id == opac_name %]
240
                                                        [% IF lsg.id == opac_name %]
240
                                                            <option selected="selected" value="multibranchlimit-[% lsg.id %]">[% lsg.title %]</option>
241
                                                            <option selected="selected" value="multibranchlimit-[% lsg.id %]">[% lsg.title %]</option>
Lines 245-251 Link Here
245
                                                </optgroup>
246
                                                </optgroup>
246
                                            [% END # / BranchCategoriesLoop %]
247
                                            [% END # / BranchCategoriesLoop %]
247
                                        </select>
248
                                        </select>
248
                                        <button type="submit" id="searchsubmit" class="btn btn-primary">Go</button>
249
                                        <button type="submit" id="searchsubmit" class="btn btn-primary">[% t('Go') %]</button>
249
                                    </div>
250
                                    </div>
250
                                [% ELSE %]
251
                                [% ELSE %]
251
                                    [% IF ( opac_limit_override ) %]
252
                                    [% IF ( opac_limit_override ) %]
Lines 269-287 Link Here
269
                    <div class="row-fluid">
270
                    <div class="row-fluid">
270
                            <div id="moresearches">
271
                            <div id="moresearches">
271
                                <ul>
272
                                <ul>
272
                                    <li><a href="/cgi-bin/koha/opac-search.pl">Advanced search</a></li>
273
                                    <li><a href="/cgi-bin/koha/opac-search.pl">[% t('Advanced search') %]</a></li>
273
                                    [% IF ( Koha.Preference( 'UseCourseReserves' ) == 1 ) %]<li><a href="/cgi-bin/koha/opac-course-reserves.pl">Course reserves</a></li>[% END %]
274
                                    [% IF ( Koha.Preference( 'UseCourseReserves' ) == 1 ) %]<li><a href="/cgi-bin/koha/opac-course-reserves.pl">[% t('Course reserves') %]</a></li>[% END %]
274
                                    [% IF Koha.Preference( 'OpacBrowser' ) == 1 %]<li><a href="/cgi-bin/koha/opac-browser.pl">Browse by hierarchy</a></li>[% END %]
275
                                    [% IF Koha.Preference( 'OpacBrowser' ) == 1 %]<li><a href="/cgi-bin/koha/opac-browser.pl">[% t('Browse by hierarchy') %]</a></li>[% END %]
275
                                    [% IF Koha.Preference( 'OpacAuthorities' ) == 1 %]<li><a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a></li>[% END %]
276
                                    [% IF Koha.Preference( 'OpacAuthorities' ) == 1 %]<li><a href="/cgi-bin/koha/opac-authorities-home.pl">[% t('Authority search') %]</a></li>[% END %]
276
                                    [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'reviewson' ) == 1 ) && ( Koha.Preference( 'OpacShowRecentComments' ) == 1 ) ) %]<li><a href="/cgi-bin/koha/opac-showreviews.pl">Recent comments</a></li>[% END %]
277
                                    [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'reviewson' ) == 1 ) && ( Koha.Preference( 'OpacShowRecentComments' ) == 1 ) ) %]<li><a href="/cgi-bin/koha/opac-showreviews.pl">[% t('Recent comments') %]</a></li>[% END %]
277
                                    [% IF Koha.Preference( 'TagsEnabled' ) == 1 %]<li><a href="/cgi-bin/koha/opac-tags.pl">Tag cloud</a></li>[% END %]
278
                                    [% IF Koha.Preference( 'TagsEnabled' ) == 1 %]<li><a href="/cgi-bin/koha/opac-tags.pl">[% t('Tag cloud') %]</a></li>[% END %]
278
                                    [% IF Koha.Preference( 'OpacCloud' ) == 1 %]<li><a href="/cgi-bin/koha/opac-tags_subject.pl">Subject cloud</a></li>[% END %]
279
                                    [% IF Koha.Preference( 'OpacCloud' ) == 1 %]<li><a href="/cgi-bin/koha/opac-tags_subject.pl">[% t('Subject cloud') %]</a></li>[% END %]
279
                                    [% IF Koha.Preference( 'OpacTopissue' ) == 1 %]<li><a href="/cgi-bin/koha/opac-topissues.pl">Most popular</a></li>[% END %]
280
                                    [% IF Koha.Preference( 'OpacTopissue' ) == 1 %]<li><a href="/cgi-bin/koha/opac-topissues.pl">[% t('Most popular') %]</a></li>[% END %]
280
                                    [% IF Koha.Preference( 'suggestion' ) == 1 %]
281
                                    [% IF Koha.Preference( 'suggestion' ) == 1 %]
281
                                        [% IF Koha.Preference( 'AnonSuggestions' ) == 1 %]
282
                                        [% IF Koha.Preference( 'AnonSuggestions' ) == 1 %]
282
                                            <li><a href="/cgi-bin/koha/opac-suggestions.pl">Purchase suggestions</a></li>
283
                                            <li><a href="/cgi-bin/koha/opac-suggestions.pl">[% t('Purchase suggestions') %]</a></li>
283
                                        [% ELSIF ( ( Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 ) ) %]
284
                                        [% ELSIF ( ( Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 ) ) %]
284
                                            <li><a href="/cgi-bin/koha/opac-suggestions.pl">Purchase suggestions</a></li>
285
                                            <li><a href="/cgi-bin/koha/opac-suggestions.pl">[% t('Purchase suggestions') %]</a></li>
285
                                        [% END %]
286
                                        [% END %]
286
                                    [% END %]
287
                                    [% END %]
287
                                </ul>
288
                                </ul>
Lines 298-304 Link Here
298
    <div id="loginModal" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="modalLoginLabel" aria-hidden="true">
299
    <div id="loginModal" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="modalLoginLabel" aria-hidden="true">
299
        <div class="modal-header">
300
        <div class="modal-header">
300
            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
301
            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
301
            <h3 id="modalLoginLabel">Log in to your account</h3>
302
            <h3 id="modalLoginLabel">[% t('Log in to your account') %]</h3>
302
        </div>
303
        </div>
303
        <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="modalAuth">
304
        <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="modalAuth">
304
            <div class="modal-body">
305
            <div class="modal-body">
Lines 306-323 Link Here
306
                    [% IF ( invalidShibLogin ) %]
307
                    [% IF ( invalidShibLogin ) %]
307
                        <!-- This is what is displayed if shibboleth login has failed to match a koha user -->
308
                        <!-- This is what is displayed if shibboleth login has failed to match a koha user -->
308
                        <div class="alert alert-info">
309
                        <div class="alert alert-info">
309
                            <p>Sorry, your Shibboleth identity does not match a valid library identity. If you have a local login, you may use that below.</p>
310
                            <p>[% t('Sorry, your Shibboleth identity does not match a valid library identity. If you have a local login, you may use that below.') %]</p>
310
                        </div>
311
                        </div>
311
                    [% ELSE %]
312
                    [% ELSE %]
312
                        <h4>Shibboleth login</h4>
313
                        <h4>[% t('Shibboleth login') %]</h4>
313
                        <p>If you have a Shibboleth account, please <a href="[% shibbolethLoginUrl %]">click here to login</a>.</p>
314
                        <p>[% t('If you have a Shibboleth account, please') %] <a href="[% shibbolethLoginUrl %]">[% t('click here to login') %]</a>.</p>
314
                        <h4>Local Login</h4>
315
                        <h4>[% t('Local Login') %]</h4>
315
                    [% END %]
316
                    [% END %]
316
                [% END %]
317
                [% END %]
317
                <input type="hidden" name="koha_login_context" value="opac" />
318
                <input type="hidden" name="koha_login_context" value="opac" />
318
                <fieldset class="brief">
319
                <fieldset class="brief">
319
                    <label for="muserid">Login:</label><input type="text" id="muserid" name="userid" />
320
                    <label for="muserid">[% t('Login:') %]</label><input type="text" id="muserid" name="userid" />
320
                    <label for="mpassword">Password:</label><input type="password" id="mpassword" name="password" />
321
                    <label for="mpassword">[% t('Password:') %]</label><input type="password" id="mpassword" name="password" />
321
                    [% IF Koha.Preference( 'OpacLoginInstructions' ) %]
322
                    [% IF Koha.Preference( 'OpacLoginInstructions' ) %]
322
                        <div id="nologininstructions-modal" class="nologininstructions">
323
                        <div id="nologininstructions-modal" class="nologininstructions">
323
                            [% Koha.Preference( 'OpacLoginInstructions' ) %]
324
                            [% Koha.Preference( 'OpacLoginInstructions' ) %]
Lines 325-343 Link Here
325
                    [% END %]
326
                    [% END %]
326
                    [% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %]
327
                    [% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %]
327
                        <div id="forgotpassword-modal" class="forgotpassword">
328
                        <div id="forgotpassword-modal" class="forgotpassword">
328
                            <p><a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a></p>
329
                            <p><a href="/cgi-bin/koha/opac-password-recovery.pl">[% t('Forgot your password?') %]</a></p>
329
                        </div>
330
                        </div>
330
                    [% END %]
331
                    [% END %]
331
                    [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]
332
                    [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]
332
                        <div id="patronregistration-modal" class="patronregistration">
333
                        <div id="patronregistration-modal" class="patronregistration">
333
                            <p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p>
334
                            <p>[% t('Don\'t have an account?') %] <a href="/cgi-bin/koha/opac-memberentry.pl">[% t('Register here.') %]</a></p>
334
                        </div>
335
                        </div>
335
                    [% END %]
336
                    [% END %]
336
                </fieldset>
337
                </fieldset>
337
            </div>
338
            </div>
338
            <div class="modal-footer">
339
            <div class="modal-footer">
339
                <input type="submit" class="btn btn-primary" value="Log in" />
340
                <input type="submit" class="btn btn-primary" value="Log in" />
340
                <a href="#" data-dismiss="modal" aria-hidden="true" class="cancel">Cancel</a>
341
                <a href="#" data-dismiss="modal" aria-hidden="true" class="cancel">[% t('Cancel') %]</a>
341
            </div>
342
            </div>
342
        </form> <!-- /#auth -->
343
        </form> <!-- /#auth -->
343
    </div>  <!-- /#modalAuth  -->
344
    </div>  <!-- /#modalAuth  -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-authorities.inc (-13 / +14 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% BLOCK showhierarchy %]
2
[% BLOCK showhierarchy %]
2
    [% FOREACH tree IN trees %]
3
    [% FOREACH tree IN trees %]
3
        [% PROCESS showtree tree = tree %]
4
        [% PROCESS showtree tree = tree %]
Lines 11-17 Link Here
11
            [% IF ( node.current_value ) %]
12
            [% IF ( node.current_value ) %]
12
                <span class="currentauth">[% node.value | html %]</span>
13
                <span class="currentauth">[% node.value | html %]</span>
13
            [% ELSE %]
14
            [% ELSE %]
14
                <a href="opac-authoritiesdetail.pl?authid=[% node.authid %]" title="Term">[% node.value | html %]</a>
15
                <a href="opac-authoritiesdetail.pl?authid=[% node.authid %]" title="[% t('Term') %]">[% node.value | html %]</a>
15
            [% END %]
16
            [% END %]
16
            [% IF ( node.children && node.children.size > 0 ) %]
17
            [% IF ( node.children && node.children.size > 0 ) %]
17
                [% PROCESS showtree tree = node.children %]
18
                [% PROCESS showtree tree = node.children %]
Lines 24-35 Link Here
24
[% BLOCK authtypelabel %]
25
[% BLOCK authtypelabel %]
25
    [% UNLESS ( type=='seefrom' || type=='seealso' || type=='' ) %]
26
    [% UNLESS ( type=='seefrom' || type=='seealso' || type=='' ) %]
26
        <span class="type">[% FILTER trim %][% SWITCH type %]
27
        <span class="type">[% FILTER trim %][% SWITCH type %]
27
        [% CASE 'earlier' %]Earlier heading
28
        [% CASE 'earlier' %][% t('Earlier heading') %]
28
        [% CASE 'later' %]Later heading
29
        [% CASE 'later' %][% t('Later heading') %]
29
        [% CASE 'acronym' %]Acronym
30
        [% CASE 'acronym' %][% t('Acronym') %]
30
        [% CASE 'musical' %]Musical composition
31
        [% CASE 'musical' %][% t('Musical composition') %]
31
        [% CASE 'broader' %]Broader heading
32
        [% CASE 'broader' %][% t('Broader heading') %]
32
        [% CASE 'narrower' %]Narrower heading
33
        [% CASE 'narrower' %][% t('Narrower heading') %]
33
        [% CASE %][% type %]
34
        [% CASE %][% type %]
34
        [% END %][% END %]</span>
35
        [% END %][% END %]</span>
35
    [% END %]
36
    [% END %]
Lines 53-70 Link Here
53
54
54
[% BLOCK authheadingdisplay %]
55
[% BLOCK authheadingdisplay %]
55
    [% IF authid %]<a href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid %]">[% heading %]</a>
56
    [% IF authid %]<a href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid %]">[% heading %]</a>
56
    [% ELSIF search %]<a href="/cgi-bin/koha/opac-authorities-home.pl?op=do_search&amp;type=opac&amp;operator=contains&amp;marclist=mainentry&amp;and_or=and&amp;orderby=HeadingAsc&amp;value=[% search %]">[% heading %]</a>
57
    [% ELSIF search %]<a href="/cgi-bin/koha/opac-authorities-home.pl?op=do_search&type=opac&operator=contains&marclist=mainentry&and_or=and&orderby=HeadingAsc&value=[% search %]">[% heading %]</a>
57
    [% ELSE %][% heading %]
58
    [% ELSE %][% heading %]
58
    [% END %]
59
    [% END %]
59
[% END %]
60
[% END %]
60
61
61
[% BLOCK language %]
62
[% BLOCK language %]
62
    [% SWITCH lang %]
63
    [% SWITCH lang %]
63
        [% CASE ['en', 'eng'] %]English
64
        [% CASE ['en', 'eng'] %][% t('English') %]
64
        [% CASE ['fr', 'fre'] %]French
65
        [% CASE ['fr', 'fre'] %][% t('French') %]
65
        [% CASE ['it', 'ita'] %]Italian
66
        [% CASE ['it', 'ita'] %][% t('Italian') %]
66
        [% CASE ['de', 'ger', 'deu'] %]German
67
        [% CASE ['de', 'ger', 'deu'] %][% t('German') %]
67
        [% CASE ['es', 'spa'] %]Spanish
68
        [% CASE ['es', 'spa'] %][% t('Spanish') %]
68
        [% CASE %][% lang %]
69
        [% CASE %][% lang %]
69
    [% END %]
70
    [% END %]
70
[% END %]
71
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc (-4 / +5 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[%- USE KohaPlugins -%]
2
[%- USE KohaPlugins -%]
2
[% USE Asset %]
3
[% USE Asset %]
3
[% UNLESS ( is_popup ) %]
4
[% UNLESS ( is_popup ) %]
Lines 19-29 Link Here
19
            <div class="row-fluid">
20
            <div class="row-fluid">
20
                <div class="span12">
21
                <div class="span12">
21
                    <div id="koha_url" class="clearfix noprint">
22
                    <div id="koha_url" class="clearfix noprint">
22
                        <p>Powered by
23
                        <p>[% t('Powered by') %]
23
                        [% IF template.name.match('opac-main.tt') %]
24
                        [% IF template.name.match('opac-main.tt') %]
24
                            <a class="koha_url" href="http://koha-community.org">Koha</a>
25
                            <a class="koha_url" href="http://koha-community.org">[% t('Koha') %]</a>
25
                        [% ELSE %]
26
                        [% ELSE %]
26
                            <a class="koha_url" rel="nofollow" href="http://koha-community.org">Koha</a>
27
                            <a class="koha_url" rel="nofollow" href="http://koha-community.org">[% t('Koha') %]</a>
27
                        [% END %]</p>
28
                        [% END %]</p>
28
                    </div>
29
                    </div>
29
                </div> <!-- /.span12 -->
30
                </div> <!-- /.span12 -->
Lines 39-45 Link Here
39
                <div id="changelanguage" class="navbar navbar-fixed-bottom navbar-static-bottom noprint">
40
                <div id="changelanguage" class="navbar navbar-fixed-bottom navbar-static-bottom noprint">
40
                    <div class="navbar-inner">
41
                    <div class="navbar-inner">
41
                        <ul id="i18nMenu" class="nav">
42
                        <ul id="i18nMenu" class="nav">
42
                            <li><p class="lang navbar-text"><strong>Languages:&nbsp;</strong></p></li>
43
                            <li><p class="lang navbar-text"><strong>[% t('Languages: ') %]</strong></p></li>
43
                            [% FOREACH languages_loo IN languages_loop %]
44
                            [% FOREACH languages_loo IN languages_loop %]
44
                                [% IF ( languages_loo.group_enabled ) %]
45
                                [% IF ( languages_loo.group_enabled ) %]
45
                                    [% IF ( languages_loo.plural ) %]
46
                                    [% IF ( languages_loo.plural ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc (-30 / +31 lines)
Lines 1-41 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Biblio %]
2
[% USE Biblio %]
2
<ul id="action">
3
<ul id="action">
3
    [% UNLESS ( norequests ) %]
4
    [% UNLESS ( norequests ) %]
4
        [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
5
        [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
5
            [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
6
            [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
6
                [% IF ( ReservableItems ) %]
7
                [% IF ( ReservableItems ) %]
7
                    <li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% biblio.biblionumber %]">Place hold</a></li>
8
                    <li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% biblio.biblionumber %]">[% t('Place hold') %]</a></li>
8
                [% END %]
9
                [% END %]
9
            [% END %]
10
            [% END %]
10
        [% END %]
11
        [% END %]
11
    [% END %]
12
    [% END %]
12
13
13
    <li><a class="print-large" href="#">Print</a></li>
14
    <li><a class="print-large" href="#">[% t('Print') %]</a></li>
14
15
15
    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
16
    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
16
        [% IF Koha.Preference('ArticleRequests') %]
17
        [% IF Koha.Preference('ArticleRequests') %]
17
            <li><a class="article_request" href="/cgi-bin/koha/opac-request-article.pl?biblionumber=[% biblio.biblionumber %]">Request article</a></li>
18
            <li><a class="article_request" href="/cgi-bin/koha/opac-request-article.pl?biblionumber=[% biblio.biblionumber %]">[% t('Request article') %]</a></li>
18
        [% END %]
19
        [% END %]
19
    [% END %]
20
    [% END %]
20
21
21
    [% IF Koha.Preference( 'virtualshelves' ) == 1 %]
22
    [% IF Koha.Preference( 'virtualshelves' ) == 1 %]
22
        [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername ) %]
23
        [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername ) %]
23
            <li><a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=[% biblio.biblionumber %]">Save to your lists</a></li>
24
            <li><a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=[% biblio.biblionumber %]">[% t('Save to your lists') %]</a></li>
24
        [% END %]
25
        [% END %]
25
    [% END %]
26
    [% END %]
26
27
27
    [% IF Koha.Preference( 'opacbookbag' ) == 1 %]
28
    [% IF Koha.Preference( 'opacbookbag' ) == 1 %]
28
        [% IF ( incart ) %]
29
        [% IF ( incart ) %]
29
            <li><a class="incart cart[% biblio.biblionumber %] addrecord" href="#">In your cart</a> <a class="cartRemove cartR[% biblio.biblionumber %]" href="#">(remove)</a></li>
30
            <li><a class="incart cart[% biblio.biblionumber %] addrecord" href="#">[% t('In your cart') %]</a> <a class="cartRemove cartR[% biblio.biblionumber %]" href="#">[% t('(remove)') %]</a></li>
30
        [% ELSE %]
31
        [% ELSE %]
31
            <li><a class="addtocart cart[% biblio.biblionumber %] addrecord" href="#">Add to your cart</a>  <a style="display:none;" class="cartRemove cartR[% biblio.biblionumber %]" href="#">(remove)</a></li>
32
            <li><a class="addtocart cart[% biblio.biblionumber %] addrecord" href="#">[% t('Add to your cart') %]</a>  <a style="display:none;" class="cartRemove cartR[% biblio.biblionumber %]" href="#">[% t('(remove)') %]</a></li>
32
        [% END %]
33
        [% END %]
33
    [% END %]
34
    [% END %]
34
35
35
    [% IF ( OpacHighlightedWords && query_desc ) %]
36
    [% IF ( OpacHighlightedWords && query_desc ) %]
36
    <li>
37
    <li>
37
        <a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a>
38
        <a href="#" class="highlight_toggle" id="highlight_toggle_off">[% t('Unhighlight') %]</a>
38
        <a href="#" class="highlight_toggle" id="highlight_toggle_on">Highlight</a>
39
        <a href="#" class="highlight_toggle" id="highlight_toggle_on">[% t('Highlight') %]</a>
39
    </li>
40
    </li>
40
    [% END %]
41
    [% END %]
41
42
Lines 44-67 Link Here
44
        <li>
45
        <li>
45
            <div id="export">
46
            <div id="export">
46
                <div class="dropdown">
47
                <div class="dropdown">
47
                    <a id="format" class="dropdown-toggle" data-toggle="dropdown" href="#">Save record <b class="caret"></b></a>
48
                    <a id="format" class="dropdown-toggle" data-toggle="dropdown" href="#">[% t('Save record') %] <b class="caret"></b></a>
48
                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="format">
49
                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="format">
49
                            [% FOREACH option IN export_options %]
50
                            [% FOREACH option IN export_options %]
50
                                [% IF option == 'dc' %]
51
                                [% IF option == 'dc' %]
51
                                    <li><a role="menuitem" href="#" data-toggle="modal" data-target="#exportModal_">Dublin Core</a></li>
52
                                    <li><a role="menuitem" href="#" data-toggle="modal" data-target="#exportModal_">[% t('Dublin Core') %]</a></li>
52
                                [% ELSE %]
53
                                [% ELSE %]
53
                                <li>
54
                                <li>
54
                                    <a role="menuitem" href="/cgi-bin/koha/opac-export.pl?op=export&amp;bib=[% biblio.biblionumber %]&amp;format=[% option %]">
55
                                    <a role="menuitem" href="/cgi-bin/koha/opac-export.pl?op=export&bib=[% biblio.biblionumber %]&format=[% option %]">
55
                                        [% SWITCH option %]
56
                                        [% SWITCH option %]
56
                                            [% CASE 'bibtex' %]BIBTEX
57
                                            [% CASE 'bibtex' %][% t('BIBTEX') %]
57
                                            [% CASE 'endnote' %]EndNote
58
                                            [% CASE 'endnote' %][% t('EndNote') %]
58
                                            [% CASE 'marcxml' %]MARCXML
59
                                            [% CASE 'marcxml' %][% t('MARCXML') %]
59
                                            [% CASE 'marc8' %]MARC (non-Unicode/MARC-8)
60
                                            [% CASE 'marc8' %][% t('MARC (non-Unicode/MARC-8)') %]
60
                                            [% CASE 'utf8' %]MARC (Unicode/UTF-8)
61
                                            [% CASE 'utf8' %][% t('MARC (Unicode/UTF-8)') %]
61
                                            [% CASE 'marcstd' %]MARC (Unicode/UTF-8, Standard)
62
                                            [% CASE 'marcstd' %][% t('MARC (Unicode/UTF-8, Standard)') %]
62
                                            [% CASE 'mods' %]MODS (XML)
63
                                            [% CASE 'mods' %][% t('MODS (XML)') %]
63
                                            [% CASE 'ris' %]RIS
64
                                            [% CASE 'ris' %][% t('RIS') %]
64
                                            [% CASE 'isbd' %]ISBD
65
                                            [% CASE 'isbd' %][% t('ISBD') %]
65
                                        [% END %]
66
                                        [% END %]
66
                                    </a>
67
                                    </a>
67
                                </li>
68
                                </li>
Lines 77-85 Link Here
77
        <li>
78
        <li>
78
            <div id="moresearches_menu">
79
            <div id="moresearches_menu">
79
                <div class="dropdown">
80
                <div class="dropdown">
80
                    <a id="furthersearches" class="dropdown-toggle" data-toggle="dropdown" href="#">More searches <b class="caret"></b></a>
81
                    <a id="furthersearches" class="dropdown-toggle" data-toggle="dropdown" href="#">[% t('More searches') %] <b class="caret"></b></a>
81
                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="furthersearches">
82
                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="furthersearches">
82
                            <li><a href="#" class="menu-inactive">Search for this title in:</a></li>
83
                            <li><a href="#" class="menu-inactive">[% t('Search for this title in:') %]</a></li>
83
                            [% OPACSearchForTitleIn %]
84
                            [% OPACSearchForTitleIn %]
84
                        </ul>
85
                        </ul>
85
                </div>
86
                </div>
Lines 91-118 Link Here
91
<!-- Dublin Core Modal Form -->
92
<!-- Dublin Core Modal Form -->
92
<div class="modal hide" id="exportModal_" tabindex="-1" role="dialog" aria-labelledby="exportLabelexportModal_" aria-hidden="true">
93
<div class="modal hide" id="exportModal_" tabindex="-1" role="dialog" aria-labelledby="exportLabelexportModal_" aria-hidden="true">
93
    <div class="modal-header">
94
    <div class="modal-header">
94
        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">&times;</button>
95
        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
95
        <h3 class="modal-title" id="exportModalLabel">Exporting to Dublin Core...</h3>
96
        <h3 class="modal-title" id="exportModalLabel">[% t('Exporting to Dublin Core...') %]</h3>
96
    </div>
97
    </div>
97
    <form method="get" action="/cgi-bin/koha/opac-export.pl">
98
    <form method="get" action="/cgi-bin/koha/opac-export.pl">
98
    <div class="modal-body">
99
    <div class="modal-body">
99
        <fieldset id="dc_fieldset">
100
        <fieldset id="dc_fieldset">
100
                <input id="input-simple" type="radio" name="format" value="rdfdc">
101
                <input id="input-simple" type="radio" name="format" value="rdfdc">
101
                <label class="label_dc" for="input-simple">Simple DC-RDF</label>
102
                <label class="label_dc" for="input-simple">[% t('Simple DC-RDF') %]</label>
102
                <br>
103
                <br>
103
                <input id="input-oai" type="radio" name="format" value="oaidc" checked>
104
                <input id="input-oai" type="radio" name="format" value="oaidc" checked="">
104
                <label class="label_dc" for="input-oai">OAI-DC</label>
105
                <label class="label_dc" for="input-oai">[% t('OAI-DC') %]</label>
105
                <br>
106
                <br>
106
                <input id="input-srw" type="radio" name="format" value="srwdc">
107
                <input id="input-srw" type="radio" name="format" value="srwdc">
107
                <label class="label_dc" for="input-srw">SRW-DC</label>
108
                <label class="label_dc" for="input-srw">[% t('SRW-DC') %]</label>
108
                <br>
109
                <br>
109
        <input type="hidden" name="op" value="export">
110
        <input type="hidden" name="op" value="export">
110
        <input type="hidden" name="bib" value="[% biblio.biblionumber %]">
111
        <input type="hidden" name="bib" value="[% biblio.biblionumber %]">
111
        </fieldset>
112
        </fieldset>
112
    </div>
113
    </div>
113
    <div class="modal-footer">
114
    <div class="modal-footer">
114
        <button type="submit" class="btn">Export</button>
115
        <button type="submit" class="btn">[% t('Export') %]</button>
115
        <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
116
        <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">[% t('Cancel') %]</button>
116
    </div>
117
    </div>
117
    </form>
118
    </form>
118
</div>
119
</div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc (-20 / +21 lines)
Lines 1-50 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
2
[% IF ( opacfacets && facets_loop && total ) %]
3
[% IF ( opacfacets && facets_loop && total ) %]
3
    <div id="search-facets">
4
    <div id="search-facets">
4
        <h4><a href="#" class="menu-collapse-toggle">Refine your search</a></h4>
5
        <h4><a href="#" class="menu-collapse-toggle">[% t('Refine your search') %]</a></h4>
5
        <ul class="menu-collapse">
6
        <ul class="menu-collapse">
6
            <li id="availability_facet"><h5 id="facet-availability">Availability</h5>
7
            <li id="availability_facet"><h5 id="facet-availability">[% t('Availability') %]</h5>
7
                <ul>
8
                <ul>
8
                    <li>
9
                    <li>
9
                        [% IF ( available ) %]
10
                        [% IF ( available ) %]
10
                            <strong>Showing only available items</strong></li><li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi_not_availablity %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">Show all items</a>
11
                            <strong>[% t('Showing only available items') %]</strong></li><li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi_not_availablity %][% IF ( sort_by ) %]&sort_by=[% sort_by |url %][% END %]">[% t('Show all items') %]</a>
11
                        [% ELSE %]
12
                        [% ELSE %]
12
                            <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi |url %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]&amp;limit=available">Limit to currently available items.</a>
13
                            <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi |url %][% IF ( sort_by ) %]&sort_by=[% sort_by |url %][% END %]&limit=available">[% t('Limit to currently available items.') %]</a>
13
                        [% END %]
14
                        [% END %]
14
                    </li>
15
                    </li>
15
                </ul>
16
                </ul>
16
                [% IF ( related ) %] <li>(related searches: [% FOREACH relate IN related %][% relate.related_search %][% END %])</li>[% END %]
17
                [% IF ( related ) %] <li>[% t('(related searches:') %] [% FOREACH relate IN related %][% relate.related_search %][% END %])</li>[% END %]
17
            </li>
18
            </li>
18
19
19
            [% FOREACH facets_loo IN facets_loop %]
20
            [% FOREACH facets_loo IN facets_loop %]
20
                [% IF facets_loo.facets.size > 0 %]
21
                [% IF facets_loo.facets.size > 0 %]
21
                    <li id="[% facets_loo.type_id %]">
22
                    <li id="[% facets_loo.type_id %]">
22
                        [% IF facets_loo.type_label_Authors %]<h5 id="facet-authors">Authors</h5>[% END %]
23
                        [% IF facets_loo.type_label_Authors %]<h5 id="facet-authors">[% t('Authors') %]</h5>[% END %]
23
                        [% IF facets_loo.type_label_Titles %]<h5 id="facet-titles">Titles</h5>[% END %]
24
                        [% IF facets_loo.type_label_Titles %]<h5 id="facet-titles">[% t('Titles') %]</h5>[% END %]
24
                        [% IF facets_loo.type_label_Topics %]<h5 id="facet-topics">Topics</h5>[% END %]
25
                        [% IF facets_loo.type_label_Topics %]<h5 id="facet-topics">[% t('Topics') %]</h5>[% END %]
25
                        [% IF facets_loo.type_label_Places %]<h5 id="facet-places">Places</h5>[% END %]
26
                        [% IF facets_loo.type_label_Places %]<h5 id="facet-places">[% t('Places') %]</h5>[% END %]
26
                        [% IF facets_loo.type_label_Series %]<h5 id="facet-series">Series</h5>[% END %]
27
                        [% IF facets_loo.type_label_Series %]<h5 id="facet-series">[% t('Series') %]</h5>[% END %]
27
                        [% IF facets_loo.type_label_ItemTypes %]<h5 id="facet-itemtypes">Item types</h5>[% END %]
28
                        [% IF facets_loo.type_label_ItemTypes %]<h5 id="facet-itemtypes">[% t('Item types') %]</h5>[% END %]
28
                        [% IF facets_loo.type_label_CollectionCodes %]<h5 id="facet-itemtypes">Collections</h5>[% END %]
29
                        [% IF facets_loo.type_label_CollectionCodes %]<h5 id="facet-itemtypes">[% t('Collections') %]</h5>[% END %]
29
                        [% UNLESS singleBranchMode %]
30
                        [% UNLESS singleBranchMode %]
30
                            [% IF ( facets_loo.type_label_HomeLibrary ) %]<h5 id="facet-home-libraries">Home libraries</h5>[% END %]
31
                            [% IF ( facets_loo.type_label_HomeLibrary ) %]<h5 id="facet-home-libraries">[% t('Home libraries') %]</h5>[% END %]
31
                            [% IF ( facets_loo.type_label_HoldingLibrary ) %]<h5 id="facet-holding-libraries">Holding libraries</h5>[% END %]
32
                            [% IF ( facets_loo.type_label_HoldingLibrary ) %]<h5 id="facet-holding-libraries">[% t('Holding libraries') %]</h5>[% END %]
32
                        [% END %]
33
                        [% END %]
33
                        [% IF facets_loo.type_label_Location %]<h5 id="facet-locations">Locations</h5>[% END %]
34
                        [% IF facets_loo.type_label_Location %]<h5 id="facet-locations">[% t('Locations') %]</h5>[% END %]
34
                        <ul>
35
                        <ul>
35
                            [% SET url = "/cgi-bin/koha/opac-search.pl?" _ query_cgi _ limit_cgi %]
36
                            [% SET url = "/cgi-bin/koha/opac-search.pl?" _ query_cgi _ limit_cgi %]
36
                            [% IF ( sort_by ) %]
37
                            [% IF ( sort_by ) %]
37
                              [% url = BLOCK %][% url %][% "&amp;sort_by=" _ sort_by |url %][% END %]
38
                              [% url = BLOCK %][% url %][% "&sort_by=" _ sort_by |url %][% END %]
38
                            [% END %]
39
                            [% END %]
39
                            [% FOREACH facet IN facets_loo.facets %]
40
                            [% FOREACH facet IN facets_loo.facets %]
40
                            [% IF facets_loo.type_label_CollectionCodes %][% SET facet.facet_label_value = AuthorisedValues.GetByCode('CCODE',facet.facet_label_value,1) || facet.facet_label_value %][% END %]
41
                            [% IF facets_loo.type_label_CollectionCodes %][% SET facet.facet_label_value = AuthorisedValues.GetByCode('CCODE',facet.facet_label_value,1) || facet.facet_label_value %][% END %]
41
                                <li>
42
                                <li>
42
                                  [% IF facet.active %]
43
                                  [% IF facet.active %]
43
                                    [% SET local_url = url _ "&amp;nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
44
                                    [% SET local_url = url _ "&nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
44
                                    <span class="facet-label">[% facet.facet_label_value %]</span>
45
                                    <span class="facet-label">[% facet.facet_label_value %]</span>
45
                                    [<a href="[% local_url %]" title="Remove facet [% facet.facet_link_value | html %]">x</a>]
46
                                    [<a href="[% local_url %]" title="[% t('Remove facet') %] [% facet.facet_link_value | html %]">[% t('x') %]</a>]
46
                                  [% ELSE %]
47
                                  [% ELSE %]
47
                                    [% SET local_url = url _ "&amp;limit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
48
                                    [% SET local_url = url _ "&limit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
48
                                    <span class="facet-label"><a href="[% local_url %]" title="[% facet.facet_title_value |html %]">[% facet.facet_label_value %]</a></span>
49
                                    <span class="facet-label"><a href="[% local_url %]" title="[% facet.facet_title_value |html %]">[% facet.facet_label_value %]</a></span>
49
                                    [% IF ( displayFacetCount ) %]
50
                                    [% IF ( displayFacetCount ) %]
50
                                      <span class="facet-count"> ([% facet.facet_count %])</span>
51
                                      <span class="facet-count"> ([% facet.facet_count %])</span>
Lines 54-60 Link Here
54
                            [% END %]
55
                            [% END %]
55
                            [% IF ( facets_loo.expandable ) %]
56
                            [% IF ( facets_loo.expandable ) %]
56
                                <li class="showmore">
57
                                <li class="showmore">
57
                                    <a href="[% url %][% IF offset %]&amp;offset=[% offset |url %][% END %]&amp;expand=[% facets_loo.expand |url %]#[% facets_loo.type_id |url %]">Show more</a>
58
                                    <a href="[% url %][% IF offset %]&offset=[% offset |url %][% END %]&expand=[% facets_loo.expand |url %]#[% facets_loo.type_id |url %]">[% t('Show more') %]</a>
58
                                </li>
59
                                </li>
59
                            [% END %]
60
                            [% END %]
60
                        </ul>
61
                        </ul>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-note.inc (-2 / +3 lines)
Lines 1-11 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% IF patron_messages.count OR opacnote %]
2
[% IF patron_messages.count OR opacnote %]
2
    <div class="alert alert-info">
3
    <div class="alert alert-info">
3
        <h3>Messages for you</h3>
4
        <h3>[% t('Messages for you') %]</h3>
4
        <ul>
5
        <ul>
5
            [% FOREACH message IN patron_messages %]
6
            [% FOREACH message IN patron_messages %]
6
                <li>
7
                <li>
7
                    <strong>[% message.message %]</strong><br>
8
                    <strong>[% message.message %]</strong><br>
8
                    &nbsp;&nbsp;&nbsp;<i>Written on [% message.message_date | $KohaDates %] by [% Branches.GetName(message.branchcode) %]</i>
9
                       <i>[% t('Written on') %] [% message.message_date | $KohaDates %] [% t('by') %] [% Branches.GetName(message.branchcode) %]</i>
9
                </li>
10
                </li>
10
            [% END %]
11
            [% END %]
11
12
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-topissues.inc (-24 / +25 lines)
Lines 1-26 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% PROCESS 'html_helpers.inc' %]
4
[% PROCESS 'html_helpers.inc' %]
4
5
5
<div id="search-facets">
6
<div id="search-facets">
6
    <form method="get" action="/cgi-bin/koha/opac-topissues.pl">
7
    <form method="get" action="/cgi-bin/koha/opac-topissues.pl">
7
    <h4><a href="#" class="menu-collapse-toggle">Refine your search</a></h4>
8
    <h4><a href="#" class="menu-collapse-toggle">[% t('Refine your search') %]</a></h4>
8
            <ul class="menu-collapse">
9
            <ul class="menu-collapse">
9
                <li><label for="limit">Show the top </label>
10
                <li><label for="limit">[% t('Show the top') %] </label>
10
                            <select name="limit" id="limit">
11
                            <select name="limit" id="limit">
11
                                [% IF ( limit == 10 ) %]<option value ="10" selected="selected">10 titles</option>[% ELSE %]<option value="10">10 titles</option>[% END %]
12
                                [% IF ( limit == 10 ) %]<option value="10" selected="selected">[% t('10 titles') %]</option>[% ELSE %]<option value="10">[% t('10 titles') %]</option>[% END %]
12
                                [% IF ( limit == 15 ) %]<option value ="15" selected="selected">15 titles</option>[% ELSE %]<option value="15">15 titles</option>[% END %]
13
                                [% IF ( limit == 15 ) %]<option value="15" selected="selected">[% t('15 titles') %]</option>[% ELSE %]<option value="15">[% t('15 titles') %]</option>[% END %]
13
                                [% IF ( limit == 20 ) %]<option value ="20" selected="selected">20 titles</option>[% ELSE %]<option value="20">20 titles</option>[% END %]
14
                                [% IF ( limit == 20 ) %]<option value="20" selected="selected">[% t('20 titles') %]</option>[% ELSE %]<option value="20">[% t('20 titles') %]</option>[% END %]
14
                                [% IF ( limit == 30 ) %]<option value ="30" selected="selected">30 titles</option>[% ELSE %]<option value="30">30 titles</option>[% END %]
15
                                [% IF ( limit == 30 ) %]<option value="30" selected="selected">[% t('30 titles') %]</option>[% ELSE %]<option value="30">[% t('30 titles') %]</option>[% END %]
15
                                [% IF ( limit == 40 ) %]<option value ="40" selected="selected">40 titles</option>[% ELSE %]<option value="40">40 titles</option>[% END %]
16
                                [% IF ( limit == 40 ) %]<option value="40" selected="selected">[% t('40 titles') %]</option>[% ELSE %]<option value="40">[% t('40 titles') %]</option>[% END %]
16
                                [% IF ( limit == 50 ) %]<option value ="50" selected="selected">50 titles</option>[% ELSE %]<option value="50">50 titles</option>[% END %]
17
                                [% IF ( limit == 50 ) %]<option value="50" selected="selected">[% t('50 titles') %]</option>[% ELSE %]<option value="50">[% t('50 titles') %]</option>[% END %]
17
                                [% IF ( limit == 100 ) %]<option value ="100" selected="selected">100 titles</option>[% ELSE %]<option value="100">100 titles</option>[% END %]
18
                                [% IF ( limit == 100 ) %]<option value="100" selected="selected">[% t('100 titles') %]</option>[% ELSE %]<option value="100">[% t('100 titles') %]</option>[% END %]
18
                            </select></li>
19
                            </select></li>
19
20
20
                [% IF Branches.all.size > 1 %]
21
                [% IF Branches.all.size > 1 %]
21
                <li><label for="branch">From: </label>
22
                <li><label for="branch">[% t('From:') %] </label>
22
                            <select name="branch" id="branch">
23
                            <select name="branch" id="branch">
23
                                <option value="">All libraries</option>
24
                                <option value="">[% t('All libraries') %]</option>
24
                                [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
25
                                [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
25
                            </select></li>
26
                            </select></li>
26
                [% END %]
27
                [% END %]
Lines 28-36 Link Here
28
                [% AdvancedSearchTypes = Koha.Preference('AdvancedSearchTypes').split('\|') %]
29
                [% AdvancedSearchTypes = Koha.Preference('AdvancedSearchTypes').split('\|') %]
29
                [% IF AdvancedSearchTypes.grep('^itemtypes$').size %]
30
                [% IF AdvancedSearchTypes.grep('^itemtypes$').size %]
30
                    <li>
31
                    <li>
31
                        <label for="itemtype">Limit to: </label>
32
                        <label for="itemtype">[% t('Limit to:') %] </label>
32
                        <select name="itemtype" id="itemtype">
33
                        <select name="itemtype" id="itemtype">
33
                            <option value="">All item types</option>
34
                            <option value="">[% t('All item types') %]</option>
34
                            [% FOREACH itemtype IN ItemTypes.Get() %]
35
                            [% FOREACH itemtype IN ItemTypes.Get() %]
35
                                [% IF itemtype.itemtype == selected_itemtype %]
36
                                [% IF itemtype.itemtype == selected_itemtype %]
36
                                    <option value="[% itemtype.itemtype %]" selected="selected">
37
                                    <option value="[% itemtype.itemtype %]" selected="selected">
Lines 46-54 Link Here
46
47
47
                [% IF AdvancedSearchTypes.grep('^ccode$').size %]
48
                [% IF AdvancedSearchTypes.grep('^ccode$').size %]
48
                    <li>
49
                    <li>
49
                        <label for="ccode">Limit to:</label>
50
                        <label for="ccode">[% t('Limit to:') %]</label>
50
                        <select name="ccode" id="ccode">
51
                        <select name="ccode" id="ccode">
51
                            <option value="">All collections</option>
52
                            <option value="">[% t('All collections') %]</option>
52
                            [% FOREACH ccode IN AuthorisedValues.Get('CCODE', 1) %]
53
                            [% FOREACH ccode IN AuthorisedValues.Get('CCODE', 1) %]
53
                                [% IF ccode.authorised_value == selected_ccode %]
54
                                [% IF ccode.authorised_value == selected_ccode %]
54
                                    <option value="[% ccode.authorised_value %]" selected="selected">
55
                                    <option value="[% ccode.authorised_value %]" selected="selected">
Lines 62-88 Link Here
62
                    </li>
63
                    </li>
63
                [% END %]
64
                [% END %]
64
65
65
                <li><label for="timeLimit">Acquired in the last:</label>
66
                <li><label for="timeLimit">[% t('Acquired in the last:') %]</label>
66
                            <select name="timeLimit" id="timeLimit">
67
                            <select name="timeLimit" id="timeLimit">
67
                                [% IF ( timeLimit == 3 ) %]
68
                                [% IF ( timeLimit == 3 ) %]
68
                                    <option value="3" selected="selected">3 months</option>
69
                                    <option value="3" selected="selected">[% t('3 months') %]</option>
69
                                [% ELSE %]
70
                                [% ELSE %]
70
                                    <option value="3">3 months</option>
71
                                    <option value="3">[% t('3 months') %]</option>
71
                                [% END %]
72
                                [% END %]
72
                                [% IF ( timeLimit == 6 ) %]
73
                                [% IF ( timeLimit == 6 ) %]
73
                                    <option value="6" selected="selected">6 months</option>
74
                                    <option value="6" selected="selected">[% t('6 months') %]</option>
74
                                [% ELSE %]
75
                                [% ELSE %]
75
                                    <option value="6">6 months</option>
76
                                    <option value="6">[% t('6 months') %]</option>
76
                                [% END %]
77
                                [% END %]
77
                                [% IF ( timeLimit == 12 ) %]
78
                                [% IF ( timeLimit == 12 ) %]
78
                                    <option value="12" selected="selected">12 months</option>
79
                                    <option value="12" selected="selected">[% t('12 months') %]</option>
79
                                [% ELSE %]
80
                                [% ELSE %]
80
                                    <option value="12">12 months</option>
81
                                    <option value="12">[% t('12 months') %]</option>
81
                                [% END %]
82
                                [% END %]
82
                                [% IF ( timeLimit == 999 ) %]
83
                                [% IF ( timeLimit == 999 ) %]
83
                                    <option value="999" selected="selected">No limit</option>
84
                                    <option value="999" selected="selected">[% t('No limit') %]</option>
84
                                [% ELSE %]
85
                                [% ELSE %]
85
                                    <option value="999">No limit</option>
86
                                    <option value="999">[% t('No limit') %]</option>
86
                                [% END %]
87
                                [% END %]
87
                            </select></li>
88
                            </select></li>
88
                <li>
89
                <li>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/openlibrary-readapi.inc (-1 / +2 lines)
Lines 1-4 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[%# Input params: bib - search result biblio record %]
2
[%# Input params: bib - search result biblio record %]
2
[% IF OpenLibrarySearch && ( bib.normalized_isbn || bib.lccn || bib.normalized_oclc ) %]
3
[% IF OpenLibrarySearch && ( bib.normalized_isbn || bib.lccn || bib.normalized_oclc ) %]
3
    <div class="ol_readapi_book" isbn="[% bib.normalized_isbn %]" lccn="[% bib.lccn %]" oclc="[% bib.normalized_oclc %]">Open Library: </div>
4
    <div class="ol_readapi_book" isbn="[% bib.normalized_isbn %]" lccn="[% bib.lccn %]" oclc="[% bib.normalized_oclc %]">[% t('Open Library:') %] </div>
4
[% END %]
5
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/overdrive-checkout.inc (-3 / +4 lines)
Lines 1-19 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<div id="overdrive-checkout" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="overdrive-checkout-label" aria-hidden="true">
2
<div id="overdrive-checkout" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="overdrive-checkout-label" aria-hidden="true">
2
    <div class="modal-header">
3
    <div class="modal-header">
3
        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
4
        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
4
        <h3 id="overdrive-checkout-label">Checkout</h3>
5
        <h3 id="overdrive-checkout-label">[% t('Checkout') %]</h3>
5
    </div>
6
    </div>
6
    <form action="#" method="post" id="overdrive-checkout-form">
7
    <form action="#" method="post" id="overdrive-checkout-form">
7
        <div class="modal-body">
8
        <div class="modal-body">
8
                <input type="hidden" name="id" value="" />
9
                <input type="hidden" name="id" value="" />
9
                <fieldset class="brief">
10
                <fieldset class="brief">
10
                    <label for="format">Format:</label>
11
                    <label for="format">[% t('Format:') %]</label>
11
                    <ul class="overdrive-format-list">
12
                    <ul class="overdrive-format-list">
12
                </fieldset>
13
                </fieldset>
13
        </div>
14
        </div>
14
        <div class="modal-footer">
15
        <div class="modal-footer">
15
            <input type="submit" class="btn btn-primary overdrive-checkout-submit" value="Checkout" />
16
            <input type="submit" class="btn btn-primary overdrive-checkout-submit" value="Checkout" />
16
            <a href="#" data-dismiss="modal" aria-hidden="true" class="cancel">Cancel</a>
17
            <a href="#" data-dismiss="modal" aria-hidden="true" class="cancel">[% t('Cancel') %]</a>
17
        </div>
18
        </div>
18
    </form> <!-- /#overdrive-checkout-form -->
19
    </form> <!-- /#overdrive-checkout-form -->
19
</div>  <!-- /#overdrive-checkout  -->
20
</div>  <!-- /#overdrive-checkout  -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/page-numbers.inc (-5 / +6 lines)
Lines 1-20 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% IF ( PAGE_NUMBERS ) %]
2
[% IF ( PAGE_NUMBERS ) %]
2
    <div class="pagination pagination-small noprint">
3
    <div class="pagination pagination-small noprint">
3
        <ul>
4
        <ul>
4
            [% IF ( previous_page_offset.defined ) %]
5
            [% IF ( previous_page_offset.defined ) %]
5
                <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |html %][% END %]">First</a></li>
6
                <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %][% IF ( sort_by ) %]&sort_by=[% sort_by |html %][% END %]">[% t('First') %]</a></li>
6
                <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>
7
                <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% previous_page_offset %][% IF ( sort_by ) %]&sort_by=[% sort_by |html %][% END %]">[% t('« Previous') %]</a></li>
7
            [% END %]
8
            [% END %]
8
            [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
9
            [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
9
                [% IF ( PAGE_NUMBER.highlight ) %]
10
                [% IF ( PAGE_NUMBER.highlight ) %]
10
                    <li class="active"><a href="#">[% PAGE_NUMBER.pg %]</a></li>
11
                    <li class="active"><a href="#">[% PAGE_NUMBER.pg %]</a></li>
11
                [% ELSE %]
12
                [% ELSE %]
12
                    <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>
13
                    <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% PAGE_NUMBER.offset %][% IF ( sort_by ) %]&sort_by=[% sort_by |html%][% END %]">[% PAGE_NUMBER.pg %]</a></li>
13
                [% END %]
14
                [% END %]
14
            [% END %]
15
            [% END %]
15
            [% IF ( next_page_offset ) %]
16
            [% IF ( next_page_offset ) %]
16
                <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>
17
                <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% next_page_offset %][% IF ( sort_by ) %]&sort_by=[% sort_by |html %][% END %]">[% t('Next »') %]</a></li>
17
                <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% last_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |html %][% END %]">Last</a></li>
18
                <li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% last_page_offset %][% IF ( sort_by ) %]&sort_by=[% sort_by |html %][% END %]">[% t('Last') %]</a></li>
18
            [% END %]
19
            [% END %]
19
        </ul>
20
        </ul>
20
    </div>
21
    </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/resort_form.inc (-30 / +31 lines)
Lines 1-71 Link Here
1
<option value="relevance">Relevance</option>
1
[% PROCESS 'i18n.inc' %]
2
<optgroup label="Popularity">
2
<option value="relevance">[% t('Relevance') %]</option>
3
<optgroup label="[% t('Popularity') %]">
3
    [% IF ( sort_by == "popularity_dsc" ) %]
4
    [% IF ( sort_by == "popularity_dsc" ) %]
4
        <option value="popularity_dsc" selected="selected">Popularity (most to least)</option>
5
        <option value="popularity_dsc" selected="selected">[% t('Popularity (most to least)') %]</option>
5
    [% ELSE %]
6
    [% ELSE %]
6
        <option value="popularity_dsc">Popularity (most to least)</option>
7
        <option value="popularity_dsc">[% t('Popularity (most to least)') %]</option>
7
    [% END %]
8
    [% END %]
8
    [% IF ( sort_by == "popularity_asc" ) %]
9
    [% IF ( sort_by == "popularity_asc" ) %]
9
        <option value="popularity_asc" selected="selected">Popularity (least to most)</option>
10
        <option value="popularity_asc" selected="selected">[% t('Popularity (least to most)') %]</option>
10
    [% ELSE %]
11
    [% ELSE %]
11
        <option value="popularity_asc">Popularity (least to most)</option>
12
        <option value="popularity_asc">[% t('Popularity (least to most)') %]</option>
12
    [% END %]
13
    [% END %]
13
</optgroup>
14
</optgroup>
14
<optgroup label="Author">
15
<optgroup label="[% t('Author') %]">
15
    [% IF ( sort_by == "author_az" || sort_by == "author_asc" ) %]
16
    [% IF ( sort_by == "author_az" || sort_by == "author_asc" ) %]
16
        <option value="author_az" selected="selected">Author (A-Z)</option>
17
        <option value="author_az" selected="selected">[% t('Author (A-Z)') %]</option>
17
    [% ELSE %]
18
    [% ELSE %]
18
        <option value="author_az">Author (A-Z)</option>
19
        <option value="author_az">[% t('Author (A-Z)') %]</option>
19
    [% END %]
20
    [% END %]
20
    [% IF ( sort_by == "author_za" || sort_by == "author_dsc" ) %]
21
    [% IF ( sort_by == "author_za" || sort_by == "author_dsc" ) %]
21
        <option value="author_za" selected="selected">Author (Z-A)</option>
22
        <option value="author_za" selected="selected">[% t('Author (Z-A)') %]</option>
22
    [% ELSE %]
23
    [% ELSE %]
23
        <option value="author_za">Author (Z-A)</option>
24
        <option value="author_za">[% t('Author (Z-A)') %]</option>
24
    [% END %]
25
    [% END %]
25
</optgroup>
26
</optgroup>
26
<optgroup label="Call Number">
27
<optgroup label="[% t('Call Number') %]">
27
    [% IF ( sort_by == "call_number_asc" ) %]
28
    [% IF ( sort_by == "call_number_asc" ) %]
28
        <option value="call_number_asc" selected="selected">Call number (0-9 to A-Z)</option>
29
        <option value="call_number_asc" selected="selected">[% t('Call number (0-9 to A-Z)') %]</option>
29
    [% ELSE %]
30
    [% ELSE %]
30
        <option value="call_number_asc">Call number (0-9 to A-Z)</option>
31
        <option value="call_number_asc">[% t('Call number (0-9 to A-Z)') %]</option>
31
    [% END %]
32
    [% END %]
32
    [% IF ( sort_by == "call_number_dsc" ) %]
33
    [% IF ( sort_by == "call_number_dsc" ) %]
33
        <option value="call_number_dsc" selected="selected">Call number (Z-A to 9-0)</option>
34
        <option value="call_number_dsc" selected="selected">[% t('Call number (Z-A to 9-0)') %]</option>
34
    [% ELSE %]
35
    [% ELSE %]
35
        <option value="call_number_dsc">Call number (Z-A to 9-0)</option>
36
        <option value="call_number_dsc">[% t('Call number (Z-A to 9-0)') %]</option>
36
    [% END %]
37
    [% END %]
37
</optgroup>
38
</optgroup>
38
<optgroup label="Dates">
39
<optgroup label="[% t('Dates') %]">
39
    [% IF ( sort_by == "pubdate_dsc" ) %]
40
    [% IF ( sort_by == "pubdate_dsc" ) %]
40
        <option value="pubdate_dsc" selected="selected">Publication/Copyright date: Newest to oldest</option>
41
        <option value="pubdate_dsc" selected="selected">[% t('Publication/Copyright date: Newest to oldest') %]</option>
41
    [% ELSE %]
42
    [% ELSE %]
42
        <option value="pubdate_dsc">Publication/Copyright date: Newest to oldest</option>
43
        <option value="pubdate_dsc">[% t('Publication/Copyright date: Newest to oldest') %]</option>
43
    [% END %]
44
    [% END %]
44
    [% IF ( sort_by == "pubdate_asc" ) %]
45
    [% IF ( sort_by == "pubdate_asc" ) %]
45
        <option value="pubdate_asc" selected="selected">Publication/Copyright date: Oldest to newest</option>
46
        <option value="pubdate_asc" selected="selected">[% t('Publication/Copyright date: Oldest to newest') %]</option>
46
    [% ELSE %]
47
    [% ELSE %]
47
        <option value="pubdate_asc">Publication/Copyright date: Oldest to newest</option>
48
        <option value="pubdate_asc">[% t('Publication/Copyright date: Oldest to newest') %]</option>
48
    [% END %]
49
    [% END %]
49
    [% IF ( sort_by == "acqdate_dsc" ) %]
50
    [% IF ( sort_by == "acqdate_dsc" ) %]
50
        <option value="acqdate_dsc" selected="selected">Acquisition date: Newest to oldest</option>
51
        <option value="acqdate_dsc" selected="selected">[% t('Acquisition date: Newest to oldest') %]</option>
51
    [% ELSE %]
52
    [% ELSE %]
52
        <option value="acqdate_dsc">Acquisition date: Newest to oldest</option>
53
        <option value="acqdate_dsc">[% t('Acquisition date: Newest to oldest') %]</option>
53
    [% END %]
54
    [% END %]
54
    [% IF ( sort_by == "acqdate_asc" ) %]
55
    [% IF ( sort_by == "acqdate_asc" ) %]
55
        <option value="acqdate_asc" selected="selected">Acquisition date: Oldest to newest</option>
56
        <option value="acqdate_asc" selected="selected">[% t('Acquisition date: Oldest to newest') %]</option>
56
    [% ELSE %]
57
    [% ELSE %]
57
        <option value="acqdate_asc">Acquisition date: Oldest to newest</option>
58
        <option value="acqdate_asc">[% t('Acquisition date: Oldest to newest') %]</option>
58
    [% END %]
59
    [% END %]
59
</optgroup>
60
</optgroup>
60
<optgroup label="Title">
61
<optgroup label="[% t('Title') %]">
61
    [% IF ( sort_by == "title_az" || sort_by == "title_asc" ) %]
62
    [% IF ( sort_by == "title_az" || sort_by == "title_asc" ) %]
62
        <option value="title_az" selected="selected">Title (A-Z)</option>
63
        <option value="title_az" selected="selected">[% t('Title (A-Z)') %]</option>
63
    [% ELSE %]
64
    [% ELSE %]
64
        <option value="title_az">Title (A-Z)</option>
65
        <option value="title_az">[% t('Title (A-Z)') %]</option>
65
    [% END %]
66
    [% END %]
66
    [% IF ( sort_by == "title_za" || sort_by == "title_dsc" ) %]
67
    [% IF ( sort_by == "title_za" || sort_by == "title_dsc" ) %]
67
        <option value="title_za" selected="selected">Title (Z-A)</option>
68
        <option value="title_za" selected="selected">[% t('Title (Z-A)') %]</option>
68
    [% ELSE %]
69
    [% ELSE %]
69
        <option value="title_za">Title (Z-A)</option>
70
        <option value="title_za">[% t('Title (Z-A)') %]</option>
70
    [% END %]
71
    [% END %]
71
</optgroup>
72
</optgroup>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/search/facets.inc (-5 / +6 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% IF facets_loop %]
2
[% IF facets_loop %]
2
  <div id="search-facets">
3
  <div id="search-facets">
3
    <h4>Refine your search</h4>
4
    <h4>[% t('Refine your search') %]</h4>
4
    <ul>
5
    <ul>
5
      [% FOR facets IN facets_loop %]
6
      [% FOR facets IN facets_loop %]
6
        <li>
7
        <li>
Lines 23-32 Link Here
23
                  [% END %]
24
                  [% END %]
24
                  [% FOR f IN filters %]
25
                  [% FOR f IN filters %]
25
                    [% UNLESS f.var == facets.indexname && f.val == value.value %]
26
                    [% UNLESS f.var == facets.indexname && f.val == value.value %]
26
                      [% SET url = url _ '&filters=' _ f.var _ ':&quot;' _ f.val _ '&quot;' %]
27
                      [% SET url = url _ '&filters=' _ f.var _ ':"' _ f.val _ '"' %]
27
                    [% END %]
28
                    [% END %]
28
                  [% END %]
29
                  [% END %]
29
                  [<a href="[% url |url %]">x</a>]
30
                  [<a href="[% url |url %]">[% t('x') %]</a>]
30
                [% ELSE %]
31
                [% ELSE %]
31
                  [% SET url = "/cgi-bin/koha/opac-search.pl?" %]
32
                  [% SET url = "/cgi-bin/koha/opac-search.pl?" %]
32
                  [% SET first = 1 %]
33
                  [% SET first = 1 %]
Lines 40-48 Link Here
40
                    [% END %]
41
                    [% END %]
41
                  [% END %]
42
                  [% END %]
42
                  [% FOR f IN filters %]
43
                  [% FOR f IN filters %]
43
                    [% SET url = url _ '&filters=' _ f.var _ ':&quot;' _ f.val _ '&quot;' %]
44
                    [% SET url = url _ '&filters=' _ f.var _ ':"' _ f.val _ '"' %]
44
                  [% END %]
45
                  [% END %]
45
                  [% SET url = url _ '&filters=' _ facets.indexname _ ':&quot;' _ value.value _ '&quot;' %]
46
                  [% SET url = url _ '&filters=' _ facets.indexname _ ':"' _ value.value _ '"' %]
46
47
47
                  <a href="[% url |url %]">[% value.lib %]</a> ([% value.count %])
48
                  <a href="[% url |url %]">[% value.lib %]</a> ([% value.count %])
48
                [% END %]
49
                [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/search/page-numbers.inc (-3 / +4 lines)
Lines 1-17 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% IF ( PAGE_NUMBERS ) %]
2
[% IF ( PAGE_NUMBERS ) %]
2
  <div class="pages">
3
  <div class="pages">
3
    [% IF ( previous_page ) %]
4
    [% IF ( previous_page ) %]
4
      <a class="nav" href="?[% FOREACH fp IN follower_params %][% fp.var |url %]=[% fp.val |url %]&amp;[% END %]page=[% previous_page |url %]">&lt;&lt; Previous</a>
5
      <a class="nav" href="?[% FOREACH fp IN follower_params %][% fp.var |url %]=[% fp.val |url %]&[% END %]page=[% previous_page |url %]">[% t('&lt;&lt; Previous') %]</a>
5
    [% END %]
6
    [% END %]
6
    [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
7
    [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
7
      [% IF ( PAGE_NUMBER.current ) %]
8
      [% IF ( PAGE_NUMBER.current ) %]
8
        <span class="current">[% PAGE_NUMBER.page %]</span>
9
        <span class="current">[% PAGE_NUMBER.page %]</span>
9
      [% ELSE %]
10
      [% ELSE %]
10
        <a class="nav" href="?[% FOREACH fp IN follower_params %][% fp.var |url %]=[% fp.val |url %]&amp;[% END %]page=[% PAGE_NUMBER.page |url %]">[% PAGE_NUMBER.page %]</a>
11
        <a class="nav" href="?[% FOREACH fp IN follower_params %][% fp.var |url %]=[% fp.val |url %]&[% END %]page=[% PAGE_NUMBER.page |url %]">[% PAGE_NUMBER.page %]</a>
11
      [% END %]
12
      [% END %]
12
    [% END %]
13
    [% END %]
13
    [% IF ( next_page ) %]
14
    [% IF ( next_page ) %]
14
      <a class="nav" href="?[% FOREACH fp IN follower_params %][% fp.var |url %]=[% fp.val |url %]&amp;[% END %]page=[% next_page |url %]">Next &gt;&gt;</a>
15
      <a class="nav" href="?[% FOREACH fp IN follower_params %][% fp.var |url %]=[% fp.val |url %]&[% END %]page=[% next_page |url %]">[% t('Next &gt;&gt;') %]</a>
15
    [% END %]
16
    [% END %]
16
  </div>
17
  </div>
17
[% END %]
18
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/search/resort_form.inc (-8 / +9 lines)
Lines 1-23 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% IF sort_by == "score asc" %]
2
[% IF sort_by == "score asc" %]
2
  <option value="score asc" selected="selected">Relevance asc</option>
3
  <option value="score asc" selected="selected">[% t('Relevance asc') %]</option>
3
[% ELSE %]
4
[% ELSE %]
4
  <option value="score asc">Relevance asc</option>
5
  <option value="score asc">[% t('Relevance asc') %]</option>
5
[% END %]
6
[% END %]
6
[% IF sort_by == "score desc" %]
7
[% IF sort_by == "score desc" %]
7
  <option value="score desc" selected="selected">Relevance desc</option>
8
  <option value="score desc" selected="selected">[% t('Relevance desc') %]</option>
8
[% ELSE %]
9
[% ELSE %]
9
  <option value="score desc">Relevance desc</option>
10
  <option value="score desc">[% t('Relevance desc') %]</option>
10
[% END %]
11
[% END %]
11
12
12
[% FOREACH ind IN sortable_indexes %]
13
[% FOREACH ind IN sortable_indexes %]
13
  [% IF sort_by == "$ind.code asc" %]
14
  [% IF sort_by == "$ind.code asc" %]
14
    <option value="[% ind.code %] asc" selected="selected">[% ind.label %] asc</option>
15
    <option value="[% ind.code %] asc" selected="selected">[% ind.label %] [% t('asc') %]</option>
15
  [% ELSE %]
16
  [% ELSE %]
16
    <option value="[% ind.code %] asc">[% ind.label %] asc</option>
17
    <option value="[% ind.code %] asc">[% ind.label %] [% t('asc') %]</option>
17
  [% END %]
18
  [% END %]
18
  [% IF sort_by == "$ind.code desc" %]
19
  [% IF sort_by == "$ind.code desc" %]
19
    <option value="[% ind.code %] desc" selected="selected">[% ind.label %] desc</option>
20
    <option value="[% ind.code %] desc" selected="selected">[% ind.label %] [% t('desc') %]</option>
20
  [% ELSE %]
21
  [% ELSE %]
21
    <option value="[% ind.code %] desc">[% ind.label %] desc</option>
22
    <option value="[% ind.code %] desc">[% ind.label %] [% t('desc') %]</option>
22
  [% END %]
23
  [% END %]
23
[% END %]
24
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc (-15 / +16 lines)
Lines 1-11 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% BLOCK shelfbrowser %]
2
[% BLOCK shelfbrowser %]
2
    [% IF OpenOPACShelfBrowser %]
3
    [% IF OpenOPACShelfBrowser %]
3
        <div id="shelfbrowser">
4
        <div id="shelfbrowser">
4
            <h5 style="text-align: center;">
5
            <h5 style="text-align: center;">
5
                [% IF ( starting_homebranch ) %]Browsing [% starting_homebranch %] Shelves[% END %]
6
                [% IF ( starting_homebranch ) %][% t('Browsing') %] [% starting_homebranch %] [% t('Shelves') %][% END %]
6
                [% IF ( starting_location ) %], Shelving location: [% starting_location %][% END %]
7
                [% IF ( starting_location ) %][% t(', Shelving location:') %] [% starting_location %][% END %]
7
                [% IF ( starting_ccode ) %], Collection code: [% starting_ccode %][% END %]
8
                [% IF ( starting_ccode ) %][% t(', Collection code:') %] [% starting_ccode %][% END %]
8
                <a style="font-size: 75%;" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" class="close_shelf" >Close shelf browser</a>
9
                <a style="font-size: 75%;" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" class="close_shelf">[% t('Close shelf browser') %]</a>
9
            </h5>
10
            </h5>
10
11
11
            <table class="table">
12
            <table class="table">
Lines 13-26 Link Here
13
                    <td rowspan="2">
14
                    <td rowspan="2">
14
                      [% IF shelfbrowser_prev_item %]
15
                      [% IF shelfbrowser_prev_item %]
15
                        <div id="browser_previous">
16
                        <div id="browser_previous">
16
                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% shelfbrowser_prev_item.biblionumber %]&amp;shelfbrowse_itemnumber=[% shelfbrowser_prev_item.itemnumber %]#shelfbrowser" data-prev-itemnumber="[% shelfbrowser_prev_item.itemnumber %]">Previous</a>
17
                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% shelfbrowser_prev_item.biblionumber %]&shelfbrowse_itemnumber=[% shelfbrowser_prev_item.itemnumber %]#shelfbrowser" data-prev-itemnumber="[% shelfbrowser_prev_item.itemnumber %]">[% t('Previous') %]</a>
17
                        </div>
18
                        </div>
18
                      [% END %]
19
                      [% END %]
19
                    </td>
20
                    </td>
20
21
21
                    [% FOREACH item IN shelfbrowser_items %]
22
                    [% FOREACH item IN shelfbrowser_items %]
22
                        <td>
23
                        <td>
23
                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber %]&amp;shelfbrowse_itemnumber=[% item.itemnumber %]#shelfbrowser">
24
                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber %]&shelfbrowse_itemnumber=[% item.itemnumber %]#shelfbrowser">
24
                                [% IF ( OPACLocalCoverImages ) %]
25
                                [% IF ( OPACLocalCoverImages ) %]
25
                                    <div title="[% item.biblionumber |url %]" class="[% item.biblionumber %] thumbnail-shelfbrowser" id="local-thumbnail-shelf-[% item.biblionumber %]"></div>
26
                                    <div title="[% item.biblionumber |url %]" class="[% item.biblionumber %] thumbnail-shelfbrowser" id="local-thumbnail-shelf-[% item.biblionumber %]"></div>
26
                                [% END %]
27
                                [% END %]
Lines 28-34 Link Here
28
                                    [% IF ( item.browser_normalized_isbn ) %]
29
                                    [% IF ( item.browser_normalized_isbn ) %]
29
                                        <img src="https://images-na.ssl-images-amazon.com/images/P/[% item.browser_normalized_isbn %].01._AA75_PU_PU-5_.jpg" alt="" />
30
                                        <img src="https://images-na.ssl-images-amazon.com/images/P/[% item.browser_normalized_isbn %].01._AA75_PU_PU-5_.jpg" alt="" />
30
                                    [% ELSE %]
31
                                    [% ELSE %]
31
                                        <span class="no-image">No cover image available</span>
32
                                        <span class="no-image">[% t('No cover image available') %]</span>
32
                                    [% END %]
33
                                    [% END %]
33
                                [% END %]
34
                                [% END %]
34
35
Lines 36-47 Link Here
36
                                    [% IF ( SyndeticsCoverImages ) %]
37
                                    [% IF ( SyndeticsCoverImages ) %]
37
                                        [% IF ( content_identifier_exists ) %]
38
                                        [% IF ( content_identifier_exists ) %]
38
                                            [% IF ( using_https ) %]
39
                                            [% IF ( using_https ) %]
39
                                                <img src="https://secure.syndetics.com/index.aspx?isbn=[% item.browser_normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %][% IF ( item.browser_normalized_upc ) %]&amp;upc=[% item.browser_normalized_upc %][% END %][% IF ( item.browser_normalized_oclc ) %]&amp;oclc=[% item.browser_normalized_oclc %][% END %]&amp;type=xw10" alt="" />
40
                                                <img src="https://secure.syndetics.com/index.aspx?isbn=[% item.browser_normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %][% IF ( item.browser_normalized_upc ) %]&upc=[% item.browser_normalized_upc %][% END %][% IF ( item.browser_normalized_oclc ) %]&oclc=[% item.browser_normalized_oclc %][% END %]&type=xw10" alt="" />
40
                                            [% ELSE %]
41
                                            [% ELSE %]
41
                                                <img src="http://www.syndetics.com/index.aspx?isbn=[% item.browser_normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %][% IF ( item.browser_normalized_upc ) %]&amp;upc=[% item.browser_normalized_upc %][% END %][% IF ( item.browser_normalized_oclc ) %]&amp;oclc=[% item.browser_normalized_oclc %][% END %]&amp;type=xw10" alt="" />
42
                                                <img src="http://www.syndetics.com/index.aspx?isbn=[% item.browser_normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %][% IF ( item.browser_normalized_upc ) %]&upc=[% item.browser_normalized_upc %][% END %][% IF ( item.browser_normalized_oclc ) %]&oclc=[% item.browser_normalized_oclc %][% END %]&type=xw10" alt="" />
42
                                            [% END %]
43
                                            [% END %]
43
                                        [% ELSE %]
44
                                        [% ELSE %]
44
                                            <span class="no-image">No cover image available</span>
45
                                            <span class="no-image">[% t('No cover image available') %]</span>
45
                                        [% END %]
46
                                        [% END %]
46
                                    [% END %]
47
                                    [% END %]
47
                                [% END %]
48
                                [% END %]
Lines 50-56 Link Here
50
                                    [% IF ( item.browser_normalized_isbn ) %]
51
                                    [% IF ( item.browser_normalized_isbn ) %]
51
                                        <div style="block" title="[% item.biblionumber |url %]" class="[% item.browser_normalized_isbn %]" id="gbs-thumbnail-preview[% loop.count %]"></div>
52
                                        <div style="block" title="[% item.biblionumber |url %]" class="[% item.browser_normalized_isbn %]" id="gbs-thumbnail-preview[% loop.count %]"></div>
52
                                    [% ELSE %]
53
                                    [% ELSE %]
53
                                        <span class="no-image">No cover image available</span>
54
                                        <span class="no-image">[% t('No cover image available') %]</span>
54
                                    [% END %]
55
                                    [% END %]
55
                                [% END %]
56
                                [% END %]
56
                                [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
57
                                [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
Lines 60-68 Link Here
60
                                [% IF ( BakerTaylorEnabled ) %]
61
                                [% IF ( BakerTaylorEnabled ) %]
61
                                    [% bt_id = ( item.browser_normalized_upc || item.browser_normalized_isbn ) %]
62
                                    [% bt_id = ( item.browser_normalized_upc || item.browser_normalized_isbn ) %]
62
                                    [% IF ( bt_id ) %]
63
                                    [% IF ( bt_id ) %]
63
                                        <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
64
                                        <img alt="[% t('See Baker &amp; Taylor') %]" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
64
                                    [% ELSE %]
65
                                    [% ELSE %]
65
                                        <span class="no-image">No cover image available</span>
66
                                        <span class="no-image">[% t('No cover image available') %]</span>
66
                                    [% END %]
67
                                    [% END %]
67
                                [% END %]
68
                                [% END %]
68
                            </a>
69
                            </a>
Lines 71-77 Link Here
71
                    <td rowspan="2">
72
                    <td rowspan="2">
72
                        [% IF shelfbrowser_next_item %]
73
                        [% IF shelfbrowser_next_item %]
73
                            <div id="browser_next">
74
                            <div id="browser_next">
74
                                <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% shelfbrowser_next_item.biblionumber %]&amp;shelfbrowse_itemnumber=[% shelfbrowser_next_item.itemnumber %]#shelfbrowser" data-next-itemnumber="[% shelfbrowser_next_item.itemnumber %]">Next</a>
75
                                <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% shelfbrowser_next_item.biblionumber %]&shelfbrowse_itemnumber=[% shelfbrowser_next_item.itemnumber %]#shelfbrowser" data-next-itemnumber="[% shelfbrowser_next_item.itemnumber %]">[% t('Next') %]</a>
75
                            </div>
76
                            </div>
76
                        [% END %]
77
                        [% END %]
77
                    </td>
78
                    </td>
Lines 81-87 Link Here
81
                    [% FOREACH item IN shelfbrowser_items %]
82
                    [% FOREACH item IN shelfbrowser_items %]
82
                        <td class="top">
83
                        <td class="top">
83
                            [% item.itemcallnumber %]
84
                            [% item.itemcallnumber %]
84
                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber %]&amp;shelfbrowse_itemnumber=[% item.itemnumber %]#shelfbrowser">
85
                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber %]&shelfbrowse_itemnumber=[% item.itemnumber %]#shelfbrowser">
85
                                [% item.title |html %]
86
                                [% item.title |html %]
86
                                [% FOREACH subtitl IN item.subtitle %]
87
                                [% FOREACH subtitl IN item.subtitle %]
87
                                    [% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %]
88
                                    [% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/subtypes_unimarc.inc (-158 / +159 lines)
Lines 1-210 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<fieldset>
2
<fieldset>
2
    <legend>Coded fields</legend>
3
    <legend>[% t('Coded fields') %]</legend>
3
    <p>
4
    <p>
4
        <label>Audience</label>
5
        <label>[% t('Audience') %]</label>
5
        <select name="limit" class="subtype">
6
        <select name="limit" class="subtype">
6
                <option value="" selected="selected" >Any</option>
7
                <option value="" selected="selected">[% t('Any') %]</option>
7
          <option value="aud:a">juvenile, general</option>
8
          <option value="aud:a">[% t('juvenile, general') %]</option>
8
          <option value="aud:b">pre-primary (0-5)</option>
9
          <option value="aud:b">[% t('pre-primary (0-5)') %]</option>
9
          <option value="aud:c">primary (5-8)</option>
10
          <option value="aud:c">[% t('primary (5-8)') %]</option>
10
          <option value="aud:d">children (9-14)</option>
11
          <option value="aud:d">[% t('children (9-14)') %]</option>
11
          <option value="aud:e">young adult</option>
12
          <option value="aud:e">[% t('young adult') %]</option>
12
          <option value="aud:k">adult, serious</option>
13
          <option value="aud:k">[% t('adult, serious') %]</option>
13
          <option value="aud:m">adult, General</option>
14
          <option value="aud:m">[% t('adult, General') %]</option>
14
          <option value="aud:u">unknown</option>
15
          <option value="aud:u">[% t('unknown') %]</option>
15
        </select>
16
        </select>
16
    </p>
17
    </p>
17
    <p>
18
    <p>
18
        <label>Physical presentation</label>
19
        <label>[% t('Physical presentation') %]</label>
19
            <select name="limit" class="subtype">
20
            <select name="limit" class="subtype">
20
                <option value="" selected="selected" >Any</option>
21
                <option value="" selected="selected">[% t('Any') %]</option>
21
                <option value="Material-type:r">regular print</option>
22
                <option value="Material-type:r">[% t('regular print') %]</option>
22
                <option value="Material-type:d">large print</option>
23
                <option value="Material-type:d">[% t('large print') %]</option>
23
                <option value="Material-type:e">newspaper format</option>
24
                <option value="Material-type:e">[% t('newspaper format') %]</option>
24
                <option value="Material-type:f">Braille or Moon script</option>
25
                <option value="Material-type:f">[% t('Braille or Moon script') %]</option>
25
                <option value="Material-type:g">microprint</option>
26
                <option value="Material-type:g">[% t('microprint') %]</option>
26
                <option value="Material-type:h">hand-written</option>
27
                <option value="Material-type:h">[% t('hand-written') %]</option>
27
                <option value="Material-type:i">multimedia</option>
28
                <option value="Material-type:i">[% t('multimedia') %]</option>
28
                <option value="Material-type:j">mini-print</option>
29
                <option value="Material-type:j">[% t('mini-print') %]</option>
29
                <option value="Material-type:s">electronic ressource</option>
30
                <option value="Material-type:s">[% t('electronic ressource') %]</option>
30
                <option value="Material-type:t">microform</option>
31
                <option value="Material-type:t">[% t('microform') %]</option>
31
                <option value="Material-type:z">other form of textual material</option>
32
                <option value="Material-type:z">[% t('other form of textual material') %]</option>
32
            </select>
33
            </select>
33
    </p>
34
    </p>
34
    <p>
35
    <p>
35
        <label>Literary genre</label>
36
        <label>[% t('Literary genre') %]</label>
36
        <select name="limit" class="subtype">
37
        <select name="limit" class="subtype">
37
            <option value="" selected="selected" >Any</option>
38
            <option value="" selected="selected">[% t('Any') %]</option>
38
            <option value="Literature-Code:a">fiction</option>
39
            <option value="Literature-Code:a">[% t('fiction') %]</option>
39
            <option value="Literature-Code:b">drama</option>
40
            <option value="Literature-Code:b">[% t('drama') %]</option>
40
            <option value="Literature-Code:c">essays</option>
41
            <option value="Literature-Code:c">[% t('essays') %]</option>
41
            <option value="Literature-Code:d">humour, satire</option>
42
            <option value="Literature-Code:d">[% t('humour, satire') %]</option>
42
            <option value="Literature-Code:e">letters</option>
43
            <option value="Literature-Code:e">[% t('letters') %]</option>
43
            <option value="Literature-Code:f">short stories</option>
44
            <option value="Literature-Code:f">[% t('short stories') %]</option>
44
            <option value="Literature-Code:g">poetry</option>
45
            <option value="Literature-Code:g">[% t('poetry') %]</option>
45
            <option value="Literature-Code:h">speeches, oratory</option>
46
            <option value="Literature-Code:h">[% t('speeches, oratory') %]</option>
46
            <option value="Literature-Code:i">libretto</option>
47
            <option value="Literature-Code:i">[% t('libretto') %]</option>
47
            <option value="Literature-Code:y">not a literary text</option>
48
            <option value="Literature-Code:y">[% t('not a literary text') %]</option>
48
            <option value="Literature-Code:z">multiple/other literary forms</option>
49
            <option value="Literature-Code:z">[% t('multiple/other literary forms') %]</option>
49
        </select>
50
        </select>
50
    </p>
51
    </p>
51
    <p>
52
    <p>
52
        <label>Biography</label>
53
        <label>[% t('Biography') %]</label>
53
            <select name="limit" class="subtype" size="1">
54
            <select name="limit" class="subtype" size="1">
54
                <option value="">Any</option>
55
                <option value="">[% t('Any') %]</option>
55
                <option value="Biography-code:y">not a biography</option>
56
                <option value="Biography-code:y">[% t('not a biography') %]</option>
56
                <option value="Biography-code:a">autobiography</option>
57
                <option value="Biography-code:a">[% t('autobiography') %]</option>
57
                <option value="Biography-code:b">individual biography</option>
58
                <option value="Biography-code:b">[% t('individual biography') %]</option>
58
                <option value="Biography-code:c">collective biography</option>
59
                <option value="Biography-code:c">[% t('collective biography') %]</option>
59
                <option value="Biography-code:d">contains biographical data</option>
60
                <option value="Biography-code:d">[% t('contains biographical data') %]</option>
60
        </select>
61
        </select>
61
    </p>
62
    </p>
62
    <p>
63
    <p>
63
        <label>Illustration</label>
64
        <label>[% t('Illustration') %]</label>
64
        <select name="limit" class="subtype" size="1">
65
        <select name="limit" class="subtype" size="1">
65
            <option value="">Any</option>
66
            <option value="">[% t('Any') %]</option>
66
            <option value="Illustration-Code:a">illustrations</option>
67
            <option value="Illustration-Code:a">[% t('illustrations') %]</option>
67
            <option value="Illustration-Code:b">maps</option>
68
            <option value="Illustration-Code:b">[% t('maps') %]</option>
68
            <option value="Illustration-Code:c">portraits</option>
69
            <option value="Illustration-Code:c">[% t('portraits') %]</option>
69
            <option value="Illustration-Code:d">charts</option>
70
            <option value="Illustration-Code:d">[% t('charts') %]</option>
70
            <option value="Illustration-Code:e">plans</option>
71
            <option value="Illustration-Code:e">[% t('plans') %]</option>
71
            <option value="Illustration-Code:f">plates</option>
72
            <option value="Illustration-Code:f">[% t('plates') %]</option>
72
            <option value="Illustration-Code:g">music</option>
73
            <option value="Illustration-Code:g">[% t('music') %]</option>
73
            <option value="Illustration-Code:h">facsimiles</option>
74
            <option value="Illustration-Code:h">[% t('facsimiles') %]</option>
74
            <option value="Illustration-Code:i">coats of arms</option>
75
            <option value="Illustration-Code:i">[% t('coats of arms') %]</option>
75
            <option value="Illustration-Code:j">genealogical tables</option>
76
            <option value="Illustration-Code:j">[% t('genealogical tables') %]</option>
76
            <option value="Illustration-Code:k">forms</option>
77
            <option value="Illustration-Code:k">[% t('forms') %]</option>
77
            <option value="Illustration-Code:l">samples</option>
78
            <option value="Illustration-Code:l">[% t('samples') %]</option>
78
            <option value="Illustration-Code:m">sound recordings</option>
79
            <option value="Illustration-Code:m">[% t('sound recordings') %]</option>
79
            <option value="Illustration-Code:n">transparencies</option>
80
            <option value="Illustration-Code:n">[% t('transparencies') %]</option>
80
            <option value="Illustration-Code:o">illuminations</option>
81
            <option value="Illustration-Code:o">[% t('illuminations') %]</option>
81
            <option value="Illustration-Code:y">no illustrations</option>
82
            <option value="Illustration-Code:y">[% t('no illustrations') %]</option>
82
        </select>
83
        </select>
83
    </p>
84
    </p>
84
    <p>
85
    <p>
85
    <label>Content</label>
86
    <label>[% t('Content') %]</label>
86
        <select name="limit" class="subtype">
87
        <select name="limit" class="subtype">
87
            <option value="" >Any</option>
88
            <option value="">[% t('Any') %]</option>
88
            <option value="ctype:a" >bibliography</option>
89
            <option value="ctype:a">[% t('bibliography') %]</option>
89
            <option value="ctype:b" >catalogue</option>
90
            <option value="ctype:b">[% t('catalogue') %]</option>
90
            <option value="ctype:c" >index</option>
91
            <option value="ctype:c">[% t('index') %]</option>
91
            <option value="ctype:d" >abstract</option>
92
            <option value="ctype:d">[% t('abstract') %]</option>
92
            <option value="ctype:e" >dictionary</option>
93
            <option value="ctype:e">[% t('dictionary') %]</option>
93
            <option value="ctype:f" >encyclopaedia</option>
94
            <option value="ctype:f">[% t('encyclopaedia') %]</option>
94
            <option value="ctype:g" >directory</option>
95
            <option value="ctype:g">[% t('directory') %]</option>
95
            <option value="ctype:h" >project description</option>
96
            <option value="ctype:h">[% t('project description') %]</option>
96
            <option value="ctype:i" >statistics</option>
97
            <option value="ctype:i">[% t('statistics') %]</option>
97
            <option value="ctype:j" >programmed text books</option>
98
            <option value="ctype:j">[% t('programmed text books') %]</option>
98
            <option value="ctype:k" >patent</option>
99
            <option value="ctype:k">[% t('patent') %]</option>
99
            <option value="ctype:l" >standard</option>
100
            <option value="ctype:l">[% t('standard') %]</option>
100
            <option value="ctype:m" >dissertation or thesis</option>
101
            <option value="ctype:m">[% t('dissertation or thesis') %]</option>
101
            <option value="ctype:n" >laws and legislation</option>
102
            <option value="ctype:n">[% t('laws and legislation') %]</option>
102
            <option value="ctype:o" >numeric table</option>
103
            <option value="ctype:o">[% t('numeric table') %]</option>
103
            <option value="ctype:p" >technical report</option>
104
            <option value="ctype:p">[% t('technical report') %]</option>
104
            <option value="ctype:q" >examination paper</option>
105
            <option value="ctype:q">[% t('examination paper') %]</option>
105
            <option value="ctype:r" >literature surveys/reviews</option>
106
            <option value="ctype:r">[% t('literature surveys/reviews') %]</option>
106
            <option value="ctype:s" >treaties</option>
107
            <option value="ctype:s">[% t('treaties') %]</option>
107
            <option value="ctype:t" >cartoons or comic strips</option>
108
            <option value="ctype:t">[% t('cartoons or comic strips') %]</option>
108
            <option value="ctype:v" >dissertation or thesis (revised)</option>
109
            <option value="ctype:v">[% t('dissertation or thesis (revised)') %]</option>
109
            <option value="ctype:w" >religious text</option>
110
            <option value="ctype:w">[% t('religious text') %]</option>
110
            <option value="ctype:z" >other</option>
111
            <option value="ctype:z">[% t('other') %]</option>
111
        </select>
112
        </select>
112
    </p>
113
    </p>
113
    <p>
114
    <p>
114
        <label>Video types</label>
115
        <label>[% t('Video types') %]</label>
115
            <select name="limit" class="subtype">
116
            <select name="limit" class="subtype">
116
                <option value="">Any</option>
117
                <option value="">[% t('Any') %]</option>
117
                <option value="Video-mt:a">motion picture</option>
118
                <option value="Video-mt:a">[% t('motion picture') %]</option>
118
                <option value="Video-mt:b">visual projection</option>
119
                <option value="Video-mt:b">[% t('visual projection') %]</option>
119
                <option value="Video-mt:c">video recording</option>
120
                <option value="Video-mt:c">[% t('video recording') %]</option>
120
            </select>
121
            </select>
121
    </p>
122
    </p>
122
</fieldset>
123
</fieldset>
123
124
124
<fieldset>
125
<fieldset>
125
    <legend>Serials</legend><p>
126
    <legend>[% t('Serials') %]</legend><p>
126
    <p>
127
    <p>
127
        <label>Serial type</label>
128
        <label>[% t('Serial type') %]</label>
128
        <select name="limit" class="subtype">
129
        <select name="limit" class="subtype">
129
            <option value="">Any type</option>
130
            <option value="">[% t('Any type') %]</option>
130
            <option value="Type-Of-Serial:a">Periodical</option>
131
            <option value="Type-Of-Serial:a">[% t('Periodical') %]</option>
131
            <option value="Type-Of-Serial:b">Monographic series</option>
132
            <option value="Type-Of-Serial:b">[% t('Monographic series') %]</option>
132
            <option value="Type-Of-Serial:c">Newspaper</option>
133
            <option value="Type-Of-Serial:c">[% t('Newspaper') %]</option>
133
            <option value="Type-Of-Serial:e">Updating loose-leaf</option>
134
            <option value="Type-Of-Serial:e">[% t('Updating loose-leaf') %]</option>
134
            <option value="Type-Of-Serial:f">Database</option>
135
            <option value="Type-Of-Serial:f">[% t('Database') %]</option>
135
            <option value="Type-Of-Serial:g">Updating website</option>
136
            <option value="Type-Of-Serial:g">[% t('Updating website') %]</option>
136
            <option value="Type-Of-Serial:z">Other</option>
137
            <option value="Type-Of-Serial:z">[% t('Other') %]</option>
137
        </select>
138
        </select>
138
    </p>
139
    </p>
139
    <p>
140
    <p>
140
        <label>Periodicity</label>
141
        <label>[% t('Periodicity') %]</label>
141
        <select name="limit" class="subtype">
142
        <select name="limit" class="subtype">
142
            <option value="">Any</option>
143
            <option value="">[% t('Any') %]</option>
143
            <option value="Frequency-code:a">Daily</option>
144
            <option value="Frequency-code:a">[% t('Daily') %]</option>
144
            <option value="Frequency-code:b">Semiweekly</option>
145
            <option value="Frequency-code:b">[% t('Semiweekly') %]</option>
145
            <option value="Frequency-code:c">Weekly</option>
146
            <option value="Frequency-code:c">[% t('Weekly') %]</option>
146
            <option value="Frequency-code:d">Biweekly</option>
147
            <option value="Frequency-code:d">[% t('Biweekly') %]</option>
147
            <option value="Frequency-code:e">Semimonthly</option>
148
            <option value="Frequency-code:e">[% t('Semimonthly') %]</option>
148
            <option value="Frequency-code:f">Monthly</option>
149
            <option value="Frequency-code:f">[% t('Monthly') %]</option>
149
            <option value="Frequency-code:g">Bimonthly</option>
150
            <option value="Frequency-code:g">[% t('Bimonthly') %]</option>
150
            <option value="Frequency-code:h">Quarterly</option>
151
            <option value="Frequency-code:h">[% t('Quarterly') %]</option>
151
            <option value="Frequency-code:i">Three times a year</option>
152
            <option value="Frequency-code:i">[% t('Three times a year') %]</option>
152
            <option value="Frequency-code:j">Semiannual</option>
153
            <option value="Frequency-code:j">[% t('Semiannual') %]</option>
153
            <option value="Frequency-code:k">Annual</option>
154
            <option value="Frequency-code:k">[% t('Annual') %]</option>
154
            <option value="Frequency-code:l">Biennial</option>
155
            <option value="Frequency-code:l">[% t('Biennial') %]</option>
155
            <option value="Frequency-code:m">Triennial</option>
156
            <option value="Frequency-code:m">[% t('Triennial') %]</option>
156
            <option value="Frequency-code:n">Three times a week</option>
157
            <option value="Frequency-code:n">[% t('Three times a week') %]</option>
157
            <option value="Frequency-code:o">Three times a month</option>
158
            <option value="Frequency-code:o">[% t('Three times a month') %]</option>
158
            <option value="Frequency-code:y">Without periodicity</option>
159
            <option value="Frequency-code:y">[% t('Without periodicity') %]</option>
159
            <option value="Frequency-code:u">Unknown</option>
160
            <option value="Frequency-code:u">[% t('Unknown') %]</option>
160
            <option value="Frequency-code:z">Other</option>
161
            <option value="Frequency-code:z">[% t('Other') %]</option>
161
        </select>
162
        </select>
162
    </p>
163
    </p>
163
    <p>
164
    <p>
164
        <label>Regularity</label>
165
        <label>[% t('Regularity') %]</label>
165
        <select name="limit" class="subtype">
166
        <select name="limit" class="subtype">
166
            <option value="">Any regularity</option>
167
            <option value="">[% t('Any regularity') %]</option>
167
            <option value="Regularity-code:a">regular</option>
168
            <option value="Regularity-code:a">[% t('regular') %]</option>
168
            <option value="Regularity-code:b">normalised irregular</option>
169
            <option value="Regularity-code:b">[% t('normalised irregular') %]</option>
169
            <option value="Regularity-code:y">irregular</option>
170
            <option value="Regularity-code:y">[% t('irregular') %]</option>
170
            <option value="Regularity-code:u">unknown</option>
171
            <option value="Regularity-code:u">[% t('unknown') %]</option>
171
         </select>
172
         </select>
172
    </p>
173
    </p>
173
</fieldset>
174
</fieldset>
174
175
175
<fieldset>
176
<fieldset>
176
    <legend>Picture</legend>
177
    <legend>[% t('Picture') %]</legend>
177
    <select name="limit" class="subtype">
178
    <select name="limit" class="subtype">
178
        <option value="">Any</option>
179
        <option value="">[% t('Any') %]</option>
179
        <option value="Graphics-type:a">collage</option>
180
        <option value="Graphics-type:a">[% t('collage') %]</option>
180
        <option value="Graphics-type:b">drawing</option>
181
        <option value="Graphics-type:b">[% t('drawing') %]</option>
181
        <option value="Graphics-type:c">painting</option>
182
        <option value="Graphics-type:c">[% t('painting') %]</option>
182
        <option value="Graphics-type:d">photomechanical reproduction</option>
183
        <option value="Graphics-type:d">[% t('photomechanical reproduction') %]</option>
183
        <option value="Graphics-type:e">photonegative</option>
184
        <option value="Graphics-type:e">[% t('photonegative') %]</option>
184
        <option value="Graphics-type:f">photoprint</option>
185
        <option value="Graphics-type:f">[% t('photoprint') %]</option>
185
        <option value="Graphics-type:h">picture</option>
186
        <option value="Graphics-type:h">[% t('picture') %]</option>
186
        <option value="Graphics-type:i">print</option>
187
        <option value="Graphics-type:i">[% t('print') %]</option>
187
        <option value="Graphics-type:k">technical drawing</option>
188
        <option value="Graphics-type:k">[% t('technical drawing') %]</option>
188
        <option value="Graphics-type:z">other non-projected graphic type</option>
189
        <option value="Graphics-type:z">[% t('other non-projected graphic type') %]</option>
189
    </select>
190
    </select>
190
    <select name="limit" class="subtype">
191
    <select name="limit" class="subtype">
191
        <option value="">Any</option>
192
        <option value="">[% t('Any') %]</option>
192
        <option value="Graphics-support:a">canvas</option>
193
        <option value="Graphics-support:a">[% t('canvas') %]</option>
193
        <option value="Graphics-support:b">bristol board</option>
194
        <option value="Graphics-support:b">[% t('bristol board') %]</option>
194
        <option value="Graphics-support:c">cardboard/illustration board</option>
195
        <option value="Graphics-support:c">[% t('cardboard/illustration board') %]</option>
195
        <option value="Graphics-support:d">glass</option>
196
        <option value="Graphics-support:d">[% t('glass') %]</option>
196
        <option value="Graphics-support:j">plaster</option>
197
        <option value="Graphics-support:j">[% t('plaster') %]</option>
197
        <option value="Graphics-support:k">hardboard</option>
198
        <option value="Graphics-support:k">[% t('hardboard') %]</option>
198
        <option value="Graphics-support:l">porcelaine</option>
199
        <option value="Graphics-support:l">[% t('porcelaine') %]</option>
199
        <option value="Graphics-support:m">stone</option>
200
        <option value="Graphics-support:m">[% t('stone') %]</option>
200
        <option value="Graphics-support:n">wood</option>
201
        <option value="Graphics-support:n">[% t('wood') %]</option>
201
        <option value="Graphics-support:v">mixed collection</option>
202
        <option value="Graphics-support:v">[% t('mixed collection') %]</option>
202
        <option value="Graphics-support:e">synthetics</option>
203
        <option value="Graphics-support:e">[% t('synthetics') %]</option>
203
        <option value="Graphics-support:f">skin</option>
204
        <option value="Graphics-support:f">[% t('skin') %]</option>
204
        <option value="Graphics-support:g">textile</option>
205
        <option value="Graphics-support:g">[% t('textile') %]</option>
205
        <option value="Graphics-support:h">metal</option>
206
        <option value="Graphics-support:h">[% t('metal') %]</option>
206
        <option value="Graphics-support:i">paper</option>
207
        <option value="Graphics-support:i">[% t('paper') %]</option>
207
        <option value="Graphics-support:z">others</option>
208
        <option value="Graphics-support:z">[% t('others') %]</option>
208
        <option value="Graphics-support:u">unknown</option>
209
        <option value="Graphics-support:u">[% t('unknown') %]</option>
209
    </select>
210
    </select>
210
</fieldset>
211
</fieldset>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/usermenu.inc (-16 / +16 lines)
Lines 1-21 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername ) %]
3
[% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername ) %]
3
    <div id="menu">
4
    <div id="menu">
4
        <h4><a href="#" class="menu-collapse-toggle">Your account menu</a></h4>
5
        <h4><a href="#" class="menu-collapse-toggle">[% t('Your account menu') %]</a></h4>
5
        <ul class="menu-collapse">
6
        <ul class="menu-collapse">
6
            [% IF ( userview ) %]
7
            [% IF ( userview ) %]
7
                <li class="active">
8
                <li class="active">
8
            [% ELSE %]
9
            [% ELSE %]
9
                <li>
10
                <li>
10
            [% END %]
11
            [% END %]
11
                <a href="/cgi-bin/koha/opac-user.pl">your summary</a></li>
12
                <a href="/cgi-bin/koha/opac-user.pl">[% t('your summary') %]</a></li>
12
            [% IF ( OPACFinesTab ) %]
13
            [% IF ( OPACFinesTab ) %]
13
                [% IF ( accountview ) %]
14
                [% IF ( accountview ) %]
14
                    <li class="active">
15
                    <li class="active">
15
                [% ELSE %]
16
                [% ELSE %]
16
                    <li>
17
                    <li>
17
                [% END %]
18
                [% END %]
18
                <a href="/cgi-bin/koha/opac-account.pl">your fines</a></li>
19
                <a href="/cgi-bin/koha/opac-account.pl">[% t('your fines') %]</a></li>
19
            [% END %]
20
            [% END %]
20
21
21
            [% IF ( userupdateview ) %]
22
            [% IF ( userupdateview ) %]
Lines 23-36 Link Here
23
            [% ELSE %]
24
            [% ELSE %]
24
                <li>
25
                <li>
25
            [% END %]
26
            [% END %]
26
                <a href="/cgi-bin/koha/opac-memberentry.pl">your personal details</a></li>
27
                <a href="/cgi-bin/koha/opac-memberentry.pl">[% t('your personal details') %]</a></li>
27
            [% IF Koha.Preference( 'TagsEnabled' ) == 1 %]
28
            [% IF Koha.Preference( 'TagsEnabled' ) == 1 %]
28
                [% IF ( tagsview ) %]
29
                [% IF ( tagsview ) %]
29
                    <li class="active">
30
                    <li class="active">
30
                [% ELSE %]
31
                [% ELSE %]
31
                    <li>
32
                    <li>
32
                [% END %]
33
                [% END %]
33
                <a href="/cgi-bin/koha/opac-tags.pl?mine=1">your tags</a></li>
34
                <a href="/cgi-bin/koha/opac-tags.pl?mine=1">[% t('your tags') %]</a></li>
34
            [% END %]
35
            [% END %]
35
36
36
            [% IF ( OpacPasswordChange ) %]
37
            [% IF ( OpacPasswordChange ) %]
Lines 39-45 Link Here
39
                [% ELSE %]
40
                [% ELSE %]
40
                    <li>
41
                    <li>
41
                [% END %]
42
                [% END %]
42
                <a href="/cgi-bin/koha/opac-passwd.pl">change your password</a></li>
43
                <a href="/cgi-bin/koha/opac-passwd.pl">[% t('change your password') %]</a></li>
43
            [% END %]
44
            [% END %]
44
45
45
            [% IF EnableOpacSearchHistory %]
46
            [% IF EnableOpacSearchHistory %]
Lines 48-54 Link Here
48
                [% ELSE %]
49
                [% ELSE %]
49
                    <li>
50
                    <li>
50
                [% END %]
51
                [% END %]
51
                <a href="/cgi-bin/koha/opac-search-history.pl">your search history</a></li>
52
                <a href="/cgi-bin/koha/opac-search-history.pl">[% t('your search history') %]</a></li>
52
            [% END %]
53
            [% END %]
53
54
54
            [% IF ( opacreadinghistory ) %]
55
            [% IF ( opacreadinghistory ) %]
Lines 57-70 Link Here
57
                [% ELSE %]
58
                [% ELSE %]
58
                    <li>
59
                    <li>
59
                [% END %]
60
                [% END %]
60
                <a href="/cgi-bin/koha/opac-readingrecord.pl">your reading history</a></li>
61
                <a href="/cgi-bin/koha/opac-readingrecord.pl">[% t('your reading history') %]</a></li>
61
                [% IF ( OPACPrivacy ) %]
62
                [% IF ( OPACPrivacy ) %]
62
                    [% IF ( privacyview ) %]
63
                    [% IF ( privacyview ) %]
63
                        <li class="active">
64
                        <li class="active">
64
                    [% ELSE %]
65
                    [% ELSE %]
65
                        <li>
66
                        <li>
66
                    [% END %]
67
                    [% END %]
67
                    <a href="/cgi-bin/koha/opac-privacy.pl">your privacy</a></li>
68
                    <a href="/cgi-bin/koha/opac-privacy.pl">[% t('your privacy') %]</a></li>
68
                [% END %]
69
                [% END %]
69
            [% END # / opacreadinghistory %]
70
            [% END # / opacreadinghistory %]
70
71
Lines 74-80 Link Here
74
                [% ELSE %]
75
                [% ELSE %]
75
                    <li>
76
                    <li>
76
                [% END %]
77
                [% END %]
77
                <a href="/cgi-bin/koha/opac-suggestions.pl">your purchase suggestions</a></li>
78
                <a href="/cgi-bin/koha/opac-suggestions.pl">[% t('your purchase suggestions') %]</a></li>
78
            [% END %]
79
            [% END %]
79
80
80
            [% IF ( EnhancedMessagingPreferences ) %]
81
            [% IF ( EnhancedMessagingPreferences ) %]
Lines 84-90 Link Here
84
                    [% ELSE %]
85
                    [% ELSE %]
85
                        <li>
86
                        <li>
86
                    [% END %]
87
                    [% END %]
87
                    <a href="/cgi-bin/koha/opac-messaging.pl">your messaging</a></li>
88
                    <a href="/cgi-bin/koha/opac-messaging.pl">[% t('your messaging') %]</a></li>
88
                 [% END %]
89
                 [% END %]
89
            [% END %]
90
            [% END %]
90
91
Lines 94-100 Link Here
94
                [% ELSE %]
95
                [% ELSE %]
95
                    <li>
96
                    <li>
96
                [% END %]
97
                [% END %]
97
                <a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=1">your lists</a></li>
98
                <a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=1">[% t('your lists') %]</a></li>
98
            [% END %]
99
            [% END %]
99
100
100
            [% IF Koha.Preference( 'RoutingSerials' ) && logged_in_user && logged_in_user.get_routing_lists.count %]
101
            [% IF Koha.Preference( 'RoutingSerials' ) && logged_in_user && logged_in_user.get_routing_lists.count %]
Lines 103-109 Link Here
103
                [% ELSE %]
104
                [% ELSE %]
104
                    <li>
105
                    <li>
105
                [% END %]
106
                [% END %]
106
                <a href="/cgi-bin/koha/opac-routing-lists.pl">your routing lists</a></li>
107
                <a href="/cgi-bin/koha/opac-routing-lists.pl">[% t('your routing lists') %]</a></li>
107
            [% END %]
108
            [% END %]
108
109
109
            [% IF Koha.Preference( 'useDischarge' ) == 1 %]
110
            [% IF Koha.Preference( 'useDischarge' ) == 1 %]
Lines 112-118 Link Here
112
                [% ELSE %]
113
                [% ELSE %]
113
                    <li>
114
                    <li>
114
                [% END %]
115
                [% END %]
115
                <a href="/cgi-bin/koha/opac-discharge.pl">ask for a discharge</a></li>
116
                <a href="/cgi-bin/koha/opac-discharge.pl">[% t('ask for a discharge') %]</a></li>
116
            [% END %]
117
            [% END %]
117
118
118
            [% IF Koha.Preference( 'ILLModule' ) == 1 %]
119
            [% IF Koha.Preference( 'ILLModule' ) == 1 %]
Lines 121-127 Link Here
121
                [% ELSE %]
122
                [% ELSE %]
122
                    <li>
123
                    <li>
123
                [% END %]
124
                [% END %]
124
                <a href="/cgi-bin/koha/opac-illrequests.pl">your interlibrary loan requests</a></li>
125
                <a href="/cgi-bin/koha/opac-illrequests.pl">[% t('your interlibrary loan requests') %]</a></li>
125
            [% END %]
126
            [% END %]
126
127
127
        </ul>
128
        </ul>
128
- 

Return to bug 20988