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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt (-7 / +8 lines)
Lines 1-11 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Catalog &rsaquo;
5
<title>[% t('Koha › Catalog ›') %]
5
  [% IF ( unknownbiblionumber ) %]
6
  [% IF ( unknownbiblionumber ) %]
6
    Unknown record
7
    [% t('Unknown record') %]
7
  [% ELSE %]
8
  [% ELSE %]
8
    ISBD details
9
    [% t('ISBD details') %]
9
  [% END %]
10
  [% END %]
10
</title>
11
</title>
11
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
Lines 15-32 Link Here
15
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'cat-search.inc' %]
17
[% INCLUDE 'cat-search.inc' %]
17
18
18
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo;
19
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a>  ›
19
  [% IF ( unknownbiblionumber ) %]
20
  [% IF ( unknownbiblionumber ) %]
20
    Unknown record
21
    [% t('Unknown record') %]
21
  [% ELSE %]
22
  [% ELSE %]
22
    ISBD details
23
    [% t('ISBD details') %]
23
  [% END %]
24
  [% END %]
24
</div>
25
</div>
25
26
26
<div id="doc3" class="yui-t2">
27
<div id="doc3" class="yui-t2">
27
28
28
[% IF ( unknownbiblionumber ) %]
29
[% IF ( unknownbiblionumber ) %]
29
  <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
30
  <div class="dialog message">[% t('The record you requested does not exist (') %][% biblionumber %]).</div>
30
[% ELSE %]
31
[% ELSE %]
31
   <div id="bd">
32
   <div id="bd">
32
      <div id="yui-main">
33
      <div id="yui-main">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt (-25 / +26 lines)
Lines 1-11 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Catalog &rsaquo;
5
<title>[% t('Koha › Catalog ›') %]
5
  [% IF ( unknownbiblionumber ) %]
6
  [% IF ( unknownbiblionumber ) %]
6
    Unknown record
7
    [% t('Unknown record') %]
7
  [% ELSE %]
8
  [% ELSE %]
8
    MARC details for [% bibliotitle | html %]
9
    [% t('MARC details for') %] [% bibliotitle | html %]
9
  [% END %]
10
  [% END %]
10
</title>
11
</title>
11
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
Lines 16-33 Link Here
16
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'cat-search.inc' %]
18
[% INCLUDE 'cat-search.inc' %]
18
19
19
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo;
20
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a>  ›
20
  [% IF ( unknownbiblionumber ) %]
21
  [% IF ( unknownbiblionumber ) %]
21
    Unknown record
22
    [% t('Unknown record') %]
22
  [% ELSE %]
23
  [% ELSE %]
23
    MARC Details for <i>[% bibliotitle |html %]</i>
24
    [% t('MARC Details for') %] <i>[% bibliotitle |html %]</i>
24
  [% END %]
25
  [% END %]
25
</div>
26
</div>
26
27
27
<div id="doc3" class="yui-t2">
28
<div id="doc3" class="yui-t2">
28
29
29
[% IF ( unknownbiblionumber ) %]
30
[% IF ( unknownbiblionumber ) %]
30
  <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
31
  <div class="dialog message">[% t('The record you requested does not exist (') %][% biblionumber %]).</div>
31
[% ELSE %]
32
[% ELSE %]
32
   <div id="bd">
33
   <div id="bd">
33
	<div id="yui-main">
34
	<div id="yui-main">
Lines 35-47 Link Here
35
[% INCLUDE 'cat-toolbar.inc' %]
36
[% INCLUDE 'cat-toolbar.inc' %]
36
37
37
[% UNLESS ( popup ) %]
38
[% UNLESS ( popup ) %]
38
    <h1>MARC biblio : [% biblionumber %]  ( [% bibliotitle |html %] )</h1>
39
    <h1>[% t('MARC biblio :') %] [% biblionumber %]  ( [% bibliotitle |html %] )</h1>
39
40
40
41
41
[% END %]
42
[% END %]
42
43
43
    <p><b>With framework : <select name="Frameworks" id="Frameworks">
44
    <p><b>[% t('With framework :') %] <select name="Frameworks" id="Frameworks">
44
                            <option value="">Default</option>
45
                            <option value="">[% t('Default') %]</option>
45
                            [% FOREACH framework IN frameworks %]
46
                            [% FOREACH framework IN frameworks %]
46
                                [% IF framework.frameworkcode == frameworkcode %]
47
                                [% IF framework.frameworkcode == frameworkcode %]
47
                                    <option value="[% framework.frameworkcode %]" selected="selected">[% framework.frameworktext %]</option>
48
                                    <option value="[% framework.frameworkcode %]" selected="selected">[% framework.frameworktext %]</option>
Lines 73-89 Link Here
73
            [% END %]
74
            [% END %]
74
            [% FOREACH subfiel IN tab0X.subfield %]
75
            [% FOREACH subfiel IN tab0X.subfield %]
75
                <p class="subfield_line">
76
                <p class="subfield_line">
76
                    <span class="subfield-label">&nbsp;
77
                    <span class="subfield-label"> 
77
                    [% UNLESS ( subfiel.hide_marc ) %]<span class="subfield-code">[% subfiel.marc_subfield %]</span>[% END %]
78
                    [% UNLESS ( subfiel.hide_marc ) %]<span class="subfield-code">[% subfiel.marc_subfield %]</span>[% END %]
78
                    <span class="desc" title="[% subfiel.long_desc %]">[% subfiel.short_desc %]</span></span>
79
                    <span class="desc" title="[% subfiel.long_desc %]">[% subfiel.short_desc %]</span></span>
79
                    [% IF ( subfiel.is_url ) %]<a href="[% subfiel.marc_value %]">[% subfiel.marc_value |html %]</a>[% ELSE %][% subfiel.marc_value |html %][% END %]
80
                    [% IF ( subfiel.is_url ) %]<a href="[% subfiel.marc_value %]">[% subfiel.marc_value |html %]</a>[% ELSE %][% subfiel.marc_value |html %][% END %]
80
                    [% IF ( subfiel.link ) %]
81
                    [% IF ( subfiel.link ) %]
81
                        <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;idx=[% subfiel.link %],phr&amp;type=intranet&amp;q=[% subfiel.marc_value |url %]">
82
                        <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&idx=[% subfiel.link %],phr&type=intranet&q=[% subfiel.marc_value |url %]">
82
                            <img src="[% interface %]/[% theme %]/img/filefind.png" height="15" title="Search on [% subfiel.marc_value |html %]" alt="Search on [% subfiel.marc_value |html %]" />
83
                            <img src="[% interface %]/[% theme %]/img/filefind.png" height="15" title="[% t('Search on') %] [% subfiel.marc_value |html %]" alt="[% t('Search on') %] [% subfiel.marc_value |html %]" />
83
                        </a>
84
                        </a>
84
                    [% END %]
85
                    [% END %]
85
                    [% IF ( subfiel.authority ) %]
86
                    [% IF ( subfiel.authority ) %]
86
                        <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% subfiel.authority %]" class="button">Auth</a>
87
                        <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% subfiel.authority %]" class="button">[% t('Auth') %]</a>
87
                    [% END %]
88
                    [% END %]
88
                </p>
89
                </p>
89
            [% END %]
90
            [% END %]
Lines 96-132 Link Here
96
<div id="bibliotabs" class="toptabs numbered">
97
<div id="bibliotabs" class="toptabs numbered">
97
	<ul>
98
	<ul>
98
            [% IF ( tab0XX ) %]
99
            [% IF ( tab0XX ) %]
99
                <li><a href="#tab0XX">&#48;</a></li>
100
                <li><a href="#tab0XX">[% t('0') %]</a></li>
100
            [% END %]
101
            [% END %]
101
            [% IF ( tab1XX ) %]
102
            [% IF ( tab1XX ) %]
102
                <li><a href="#tab1XX">1</a></li>
103
                <li><a href="#tab1XX">[% t('1') %]</a></li>
103
            [% END %]
104
            [% END %]
104
            [% IF ( tab2XX ) %]
105
            [% IF ( tab2XX ) %]
105
                <li><a href="#tab2XX">2</a></li>
106
                <li><a href="#tab2XX">[% t('2') %]</a></li>
106
            [% END %]
107
            [% END %]
107
            [% IF ( tab3XX ) %]
108
            [% IF ( tab3XX ) %]
108
                <li><a href="#tab3XX">3</a></li>
109
                <li><a href="#tab3XX">[% t('3') %]</a></li>
109
            [% END %]
110
            [% END %]
110
            [% IF ( tab4XX ) %]
111
            [% IF ( tab4XX ) %]
111
                <li><a href="#tab4XX">4</a></li>
112
                <li><a href="#tab4XX">[% t('4') %]</a></li>
112
            [% END %]
113
            [% END %]
113
            [% IF ( tab5XX ) %]
114
            [% IF ( tab5XX ) %]
114
                <li><a href="#tab5XX">5</a></li>
115
                <li><a href="#tab5XX">[% t('5') %]</a></li>
115
            [% END %]
116
            [% END %]
116
            [% IF ( tab6XX ) %]
117
            [% IF ( tab6XX ) %]
117
                <li><a href="#tab6XX">6</a></li>
118
                <li><a href="#tab6XX">[% t('6') %]</a></li>
118
            [% END %]
119
            [% END %]
119
            [% IF ( tab7XX ) %]
120
            [% IF ( tab7XX ) %]
120
                <li><a href="#tab7XX">7</a></li>
121
                <li><a href="#tab7XX">[% t('7') %]</a></li>
121
            [% END %]
122
            [% END %]
122
            [% IF ( tab8XX ) %]
123
            [% IF ( tab8XX ) %]
123
                <li><a href="#tab8XX">8</a></li>
124
                <li><a href="#tab8XX">[% t('8') %]</a></li>
124
            [% END %]
125
            [% END %]
125
            [% IF ( tab9XX ) %]
126
            [% IF ( tab9XX ) %]
126
                <li><a href="#tab9XX">9</a></li>
127
                <li><a href="#tab9XX">[% t('9') %]</a></li>
127
            [% END %]
128
            [% END %]
128
            [% IF ( tab10XX ) %]
129
            [% IF ( tab10XX ) %]
129
                <li><a href="#tab10XX">Item(s)</a></li>
130
                <li><a href="#tab10XX">[% t('Item(s)') %]</a></li>
130
            [% END %]
131
            [% END %]
131
        </ul>
132
        </ul>
132
    [% PROCESS show_tab_html tab_id="tab0XX" tab_data=tab0XX %]
133
    [% PROCESS show_tab_html tab_id="tab0XX" tab_data=tab0XX %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt (-87 / +88 lines)
Lines 1-15 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Catalog &rsaquo; Advanced search</title>
6
<title>[% t('Koha › Catalog › Advanced search') %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
8
</head>
8
9
9
<body id="catalog_advsearch" class="catalog">
10
<body id="catalog_advsearch" class="catalog">
10
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'adv-search.inc' %]
12
[% INCLUDE 'adv-search.inc' %]
12
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; Advanced search</div>
13
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> [% t('› Advanced search') %]</div>
13
14
14
<div class="main container-fluid">
15
<div class="main container-fluid">
15
    <div class="row">
16
    <div class="row">
Lines 17-43 Link Here
17
18
18
<form action="search.pl" method="get">
19
<form action="search.pl" method="get">
19
<div id="advanced-search">
20
<div id="advanced-search">
20
<h1>Advanced search</h1>
21
<h1>[% t('Advanced search') %]</h1>
21
<p>
22
<p>
22
  <a href="/cgi-bin/koha/catalogue/itemsearch.pl">Go to item search</a>
23
  <a href="/cgi-bin/koha/catalogue/itemsearch.pl">[% t('Go to item search') %]</a>
23
</p>
24
</p>
24
25
25
<!-- SEARCH BUTTONS -->
26
<!-- SEARCH BUTTONS -->
26
<div id="toolbar" class="btn-toolbar">
27
<div id="toolbar" class="btn-toolbar">
27
    <fieldset class="action" id="submit1">
28
    <fieldset class="action" id="submit1">
28
        <div class="btn-group">
29
        <div class="btn-group">
29
            <button class="btn btn-default btn-sm" type="submit" accesskey="s"><i class="fa fa-search"></i> Search</button>
30
            <button class="btn btn-default btn-sm" type="submit" accesskey="s"><i class="fa fa-search"></i> [% t('Search') %]</button>
30
        </div>
31
        </div>
31
        <div class="btn-group">
32
        <div class="btn-group">
32
        [% IF ( expanded_options ) %]
33
        [% IF ( expanded_options ) %]
33
            <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0" class="btn btn-sm btn-link"><i class="fa fa-search-minus"></i> Fewer options</a>
34
            <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0" class="btn btn-sm btn-link"><i class="fa fa-search-minus"></i> [% t('Fewer options') %]</a>
34
        </div>
35
        </div>
35
        [% ELSE %]
36
        [% ELSE %]
36
            <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1" class="btn btn-sm btn-link"><i class="fa fa-search-plus"></i> More options</a>
37
            <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1" class="btn btn-sm btn-link"><i class="fa fa-search-plus"></i> [% t('More options') %]</a>
37
        </div>
38
        </div>
38
        [% END %]
39
        [% END %]
39
        <div class="btn-group">
40
        <div class="btn-group">
40
            <a href="/cgi-bin/koha/catalogue/search.pl?do=Clear&expanded_options=[% expanded_options %]" class="btn btn-sm btn-link"><i class="fa fa-trash"></i> Clear fields</a>
41
            <a href="/cgi-bin/koha/catalogue/search.pl?do=Clear&expanded_options=[% expanded_options %]" class="btn btn-sm btn-link"><i class="fa fa-trash"></i> [% t('Clear fields') %]</a>
41
        </div>
42
        </div>
42
    </fieldset>
43
    </fieldset>
43
</div>
44
</div>
Lines 48-54 Link Here
48
<!-- DATABASES -->
49
<!-- DATABASES -->
49
50
50
<fieldset>
51
<fieldset>
51
        <legend>Select local databases</legend>
52
        <legend>[% t('Select local databases') %]</legend>
52
                [% FOREACH local_servers_loo IN local_servers_loop %]
53
                [% FOREACH local_servers_loo IN local_servers_loop %]
53
[% IF ( local_servers_loo.checked ) %]<input type="checkbox" id="[% local_servers_loo.id %]" name="[% local_servers_loo.name %]" checked="checked" value="[% local_servers_loo.value %]" />[% ELSE %]<input type="checkbox" id="[% local_servers_loo.id %]" name="[% local_servers_loo.name %]" value="[% local_servers_loo.value %]" />[% END %]<label for="[% local_servers_loo.id %]"><img width="16" height="16" alt="[% local_servers_loo.id %]" src="[% themelang %]/img/[% local_servers_loo.icon %]" /> [% local_servers_loo.label %]</label>[% END %]
54
[% IF ( local_servers_loo.checked ) %]<input type="checkbox" id="[% local_servers_loo.id %]" name="[% local_servers_loo.name %]" checked="checked" value="[% local_servers_loo.value %]" />[% ELSE %]<input type="checkbox" id="[% local_servers_loo.id %]" name="[% local_servers_loo.name %]" value="[% local_servers_loo.value %]" />[% END %]<label for="[% local_servers_loo.id %]"><img width="16" height="16" alt="[% local_servers_loo.id %]" src="[% themelang %]/img/[% local_servers_loo.icon %]" /> [% local_servers_loo.label %]</label>[% END %]
54
</fieldset>
55
</fieldset>
Lines 58-64 Link Here
58
[% IF ( outer_servers_loop ) %]
59
[% IF ( outer_servers_loop ) %]
59
<!-- REMOTE DATABASES -->
60
<!-- REMOTE DATABASES -->
60
<fieldset id="databases">
61
<fieldset id="databases">
61
    <legend>Select remote databases</legend>
62
    <legend>[% t('Select remote databases') %]</legend>
62
                [% FOREACH outer_servers_loo IN outer_servers_loop %]
63
                [% FOREACH outer_servers_loo IN outer_servers_loop %]
63
                [% IF ( outer_servers_loo.checked ) %]<input type="checkbox" id="[% outer_servers_loo.id %]" name="[% outer_servers_loo.name %]" checked="checked" value="[% outer_servers_loo.value %]" />[% ELSE %]<input type="checkbox" id="[% outer_servers_loo.id %]" name="[% outer_servers_loo.name %]" value="[% outer_servers_loo.value %]" />[% END %]
64
                [% IF ( outer_servers_loo.checked ) %]<input type="checkbox" id="[% outer_servers_loo.id %]" name="[% outer_servers_loo.name %]" checked="checked" value="[% outer_servers_loo.value %]" />[% ELSE %]<input type="checkbox" id="[% outer_servers_loo.id %]" name="[% outer_servers_loo.name %]" value="[% outer_servers_loo.value %]" />[% END %]
64
<label for="[% outer_servers_loo.id %]"><img alt="[% outer_servers_loo.id %]" src="[% themelang %]/images/[% outer_servers_loo.icon %]" />[% outer_servers_loo.label %]</label>
65
<label for="[% outer_servers_loo.id %]"><img alt="[% outer_servers_loo.id %]" src="[% themelang %]/images/[% outer_servers_loo.icon %]" />[% outer_servers_loo.label %]</label>
Lines 69-94 Link Here
69
70
70
<!-- BOOLEAN SEARCH OPTIONS -->
71
<!-- BOOLEAN SEARCH OPTIONS -->
71
    <fieldset id="searchterms">
72
    <fieldset id="searchterms">
72
    <legend>Search for </legend>
73
    <legend>[% t('Search for') %] </legend>
73
    [% FOREACH search_box IN search_boxes_loop %]
74
    [% FOREACH search_box IN search_boxes_loop %]
74
        [% IF ( search_boxes_label ) %]<div style="text-indent: 4.5em;">[% ELSE %]<div>[% END %]
75
        [% IF ( search_boxes_label ) %]<div style="text-indent: 4.5em;">[% ELSE %]<div>[% END %]
75
			[% IF ( expanded_options ) %]
76
			[% IF ( expanded_options ) %]
76
            [% IF ( search_box.boolean ) %]
77
            [% IF ( search_box.boolean ) %]
77
                <select name="op">
78
                <select name="op">
78
                    <option value="and" selected="selected">and</option>
79
                    <option value="and" selected="selected">[% t('and') %]</option>
79
                    <option value="or">or</option>
80
                    <option value="or">[% t('or') %]</option>
80
                    <option value="not">not</option>
81
                    <option value="not">[% t('not') %]</option>
81
                </select>
82
                </select>
82
            [% END %] 
83
            [% END %] 
83
			[% END %]
84
			[% END %]
84
			[% INCLUDE 'search_indexes.inc' %]
85
			[% INCLUDE 'search_indexes.inc' %]
85
			<input type="text" size="30" name="q" title="Enter search terms" value="" />
86
			<input type="text" size="30" name="q" title="[% t('Enter search terms') %]" value="" />
86
            [% IF ( expanded_options ) %]
87
            [% IF ( expanded_options ) %]
87
                [% IF ( search_box.add_field ) %]
88
                [% IF ( search_box.add_field ) %]
88
                    <a href="JavaScript:add_field();" id="ButtonPlus" title="Add another field">[+]</a>
89
                    <a href="JavaScript:add_field();" id="ButtonPlus" title="[% t('Add another field') %]">[+]</a>
89
				[% END %]
90
				[% END %]
90
              [% IF ( search_box.scan_index ) %]
91
              [% IF ( search_box.scan_index ) %]
91
                <label for="scan">Scan indexes:</label> <input type="checkbox" name="scan" id="scan" value="1" />
92
                <label for="scan">[% t('Scan indexes:') %]</label> <input type="checkbox" name="scan" id="scan" value="1" />
92
              [% END %]
93
              [% END %]
93
            [% END %]
94
            [% END %]
94
		</div>
95
		</div>
Lines 103-112 Link Here
103
      [% FOREACH advsearchloo IN advancedsearchesloop %]
104
      [% FOREACH advsearchloo IN advancedsearchesloop %]
104
        <li id="advsearch-tab-[% advsearchloo.advanced_search_type %]">
105
        <li id="advsearch-tab-[% advsearchloo.advanced_search_type %]">
105
           <a href="#advsearch-[% advsearchloo.advanced_search_type %]">
106
           <a href="#advsearch-[% advsearchloo.advanced_search_type %]">
106
           [% IF ( advsearchloo.advanced_search_type == 'itemtypes' ) %]Item type
107
           [% IF ( advsearchloo.advanced_search_type == 'itemtypes' ) %][% t('Item type') %]
107
           [% ELSIF ( advsearchloo.advanced_search_type == 'ccode' ) %]Collection
108
           [% ELSIF ( advsearchloo.advanced_search_type == 'ccode' ) %][% t('Collection') %]
108
           [% ELSIF ( advsearchloo.advanced_search_type == 'loc' ) %]Shelving location
109
           [% ELSIF ( advsearchloo.advanced_search_type == 'loc' ) %][% t('Shelving location') %]
109
           [% ELSE %]Something else
110
           [% ELSE %][% t('Something else') %]
110
           [% END %]
111
           [% END %]
111
           </a>
112
           </a>
112
        </li>
113
        </li>
Lines 114-124 Link Here
114
      </ul>
115
      </ul>
115
    [% FOREACH advsearchloo IN advancedsearchesloop %]
116
    [% FOREACH advsearchloo IN advancedsearchesloop %]
116
    <div id="advsearch-[% advsearchloo.advanced_search_type %]" class="advsearch">
117
    <div id="advsearch-[% advsearchloo.advanced_search_type %]" class="advsearch">
117
    <h4>Limit to any of the following:</h4>
118
    <h4>[% t('Limit to any of the following:') %]</h4>
118
    <table>
119
    <table>
119
        <tr>
120
        <tr>
120
    [% FOREACH itemtypeloo IN advsearchloo.code_loop %]
121
    [% FOREACH itemtypeloo IN advsearchloo.code_loop %]
121
        <td><input type="checkbox" id="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]" name="limit" value="mc-[% itemtypeloo.ccl %]:[% itemtypeloo.code %]"/><label for="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]">[% UNLESS ( noItemTypeImages ) %][% IF ( itemtypeloo.imageurl ) %]<img src="[% itemtypeloo.imageurl %]" alt="[% itemtypeloo.description %]" />[% END %]&nbsp;[% END %]
122
        <td><input type="checkbox" id="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]" name="limit" value="mc-[% itemtypeloo.ccl %]:[% itemtypeloo.code %]" /><label for="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]">[% UNLESS ( noItemTypeImages ) %][% IF ( itemtypeloo.imageurl ) %]<img src="[% itemtypeloo.imageurl %]" alt="[% itemtypeloo.description %]" />[% END %] [% END %]
122
        [% itemtypeloo.description %]</label></td>
123
        [% itemtypeloo.description %]</label></td>
123
        [% IF ( loop.last ) %]</tr>[% ELSE %][% UNLESS ( loop.count % 5 ) %]</tr><tr>[% END %][% END %]
124
        [% IF ( loop.last ) %]</tr>[% ELSE %][% UNLESS ( loop.count % 5 ) %]</tr><tr>[% END %][% END %]
124
    [% END %]
125
    [% END %]
Lines 129-146 Link Here
129
[% IF ( expanded_options ) %]
130
[% IF ( expanded_options ) %]
130
<!-- BASIC LIMITS -->
131
<!-- BASIC LIMITS -->
131
 <fieldset id="basiclimits">
132
 <fieldset id="basiclimits">
132
	<legend>Limits</legend>
133
	<legend>[% t('Limits') %]</legend>
133
<fieldset id="pubrange">
134
<fieldset id="pubrange">
134
<!-- PUB / COPY YEAR LIMIT --><!-- FIXME: add publication,copyright,acquisition options -->
135
<!-- PUB / COPY YEAR LIMIT --><!-- FIXME: add publication,copyright,acquisition options -->
135
	<p><label for="limit-yr">Year: </label>
136
	<p><label for="limit-yr">[% t('Year:') %] </label>
136
		<input type="text" size="15" name="limit-yr" id="limit-yr" value=""/>&nbsp;&nbsp;(format: yyyy-yyyy)</p>
137
		<input type="text" size="15" name="limit-yr" id="limit-yr" value="" />[% t('  (format: yyyy-yyyy)') %]</p>
137
<!-- /PUB / COPY YEAR LIMIT -->
138
<!-- /PUB / COPY YEAR LIMIT -->
138
</fieldset>
139
</fieldset>
139
<fieldset id="language">
140
<fieldset id="language">
140
<!-- LANGUAGE LIMIT -->
141
<!-- LANGUAGE LIMIT -->
141
		<p><label for="language-limit">Language: </label>                                        
142
		<p><label for="language-limit">[% t('Language:') %] </label>                                        
142
		<select name="limit" id="language-limit">
143
		<select name="limit" id="language-limit">
143
        <option value="">No limit</option>
144
        <option value="">[% t('No limit') %]</option>
144
		[% FOREACH search_languages_loo IN search_languages_loop %]
145
		[% FOREACH search_languages_loo IN search_languages_loop %]
145
		[% IF ( search_languages_loo.selected ) %]
146
		[% IF ( search_languages_loo.selected ) %]
146
		<option value="ln,rtrn:[% search_languages_loo.iso639_2_code %]" selected="selected">[% search_languages_loo.language_description %]</option>
147
		<option value="ln,rtrn:[% search_languages_loo.iso639_2_code %]" selected="selected">[% search_languages_loo.language_description %]</option>
Lines 162-229 Link Here
162
[% ELSE %]
163
[% ELSE %]
163
<!-- SUBTYPE LIMITS -->
164
<!-- SUBTYPE LIMITS -->
164
        <fieldset id="subtype">
165
        <fieldset id="subtype">
165
        <legend>Subtype limits</legend><p>
166
        <legend>[% t('Subtype limits') %]</legend><p>
166
        
167
        
167
        <select name="limit" class="subtype">
168
        <select name="limit" class="subtype">
168
            <option value="" selected="selected" class="menuheader">Any audience</option>
169
            <option value="" selected="selected" class="menuheader">[% t('Any audience') %]</option>
169
			<option value="aud:a">Preschool</option>
170
			<option value="aud:a">[% t('Preschool') %]</option>
170
			<option value="aud:b">Primary</option>
171
			<option value="aud:b">[% t('Primary') %]</option>
171
			<option value="aud:c">Pre-adolescent</option>
172
			<option value="aud:c">[% t('Pre-adolescent') %]</option>
172
			<option value="aud:d">Adolescent</option>
173
			<option value="aud:d">[% t('Adolescent') %]</option>
173
			<option value="aud:e">Adult</option>
174
			<option value="aud:e">[% t('Adult') %]</option>
174
			<option value="aud:f">Specialized</option>
175
			<option value="aud:f">[% t('Specialized') %]</option>
175
			<option value="aud:g">General</option>
176
			<option value="aud:g">[% t('General') %]</option>
176
			<option value="aud:j">Juvenile</option>
177
			<option value="aud:j">[% t('Juvenile') %]</option>
177
        </select>
178
        </select>
178
        
179
        
179
        <select name="limit" class="subtype">
180
        <select name="limit" class="subtype">
180
            <option value="" selected="selected" class="menuheader">Any content</option>
181
            <option value="" selected="selected" class="menuheader">[% t('Any content') %]</option>
181
            <option value="fic:1" >Fiction</option>
182
            <option value="fic:1">[% t('Fiction') %]</option>
182
            <option value="fic:0" >Non-fiction</option>
183
            <option value="fic:0">[% t('Non-fiction') %]</option>
183
            <option value="bio:b" >Biography</option>
184
            <option value="bio:b">[% t('Biography') %]</option>
184
            <option value="mus:j" >Musical recording</option>
185
            <option value="mus:j">[% t('Musical recording') %]</option>
185
            <option value="mus:i" >Non-musical recording</option>
186
            <option value="mus:i">[% t('Non-musical recording') %]</option>
186
        </select>
187
        </select>
187
188
188
        
189
        
189
        <select name="limit" class="subtype">
190
        <select name="limit" class="subtype">
190
            <option value="" selected="selected" class="menuheader">Any format</option>
191
            <option value="" selected="selected" class="menuheader">[% t('Any format') %]</option>
191
            <option value="l-format:ta" >Regular print</option>
192
            <option value="l-format:ta">[% t('Regular print') %]</option>
192
            <option value="l-format:tb" >Large print</option>
193
            <option value="l-format:tb">[% t('Large print') %]</option>
193
            <option value="l-format:fk" >Braille</option>
194
            <option value="l-format:fk">[% t('Braille') %]</option>
194
            <option value="" >-----------</option>
195
            <option value="">-----------</option>
195
            <option value="l-format:sd" >CD audio</option>
196
            <option value="l-format:sd">[% t('CD audio') %]</option>
196
            <option value="l-format:ss" >Cassette recording</option>
197
            <option value="l-format:ss">[% t('Cassette recording') %]</option>
197
            <option value="l-format:vf" >VHS tape / Videocassette</option>
198
            <option value="l-format:vf">[% t('VHS tape / Videocassette') %]</option>
198
            <option value="l-format:vd" >DVD video / Videodisc</option>
199
            <option value="l-format:vd">[% t('DVD video / Videodisc') %]</option>
199
            <option value="l-format:co" >CD software</option>
200
            <option value="l-format:co">[% t('CD software') %]</option>
200
            <option value="l-format:cr" >Website</option>
201
            <option value="l-format:cr">[% t('Website') %]</option>
201
        </select>
202
        </select>
202
        
203
        
203
        <select name="limit" class="subtype">
204
        <select name="limit" class="subtype">
204
            <option value="" >Additional content types</option>
205
            <option value="">[% t('Additional content types') %]</option>
205
            <option value="ctype:a" >Abstracts / Summaries</option>
206
            <option value="ctype:a">[% t('Abstracts / Summaries') %]</option>
206
            <option value="ctype:b" >Bibliographies</option>
207
            <option value="ctype:b">[% t('Bibliographies') %]</option>
207
            <option value="ctype:c" >Catalogs</option>
208
            <option value="ctype:c">[% t('Catalogs') %]</option>
208
            <option value="ctype:d" >Dictionaries</option>
209
            <option value="ctype:d">[% t('Dictionaries') %]</option>
209
            <option value="ctype:e" >Encyclopedias </option>
210
            <option value="ctype:e">[% t('Encyclopedias') %] </option>
210
            <option value="ctype:f" >Handbooks</option>
211
            <option value="ctype:f">[% t('Handbooks') %]</option>
211
            <option value="ctype:g" >Legal articles</option>
212
            <option value="ctype:g">[% t('Legal articles') %]</option>
212
            <option value="ctype:i" >Indexes</option>
213
            <option value="ctype:i">[% t('Indexes') %]</option>
213
            <option value="ctype:j" >Patent document</option>
214
            <option value="ctype:j">[% t('Patent document') %]</option>
214
            <option value="ctype:k" >Discographies</option>
215
            <option value="ctype:k">[% t('Discographies') %]</option>
215
            <option value="ctype:l" >Legislation</option>
216
            <option value="ctype:l">[% t('Legislation') %]</option>
216
            <option value="ctype:m" >Theses</option>
217
            <option value="ctype:m">[% t('Theses') %]</option>
217
            <option value="ctype:n" >Surveys</option>
218
            <option value="ctype:n">[% t('Surveys') %]</option>
218
            <option value="ctype:o" >Reviews</option>
219
            <option value="ctype:o">[% t('Reviews') %]</option>
219
            <option value="ctype:p" >Programmed texts</option>
220
            <option value="ctype:p">[% t('Programmed texts') %]</option>
220
            <option value="ctype:q" >Filmographies</option>
221
            <option value="ctype:q">[% t('Filmographies') %]</option>
221
            <option value="ctype:r" >Directories</option>
222
            <option value="ctype:r">[% t('Directories') %]</option>
222
            <option value="ctype:s" >Statistics</option>
223
            <option value="ctype:s">[% t('Statistics') %]</option>
223
            <option value="ctype:t" >Technical reports</option>
224
            <option value="ctype:t">[% t('Technical reports') %]</option>
224
            <option value="ctype:v" >Legal cases and case notes</option>
225
            <option value="ctype:v">[% t('Legal cases and case notes') %]</option>
225
            <option value="ctype:w" >Law reports and digests</option>
226
            <option value="ctype:w">[% t('Law reports and digests') %]</option>
226
            <option value="ctype:z" >Treaties </option>
227
            <option value="ctype:z">[% t('Treaties') %] </option>
227
        </select>
228
        </select>
228
       </p>
229
       </p>
229
230
Lines 231-255 Link Here
231
[% END %]
232
[% END %]
232
233
233
<!-- AVAILABILITY LIMITS -->
234
<!-- AVAILABILITY LIMITS -->
234
    <fieldset id="availability"><legend>Location and availability</legend>
235
    <fieldset id="availability"><legend>[% t('Location and availability') %]</legend>
235
<fieldset id="currently-avail">
236
<fieldset id="currently-avail">
236
        <p><label for="available-items">Only items currently available:</label> <input type="checkbox" id="available-items" name="limit" value="available" /></p>
237
        <p><label for="available-items">[% t('Only items currently available:') %]</label> <input type="checkbox" id="available-items" name="limit" value="available" /></p>
237
</fieldset>
238
</fieldset>
238
239
239
<fieldset id="select-libs">
240
<fieldset id="select-libs">
240
        <p><label for="branchloop">Individual libraries:</label><select name="limit" id="branchloop">
241
        <p><label for="branchloop">[% t('Individual libraries:') %]</label><select name="limit" id="branchloop">
241
        <option value="">All libraries</option>
242
        <option value="">[% t('All libraries') %]</option>
242
        [%# FIXME Should not we filter the libraries displayed? %]
243
        [%# FIXME Should not we filter the libraries displayed? %]
243
        [% PROCESS options_for_libraries prefix => "branch:" libraries => Branches.all( selected => selected_branchcode, unfiltered => 1 ) %]
244
        [% PROCESS options_for_libraries prefix => "branch:" libraries => Branches.all( selected => selected_branchcode, unfiltered => 1 ) %]
244
        </select></p>
245
        </select></p>
245
    <!-- <input type="hidden" name="limit" value="branch: MAIN" /> -->
246
    <!-- <input type="hidden" name="limit" value="branch: MAIN" /> -->
246
        [% IF search_groups %]
247
        [% IF search_groups %]
247
            <p>OR</p> <!-- should addjs to grey out group pulldown if a library is selected. -->
248
            <p>[% t('OR') %]</p> <!-- should addjs to grey out group pulldown if a library is selected. -->
248
249
249
            <p>
250
            <p>
250
                <label for="categoryloop">Groups of libraries: </label>
251
                <label for="categoryloop">[% t('Groups of libraries:') %] </label>
251
                <select name="multibranchlimit" id="categoryloop">
252
                <select name="multibranchlimit" id="categoryloop">
252
                    <option value=""> -- none -- </option>
253
                    <option value=""> [% t('-- none --') %] </option>
253
                    [% FOREACH sg IN search_groups %]
254
                    [% FOREACH sg IN search_groups %]
254
                        [% UNLESS sg.branchcode %]
255
                        [% UNLESS sg.branchcode %]
255
                            <option value="[% sg.id %]">[% sg.title %]</option>
256
                            <option value="[% sg.id %]">[% sg.title %]</option>
Lines 263-271 Link Here
263
<!-- /AVAILABILITY LIMITS -->
264
<!-- /AVAILABILITY LIMITS -->
264
265
265
<!-- RANK LIMITS -->
266
<!-- RANK LIMITS -->
266
<fieldset id="sortby"><legend>Sorting</legend>
267
<fieldset id="sortby"><legend>[% t('Sorting') %]</legend>
267
    <p>
268
    <p>
268
    <label for="sort_by">Sort by: </label><select id="sort_by" name="sort_by">
269
    <label for="sort_by">[% t('Sort by:') %] </label><select id="sort_by" name="sort_by">
269
  [% INCLUDE 'resort_form.inc' %]
270
  [% INCLUDE 'resort_form.inc' %]
270
    </select>
271
    </select>
271
        </p>
272
        </p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-163 / +163 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 26-36 Link Here
26
27
27
[% SET footerjs = 1 %]
28
[% SET footerjs = 1 %]
28
[% INCLUDE 'doc-head-open.inc' %]
29
[% INCLUDE 'doc-head-open.inc' %]
29
<title>Koha &rsaquo; Catalog &rsaquo;
30
<title>[% t('Koha › Catalog ›') %]
30
  [% IF ( unknownbiblionumber ) %]
31
  [% IF ( unknownbiblionumber ) %]
31
    Unknown record
32
    [% t('Unknown record') %]
32
  [% ELSE %]
33
  [% ELSE %]
33
    Details for [% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]
34
    [% t('Details for') %] [% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]
34
  [% END %]
35
  [% END %]
35
</title>
36
</title>
36
[% INCLUDE 'doc-head-close.inc' %]
37
[% INCLUDE 'doc-head-close.inc' %]
Lines 42-59 Link Here
42
[% INCLUDE 'header.inc' %]
43
[% INCLUDE 'header.inc' %]
43
[% INCLUDE 'cat-search.inc' %]
44
[% INCLUDE 'cat-search.inc' %]
44
45
45
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo;
46
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a>  ›
46
  [% IF ( unknownbiblionumber ) %]
47
  [% IF ( unknownbiblionumber ) %]
47
    Unknown record
48
    [% t('Unknown record') %]
48
  [% ELSE %]
49
  [% ELSE %]
49
    Details for <i>[% title |html %]  [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</i>
50
    [% t('Details for') %] <i>[% title |html %]  [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</i>
50
  [% END %]
51
  [% END %]
51
</div>
52
</div>
52
53
53
<div id="doc3" class="yui-t2">
54
<div id="doc3" class="yui-t2">
54
55
55
[% IF ( unknownbiblionumber ) %]
56
[% IF ( unknownbiblionumber ) %]
56
  <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
57
  <div class="dialog message">[% t('The record you requested does not exist (') %][% biblionumber %]).</div>
57
[% ELSE %]
58
[% ELSE %]
58
   <div id="bd">
59
   <div id="bd">
59
    <div id="yui-main">
60
    <div id="yui-main">
Lines 87-101 Link Here
87
        [% XSLTBloc %]
88
        [% XSLTBloc %]
88
89
89
        [% IF shelves.count %]
90
        [% IF shelves.count %]
90
            <span class="results_summary"><span class="label">Lists that include this title: </span>
91
            <span class="results_summary"><span class="label">[% t('Lists that include this title:') %] </span>
91
            [% FOREACH s IN shelves %]
92
            [% FOREACH s IN shelves %]
92
                <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&amp;shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a>
93
                <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a>
93
                [% IF ( loop.last ) %][% ELSE %]|[% END %]
94
                [% IF ( loop.last ) %][% ELSE %]|[% END %]
94
            [% END %]
95
            [% END %]
95
            </span>
96
            </span>
96
        [% END %]
97
        [% END %]
97
        [% IF ( TagsEnabled &&  TagsShowOnDetail &&  TagLoop ) %]
98
        [% IF ( TagsEnabled &&  TagsShowOnDetail &&  TagLoop ) %]
98
                <span class="results_summary"><span class="label">Tags:</span>
99
                <span class="results_summary"><span class="label">[% t('Tags:') %]</span>
99
                    [% FOREACH TagLoo IN TagLoop %]
100
                    [% FOREACH TagLoo IN TagLoop %]
100
                        [% IF ( CAN_user_tools_moderate_tags ) %]
101
                        [% IF ( CAN_user_tools_moderate_tags ) %]
101
                        <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
102
                        <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
Lines 106-116 Link Here
106
                    [% END %]
107
                    [% END %]
107
                    </span>
108
                    </span>
108
        [% END %]
109
        [% END %]
109
        <span id="catalogue_detail_marc_preview" class="results_summary"><span class="label">MARC Preview:</span> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]&amp;viewas=html" title="MARC" class="previewMARC">Show</a></span>
110
        <span id="catalogue_detail_marc_preview" class="results_summary"><span class="label">[% t('MARC Preview:') %]</span> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]&viewas=html" title="[% t('MARC') %]" class="previewMARC">[% t('Show') %]</a></span>
110
111
111
        [% IF ( holdcount ) %]
112
        [% IF ( holdcount ) %]
112
            <span class="results_summary">
113
            <span class="results_summary">
113
                <span class="label">Holds:</span>
114
                <span class="label">[% t('Holds:') %]</span>
114
                <span class="number_box">
115
                <span class="number_box">
115
                    <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a>
116
                    <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a>
116
                </span>
117
                </span>
Lines 119-125 Link Here
119
120
120
        [% IF ( article_requests_count = Biblio.ArticleRequestsActiveCount( biblionumber ) ) %]
121
        [% IF ( article_requests_count = Biblio.ArticleRequestsActiveCount( biblionumber ) ) %]
121
            <span class="results_summary">
122
            <span class="results_summary">
122
                <span class="label">Article requests:</span>
123
                <span class="label">[% t('Article requests:') %]</span>
123
                <span class="number_box">
124
                <span class="number_box">
124
                    <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% biblionumber %]">[% article_requests_count %]</a>
125
                    <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% biblionumber %]">[% article_requests_count %]</a>
125
                </span>
126
                </span>
Lines 146-155 Link Here
146
    [% END %]
147
    [% END %]
147
            [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% translated_description %]" title="[% translated_description %]">[% END %]
148
            [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% translated_description %]" title="[% translated_description %]">[% END %]
148
            [% IF ( unititle ) %]<p>[% unititle |html %]</p>[% END %]
149
            [% IF ( unititle ) %]<p>[% unititle |html %]</p>[% END %]
149
            [% IF ( author ) %]<p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author | html %]</a></p>[% END %]
150
            [% IF ( author ) %]<p>[% t('By') %] <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author | html %]</a></p>[% END %]
150
        <ul>
151
        <ul>
151
        [% IF ( MARCAUTHORS ) %]
152
        [% IF ( MARCAUTHORS ) %]
152
            <li><strong>Additional authors:</strong><ul>
153
            <li><strong>[% t('Additional authors:') %]</strong><ul>
153
            [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
154
            [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
154
                <li>[% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% MARCAUTHOR_SUBFIELDS_LOO.separator %]<a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value |url %]" href="/cgi-bin/koha/catalogue/search.pl?q=[% FOREACH link_loo IN MARCAUTHOR_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit %]:[% link_loo.link |url %][% END %]">[% MARCAUTHOR_SUBFIELDS_LOO.value | html %]</a>[% END %]</li>
155
                <li>[% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% MARCAUTHOR_SUBFIELDS_LOO.separator %]<a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value |url %]" href="/cgi-bin/koha/catalogue/search.pl?q=[% FOREACH link_loo IN MARCAUTHOR_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit %]:[% link_loo.link |url %][% END %]">[% MARCAUTHOR_SUBFIELDS_LOO.value | html %]</a>[% END %]</li>
155
                [% END %]
156
                [% END %]
Lines 158-183 Link Here
158
            </li>
159
            </li>
159
        [% END %]
160
        [% END %]
160
[% IF ( MARCSERIES ) %]
161
[% IF ( MARCSERIES ) %]
161
		<li><strong>Series: </strong><ul>[% FOREACH MARCSERIE IN MARCSERIES %]
162
		<li><strong>[% t('Series:') %] </strong><ul>[% FOREACH MARCSERIE IN MARCSERIES %]
162
		<li>[% FOREACH MARCSERIES_SUBFIELDS_LOO IN MARCSERIE.MARCSERIES_SUBFIELDS_LOOP %] [% IF ( MARCSERIES_SUBFIELDS_LOO.value ) %]<a href="/cgi-bin/koha/catalogue/search.pl?q=se:[% MARCSERIES_SUBFIELDS_LOO.value |url %]">[% MARCSERIES_SUBFIELDS_LOO.value %]</a>[% END %][% IF ( MARCSERIES_SUBFIELDS_LOO.volumenum ) %]. [% MARCSERIES_SUBFIELDS_LOO.volumenum %][% END %][% END %]</li> 
163
		<li>[% FOREACH MARCSERIES_SUBFIELDS_LOO IN MARCSERIE.MARCSERIES_SUBFIELDS_LOOP %] [% IF ( MARCSERIES_SUBFIELDS_LOO.value ) %]<a href="/cgi-bin/koha/catalogue/search.pl?q=se:[% MARCSERIES_SUBFIELDS_LOO.value |url %]">[% MARCSERIES_SUBFIELDS_LOO.value %]</a>[% END %][% IF ( MARCSERIES_SUBFIELDS_LOO.volumenum ) %]. [% MARCSERIES_SUBFIELDS_LOO.volumenum %][% END %][% END %]</li> 
163
		[% END %]
164
		[% END %]
164
		</ul>
165
		</ul>
165
		</li>
166
		</li>
166
[% END %]
167
[% END %]
167
        [% IF ( publishercode ) %]
168
        [% IF ( publishercode ) %]
168
    <li><strong>Published by:</strong>
169
    <li><strong>[% t('Published by:') %]</strong>
169
        <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:[% publishercode |url %]">
170
        <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:[% publishercode |url %]">
170
            [% publishercode |html %]
171
            [% publishercode |html %]
171
        </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %] [% IF ( editionstatement ) %][% editionstatement %][% END %] [% IF ( editionresponsibility ) %][% editionresponsibility %][% END %]
172
        </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %] [% IF ( editionstatement ) %][% editionstatement %][% END %] [% IF ( editionresponsibility ) %][% editionresponsibility %][% END %]
172
    </li>
173
    </li>
173
    [% END %]
174
    [% END %]
174
        <li><strong>Description:</strong>
175
        <li><strong>[% t('Description:') %]</strong>
175
                [% IF ( pages ) %] [% END %][% pages %] [% IF ( illus ) %][% illus %][% END %]
176
                [% IF ( pages ) %] [% END %][% pages %] [% IF ( illus ) %][% illus %][% END %]
176
                [% IF ( size ) %][% size %][% END %]
177
                [% IF ( size ) %][% size %][% END %]
177
        </li>
178
        </li>
178
[% IF ( MARCURLS ) %]<li>
179
[% IF ( MARCURLS ) %]<li>
179
    
180
    
180
    <strong>Online resources:</strong>
181
    <strong>[% t('Online resources:') %]</strong>
181
    <ul>    [% FOREACH MARCurl IN MARCURLS %]
182
    <ul>    [% FOREACH MARCurl IN MARCURLS %]
182
		<li>[% IF ( MARCurl.part ) %][% MARCurl.part %]
183
		<li>[% IF ( MARCurl.part ) %][% MARCurl.part %]
183
			<br />[% END %] 
184
			<br />[% END %] 
Lines 189-201 Link Here
189
    [% END %]
190
    [% END %]
190
191
191
    [% IF ( OPACBaseURL ) %]
192
    [% IF ( OPACBaseURL ) %]
192
        <li><strong>OPAC view:</strong>
193
        <li><strong>[% t('OPAC view:') %]</strong>
193
        <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" target="_blank">Open in new window</a>
194
        <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" target="_blank">[% t('Open in new window') %]</a>
194
        </li>
195
        </li>
195
    [% END %]
196
    [% END %]
196
        <li id="catalogue_detail_marc_preview">
197
        <li id="catalogue_detail_marc_preview">
197
            <strong>MARC Preview:</strong>
198
            <strong>[% t('MARC Preview:') %]</strong>
198
            <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Show</a>
199
            <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]" title="[% t('MARC') %]" rel="gb_page_center[600,500]">[% t('Show') %]</a>
199
        </li>
200
        </li>
200
        </ul>
201
        </ul>
201
        </div>
202
        </div>
Lines 218-239 Link Here
218
        <div class="yui-u" style="margin-top: 1em;">
219
        <div class="yui-u" style="margin-top: 1em;">
219
        <ul>
220
        <ul>
220
        [% IF ( MARCISBNS ) %]
221
        [% IF ( MARCISBNS ) %]
221
            <li><strong>ISBN:</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN | html %]</li>[% END %]</ul></li>
222
            <li><strong>[% t('ISBN:') %]</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN | html %]</li>[% END %]</ul></li>
222
        [% ELSE %]
223
        [% ELSE %]
223
            [% IF ( normalized_isbn ) %]
224
            [% IF ( normalized_isbn ) %]
224
                <li><strong>ISBN:</strong> [% normalized_isbn %]</li>
225
                <li><strong>[% t('ISBN:') %]</strong> [% normalized_isbn %]</li>
225
            [% END %]
226
            [% END %]
226
        [% END %]
227
        [% END %]
227
        [% IF ( issn ) %]
228
        [% IF ( issn ) %]
228
            <li><strong>ISSN:</strong>[% issn %]</li>
229
            <li><strong>[% t('ISSN:') %]</strong>[% issn %]</li>
229
        [% END %]
230
        [% END %]
230
        [% IF ( collectiontitle ) %]
231
        [% IF ( collectiontitle ) %]
231
            <li><strong>Collection: </strong>
232
            <li><strong>[% t('Collection:') %] </strong>
232
                [% collectiontitle %] [% IF ( collectionvolume ) %], [% collectionvolume %][% END %][% IF ( collectionissn ) %] (<strong>ISSN:</strong> [% collectionissn %])[% END %]
233
                [% collectiontitle %] [% IF ( collectionvolume ) %], [% collectionvolume %][% END %][% IF ( collectionissn ) %] (<strong>[% t('ISSN:') %]</strong> [% collectionissn %])[% END %]
233
            </li>
234
            </li>
234
        [% END %]
235
        [% END %]
235
        [% IF ( MARCSUBJCTS ) %]
236
        [% IF ( MARCSUBJCTS ) %]
236
            <li><strong>Subjects:</strong> 
237
            <li><strong>[% t('Subjects:') %]</strong> 
237
            <ul>
238
            <ul>
238
                [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
239
                [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
239
                <li>[% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %] [% MARCSUBJECT_SUBFIELDS_LOO.separator %] <a title="‡[% MARCSUBJECT_SUBFIELDS_LOO.code %] [% MARCSUBJECT_SUBFIELDS_LOO.value %]" href="/cgi-bin/koha/catalogue/search.pl?q=[% FOREACH link_loo IN MARCSUBJECT_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit %]:[% link_loo.link |url %][% END %]">[% MARCSUBJECT_SUBFIELDS_LOO.value |html %]</a>[% END %]</li>
240
                <li>[% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %] [% MARCSUBJECT_SUBFIELDS_LOO.separator %] <a title="‡[% MARCSUBJECT_SUBFIELDS_LOO.code %] [% MARCSUBJECT_SUBFIELDS_LOO.value %]" href="/cgi-bin/koha/catalogue/search.pl?q=[% FOREACH link_loo IN MARCSUBJECT_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit %]:[% link_loo.link |url %][% END %]">[% MARCSUBJECT_SUBFIELDS_LOO.value |html %]</a>[% END %]</li>
Lines 242-258 Link Here
242
            </li>
243
            </li>
243
        [% END %]
244
        [% END %]
244
        [% IF ( copyrightdate ) %]
245
        [% IF ( copyrightdate ) %]
245
            <li><strong>Copyright:</strong> [% copyrightdate %]</li>
246
            <li><strong>[% t('Copyright:') %]</strong> [% copyrightdate %]</li>
246
        [% END %]
247
        [% END %]
247
     
248
     
248
        [% IF ( classification ) %]
249
        [% IF ( classification ) %]
249
            <li><strong>Classification:</strong> [% subclass %][% classification %]</li>
250
            <li><strong>[% t('Classification:') %]</strong> [% subclass %][% classification %]</li>
250
        [% END %]
251
        [% END %]
251
        [% IF ( dewey ) %]
252
        [% IF ( dewey ) %]
252
            <li><strong>Dewey:</strong> [% dewey %]</li>
253
            <li><strong>[% t('Dewey:') %]</strong> [% dewey %]</li>
253
        [% END %]
254
        [% END %]
254
        [% IF ( urlS ) %]
255
        [% IF ( urlS ) %]
255
            <li><strong>URL:</strong>
256
            <li><strong>[% t('URL:') %]</strong>
256
                [% FOREACH url IN urlS %]
257
                [% FOREACH url IN urlS %]
257
                    <a href="[% url.url %]">[% url.url %]</a>
258
                    <a href="[% url.url %]">[% url.url %]</a>
258
                [% END %]
259
                [% END %]
Lines 260-275 Link Here
260
        [% END %]
261
        [% END %]
261
        <!--This grabs all of the lists a bib record appears in -->
262
        <!--This grabs all of the lists a bib record appears in -->
262
        [% IF shelves.count %]
263
        [% IF shelves.count %]
263
            <li><strong>Lists that include this title: </strong>
264
            <li><strong>[% t('Lists that include this title:') %] </strong>
264
            <ul>
265
            <ul>
265
            [% FOREACH s IN shelves %]
266
            [% FOREACH s IN shelves %]
266
                <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&amp;shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a></li>
267
                <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a></li>
267
            [% END %]
268
            [% END %]
268
            </ul>
269
            </ul>
269
            </li>
270
            </li>
270
        [% END %]
271
        [% END %]
271
        [% IF ( TagsEnabled &&  TagsShowOnDetail &&  TagLoop ) %]
272
        [% IF ( TagsEnabled &&  TagsShowOnDetail &&  TagLoop ) %]
272
                <li><strong>Tags:</strong>
273
                <li><strong>[% t('Tags:') %]</strong>
273
                    <ul id="tagslist">
274
                    <ul id="tagslist">
274
                    [% FOREACH TagLoo IN TagLoop %]
275
                    [% FOREACH TagLoo IN TagLoop %]
275
                        <li>
276
                        <li>
Lines 282-288 Link Here
282
                    [% END %]
283
                    [% END %]
283
                    </ul></li>
284
                    </ul></li>
284
        [% END %]
285
        [% END %]
285
            [% IF ( holdcount ) %]<li><strong>Holds:</strong> <span class="number_box"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></li>[% ELSE %][% END %]
286
            [% IF ( holdcount ) %]<li><strong>[% t('Holds:') %]</strong> <span class="number_box"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></li>[% ELSE %][% END %]
286
        </ul>
287
        </ul>
287
		[% END %]
288
		[% END %]
288
289
Lines 292-310 Link Here
292
293
293
<ul>
294
<ul>
294
    [% IF (SeparateHoldings) %]
295
    [% IF (SeparateHoldings) %]
295
        <li><a href="#holdings">[% LoginBranchname %] holdings</a></li>
296
        <li><a href="#holdings">[% LoginBranchname %] [% t('holdings') %]</a></li>
296
        <li><a href="#otherholdings">Other holdings</a></li>
297
        <li><a href="#otherholdings">[% t('Other holdings') %]</a></li>
297
    [% ELSE %]
298
    [% ELSE %]
298
        <li><a href="#holdings">Holdings</a></li>
299
        <li><a href="#holdings">[% t('Holdings') %]</a></li>
299
    [% END %]
300
    [% END %]
300
[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %]
301
[% IF ( MARCNOTES || notes ) %]<li><a href="#description">[% t('Descriptions') %]</a></li>[% END %]
301
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
302
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">[% t('Subscriptions') %]</a></li>[% END %]
302
[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
303
[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">[% t('Acquisition details') %]</a></li>[% END %]
303
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %]
304
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">[% t('Editions') %]</a></li>[% END %][% END %]
304
[% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %]
305
[% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">[% t('Images') %]</a></li>[% END %][% END %]
305
[% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %]
306
[% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">[% t('Play media') %]</a></li>[% END %][% END %]
306
[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
307
[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
307
    <li class="NovelistSelect" style="display:none;"><a href="#NovelistSelect">NoveList Select</a></li>
308
    <li class="NovelistSelect" style="display:none;"><a href="#NovelistSelect">[% t('NoveList Select') %]</a></li>
308
[% END %]
309
[% END %]
309
</ul>
310
</ul>
310
311
Lines 313-327 Link Here
313
    [% items_table_block_iter = items_table_block_iter + 1 %]
314
    [% items_table_block_iter = items_table_block_iter + 1 %]
314
    <div class="[% tab %]_table_table_controls">
315
    <div class="[% tab %]_table_table_controls">
315
        [% IF (StaffDetailItemSelection) %]
316
        [% IF (StaffDetailItemSelection) %]
316
            | <a href="#" class="SelectAll" data-tab="[% tab %]"><i class="fa fa-check"></i> Select all</a> |
317
            | <a href="#" class="SelectAll" data-tab="[% tab %]"><i class="fa fa-check"></i> [% t('Select all') %]</a> |
317
            <a href="#" class="ClearAll" data-tab="[% tab %]"><i class="fa fa-remove"></i> Clear all</a>
318
            <a href="#" class="ClearAll" data-tab="[% tab %]"><i class="fa fa-remove"></i> [% t('Clear all') %]</a>
318
            <span class="itemselection_actions">
319
            <span class="itemselection_actions">
319
              | Actions:
320
              [% t('| Actions:') %]
320
              [% IF CAN_user_tools_items_batchdel %]
321
              [% IF CAN_user_tools_items_batchdel %]
321
                <a class="itemselection_action_delete"><i class="fa fa-trash"></i> Delete selected items</a>
322
                <a class="itemselection_action_delete"><i class="fa fa-trash"></i> [% t('Delete selected items') %]</a>
322
              [% END %]
323
              [% END %]
323
              [% IF CAN_user_tools_items_batchmod %]
324
              [% IF CAN_user_tools_items_batchmod %]
324
                <a class="itemselection_action_modify"><i class="fa fa-pencil"></i> Modify selected items</a>
325
                <a class="itemselection_action_modify"><i class="fa fa-pencil"></i> [% t('Modify selected items') %]</a>
325
              [% END %]
326
              [% END %]
326
            </span>
327
            </span>
327
        [% END %]
328
        [% END %]
Lines 330-355 Link Here
330
        <thead>
331
        <thead>
331
            <tr>
332
            <tr>
332
                [% IF (StaffDetailItemSelection) %]<th class="NoSort"></th>[% END %]
333
                [% IF (StaffDetailItemSelection) %]<th class="NoSort"></th>[% END %]
333
                [% IF ( item_level_itypes ) %]<th>Item type</th>[% END %]
334
                [% IF ( item_level_itypes ) %]<th>[% t('Item type') %]</th>[% END %]
334
                <th>Current location</th>
335
                <th>[% t('Current location') %]</th>
335
                <th>Home library</th>
336
                <th>[% t('Home library') %]</th>
336
                [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %]
337
                [% IF ( itemdata_ccode ) %]<th>[% t('Collection') %]</th>[% END %]
337
                <th>Call number</th>
338
                <th>[% t('Call number') %]</th>
338
                <th>Status</th>
339
                <th>[% t('Status') %]</th>
339
                <th>Last seen</th>
340
                <th>[% t('Last seen') %]</th>
340
                <th>Barcode</th>
341
                <th>[% t('Barcode') %]</th>
341
                [% IF ( volinfo ) %]<th>Serial enumeration / chronology</th>[% END %]
342
                [% IF ( volinfo ) %]<th>[% t('Serial enumeration / chronology') %]</th>[% END %]
342
                [% IF ( itemdata_uri ) %]<th>URL</th>[% END %]
343
                [% IF ( itemdata_uri ) %]<th>[% t('URL') %]</th>[% END %]
343
                [% IF ( itemdata_copynumber ) %]<th>Copy number</th>[% END %]
344
                [% IF ( itemdata_copynumber ) %]<th>[% t('Copy number') %]</th>[% END %]
344
                [% IF ( itemdata_stocknumber ) %]<th>Inventory number</th>[% END %]
345
                [% IF ( itemdata_stocknumber ) %]<th>[% t('Inventory number') %]</th>[% END %]
345
                [% IF materials %]<th>Materials specified</th>[% END %]
346
                [% IF materials %]<th>[% t('Materials specified') %]</th>[% END %]
346
                [% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
347
                [% IF ( itemdata_itemnotes ) %]<th>[% t('Public notes') %]</th>[% END %]
347
                [% IF ( itemdata_nonpublicnotes ) %]<th>Non-public notes</th>[% END %]
348
                [% IF ( itemdata_nonpublicnotes ) %]<th>[% t('Non-public notes') %]</th>[% END %]
348
                [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine label</th>[% END %]
349
                [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>[% t('Spine label') %]</th>[% END %]
349
                [% IF ( hostrecords ) %]<th>Host records</th>[% END %]
350
                [% IF ( hostrecords ) %]<th>[% t('Host records') %]</th>[% END %]
350
                [% IF ( analyze ) %]<th>Used in</th><th></th>[% END %]
351
                [% IF ( analyze ) %]<th>[% t('Used in') %]</th><th></th>[% END %]
351
                [% IF ( ShowCourseReserves ) %]<th>Course Reserves</th>[% END %]
352
                [% IF ( ShowCourseReserves ) %]<th>[% t('Course Reserves') %]</th>[% END %]
352
                [% IF ( CAN_user_editcatalogue_edit_items ) %]<th class="NoSort">&nbsp;</th>[% END %]
353
                [% IF ( CAN_user_editcatalogue_edit_items ) %]<th class="NoSort"> </th>[% END %]
353
            </tr>
354
            </tr>
354
        </thead>
355
        </thead>
355
        <tbody>
356
        <tbody>
Lines 376-397 Link Here
376
377
377
                        [% IF item.CheckedOutFor %]
378
                        [% IF item.CheckedOutFor %]
378
                          [% IF item.onsite_checkout %]
379
                          [% IF item.onsite_checkout %]
379
                            <span>Currently in local use
380
                            <span>[% t('Currently in local use') %]
380
                          [% ELSE %]
381
                          [% ELSE %]
381
                            <span class="datedue">Checked out
382
                            <span class="datedue">[% t('Checked out') %]
382
                          [% END %]
383
                          [% END %]
383
                                [% UNLESS ( item.NOTSAMEBRANCH ) %]
384
                                [% UNLESS ( item.NOTSAMEBRANCH ) %]
384
                                  [% IF item.onsite_checkout %]
385
                                  [% IF item.onsite_checkout %]
385
                                    by
386
                                    [% t('by') %]
386
                                  [% ELSE %]
387
                                  [% ELSE %]
387
                                    to
388
                                    [% t('to') %]
388
                                  [% END %]
389
                                  [% END %]
389
                                  [% INCLUDE 'patron-title.inc' patron=item.CheckedOutFor hide_patron_infos_if_needed=1 %]
390
                                  [% INCLUDE 'patron-title.inc' patron=item.CheckedOutFor hide_patron_infos_if_needed=1 %]
390
                                [% END %]
391
                                [% END %]
391
                                : due [% item.datedue %]
392
                                [% t(': due') %] [% item.datedue %]
392
                            </span>
393
                            </span>
393
                        [% ELSIF ( item.transfertwhen ) %]
394
                        [% ELSIF ( item.transfertwhen ) %]
394
                            <span class="intransit">In transit from [% Branches.GetName( item.transfertfrom ) %] to [% Branches.GetName( item.transfertto ) %] since [% item.transfertwhen | $KohaDates %]</span>
395
                            <span class="intransit">[% t('In transit from') %] [% Branches.GetName( item.transfertfrom ) %] [% t('to') %] [% Branches.GetName( item.transfertto ) %] [% t('since') %] [% item.transfertwhen | $KohaDates %]</span>
395
                        [% END %]
396
                        [% END %]
396
397
397
                        [% IF ( item.itemlost ) %]
398
                        [% IF ( item.itemlost ) %]
Lines 402-408 Link Here
402
                                    [% END %]
403
                                    [% END %]
403
                                [% END %]
404
                                [% END %]
404
                            [% ELSE %]
405
                            [% ELSE %]
405
                                <span class="lost">Unavailable (lost or missing)</span>
406
                                <span class="lost">[% t('Unavailable (lost or missing)') %]</span>
406
                            [% END %]
407
                            [% END %]
407
                        [% END %]
408
                        [% END %]
408
409
Lines 414-420 Link Here
414
                                    [% END %]
415
                                    [% END %]
415
                                [% END %]
416
                                [% END %]
416
                            [% ELSE %]
417
                            [% ELSE %]
417
                                <span class="wdn">Withdrawn</span>
418
                                <span class="wdn">[% t('Withdrawn') %]</span>
418
                            [% END %]
419
                            [% END %]
419
                        [% END %]
420
                        [% END %]
420
421
Lines 426-437 Link Here
426
                                    [% END %]
427
                                    [% END %]
427
                                [% END %]
428
                                [% END %]
428
                            [% ELSE %]
429
                            [% ELSE %]
429
                                <span class="dmg">Damaged</span>
430
                                <span class="dmg">[% t('Damaged') %]</span>
430
                            [% END %]
431
                            [% END %]
431
                        [% END %]
432
                        [% END %]
432
433
433
                        [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
434
                        [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
434
                            Not for loan
435
                            [% t('Not for loan') %]
435
                            [% IF ( item.notforloanvalue ) %]
436
                            [% IF ( item.notforloanvalue ) %]
436
                                ([% item.notforloanvalue %])
437
                                ([% item.notforloanvalue %])
437
                            [% END %]
438
                            [% END %]
Lines 439-455 Link Here
439
440
440
                        [% IF ( item.reservedate ) %]
441
                        [% IF ( item.reservedate ) %]
441
                            [% IF ( item.waitingdate ) %]
442
                            [% IF ( item.waitingdate ) %]
442
                                Waiting at [% Branches.GetName( item.ExpectedAtLibrary ) %] since [% item.waitingdate | $KohaDates %].
443
                                [% t('Waiting at') %] [% Branches.GetName( item.ExpectedAtLibrary ) %] [% t('since') %] [% item.waitingdate | $KohaDates %].
443
                            [% ELSE %]
444
                            [% ELSE %]
444
                                Item-level hold (placed [% item.reservedate | $KohaDates %]) for delivery at [% Branches.GetName( item.ExpectedAtLibrary ) %].
445
                                [% t('Item-level hold (placed') %] [% item.reservedate | $KohaDates %][% t(') for delivery at') %] [% Branches.GetName( item.ExpectedAtLibrary ) %].
445
                            [% END %]
446
                            [% END %]
446
                            [% IF ( canreservefromotherbranches ) %]
447
                            [% IF ( canreservefromotherbranches ) %]
447
                                Hold for:
448
                                [% t('Hold for:') %]
448
                                [% INCLUDE 'patron-title.inc' patron=item.ReservedFor hide_patron_infos_if_needed=1 %]
449
                                [% INCLUDE 'patron-title.inc' patron=item.ReservedFor hide_patron_infos_if_needed=1 %]
449
                            [% END %]
450
                            [% END %]
450
                        [% END %]
451
                        [% END %]
451
                        [% UNLESS ( item.itemnotforloan || item.notforloan_per_itemtype || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfertwhen || item.reservedate ) %]
452
                        [% UNLESS ( item.itemnotforloan || item.notforloan_per_itemtype || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfertwhen || item.reservedate ) %]
452
                            Available
453
                            [% t('Available') %]
453
                        [% END %]
454
                        [% END %]
454
455
455
                        [% IF ( item.restricted ) %]
456
                        [% IF ( item.restricted ) %]
Lines 458-464 Link Here
458
459
459
                    </td>
460
                    </td>
460
                    <td class="datelastseen">[% item.datelastseen | $KohaDates %]</td>
461
                    <td class="datelastseen">[% item.datelastseen | $KohaDates %]</td>
461
                    <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=[% item.type %]&amp;itemnumber=[% item.itemnumber %]&amp;biblionumber=[% item.biblionumber %]&amp;bi=[% item.biblioitemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a></td>
462
                    <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=[% item.type %]&itemnumber=[% item.itemnumber %]&biblionumber=[% item.biblionumber %]&bi=[% item.biblioitemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a></td>
462
                    [% IF ( volinfo ) %]
463
                    [% IF ( volinfo ) %]
463
                        <td class="enumchron">
464
                        <td class="enumchron">
464
                            [% IF ( itemdata_enumchron ) %]
465
                            [% IF ( itemdata_enumchron ) %]
Lines 498-517 Link Here
498
                        <td class="nonpublicnote">[% item.itemnotes_nonpublic %]</td>
499
                        <td class="nonpublicnote">[% item.itemnotes_nonpublic %]</td>
499
                    [% END %]
500
                    [% END %]
500
                    [% IF ( SpineLabelShowPrintOnBibDetails ) %]
501
                    [% IF ( SpineLabelShowPrintOnBibDetails ) %]
501
                        <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode %]" >Print label</a></td>
502
                        <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode %]">[% t('Print label') %]</a></td>
502
                    [% END %]
503
                    [% END %]
503
                    [% IF ( hostrecords ) %]
504
                    [% IF ( hostrecords ) %]
504
                        <td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber %]" >[% item.hosttitle %]</a>[% END %]</td>
505
                        <td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber %]">[% item.hosttitle %]</a>[% END %]</td>
505
                    [% END %]
506
                    [% END %]
506
                    [% IF ( analyze ) %]
507
                    [% IF ( analyze ) %]
507
                        <td>
508
                        <td>
508
                            [% IF ( item.countanalytics ) %]
509
                            [% IF ( item.countanalytics ) %]
509
                                <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&amp;q=[% item.itemnumber %]">[% item.countanalytics %] analytics</a>
510
                                <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=[% item.itemnumber %]">[% item.countanalytics %] [% t('analytics') %]</a>
510
                            [% END %]
511
                            [% END %]
511
                        </td>
512
                        </td>
512
                    [% END %]
513
                    [% END %]
513
                    [% IF ( analyze ) %]
514
                    [% IF ( analyze ) %]
514
                        <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% item.biblionumber %]&amp;hostitemnumber=[% item.itemnumber %]">Create analytics</a></td>
515
                        <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% item.biblionumber %]&hostitemnumber=[% item.itemnumber %]">[% t('Create analytics') %]</a></td>
515
                    [% END %]
516
                    [% END %]
516
517
517
                [% IF ShowCourseReserves %]
518
                [% IF ShowCourseReserves %]
Lines 535-541 Link Here
535
                [% IF CAN_user_editcatalogue_edit_items %]
536
                [% IF CAN_user_editcatalogue_edit_items %]
536
                    <td class="actions">
537
                    <td class="actions">
537
                        [% UNLESS item.cannot_be_edited %]
538
                        [% UNLESS item.cannot_be_edited %]
538
                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]#edititem"><i class="fa fa-pencil"></i> Edit</a>
539
                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]#edititem"><i class="fa fa-pencil"></i> [% t('Edit') %]</a>
539
                        [% END %]
540
                        [% END %]
540
                    </td>
541
                    </td>
541
                [% END %]
542
                [% END %]
Lines 549-555 Link Here
549
550
550
[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'above' ) %]
551
[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'above' ) %]
551
    <span class="results_summary NovelistSelect" style="display:none;">
552
    <span class="results_summary NovelistSelect" style="display:none;">
552
        <span class="label">Novelist Select: </span>
553
        <span class="label">[% t('Novelist Select:') %] </span>
553
        <div data-novelist-novelistselect="[% normalized_isbn %]"></div>
554
        <div data-novelist-novelistselect="[% normalized_isbn %]"></div>
554
    </span>
555
    </span>
555
[% END %]
556
[% END %]
Lines 559-587 Link Here
559
        [% PROCESS items_table tab="holdings" items=itemloop %]
560
        [% PROCESS items_table tab="holdings" items=itemloop %]
560
        [% END %]
561
        [% END %]
561
                [% IF ( hiddencount ) %]
562
                [% IF ( hiddencount ) %]
562
                   <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&amp;showallitems=1">Show all items ([% hiddencount %] hidden)</a>
563
                   <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&showallitems=1">[% t('Show all items (') %][% hiddencount %] [% t('hidden)') %]</a>
563
                [% END %] 		
564
                [% END %] 		
564
		[% IF ( debug_display ) %]
565
		[% IF ( debug_display ) %]
565
		<br /><br />
566
		<br /><br />
566
		<table>
567
		<table>
567
			<tr><td>itemdata_enumchron</td><td>[% itemdata_enumchron %]</td></tr>
568
			<tr><td>[% t('itemdata_enumchron') %]</td><td>[% itemdata_enumchron %]</td></tr>
568
			<tr><td>itemdata_copynumber</td><td>[% itemdata_copynumber %]</td></tr>
569
			<tr><td>[% t('itemdata_copynumber') %]</td><td>[% itemdata_copynumber %]</td></tr>
569
			<tr><td>serial</td><td>[% serial %]</td></tr>
570
			<tr><td>[% t('serial') %]</td><td>[% serial %]</td></tr>
570
		</table>
571
		</table>
571
                [% END %]
572
                [% END %]
572
[% ELSE %]
573
[% ELSE %]
573
    [% IF ( ALTERNATEHOLDINGS ) %]
574
    [% IF ( ALTERNATEHOLDINGS ) %]
574
    [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
575
    [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
575
        <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div>
576
        <div id="alternateholdings"><span class="holdings_label">[% t('Holdings:') %]</span> [% ALTERNATEHOLDING.holding %]</div>
576
    [% END %]
577
    [% END %]
577
    [% ELSE %]
578
    [% ELSE %]
578
    <div id="noitems">No physical items for this record</div>
579
    <div id="noitems">[% t('No physical items for this record') %]</div>
579
    [% END %]
580
    [% END %]
580
[% END %]
581
[% END %]
581
582
582
[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'below' ) %]
583
[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'below' ) %]
583
    <span class="results_summary NovelistSelect" style="display:none;">
584
    <span class="results_summary NovelistSelect" style="display:none;">
584
        <span class="label">Novelist Select: </span>
585
        <span class="label">[% t('Novelist Select:') %] </span>
585
        <div data-novelist-novelistselect="[% normalized_isbn %]"></div>
586
        <div data-novelist-novelistselect="[% normalized_isbn %]"></div>
586
    </span>
587
    </span>
587
[% END %]
588
[% END %]
Lines 592-598 Link Here
592
        [% IF (otheritemloop.size) %]
593
        [% IF (otheritemloop.size) %]
593
            [% PROCESS items_table tab="otherholdings" items=otheritemloop %]
594
            [% PROCESS items_table tab="otherholdings" items=otheritemloop %]
594
        [% ELSE %]
595
        [% ELSE %]
595
            No other items.
596
            [% t('No other items.') %]
596
        [% END %]
597
        [% END %]
597
    </div>
598
    </div>
598
[% END %]
599
[% END %]
Lines 626-651 Link Here
626
<div id="subscriptions">
627
<div id="subscriptions">
627
<div class="yui-g">
628
<div class="yui-g">
628
<div id="catalogue_detail_subscriptions">
629
<div id="catalogue_detail_subscriptions">
629
    <h2>This is a serial subscription</h2>
630
    <h2>[% t('This is a serial subscription') %]</h2>
630
    <p> (There are [% subscriptionsnumber %] subscriptions associated with this title).</p> 
631
    <p> [% t('(There are') %] [% subscriptionsnumber %] [% t('subscriptions associated with this title).') %]</p> 
631
    [% FOREACH subscription IN subscriptions %]
632
    [% FOREACH subscription IN subscriptions %]
632
            [% IF subscription.branchcode %]
633
            [% IF subscription.branchcode %]
633
                <h3>At library: [% Branches.GetName(subscription.branchcode) || subscription.branchcode %]</h3>
634
                <h3>[% t('At library:') %] [% Branches.GetName(subscription.branchcode) || subscription.branchcode %]</h3>
634
            [% END %]
635
            [% END %]
635
            [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
636
            [% IF ( subscription.closed ) %]<p>[% t('This subscription is closed.') %]</p>[% END %]
636
            [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %] </p>[% END %]
637
            [% IF ( subscription.callnumber ) %]<p>[% t('Callnumber:') %] [% subscription.callnumber %] </p>[% END %]
637
            [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
638
            [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
638
            [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %]
639
            [% IF ( subscription.missinglist ) %]<p>[% t('Missing issues:') %] [% subscription.missinglist %] </p>[% END %]
639
            [% IF ( subscription.librariannote ) %]<p>([% subscription.librariannote %])</p>[% END %]
640
            [% IF ( subscription.librariannote ) %]<p>([% subscription.librariannote %])</p>[% END %]
640
            [% IF ( subscription.latestserials ) %]
641
            [% IF ( subscription.latestserials ) %]
641
            <p> The [% subscription.staffdisplaycount %] latest issues related to this subscription:</p>
642
            <p> [% t('The') %] [% subscription.staffdisplaycount %] [% t('latest issues related to this subscription:') %]</p>
642
            <table>
643
            <table>
643
                <tr>
644
                <tr>
644
                    <th>Issue #</th>
645
                    <th>[% t('Issue #') %]</th>
645
                    <th>Date arrived</th>
646
                    <th>[% t('Date arrived') %]</th>
646
                    <th>Date published</th>
647
                    <th>[% t('Date published') %]</th>
647
                    <th>Status</th>
648
                    <th>[% t('Status') %]</th>
648
                    <th>Note</th>
649
                    <th>[% t('Note') %]</th>
649
                </tr>
650
                </tr>
650
            [% FOREACH latestserial IN subscription.latestserials %]
651
            [% FOREACH latestserial IN subscription.latestserials %]
651
                <tr>
652
                <tr>
Lines 653-677 Link Here
653
                    <td>[% latestserial.planneddate %]</td>
654
                    <td>[% latestserial.planneddate %]</td>
654
                    <td>[% latestserial.publisheddate%]</td>
655
                    <td>[% latestserial.publisheddate%]</td>
655
                    <td>
656
                    <td>
656
                      [% IF ( latestserial.status1 ) %]Expected[% END %]
657
                      [% IF ( latestserial.status1 ) %][% t('Expected') %][% END %]
657
                      [% IF ( latestserial.status2 ) %]Arrived[% END %]
658
                      [% IF ( latestserial.status2 ) %][% t('Arrived') %][% END %]
658
                      [% IF ( latestserial.status3 ) %]Late[% END %]
659
                      [% IF ( latestserial.status3 ) %][% t('Late') %][% END %]
659
                      [% IF ( latestserial.status4 ) %]Missing[% END %]
660
                      [% IF ( latestserial.status4 ) %][% t('Missing') %][% END %]
660
                      [% IF ( latestserial.status41 ) %]Missing (never received)[% END %]
661
                      [% IF ( latestserial.status41 ) %][% t('Missing (never received)') %][% END %]
661
                      [% IF ( latestserial.status42 ) %]Missing (sold out)[% END %]
662
                      [% IF ( latestserial.status42 ) %][% t('Missing (sold out)') %][% END %]
662
                      [% IF ( latestserial.status43 ) %]Missing (damaged)[% END %]
663
                      [% IF ( latestserial.status43 ) %][% t('Missing (damaged)') %][% END %]
663
                      [% IF ( latestserial.status44 ) %]Missing (lost)[% END %]
664
                      [% IF ( latestserial.status44 ) %][% t('Missing (lost)') %][% END %]
664
                      [% IF ( latestserial.status5 ) %]Not issued[% END %]
665
                      [% IF ( latestserial.status5 ) %][% t('Not issued') %][% END %]
665
                      [% IF ( latestserial.status6 ) %]Delete[% END %]
666
                      [% IF ( latestserial.status6 ) %][% t('Delete') %][% END %]
666
                      [% IF ( latestserial.status7 ) %]Claimed[% END %]
667
                      [% IF ( latestserial.status7 ) %][% t('Claimed') %][% END %]
667
                      [% IF ( latestserial.status8 ) %]Stopped[% END %]
668
                      [% IF ( latestserial.status8 ) %][% t('Stopped') %][% END %]
668
                    </td>
669
                    </td>
669
                    <td>[% latestserial.notes %]</td>
670
                    <td>[% latestserial.notes %]</td>
670
                </tr>
671
                </tr>
671
            [% END %]
672
            [% END %]
672
            </table>
673
            </table>
673
            [% END %]
674
            [% END %]
674
            <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]">Subscription details</a>
675
            <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]">[% t('Subscription details') %]</a>
675
    [% END %]
676
    [% END %]
676
</div>
677
</div>
677
</div>
678
</div>
Lines 684-698 Link Here
684
    <table id="orders">
685
    <table id="orders">
685
      <thead>
686
      <thead>
686
        <tr>
687
        <tr>
687
          <th>Vendor</th>
688
          <th>[% t('Vendor') %]</th>
688
          <th>Invoice</th>
689
          <th>[% t('Invoice') %]</th>
689
          <th>Basket group</th>
690
          <th>[% t('Basket group') %]</th>
690
          <th>Basket</th>
691
          <th>[% t('Basket') %]</th>
691
          <th>Order number</th>
692
          <th>[% t('Order number') %]</th>
692
          <th class="title-string">Creation date</th>
693
          <th class="title-string">[% t('Creation date') %]</th>
693
          <th class="title-string">Receive date</th>
694
          <th class="title-string">[% t('Receive date') %]</th>
694
          <th>Status</th>
695
          <th>[% t('Status') %]</th>
695
          <th>Quantity</th>
696
          <th>[% t('Quantity') %]</th>
696
        </tr>
697
        </tr>
697
      </thead>
698
      </thead>
698
      <tbody>
699
      <tbody>
Lines 700-713 Link Here
700
          <tr>
701
          <tr>
701
            <td>
702
            <td>
702
            [% IF (order.id) %]
703
            [% IF (order.id) %]
703
                <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]" title="Vendor detail page">[% order.name %]</a>
704
                <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]" title="[% t('Vendor detail page') %]">[% order.name %]</a>
704
            [% END %]
705
            [% END %]
705
            </td>
706
            </td>
706
            <td>
707
            <td>
707
            [% IF (order.invoiceid) %]
708
            [% IF (order.invoiceid) %]
708
                [% IF CAN_user_acquisition %]
709
                [% IF CAN_user_acquisition %]
709
                    <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid %]"
710
                    <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid %]" title="[% t('Invoice detail page') %]">
710
                       title="Invoice detail page">
711
                       [% order.invoicenumber %]</a>
711
                       [% order.invoicenumber %]</a>
712
                [% ELSE %]
712
                [% ELSE %]
713
                    [% order.invoicenumber %]
713
                    [% order.invoicenumber %]
Lines 733-743 Link Here
733
            <td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td>
733
            <td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td>
734
            <td>
734
            <td>
735
              [% SWITCH order.orderstatus %]
735
              [% SWITCH order.orderstatus %]
736
                [% CASE 'new' %]New
736
                [% CASE 'new' %][% t('New') %]
737
                [% CASE 'ordered' %]Ordered
737
                [% CASE 'ordered' %][% t('Ordered') %]
738
                [% CASE 'partial' %]Partial
738
                [% CASE 'partial' %][% t('Partial') %]
739
                [% CASE 'complete' %]Complete
739
                [% CASE 'complete' %][% t('Complete') %]
740
                [% CASE 'cancelled' %]Cancelled
740
                [% CASE 'cancelled' %][% t('Cancelled') %]
741
              [% END %]
741
              [% END %]
742
            </td>
742
            </td>
743
            <td>[% order.quantity %]</td>
743
            <td>[% order.quantity %]</td>
Lines 746-762 Link Here
746
      </tbody>
746
      </tbody>
747
    </table>
747
    </table>
748
  [% ELSE %]
748
  [% ELSE %]
749
    There is no order for this biblio.
749
    [% t('There is no order for this biblio.') %]
750
  [% END %]
750
  [% END %]
751
</div>
751
</div>
752
[% END %]
752
[% END %]
753
753
754
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]
754
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]
755
<div id="editions"><h4>Editions</h4>
755
<div id="editions"><h4>[% t('Editions') %]</h4>
756
<table>
756
<table>
757
[% FOREACH XISBN IN XISBNS %]<tr>[% IF ( AmazonCoverImages ) %]<td><a href="http://www.amazon.com/gp/reader/[% XISBN.normalized_isbn %][% AmazonAssocTag %]#reader-link"><img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn %].01._AA75_PU_PU-5_.jpg" /></a></td>[% END %]
757
[% FOREACH XISBN IN XISBNS %]<tr>[% IF ( AmazonCoverImages ) %]<td><a href="http://www.amazon.com/gp/reader/[% XISBN.normalized_isbn %][% AmazonAssocTag %]#reader-link"><img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn %].01._AA75_PU_PU-5_.jpg" /></a></td>[% END %]
758
[% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
758
[% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
759
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> by [% XISBN.author | html %] &copy;[% XISBN.copyrightdate %]
759
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> [% t('by') %] [% XISBN.author | html %] ©[% XISBN.copyrightdate %]
760
  [% IF ( XISBN.publishercode ) %]
760
  [% IF ( XISBN.publishercode ) %]
761
[% XISBN.publishercode %] [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %] [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %] [% IF ( XISBN.editionstatement ) %][% XISBN.editionstatement %][% END %] [% IF ( XISBN.editionresponsibility ) %][% XISBN.editionresponsibility %][% END %]
761
[% XISBN.publishercode %] [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %] [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %] [% IF ( XISBN.editionstatement ) %][% XISBN.editionstatement %][% END %] [% IF ( XISBN.editionresponsibility ) %][% XISBN.editionresponsibility %][% END %]
762
    [% END %]
762
    [% END %]
Lines 771-785 Link Here
771
[% IF ( LocalCoverImages ) %]
771
[% IF ( LocalCoverImages ) %]
772
<div id="images">
772
<div id="images">
773
[% IF ( localimages.0 ) %]
773
[% IF ( localimages.0 ) %]
774
    <p>Click on an image to view it in the image viewer</p>
774
    <p>[% t('Click on an image to view it in the image viewer') %]</p>
775
    <ul class="thumbnails">
775
    <ul class="thumbnails">
776
[% FOREACH image IN localimages %]
776
[% FOREACH image IN localimages %]
777
    [% IF image %]
777
    [% IF image %]
778
        <li id="imagenumber-[% image %]">
778
        <li id="imagenumber-[% image %]">
779
            <a class="thumbnail" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&amp;imagenumber=[% image %]">
779
            <a class="thumbnail" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]">
780
                <img alt="remove this image" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&amp;imagenumber=[% image %]" />
780
                <img alt="[% t('remove this image') %]" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image %]" />
781
                [% IF CAN_user_tools_upload_local_cover_images %]
781
                [% IF CAN_user_tools_upload_local_cover_images %]
782
                  <span class="remove" title="remove this image">Delete image</span>
782
                  <span class="remove" title="[% t('remove this image') %]">[% t('Delete image') %]</span>
783
                [% END %]
783
                [% END %]
784
            </a>
784
            </a>
785
        </li>
785
        </li>
Lines 795-804 Link Here
795
<div id="html5media">
795
<div id="html5media">
796
          [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
796
          [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
797
            <p>
797
            <p>
798
              <[% HTML5MediaParent %] controls preload=none>
798
              <[% HTML5MediaParent %] [% t('controls preload=none&gt;') %]
799
                <[% HTML5MediaSet.child  %] src="[% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] />
799
                <[% HTML5MediaSet.child  %] [% t('src=&#34;') %][% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] />
800
                [[% HTML5MediaParent %] tag not supported by your browser.]
800
                [[% HTML5MediaParent %] tag not supported by your browser.]
801
              </[% HTML5MediaParent %]>
801
              <!--[% HTML5MediaParent %]-->
802
            </p>
802
            </p>
803
          [% END %]
803
          [% END %]
804
</div>
804
</div>
Lines 816-828 Link Here
816
<div class="yui-g" id="export" style="margin-top: 1em;">
816
<div class="yui-g" id="export" style="margin-top: 1em;">
817
<form method="get" action="/cgi-bin/koha/catalogue/export.pl">
817
<form method="get" action="/cgi-bin/koha/catalogue/export.pl">
818
<table>  <tr>
818
<table>  <tr>
819
      <th>Save Record</th>   </tr>
819
      <th>[% t('Save Record') %]</th>   </tr>
820
    <tr><td> Select download format:    <select name="format">
820
    <tr><td> [% t('Select download format:') %]    <select name="format">
821
        <option value="mods">MODS (XML)</option>
821
        <option value="mods">[% t('MODS (XML)') %]</option>
822
        <option data-toggle="modal" data-target="#exportModal_">Dublin Core</option>
822
        <option data-toggle="modal" data-target="#exportModal_">[% t('Dublin Core') %]</option>
823
        <option value="marcxml">MARCXML</option>
823
        <option value="marcxml">[% t('MARCXML') %]</option>
824
        <option value="marc8">MARC (non-Unicode/MARC-8)</option>
824
        <option value="marc8">[% t('MARC (non-Unicode/MARC-8)') %]</option>
825
        <option value="utf8">MARC (Unicode/UTF-8)</option>    </select>
825
        <option value="utf8">[% t('MARC (Unicode/UTF-8)') %]</option>    </select>
826
        <input type="submit" name="save" value="Download Record" /></td>
826
        <input type="submit" name="save" value="Download Record" /></td>
827
  </tr>
827
  </tr>
828
  <tr><td>
828
  <tr><td>
Lines 837-849 Link Here
837
    <div class="modal-content">
837
    <div class="modal-content">
838
    <div class="modal-header">
838
    <div class="modal-header">
839
        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
839
        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
840
        <h3 id="marcPreviewLabel">MARC preview</h3>
840
        <h3 id="marcPreviewLabel">[% t('MARC preview') %]</h3>
841
    </div>
841
    </div>
842
    <div class="modal-body">
842
    <div class="modal-body">
843
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
843
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> [% t('Loading') %] </div>
844
    </div>
844
    </div>
845
    <div class="modal-footer">
845
    <div class="modal-footer">
846
        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
846
        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">[% t('Close') %]</button>
847
    </div>
847
    </div>
848
    </div>
848
    </div>
849
    </div>
849
    </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt (-8 / +9 lines)
Lines 1-7 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Catalog &rsaquo; Details for [% biblio.title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</title>
5
<title>[% t('Koha › Catalog › Details for') %] [% biblio.title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% IF ( LocalCoverImages == 1 ) %]
7
[% IF ( LocalCoverImages == 1 ) %]
7
<style type="text/css">
8
<style type="text/css">
Lines 38-44 img.thumbnail { Link Here
38
[% INCLUDE 'header.inc' %]
39
[% INCLUDE 'header.inc' %]
39
[% INCLUDE 'cat-search.inc' %]
40
[% INCLUDE 'cat-search.inc' %]
40
41
41
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Images for <i>[% biblio.title |html %]  [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i></div>
42
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a>  [% t('› Images for') %] <i>[% biblio.title |html %]  [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i></div>
42
43
43
<div id="doc3" class="yui-t1">
44
<div id="doc3" class="yui-t1">
44
45
Lines 49-55 img.thumbnail { Link Here
49
50
50
[% INCLUDE 'cat-toolbar.inc' %]
51
[% INCLUDE 'cat-toolbar.inc' %]
51
52
52
<h3>Images for <i>[% biblio.title |html %]</i></h3>
53
<h3>[% t('Images for') %] <i>[% biblio.title |html %]</i></h3>
53
<h4>[% biblio.author %]</h4>
54
<h4>[% biblio.author %]</h4>
54
55
55
[% IF ( LocalCoverImages == 1 ) %]
56
[% IF ( LocalCoverImages == 1 ) %]
Lines 63-73 img.thumbnail { Link Here
63
64
64
            [% FOREACH img IN images %]
65
            [% FOREACH img IN images %]
65
                [% IF img %]
66
                [% IF img %]
66
                <a class="show_cover" data-coverimg="[% img %]" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&amp;imagenumber=[% img %]">
67
                <a class="show_cover" data-coverimg="[% img %]" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% img %]">
67
                    [% IF ( imagenumber == img ) %]
68
                    [% IF ( imagenumber == img ) %]
68
                        <img class="thumbnail selected" id="[% img %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img %]&amp;thumbnail=1" alt="Thumbnail" />
69
                        <img class="thumbnail selected" id="[% img %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img %]&thumbnail=1" alt="[% t('Thumbnail') %]" />
69
                    [% ELSE %]
70
                    [% ELSE %]
70
                        <img class="thumbnail" id="[% img %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img %]&amp;thumbnail=1" alt="Thumbnail" />
71
                        <img class="thumbnail" id="[% img %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img %]&thumbnail=1" alt="[% t('Thumbnail') %]" />
71
                    [% END %]
72
                    [% END %]
72
                </a>
73
                </a>
73
                [% END %]
74
                [% END %]
Lines 75-84 img.thumbnail { Link Here
75
        </div></div>
76
        </div></div>
76
77
77
    [% ELSE %]
78
    [% ELSE %]
78
        <div class="dialog message">There are no images for this record.</div>
79
        <div class="dialog message">[% t('There are no images for this record.') %]</div>
79
    [% END %]
80
    [% END %]
80
[% ELSE %]
81
[% ELSE %]
81
    <div class="dialog message">Local images have not been enabled by your system administrator.</div>
82
    <div class="dialog message">[% t('Local images have not been enabled by your system administrator.') %]</div>
82
[% END %]
83
[% END %]
83
84
84
</div>
85
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt (-21 / +22 lines)
Lines 1-10 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE KohaDates %]
4
[% USE KohaDates %]
4
[% USE Branches %]
5
[% USE Branches %]
5
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Koha &rsaquo; Catalog &rsaquo; Checkout history for [% biblio.title |html %]</title>
8
<title>[% t('Koha › Catalog › Checkout history for') %] [% biblio.title |html %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
[% Asset.css("css/datatables.css") %]
10
[% Asset.css("css/datatables.css") %]
10
</head>
11
</head>
Lines 14-20 Link Here
14
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'cat-search.inc' %]
16
[% INCLUDE 'cat-search.inc' %]
16
17
17
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Checkout history for <i>[% biblio.title |html %]</i></div>
18
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a>  [% t('› Checkout history for') %] <i>[% biblio.title |html %]</i></div>
18
19
19
<div id="doc3" class="yui-t2">
20
<div id="doc3" class="yui-t2">
20
21
Lines 22-44 Link Here
22
	<div id="yui-main">
23
	<div id="yui-main">
23
	<div class="yui-b">
24
	<div class="yui-b">
24
25
25
<h1>Checkout history for [% biblio.title |html %]</h1>
26
<h1>[% t('Checkout history for') %] [% biblio.title |html %]</h1>
26
[% IF biblio.author %]<h3>by [% biblio.author %]</h3>[% END %]
27
[% IF biblio.author %]<h3>[% t('by') %] [% biblio.author %]</h3>[% END %]
27
28
28
<div class="searchresults">
29
<div class="searchresults">
29
    [% IF checkouts.count %]
30
    [% IF checkouts.count %]
30
        <h4>Checked out [% checkouts.count %] times</h4>
31
        <h4>[% t('Checked out') %] [% checkouts.count %] [% t('times') %]</h4>
31
        <table id="table_issues">
32
        <table id="table_issues">
32
            <thead><tr>
33
            <thead><tr>
33
            [% IF Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %]
34
            [% IF Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %]
34
            <th>Patron</th>
35
            <th>[% t('Patron') %]</th>
35
            [% END %]
36
            [% END %]
36
            <th>Barcode</th>
37
            <th>[% t('Barcode') %]</th>
37
            <th>Checked out from</th>
38
            <th>[% t('Checked out from') %]</th>
38
            <th>Renewed</th>
39
            <th>[% t('Renewed') %]</th>
39
            <th class='title-string'>Checkout on</th>
40
            <th class="title-string">[% t('Checkout on') %]</th>
40
            <th class='title-string'>Due date</th>
41
            <th class="title-string">[% t('Due date') %]</th>
41
            <th class='title-string'>Checkin on</th>
42
            <th class="title-string">[% t('Checkin on') %]</th>
42
            </tr></thead>
43
            </tr></thead>
43
            <tbody>
44
            <tbody>
44
        [% FOREACH checkout IN checkouts %]
45
        [% FOREACH checkout IN checkouts %]
Lines 48-82 Link Here
48
                [% END %]
49
                [% END %]
49
                <td>
50
                <td>
50
                    [% IF checkout.item.barcode %] [%# FIXME This test is not mandatory I think %]
51
                    [% IF checkout.item.barcode %] [%# FIXME This test is not mandatory I think %]
51
                        <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% checkout.item.biblionumber %]&amp;itemnumber=[% checkout.item.itemnumber %]">[% checkout.item.barcode %]</a>
52
                        <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% checkout.item.biblionumber %]&itemnumber=[% checkout.item.itemnumber %]">[% checkout.item.barcode %]</a>
52
                    [% ELSE %]
53
                    [% ELSE %]
53
                        &nbsp;
54
                         
54
                    [% END %]</td>
55
                    [% END %]</td>
55
                <td>[% IF checkout.branchcode %]
56
                <td>[% IF checkout.branchcode %]
56
                        [% Branches.GetName( checkout.branchcode ) %]
57
                        [% Branches.GetName( checkout.branchcode ) %]
57
                    [% ELSE %]
58
                    [% ELSE %]
58
                        &nbsp;
59
                         
59
                    [% END %]</td>
60
                    [% END %]</td>
60
                <td>[% IF checkout.renewals %]
61
                <td>[% IF checkout.renewals %]
61
                        Yes[% IF checkout.lastreneweddate %], <small>last on: [% checkout.lastreneweddate |$KohaDates with_hours => 1  %]</small>
62
                        [% t('Yes') %][% IF checkout.lastreneweddate %], <small>[% t('last on:') %] [% checkout.lastreneweddate |$KohaDates with_hours => 1  %]</small>
62
                            [% END %]
63
                            [% END %]
63
                    [% ELSE %]
64
                    [% ELSE %]
64
                        No
65
                        [% t('No') %]
65
                    [% END %]</td>
66
                    [% END %]</td>
66
                <td>[% IF checkout.issuedate %]
67
                <td>[% IF checkout.issuedate %]
67
                        <span title="[% checkout.issuedate %]">[% checkout.issuedate |$KohaDates with_hours => 1  %]</span>
68
                        <span title="[% checkout.issuedate %]">[% checkout.issuedate |$KohaDates with_hours => 1  %]</span>
68
                    [% ELSE %]
69
                    [% ELSE %]
69
                        <span title="0000-00-00"></span>
70
                        <span title="[% t('0000-00-00') %]"></span>
70
                    [% END %]</td>
71
                    [% END %]</td>
71
                <td>[% IF checkout.date_due %]
72
                <td>[% IF checkout.date_due %]
72
                        <span title="[% checkout.date_due %]">[% checkout.date_due |$KohaDates with_hours => 1  %]</span>
73
                        <span title="[% checkout.date_due %]">[% checkout.date_due |$KohaDates with_hours => 1  %]</span>
73
                    [% ELSE %]
74
                    [% ELSE %]
74
                        <span title="0000-00-00"></span>
75
                        <span title="[% t('0000-00-00') %]"></span>
75
                    [% END %]</td>
76
                    [% END %]</td>
76
                <td>[% IF checkout.returndate %]
77
                <td>[% IF checkout.returndate %]
77
                        <span title="[% checkout.returndate %]">[% checkout.returndate |$KohaDates with_hours => 1  %]</span>
78
                        <span title="[% checkout.returndate %]">[% checkout.returndate |$KohaDates with_hours => 1  %]</span>
78
                    [% ELSE %]
79
                    [% ELSE %]
79
                        <span title="Checked out"><small>Checked out</small></span>
80
                        <span title="[% t('Checked out') %]"><small>[% t('Checked out') %]</small></span>
80
                    [% END %]</td>
81
                    [% END %]</td>
81
           </tr>
82
           </tr>
82
        [% END %]
83
        [% END %]
Lines 84-90 Link Here
84
		</table>
85
		</table>
85
    [% ELSE %]
86
    [% ELSE %]
86
        <div class="dialog message"><p>
87
        <div class="dialog message"><p>
87
        <b>[% biblio.title |html %][% IF biblio.author %], by [% biblio.author %][% END %]</b> has never been checked out.</p></div>
88
        <b>[% biblio.title |html %][% IF biblio.author %][% t(', by') %] [% biblio.author %][% END %]</b> [% t('has never been checked out.') %]</p></div>
88
89
89
    [% END %]
90
    [% END %]
90
</div>
91
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt (-57 / +58 lines)
Lines 1-31 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE JSON.Escape %]
3
[% USE JSON.Escape %]
3
4
4
[% BLOCK form_label %]
5
[% BLOCK form_label %]
5
  [% SWITCH label %]
6
  [% SWITCH label %]
6
    [% CASE 'barcode' %]<span>Barcode</span>
7
    [% CASE 'barcode' %]<span>[% t('Barcode') %]</span>
7
    [% CASE 'itemcallnumber' %]<span>Call number</span>
8
    [% CASE 'itemcallnumber' %]<span>[% t('Call number') %]</span>
8
    [% CASE 'stocknumber' %]<span>Inventory number</span>
9
    [% CASE 'stocknumber' %]<span>[% t('Inventory number') %]</span>
9
    [% CASE 'title' %]<span>Title</span>
10
    [% CASE 'title' %]<span>[% t('Title') %]</span>
10
    [% CASE 'author' %]<span>Author</span>
11
    [% CASE 'author' %]<span>[% t('Author') %]</span>
11
    [% CASE 'publishercode' %]<span>Publisher</span>
12
    [% CASE 'publishercode' %]<span>[% t('Publisher') %]</span>
12
    [% CASE 'publicationyear' %]<span>Publication date</span>
13
    [% CASE 'publicationyear' %]<span>[% t('Publication date') %]</span>
13
    [% CASE 'collectiontitle' %]<span>Collection</span>
14
    [% CASE 'collectiontitle' %]<span>[% t('Collection') %]</span>
14
    [% CASE 'isbn' %]<span>ISBN</span>
15
    [% CASE 'isbn' %]<span>[% t('ISBN') %]</span>
15
    [% CASE 'issn' %]<span>ISSN</span>
16
    [% CASE 'issn' %]<span>[% t('ISSN') %]</span>
16
    [% CASE 'homebranch' %]<span>Home library</span>
17
    [% CASE 'homebranch' %]<span>[% t('Home library') %]</span>
17
    [% CASE 'holdingbranch' %]<span>Current location</span>
18
    [% CASE 'holdingbranch' %]<span>[% t('Current location') %]</span>
18
    [% CASE 'All libraries' %]<span>All libraries</span>
19
    [% CASE 'All libraries' %]<span>[% t('All libraries') %]</span>
19
    [% CASE 'location' %]<span>Shelving location</span>
20
    [% CASE 'location' %]<span>[% t('Shelving location') %]</span>
20
    [% CASE 'All locations' %]<span>All locations</span>
21
    [% CASE 'All locations' %]<span>[% t('All locations') %]</span>
21
    [% CASE 'itype' %]<span>Item type</span>
22
    [% CASE 'itype' %]<span>[% t('Item type') %]</span>
22
    [% CASE 'All item types' %]<span>All item types</span>
23
    [% CASE 'All item types' %]<span>[% t('All item types') %]</span>
23
    [% CASE 'ccode' %]<span>Collection code</span>
24
    [% CASE 'ccode' %]<span>[% t('Collection code') %]</span>
24
    [% CASE 'All collection codes' %]<span>All collection codes</span>
25
    [% CASE 'All collection codes' %]<span>[% t('All collection codes') %]</span>
25
    [% CASE 'notforloan' %]<span>Status</span>
26
    [% CASE 'notforloan' %]<span>[% t('Status') %]</span>
26
    [% CASE 'All statuses' %]<span>All statuses</span>
27
    [% CASE 'All statuses' %]<span>[% t('All statuses') %]</span>
27
    [% CASE 'damaged' %]<span>Damaged</span>
28
    [% CASE 'damaged' %]<span>[% t('Damaged') %]</span>
28
    [% CASE 'itemlost' %]<span>Lost</span>
29
    [% CASE 'itemlost' %]<span>[% t('Lost') %]</span>
29
  [% END %]
30
  [% END %]
30
[% END %]
31
[% END %]
31
32
Lines 33-44 Link Here
33
  <div class="form-field form-field-select">
34
  <div class="form-field form-field-select">
34
    <label class="form-field-label" for="[% name %]">[% INCLUDE form_label label=name %]</label>
35
    <label class="form-field-label" for="[% name %]">[% INCLUDE form_label label=name %]</label>
35
    <select id="[% name %]_op" name="[% name %]_op">
36
    <select id="[% name %]_op" name="[% name %]_op">
36
      <option value="=">is</option>
37
      <option value="=">[% t('is') %]</option>
37
      <option value="!=" >is not</option>
38
      <option value="!=">[% t('is not') %]</option>
38
    </select>
39
    </select>
39
    <select id="[% name %]" name="[% name %]" multiple="multiple" size="[% options.size < 4 ? options.size + 1 : 4 %]">
40
    <select id="[% name %]" name="[% name %]" multiple="multiple" size="[% options.size < 4 ? options.size + 1 : 4 %]">
40
      <option value="" selected="selected">
41
      <option value="" selected="selected">
41
        [% IF (empty_option) %][% INCLUDE form_label label=empty_option %][% ELSE %]<span>All</span>[% END %]
42
        [% IF (empty_option) %][% INCLUDE form_label label=empty_option %][% ELSE %]<span>[% t('All') %]</span>[% END %]
42
      </option>
43
      </option>
43
      [% FOREACH option IN options %]
44
      [% FOREACH option IN options %]
44
        <option value="[% option.value %]">[% option.label %]</option>
45
        <option value="[% option.value %]">[% option.label %]</option>
Lines 54-61 Link Here
54
[% BLOCK form_field_select_text %]
55
[% BLOCK form_field_select_text %]
55
  <div class="form-field form-field-select-text">
56
  <div class="form-field form-field-select-text">
56
    <select name="c" class="form-field-conjunction" disabled="disabled">
57
    <select name="c" class="form-field-conjunction" disabled="disabled">
57
      <option value="and">AND</option>
58
      <option value="and">[% t('AND') %]</option>
58
      <option value="or">OR</option>
59
      <option value="or">[% t('OR') %]</option>
59
    </select>
60
    </select>
60
    <select name="f" class="form-field-column">
61
    <select name="f" class="form-field-column">
61
      [% INCLUDE form_field_select_option value='barcode' %]
62
      [% INCLUDE form_field_select_option value='barcode' %]
Lines 69-75 Link Here
69
      [% INCLUDE form_field_select_option value='isbn' %]
70
      [% INCLUDE form_field_select_option value='isbn' %]
70
      [% INCLUDE form_field_select_option value='issn' %]
71
      [% INCLUDE form_field_select_option value='issn' %]
71
      [% IF items_search_fields.size %]
72
      [% IF items_search_fields.size %]
72
        <optgroup label="Custom search fields">
73
        <optgroup label="[% t('Custom search fields') %]">
73
          [% FOREACH field IN items_search_fields %]
74
          [% FOREACH field IN items_search_fields %]
74
            [% marcfield = field.tagfield %]
75
            [% marcfield = field.tagfield %]
75
            [% IF field.tagsubfield %]
76
            [% IF field.tagsubfield %]
Lines 88-99 Link Here
88
[% BLOCK form_field_radio_yes_no %]
89
[% BLOCK form_field_radio_yes_no %]
89
  <div class="form-field">
90
  <div class="form-field">
90
    <label class="form-field-label">[% INCLUDE form_label label=name %]:</label>
91
    <label class="form-field-label">[% INCLUDE form_label label=name %]:</label>
91
    <input type="radio" name="[% name %]" id="[% name %]_indifferent" value="" checked="checked"/>
92
    <input type="radio" name="[% name %]" id="[% name %]_indifferent" value="" checked="checked" />
92
    <label for="[% name %]_indifferent">Ignore</label>
93
    <label for="[% name %]_indifferent">[% t('Ignore') %]</label>
93
    <input type="radio" name="[% name %]" id="[% name %]_yes" value="yes" />
94
    <input type="radio" name="[% name %]" id="[% name %]_yes" value="yes" />
94
    <label for="[% name %]_yes">Yes</label>
95
    <label for="[% name %]_yes">[% t('Yes') %]</label>
95
    <input type="radio" name="[% name %]" id="[% name %]_no" value="no" />
96
    <input type="radio" name="[% name %]" id="[% name %]_no" value="no" />
96
    <label for="[% name %]_no">No</label>
97
    <label for="[% name %]_no">[% t('No') %]</label>
97
  </div>
98
  </div>
98
[% END %]
99
[% END %]
99
100
Lines 101-107 Link Here
101
102
102
[% SET footerjs = 1 %]
103
[% SET footerjs = 1 %]
103
[% INCLUDE 'doc-head-open.inc' %]
104
[% INCLUDE 'doc-head-open.inc' %]
104
  <title>Koha &rsaquo; Catalog &rsaquo; Item search</title>
105
  <title>[% t('Koha › Catalog › Item search') %]</title>
105
  [% INCLUDE 'doc-head-close.inc' %]
106
  [% INCLUDE 'doc-head-close.inc' %]
106
  [% Asset.css("css/itemsearchform.css") %]
107
  [% Asset.css("css/itemsearchform.css") %]
107
  [% Asset.css("css/datatables.css") %]
108
  [% Asset.css("css/datatables.css") %]
Lines 111-117 Link Here
111
  [% INCLUDE 'header.inc' %]
112
  [% INCLUDE 'header.inc' %]
112
  [% INCLUDE 'home-search.inc' %]
113
  [% INCLUDE 'home-search.inc' %]
113
  <div id="breadcrumbs">
114
  <div id="breadcrumbs">
114
    <a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; Item search
115
    <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a> [% t('› Item search') %]
115
  </div>
116
  </div>
116
117
117
<div class="main container-fluid">
118
<div class="main container-fluid">
Lines 119-131 Link Here
119
        <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
120
        <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
120
121
121
    <div id="item-search-block">
122
    <div id="item-search-block">
122
      <h1>Item search</h1>
123
      <h1>[% t('Item search') %]</h1>
123
      <p><a href="/cgi-bin/koha/catalogue/search.pl">Go to advanced search</a></p>
124
      <p><a href="/cgi-bin/koha/catalogue/search.pl">[% t('Go to advanced search') %]</a></p>
124
      <form action="/cgi-bin/koha/catalogue/itemsearch.pl" method="get" id="itemsearchform">
125
      <form action="/cgi-bin/koha/catalogue/itemsearch.pl" method="get" id="itemsearchform">
125
          <div id="toolbar" class="btn-toolbar">
126
          <div id="toolbar" class="btn-toolbar">
126
              <fieldset class="action">
127
              <fieldset class="action">
127
                  <div class="btn-group">
128
                  <div class="btn-group">
128
                      <button class="btn btn-default btn-sm"><i class="fa fa-search"></i> Search</button>
129
                      <button class="btn btn-default btn-sm"><i class="fa fa-search"></i> [% t('Search') %]</button>
129
                  </div>
130
                  </div>
130
              </fieldset>
131
              </fieldset>
131
          </div>
132
          </div>
Lines 147-196 Link Here
147
          </fieldset>
148
          </fieldset>
148
          <fieldset>
149
          <fieldset>
149
            [% INCLUDE form_field_select_text %]
150
            [% INCLUDE form_field_select_text %]
150
            <p class="hint">You can use the following wildcard characters: % _</p>
151
            <p class="hint">[% t('You can use the following wildcard characters: % _') %]</p>
151
            <p class="hint">% matches any number of characters</p>
152
            <p class="hint">[% t('% matches any number of characters') %]</p>
152
            <p class="hint">_ matches only a single character</p>
153
            <p class="hint">[% t('_ matches only a single character') %]</p>
153
          </fieldset>
154
          </fieldset>
154
          <fieldset>
155
          <fieldset>
155
            <div class="form-field">
156
            <div class="form-field">
156
              <label class="form-field-label" for="itemcallnumber_from">From call number:</label>
157
              <label class="form-field-label" for="itemcallnumber_from">[% t('From call number:') %]</label>
157
              <input type="text" id="itemcallnumber_from" name="itemcallnumber_from" value="" />
158
              <input type="text" id="itemcallnumber_from" name="itemcallnumber_from" value="" />
158
              <span class="hint">(inclusive)</span>
159
              <span class="hint">[% t('(inclusive)') %]</span>
159
            </div>
160
            </div>
160
            <div class="form-field">
161
            <div class="form-field">
161
              <label class="form-field-label" for="itemcallnumber_to">To call number:</label>
162
              <label class="form-field-label" for="itemcallnumber_to">[% t('To call number:') %]</label>
162
              <input type="text" id="itemcallnumber_to" name="itemcallnumber_to" value="" />
163
              <input type="text" id="itemcallnumber_to" name="itemcallnumber_to" value="" />
163
              <span class="hint">(inclusive)</span>
164
              <span class="hint">[% t('(inclusive)') %]</span>
164
            </div>
165
            </div>
165
            [% INCLUDE form_field_radio_yes_no name="damaged" %]
166
            [% INCLUDE form_field_radio_yes_no name="damaged" %]
166
            [% INCLUDE form_field_radio_yes_no name="itemlost" %]
167
            [% INCLUDE form_field_radio_yes_no name="itemlost" %]
167
            <div class="form-field">
168
            <div class="form-field">
168
              <label class="form-field-label" for="issues_op">Checkout count:</label>
169
              <label class="form-field-label" for="issues_op">[% t('Checkout count:') %]</label>
169
              <select id="issues_op" name="issues_op">
170
              <select id="issues_op" name="issues_op">
170
                <option value=">">&gt;</option>
171
                <option value=">">></option>
171
                <option value="<">&lt;</option>
172
                <option value="<"><</option>
172
                <option value="=">=</option>
173
                <option value="=">=</option>
173
                <option value="!=">!=</option>
174
                <option value="!=">!=</option>
174
              </select>
175
              </select>
175
              <input type="text" name="issues" />
176
              <input type="text" name="issues" />
176
            </div>
177
            </div>
177
            <div class="form-field">
178
            <div class="form-field">
178
              <label class="form-field-label" for="datelastborrowed_op">Last checkout date:</label>
179
              <label class="form-field-label" for="datelastborrowed_op">[% t('Last checkout date:') %]</label>
179
              <select id="datelastborrowed_op" name="datelastborrowed_op">
180
              <select id="datelastborrowed_op" name="datelastborrowed_op">
180
                <option value=">">After</option>
181
                <option value=">">[% t('After') %]</option>
181
                <option value="<">Before</option>
182
                <option value="<">[% t('Before') %]</option>
182
                <option value="=">On</option>
183
                <option value="=">[% t('On') %]</option>
183
              </select>
184
              </select>
184
              <input type="text" name="datelastborrowed" />
185
              <input type="text" name="datelastborrowed" />
185
              <span class="hint">ISO Format (YYYY-MM-DD)</span>
186
              <span class="hint">[% t('ISO Format (YYYY-MM-DD)') %]</span>
186
            </div>
187
            </div>
187
          </fieldset>
188
          </fieldset>
188
          <fieldset>
189
          <fieldset>
189
            <div class="form-field-radio">
190
            <div class="form-field-radio">
190
              <label>Output:</label>
191
              <label>[% t('Output:') %]</label>
191
              <input type="radio" id="format-html" name="format" value="html" checked="checked" /> <label for="format-html">Screen</label>
192
              <input type="radio" id="format-html" name="format" value="html" checked="checked" /> <label for="format-html">[% t('Screen') %]</label>
192
              <input type="radio" id="format-csv" name="format" value="csv" /> <label for="format-csv">CSV</label>
193
              <input type="radio" id="format-csv" name="format" value="csv" /> <label for="format-csv">[% t('CSV') %]</label>
193
              <input type="radio" id="format-barcodes" name="format" value="barcodes"/> <label for="format-barcodes">Barcodes file</label>
194
              <input type="radio" id="format-barcodes" name="format" value="barcodes" /> <label for="format-barcodes">[% t('Barcodes file') %]</label>
194
            </div>
195
            </div>
195
          </fieldset>
196
          </fieldset>
196
      </form>
197
      </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch_json.tt (-4 / +5 lines)
Lines 1-8 Link Here
1
[% PROCESS 'i18n.inc' %]
1
{
2
{
2
  "sEcho": [% sEcho %],
3
  [% t('&#34;sEcho&#34;:') %] [% sEcho %],
3
  "iTotalRecords": [% total_rows %],
4
  [% t('&#34;iTotalRecords&#34;:') %] [% total_rows %],
4
  "iTotalDisplayRecords": [% total_rows %],
5
  [% t('&#34;iTotalDisplayRecords&#34;:') %] [% total_rows %],
5
  "aaData": [
6
  [% t('&#34;aaData&#34;:') %] [
6
  [%- FOREACH item IN results -%]
7
  [%- FOREACH item IN results -%]
7
    [%- INCLUDE 'catalogue/itemsearch_item.json.inc' item = item -%]
8
    [%- INCLUDE 'catalogue/itemsearch_item.json.inc' item = item -%]
8
    [%- UNLESS loop.last %],[% END -%]
9
    [%- UNLESS loop.last %],[% END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt (-11 / +12 lines)
Lines 1-12 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
5
5
<title>Koha &rsaquo; Catalog &rsaquo;
6
<title>[% t('Koha › Catalog ›') %]
6
  [% IF ( unknownbiblionumber ) %]
7
  [% IF ( unknownbiblionumber ) %]
7
    Unknown record
8
    [% t('Unknown record') %]
8
  [% ELSE %]
9
  [% ELSE %]
9
    Labeled MARC details for [% bibliotitle | html %]
10
    [% t('Labeled MARC details for') %] [% bibliotitle | html %]
10
  [% END %]
11
  [% END %]
11
</title>
12
</title>
12
13
Lines 18-36 Link Here
18
	[% INCLUDE 'cat-search.inc' %]
19
	[% INCLUDE 'cat-search.inc' %]
19
20
20
	<div id="breadcrumbs">
21
	<div id="breadcrumbs">
21
		<a href="/cgi-bin/koha/mainpage.pl">Home</a>
22
		<a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a>
22
		&rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo;
23
		› <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a> ›
23
		[% IF ( unknownbiblionumber ) %]
24
		[% IF ( unknownbiblionumber ) %]
24
		  Unknown record
25
		  [% t('Unknown record') %]
25
		[% ELSE %]
26
		[% ELSE %]
26
            MARC details for <i>[% bibliotitle | html %]</i>
27
            [% t('MARC details for') %] <i>[% bibliotitle | html %]</i>
27
		[% END %]
28
		[% END %]
28
	</div>
29
	</div>
29
30
30
	<div id="doc3" class="yui-t2">
31
	<div id="doc3" class="yui-t2">
31
32
32
	[% IF ( unknownbiblionumber ) %]
33
	[% IF ( unknownbiblionumber ) %]
33
	  <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
34
	  <div class="dialog message">[% t('The record you requested does not exist (') %][% biblionumber %]).</div>
34
	[% ELSE %]
35
	[% ELSE %]
35
36
36
		<div id="bd">
37
		<div id="bd">
Lines 40-50 Link Here
40
					[% INCLUDE 'cat-toolbar.inc' %]
41
					[% INCLUDE 'cat-toolbar.inc' %]
41
42
42
					[% UNLESS ( popup ) %]
43
					[% UNLESS ( popup ) %]
43
                        <h1>Labeled MARC biblio : [% biblionumber %]  ( [% bibliotitle | html %] )</h1>
44
                        <h1>[% t('Labeled MARC biblio :') %] [% biblionumber %]  ( [% bibliotitle | html %] )</h1>
44
					[% END %]
45
					[% END %]
45
                    <p><b>With framework:
46
                    <p><b>[% t('With framework:') %]
46
                    <select name="Frameworks" id="Frameworks" size="1" onchange="Changefwk(this);">
47
                    <select name="Frameworks" id="Frameworks" size="1" onchange="Changefwk(this);">
47
                        <option value="">Default</option>
48
                        <option value="">[% t('Default') %]</option>
48
                        [% FOREACH framework IN frameworks %]
49
                        [% FOREACH framework IN frameworks %]
49
                        [% IF framework.frameworkcode == frameworkcode %]
50
                        [% IF framework.frameworkcode == frameworkcode %]
50
                            <option value="[% framework.frameworkcode %]" selected="selected">[% framework.frameworktext %]</option>
51
                            <option value="[% framework.frameworkcode %]" selected="selected">[% framework.frameworktext %]</option>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt (-69 / +70 lines)
Lines 1-9 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE Branches %]
4
[% USE Branches %]
4
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Catalog &rsaquo; Item details for [% title | html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</title>
7
<title>[% t('Koha › Catalog › Item details for') %] [% title | html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
<style type="text/css">h3{padding-top: 1em; border-top: 2px solid #CCCCCC;}#exportLabelexportModal_{border-top: 0px;}</style>
9
<style type="text/css">h3{padding-top: 1em; border-top: 2px solid #CCCCCC;}#exportLabelexportModal_{border-top: 0px;}</style>
9
</head>
10
</head>
Lines 12-18 Link Here
12
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'cat-search.inc' %]
14
[% INCLUDE 'cat-search.inc' %]
14
15
15
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Item details for <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield|html %][% END %]</i></div>
16
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a>  [% t('› Item details for') %] <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield|html %][% END %]</i></div>
16
17
17
<div id="doc3" class="yui-t2">
18
<div id="doc3" class="yui-t2">
18
19
Lines 25-105 Link Here
25
26
26
    <h2>[% title |html %]</h2>
27
    <h2>[% title |html %]</h2>
27
    [% IF ( subtitle ) %]<h4>[% FOREACH subtitl IN subtitle %] [% subtitl.subfield|html %][% END %]</h4>[% END %]
28
    [% IF ( subtitle ) %]<h4>[% FOREACH subtitl IN subtitle %] [% subtitl.subfield|html %][% END %]</h4>[% END %]
28
    [% IF ( author ) %]<h4>by [% author | html %]</h4>[% END %]
29
    [% IF ( author ) %]<h4>[% t('by') %] [% author | html %]</h4>[% END %]
29
    <ol class="bibliodetails">
30
    <ol class="bibliodetails">
30
        <li><span class="label">Biblionumber:</span> [% biblionumber %]&nbsp;</li>
31
        <li><span class="label">[% t('Biblionumber:') %]</span> [% biblionumber %] </li>
31
        [% UNLESS ( item_level_itypes ) %]
32
        [% UNLESS ( item_level_itypes ) %]
32
        <li><span class="label">Item type:</span> [% itemtypename %]&nbsp;</li>
33
        <li><span class="label">[% t('Item type:') %]</span> [% itemtypename %] </li>
33
        [% END %]
34
        [% END %]
34
        [% IF ( rentalcharge ) %]<li><span class="label">Rental charge:</span>[% rentalcharge %]&nbsp;</li>[% END %]
35
        [% IF ( rentalcharge ) %]<li><span class="label">[% t('Rental charge:') %]</span>[% rentalcharge %] </li>[% END %]
35
        <li><span class="label">ISBN:</span> [% isbn | html %]&nbsp;</li>
36
        <li><span class="label">[% t('ISBN:') %]</span> [% isbn | html %] </li>
36
        <li><span class="label">Publisher:</span>[% place %] [% publishercode |html %] [% publicationyear %]&nbsp;</li>
37
        <li><span class="label">[% t('Publisher:') %]</span>[% place %] [% publishercode |html %] [% publicationyear %] </li>
37
        [% IF ( volumeddesc ) %]<li><span class="label">Volume:</span> [% volumeddesc %]</li>[% END %]
38
        [% IF ( volumeddesc ) %]<li><span class="label">[% t('Volume:') %]</span> [% volumeddesc %]</li>[% END %]
38
        <li><span class="label">Physical details:</span> [% pages %] [% illus %] [% size %]&nbsp;</li>
39
        <li><span class="label">[% t('Physical details:') %]</span> [% pages %] [% illus %] [% size %] </li>
39
        [% IF ( bnotes ) %]<li><span class="label">Notes:</span> [% bnotes %]</li>[% END %]
40
        [% IF ( bnotes ) %]<li><span class="label">[% t('Notes:') %]</span> [% bnotes %]</li>[% END %]
40
        <li><span class="label">No. of items:</span> [% count %]&nbsp;[% IF ( hiddencount ) %]total ([% showncount %] shown / [% hiddencount %] hidden) 
41
        <li><span class="label">[% t('No. of items:') %]</span> [% count %] [% IF ( hiddencount ) %][% t('total (') %][% showncount %] [% t('shown /') %] [% hiddencount %] [% t('hidden)') %] 
41
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber %]&amp;showallitems=1">Show all items</a>[% END %]</li>
42
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber %]&showallitems=1">[% t('Show all items') %]</a>[% END %]</li>
42
    </ol>
43
    </ol>
43
44
44
    <br clear="all" />
45
    <br clear="all" />
45
    [% IF ( ONLY_ONE ) %]
46
    [% IF ( ONLY_ONE ) %]
46
        <div class="dialog message">You are only viewing one item.  <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber %]&amp;bi=[% biblioitemnumber %]#item[% itemnumber %]">View All</a></div>
47
        <div class="dialog message">[% t('You are only viewing one item.') %]  <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber %]&bi=[% biblioitemnumber %]#item[% itemnumber %]">[% t('View All') %]</a></div>
47
    [% END %]
48
    [% END %]
48
    [% FOREACH ITEM_DAT IN ITEM_DATA %]
49
    [% FOREACH ITEM_DAT IN ITEM_DATA %]
49
    <div class="yui-g">
50
    <div class="yui-g">
50
        <h3 id="item[% ITEM_DAT.itemnumber %]">Barcode [% ITEM_DAT.barcode %]  [% IF ( ITEM_DAT.notforloantext ) %][% ITEM_DAT.notforloantext %] [% END %]</h3>
51
        <h3 id="item[% ITEM_DAT.itemnumber %]">[% t('Barcode') %] [% ITEM_DAT.barcode %]  [% IF ( ITEM_DAT.notforloantext ) %][% ITEM_DAT.notforloantext %] [% END %]</h3>
51
        <div class="listgroup"><h4>Item information [% IF ( CAN_user_editcatalogue_edit_catalogue ) %][% UNLESS ( ITEM_DAT.nomod ) %]
52
        <div class="listgroup"><h4>[% t('Item information') %] [% IF ( CAN_user_editcatalogue_edit_catalogue ) %][% UNLESS ( ITEM_DAT.nomod ) %]
52
         [% IF ( CAN_user_editcatalogue_edit_items ) %]
53
         [% IF ( CAN_user_editcatalogue_edit_items ) %]
53
         <a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&amp;biblionumber=[% ITEM_DAT.biblionumber %]&amp;itemnumber=[% ITEM_DAT.itemnumber %]">[Edit Item]</a>
54
         <a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% ITEM_DAT.biblionumber %]&itemnumber=[% ITEM_DAT.itemnumber %]">[% t('[Edit Item]') %]</a>
54
         [% END %]
55
         [% END %]
55
         [% END %][% END %]</h4>
56
         [% END %][% END %]</h4>
56
            <ol class="bibliodetails">
57
            <ol class="bibliodetails">
57
            <li><span class="label">Home library:</span> [% Branches.GetName( ITEM_DAT.homebranch ) %]&nbsp;</li>
58
            <li><span class="label">[% t('Home library:') %]</span> [% Branches.GetName( ITEM_DAT.homebranch ) %] </li>
58
	    [% IF ( item_level_itypes ) %]
59
	    [% IF ( item_level_itypes ) %]
59
            <li><span class="label">Item type:</span> [% ITEM_DAT.itype %]&nbsp;</li>
60
            <li><span class="label">[% t('Item type:') %]</span> [% ITEM_DAT.itype %] </li>
60
	    [% END %]
61
	    [% END %]
61
            [% IF ( ITEM_DAT.collection ) %]<li><span class="label">Collection:</span> [% ITEM_DAT.collection %]</li> [% END %]
62
            [% IF ( ITEM_DAT.collection ) %]<li><span class="label">[% t('Collection:') %]</span> [% ITEM_DAT.collection %]</li> [% END %]
62
            <li><span class="label">Item callnumber:</span> [% ITEM_DAT.itemcallnumber %]&nbsp;</li>
63
            <li><span class="label">[% t('Item callnumber:') %]</span> [% ITEM_DAT.itemcallnumber %] </li>
63
            [% IF ( ITEM_DAT.displaycopy ) %]<li><span class="label">Copy number:</span> [% ITEM_DAT.copyvol %]&nbsp;</li> [% END %]
64
            [% IF ( ITEM_DAT.displaycopy ) %]<li><span class="label">[% t('Copy number:') %]</span> [% ITEM_DAT.copyvol %] </li> [% END %]
64
            [% IF ( ITEM_DAT.replacementprice ) %]<li><span class="label">Replacement price:</span> [% ITEM_DAT.replacementprice %]&nbsp;</li> [% END %]
65
            [% IF ( ITEM_DAT.replacementprice ) %]<li><span class="label">[% t('Replacement price:') %]</span> [% ITEM_DAT.replacementprice %] </li> [% END %]
65
	    [% IF ITEM_DAT.materials %]<li><span class="label">Materials specified:</span> [% ITEM_DAT.materials %] </li> [% END %]
66
	    [% IF ITEM_DAT.materials %]<li><span class="label">[% t('Materials specified:') %]</span> [% ITEM_DAT.materials %] </li> [% END %]
66
            </ol></div>
67
            </ol></div>
67
           <div class="listgroup"><h4>Statuses [% IF ( ITEM_DAT.status_advisory ) %](
68
           <div class="listgroup"><h4>[% t('Statuses') %] [% IF ( ITEM_DAT.status_advisory ) %](
68
                [% IF ( ITEM_DAT.notforloantext ) %][% ITEM_DAT.notforloantext %] [% END %]
69
                [% IF ( ITEM_DAT.notforloantext ) %][% ITEM_DAT.notforloantext %] [% END %]
69
                [% IF ( ITEM_DAT.itemlost ) %]Lost[% END %]
70
                [% IF ( ITEM_DAT.itemlost ) %][% t('Lost') %][% END %]
70
                [% IF ( ITEM_DAT.damaged ) %]Damaged[% END %]
71
                [% IF ( ITEM_DAT.damaged ) %][% t('Damaged') %][% END %]
71
                [% IF ( ITEM_DAT.withdrawn ) %]Withdrawn[% END %]
72
                [% IF ( ITEM_DAT.withdrawn ) %][% t('Withdrawn') %][% END %]
72
            )[% END %]</h4>
73
            )[% END %]</h4>
73
74
74
            <ol class="bibliodetails">
75
            <ol class="bibliodetails">
75
            <li><span class="label">Current location:</span> [% Branches.GetName( ITEM_DAT.holdingbranch ) %]&nbsp;</li>
76
            <li><span class="label">[% t('Current location:') %]</span> [% Branches.GetName( ITEM_DAT.holdingbranch ) %] </li>
76
            <li><span class="label">Checkout status:</span>
77
            <li><span class="label">[% t('Checkout status:') %]</span>
77
            [% IF ( ITEM_DAT.issue ) %]Checked out to
78
            [% IF ( ITEM_DAT.issue ) %][% t('Checked out to') %]
78
                [% IF ( hidepatronname ) %]
79
                [% IF ( hidepatronname ) %]
79
                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% ITEM_DAT.borrowernumber %]">[% ITEM_DAT.cardnumber %]</a>,
80
                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% ITEM_DAT.borrowernumber %]">[% ITEM_DAT.cardnumber %]</a>,
80
                    [% ELSE %]
81
                    [% ELSE %]
81
                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% ITEM_DAT.borrowernumber %]">[% ITEM_DAT.borrowerfirstname %] [% ITEM_DAT.borrowersurname %]</a>,
82
                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% ITEM_DAT.borrowernumber %]">[% ITEM_DAT.borrowerfirstname %] [% ITEM_DAT.borrowersurname %]</a>,
82
                [% END %]
83
                [% END %]
83
                [% IF ( ITEM_DAT.lastreneweddate ) %]
84
                [% IF ( ITEM_DAT.lastreneweddate ) %]
84
                    Last renewed [% ITEM_DAT.lastreneweddate | $KohaDates %],
85
                    [% t('Last renewed') %] [% ITEM_DAT.lastreneweddate | $KohaDates %],
85
                [% END %]
86
                [% END %]
86
                [% IF ( ITEM_DAT.datedue ) %]
87
                [% IF ( ITEM_DAT.datedue ) %]
87
                    Due back on [% ITEM_DAT.datedue | $KohaDates %]
88
                    [% t('Due back on') %] [% ITEM_DAT.datedue | $KohaDates %]
88
                [% ELSE %]
89
                [% ELSE %]
89
                    Not checked out
90
                    [% t('Not checked out') %]
90
                [% END %]
91
                [% END %]
91
            [% END %]
92
            [% END %]
92
            &nbsp;</li>
93
             </li>
93
            <li><span class="label">Current renewals:</span> [% ITEM_DAT.renewals %]&nbsp;</li>
94
            <li><span class="label">[% t('Current renewals:') %]</span> [% ITEM_DAT.renewals %] </li>
94
            [% IF itemlostloop %]
95
            [% IF itemlostloop %]
95
                <li><span class="label">Lost status:</span>
96
                <li><span class="label">[% t('Lost status:') %]</span>
96
                    [% IF ( CAN_user_circulate ) %]
97
                    [% IF ( CAN_user_circulate ) %]
97
                        <form action="updateitem.pl" method="post">
98
                        <form action="updateitem.pl" method="post">
98
                        <input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber %]" />
99
                        <input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber %]" />
99
                        <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber %]" />
100
                        <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber %]" />
100
                        <input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber %]" />
101
                        <input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber %]" />
101
                        <select name="itemlost" >
102
                        <select name="itemlost">
102
                                    <option value="">Choose</option>
103
                                    <option value="">[% t('Choose') %]</option>
103
                        [% FOREACH itemlostloo IN itemlostloop %]
104
                        [% FOREACH itemlostloo IN itemlostloop %]
104
                            [% IF itemlostloo.authorised_value == ITEM_DAT.itemlost %]
105
                            [% IF itemlostloo.authorised_value == ITEM_DAT.itemlost %]
105
                                    <option value="[% itemlostloo.authorised_value %]" selected="selected">[% itemlostloo.lib %]</option>
106
                                    <option value="[% itemlostloo.authorised_value %]" selected="selected">[% itemlostloo.lib %]</option>
Lines 117-138 Link Here
117
                                [% itemlostloo.lib %]
118
                                [% itemlostloo.lib %]
118
                            [% END %]
119
                            [% END %]
119
                        [% END %]
120
                        [% END %]
120
                        &nbsp;
121
                         
121
                    [% END %]
122
                    [% END %]
122
                </li>
123
                </li>
123
                [% IF ITEM_DAT.itemlost != "" && ITEM_DAT.itemlost_on %]
124
                [% IF ITEM_DAT.itemlost != "" && ITEM_DAT.itemlost_on %]
124
                    <li><span class="label">Lost on:</span>[% ITEM_DAT.itemlost_on | $KohaDates %] &nbsp;</li>
125
                    <li><span class="label">[% t('Lost on:') %]</span>[% ITEM_DAT.itemlost_on | $KohaDates %]  </li>
125
                [% END %]
126
                [% END %]
126
            [% END %]
127
            [% END %]
127
            [% IF itemdamagedloop %]
128
            [% IF itemdamagedloop %]
128
            <li><span class="label">Damaged status:</span>
129
            <li><span class="label">[% t('Damaged status:') %]</span>
129
                [% IF ( CAN_user_circulate ) %]
130
                [% IF ( CAN_user_circulate ) %]
130
                    <form action="updateitem.pl" method="post">
131
                    <form action="updateitem.pl" method="post">
131
                    <input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber %]" />
132
                    <input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber %]" />
132
                    <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber %]" />
133
                    <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber %]" />
133
                    <input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber %]" />
134
                    <input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber %]" />
134
                    <select name="damaged" >
135
                    <select name="damaged">
135
                    <option value="">Choose</option>
136
                    <option value="">[% t('Choose') %]</option>
136
            [% FOREACH itemdamagedloo IN itemdamagedloop %]
137
            [% FOREACH itemdamagedloo IN itemdamagedloop %]
137
                [% IF itemdamagedloo.authorised_value == ITEM_DAT.damaged %]
138
                [% IF itemdamagedloo.authorised_value == ITEM_DAT.damaged %]
138
                    <option value="[% itemdamagedloo.authorised_value %]" selected="selected">[% itemdamagedloo.lib %]</option>
139
                    <option value="[% itemdamagedloo.authorised_value %]" selected="selected">[% itemdamagedloo.lib %]</option>
Lines 150-172 Link Here
150
                            [% itemdamagedloo.lib %]
151
                            [% itemdamagedloo.lib %]
151
                        [% END %]
152
                        [% END %]
152
                    [% END %]
153
                    [% END %]
153
                    &nbsp;
154
                     
154
                [% END %]
155
                [% END %]
155
            </li>
156
            </li>
156
            [% IF ITEM_DAT.damaged != "" && ITEM_DAT.damaged_on %]
157
            [% IF ITEM_DAT.damaged != "" && ITEM_DAT.damaged_on %]
157
                <li><span class="label">Damaged on:</span>[% ITEM_DAT.damaged_on | $KohaDates %] &nbsp;</li>
158
                <li><span class="label">[% t('Damaged on:') %]</span>[% ITEM_DAT.damaged_on | $KohaDates %]  </li>
158
            [% END %]
159
            [% END %]
159
            [% END %]
160
            [% END %]
160
161
161
            [% IF itemwithdrawnloop %]
162
            [% IF itemwithdrawnloop %]
162
                <li><span class="label">Withdrawn status:</span>
163
                <li><span class="label">[% t('Withdrawn status:') %]</span>
163
                    [% IF ( CAN_user_circulate ) %]
164
                    [% IF ( CAN_user_circulate ) %]
164
                        <form action="updateitem.pl" method="post">
165
                        <form action="updateitem.pl" method="post">
165
                            <input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber %]" />
166
                            <input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber %]" />
166
                            <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber %]" />
167
                            <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber %]" />
167
                            <input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber %]" />
168
                            <input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber %]" />
168
                            <select name="withdrawn" >
169
                            <select name="withdrawn">
169
                                <option value="">Choose</option>
170
                                <option value="">[% t('Choose') %]</option>
170
                                [% FOREACH itemwithdrawn IN itemwithdrawnloop %]
171
                                [% FOREACH itemwithdrawn IN itemwithdrawnloop %]
171
                                    [% IF itemwithdrawn.authorised_value == ITEM_DAT.withdrawn %]
172
                                    [% IF itemwithdrawn.authorised_value == ITEM_DAT.withdrawn %]
172
                                        <option value="[% itemwithdrawn.authorised_value %]" selected="selected">[% itemwithdrawn.lib %]</option>
173
                                        <option value="[% itemwithdrawn.authorised_value %]" selected="selected">[% itemwithdrawn.lib %]</option>
Lines 184-216 Link Here
184
                                [% itemwithdrawn.lib %]
185
                                [% itemwithdrawn.lib %]
185
                            [% END %]
186
                            [% END %]
186
                        [% END %]
187
                        [% END %]
187
                        &nbsp;
188
                         
188
                    [% END %]
189
                    [% END %]
189
                </li>
190
                </li>
190
                [% IF ITEM_DAT.withdrawn != "" && ITEM_DAT.withdrawn_on %]
191
                [% IF ITEM_DAT.withdrawn != "" && ITEM_DAT.withdrawn_on %]
191
                    <li><span class="label">Withdrawn on:</span>[% ITEM_DAT.withdrawn_on | $KohaDates %] &nbsp;</li>
192
                    <li><span class="label">[% t('Withdrawn on:') %]</span>[% ITEM_DAT.withdrawn_on | $KohaDates %]  </li>
192
                [% END %]
193
                [% END %]
193
            [% END %]
194
            [% END %]
194
195
195
            </ol></div>
196
            </ol></div>
196
            <div class="listgroup"><h4>History</h4>
197
            <div class="listgroup"><h4>[% t('History') %]</h4>
197
            <ol class="bibliodetails">
198
            <ol class="bibliodetails">
198
199
199
            [% IF ITEM_DAT.basketno %]
200
            [% IF ITEM_DAT.basketno %]
200
                <li><span class="label">Order date:</span>
201
                <li><span class="label">[% t('Order date:') %]</span>
201
                    [% IF ( CAN_user_acquisition_order_manage ) %]
202
                    [% IF ( CAN_user_acquisition_order_manage ) %]
202
                        <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% ITEM_DAT.basketno %]">[% ITEM_DAT.orderdate | $KohaDates %]</a>
203
                        <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% ITEM_DAT.basketno %]">[% ITEM_DAT.orderdate | $KohaDates %]</a>
203
                    [% ELSE %]
204
                    [% ELSE %]
204
                        [% ITEM_DAT.orderdate | $KohaDates %]
205
                        [% ITEM_DAT.orderdate | $KohaDates %]
205
                    [% END %]
206
                    [% END %]
206
                 </li>
207
                 </li>
207
                <li><span class="label">Vendor:</span>
208
                <li><span class="label">[% t('Vendor:') %]</span>
208
                    [% ITEM_DAT.vendor %]
209
                    [% ITEM_DAT.vendor %]
209
                </li>
210
                </li>
210
            [% END %]
211
            [% END %]
211
212
212
            [% IF ITEM_DAT.dateaccessioned %]
213
            [% IF ITEM_DAT.dateaccessioned %]
213
                <li><span class="label">Accession date:</span>
214
                <li><span class="label">[% t('Accession date:') %]</span>
214
                    [% IF ( CAN_user_acquisition_order_receive && ITEM_DAT.invoiceid ) %]
215
                    [% IF ( CAN_user_acquisition_order_receive && ITEM_DAT.invoiceid ) %]
215
                        <a href="/cgi-bin/koha/acqui/parcel.pl?invoiceid=[% ITEM_DAT.invoiceid %]">[% ITEM_DAT.dateaccessioned | $KohaDates %]</a>
216
                        <a href="/cgi-bin/koha/acqui/parcel.pl?invoiceid=[% ITEM_DAT.invoiceid %]">[% ITEM_DAT.dateaccessioned | $KohaDates %]</a>
216
                    [% ELSE %]
217
                    [% ELSE %]
Lines 219-245 Link Here
219
                </li>
220
                </li>
220
            [% END %]
221
            [% END %]
221
            [% IF ( ITEM_DAT.invoicenumber ) %]
222
            [% IF ( ITEM_DAT.invoicenumber ) %]
222
                <li><span class="label">Invoice number:</span>
223
                <li><span class="label">[% t('Invoice number:') %]</span>
223
                    [% ITEM_DAT.invoicenumber %]
224
                    [% ITEM_DAT.invoicenumber %]
224
                </li>
225
                </li>
225
            [% END %]
226
            [% END %]
226
227
227
                <li><span class="label">Total checkouts:</span>[% IF ( ITEM_DAT.issues ) %][% ITEM_DAT.issues %][% ELSE %]0[% END %]  (<a href="/cgi-bin/koha/circ/bookcount.pl?&amp;biblionumber=[% ITEM_DAT.biblionumber %]&amp;itm=[% ITEM_DAT.itemnumber %]">View item's checkout history</a>)</li>
228
                <li><span class="label">[% t('Total checkouts:') %]</span>[% IF ( ITEM_DAT.issues ) %][% ITEM_DAT.issues %][% ELSE %][% t('0') %][% END %]  (<a href="/cgi-bin/koha/circ/bookcount.pl?&biblionumber=[% ITEM_DAT.biblionumber %]&itm=[% ITEM_DAT.itemnumber %]">[% t('View item\'s checkout history') %]</a>)</li>
228
229
229
                <li><span class="label">Last seen:</span>[% IF ( ITEM_DAT.datelastseen ) %][% ITEM_DAT.datelastseen | $KohaDates %] [%END %]&nbsp;</li>
230
                <li><span class="label">[% t('Last seen:') %]</span>[% IF ( ITEM_DAT.datelastseen ) %][% ITEM_DAT.datelastseen | $KohaDates %] [%END %] </li>
230
                <li><span class="label">Last borrowed:</span>[% IF (ITEM_DAT.datelastborrowed ) %][% ITEM_DAT.datelastborrowed | $KohaDates %][% END %]&nbsp;</li>
231
                <li><span class="label">[% t('Last borrowed:') %]</span>[% IF (ITEM_DAT.datelastborrowed ) %][% ITEM_DAT.datelastborrowed | $KohaDates %][% END %] </li>
231
                [% IF Koha.Preference('StoreLastBorrower') && ITEM_DAT.object.last_returned_by %]
232
                [% IF Koha.Preference('StoreLastBorrower') && ITEM_DAT.object.last_returned_by %]
232
                    <li><span class="label">Last returned by:</span> <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% ITEM_DAT.object.last_returned_by.borrowernumber %]">[% ITEM_DAT.object.last_returned_by.cardnumber %]</a>&nbsp;</li>
233
                    <li><span class="label">[% t('Last returned by:') %]</span> <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% ITEM_DAT.object.last_returned_by.borrowernumber %]">[% ITEM_DAT.object.last_returned_by.cardnumber %]</a> </li>
233
                [% END %]
234
                [% END %]
234
                [% IF ( ITEM_DAT.card0 ) %]<li><span class="label">Last borrower:</span> <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% ITEM_DAT.borrower0 %]">[% ITEM_DAT.card0 %]</a>&nbsp;</li>[% END %]
235
                [% IF ( ITEM_DAT.card0 ) %]<li><span class="label">[% t('Last borrower:') %]</span> <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% ITEM_DAT.borrower0 %]">[% ITEM_DAT.card0 %]</a> </li>[% END %]
235
                [% IF ( ITEM_DAT.card1 ) %]<li><span class="label">Previous borrower:</span> <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% ITEM_DAT.borrower1 %]">[% ITEM_DAT.card1 %]</a>&nbsp;</li>[% END %]
236
                [% IF ( ITEM_DAT.card1 ) %]<li><span class="label">[% t('Previous borrower:') %]</span> <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% ITEM_DAT.borrower1 %]">[% ITEM_DAT.card1 %]</a> </li>[% END %]
236
                [% IF ( ITEM_DAT.card2 ) %]<li><span class="label">Previous borrower:</span> <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% ITEM_DAT.borrower2 %]">[% ITEM_DAT.card2 %]</a>&nbsp;</li>[% END %]
237
                [% IF ( ITEM_DAT.card2 ) %]<li><span class="label">[% t('Previous borrower:') %]</span> <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% ITEM_DAT.borrower2 %]">[% ITEM_DAT.card2 %]</a> </li>[% END %]
237
                [% IF ( ITEM_DAT.paidfor ) %]<li><span class="label">Paid for?:</span> [% ITEM_DAT.paidfor %]&nbsp;</li>[% END %]
238
                [% IF ( ITEM_DAT.paidfor ) %]<li><span class="label">[% t('Paid for?:') %]</span> [% ITEM_DAT.paidfor %] </li>[% END %]
238
239
239
                [% IF ( ITEM_DAT.enumchron ) %]<li><span class="label">Serial enumeration:</span> [% ITEM_DAT.enumchron %]&nbsp;</li>[% END %]
240
                [% IF ( ITEM_DAT.enumchron ) %]<li><span class="label">[% t('Serial enumeration:') %]</span> [% ITEM_DAT.enumchron %] </li>[% END %]
240
241
241
                <li>
242
                <li>
242
                    <span class="label">Public note:</span>
243
                    <span class="label">[% t('Public note:') %]</span>
243
                    [% IF ( CAN_user_editcatalogue_edit_items ) %]
244
                    [% IF ( CAN_user_editcatalogue_edit_items ) %]
244
                    <form class="inline" action="updateitem.pl" method="post"><input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber %]" />
245
                    <form class="inline" action="updateitem.pl" method="post"><input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber %]" />
245
                        <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber %]" /><input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber %]" />
246
                        <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber %]" /><input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber %]" />
Lines 247-258 Link Here
247
                    </form>
248
                    </form>
248
                    [% ELSE %]
249
                    [% ELSE %]
249
                        [% ITEM_DAT.itemnotes %]
250
                        [% ITEM_DAT.itemnotes %]
250
                        &nbsp;
251
                         
251
                    [% END %]
252
                    [% END %]
252
                </li>
253
                </li>
253
254
254
                <li>
255
                <li>
255
                    <span class="label">Non-public note:</span>
256
                    <span class="label">[% t('Non-public note:') %]</span>
256
                    [% IF ( CAN_user_editcatalogue_edit_items ) %]
257
                    [% IF ( CAN_user_editcatalogue_edit_items ) %]
257
                    <form class="inline" action="updateitem.pl" method="post"><input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber %]" />
258
                    <form class="inline" action="updateitem.pl" method="post"><input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber %]" />
258
                        <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber %]" /><input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber %]" />
259
                        <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber %]" /><input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber %]" />
Lines 260-266 Link Here
260
                    </form>
261
                    </form>
261
                    [% ELSE %]
262
                    [% ELSE %]
262
                        [% ITEM_DAT.itemnotes_nonpublic %]
263
                        [% ITEM_DAT.itemnotes_nonpublic %]
263
                        &nbsp;
264
                         
264
                    [% END %]
265
                    [% END %]
265
                </li>
266
                </li>
266
            </ol>
267
            </ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-133 / +134 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE Biblio %]
4
[% USE Biblio %]
Lines 15-21 Link Here
15
    [% SET DetailPage="detail.pl" %]
16
    [% SET DetailPage="detail.pl" %]
16
[% END %]
17
[% END %]
17
[% INCLUDE 'doc-head-open.inc' %]
18
[% INCLUDE 'doc-head-open.inc' %]
18
<title>Koha &rsaquo; Catalog &rsaquo; [% IF ( searchdesc ) %]Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %][% ELSE %]You did not specify any search criteria[% END %]</title>
19
<title>[% t('Koha › Catalog ›') %] [% IF ( searchdesc ) %][% t('Results of search') %] [% IF ( query_desc ) %][% t('for \'') %][% query_desc | html %]'[% END %][% IF ( limit_desc ) %][% t(' with limit(s): \'') %][% limit_desc | html %]'[% END %][% ELSE %][% t('You did not specify any search criteria') %][% END %]</title>
19
[% INCLUDE 'doc-head-close.inc' %]
20
[% INCLUDE 'doc-head-close.inc' %]
20
</head>
21
</head>
21
22
Lines 24-32 Link Here
24
[% INCLUDE 'cat-search.inc' %]
25
[% INCLUDE 'cat-search.inc' %]
25
26
26
<div id="breadcrumbs">
27
<div id="breadcrumbs">
27
         <a href="/cgi-bin/koha/mainpage.pl">Home</a>
28
         <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a>
28
&rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>
29
› <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a>
29
&rsaquo; Search [% IF ( query_desc ) %]for '[% query_desc |html %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %]
30
[% t('› Search') %] [% IF ( query_desc ) %][% t('for \'') %][% query_desc |html %]'[% END %][% IF ( limit_desc ) %][% t(' with limit(s): \'') %][% limit_desc | html %]'[% END %]
30
</div>
31
</div>
31
32
32
<div id="doc3" class="yui-t1">
33
<div id="doc3" class="yui-t1">
Lines 40-46 Link Here
40
    [% END %]
41
    [% END %]
41
42
42
    [% IF ( koha_spsuggest ) %]
43
    [% IF ( koha_spsuggest ) %]
43
        <div style="font-size: 12px;">Did you mean:
44
        <div style="font-size: 12px;">[% t('Did you mean:') %]
44
            <ul style="list-style: none;">
45
            <ul style="list-style: none;">
45
            [% FOREACH SPELL_SUGGES IN SPELL_SUGGEST %]
46
            [% FOREACH SPELL_SUGGES IN SPELL_SUGGEST %]
46
            <li>
47
            <li>
Lines 54-87 Link Here
54
    [% IF ( total ) %]
55
    [% IF ( total ) %]
55
56
56
        <h3>
57
        <h3>
57
            [% total %] result(s) found [% IF ( query_desc ) %]for <span class="results_query_desc">'[% query_desc |html %]'</span>[% END %][% IF limit_desc  %]&nbsp;with limit(s): <span class="results_limit_desc">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName %] Catalog[% END %].
58
            [% total %] [% t('result(s) found') %] [% IF ( query_desc ) %][% t('for') %] <span class="results_query_desc">'[% query_desc |html %]'</span>[% END %][% IF limit_desc  %][% t(' with limit(s):') %] <span class="results_limit_desc">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] [% t('in') %] [% LibraryName %] [% t('Catalog') %][% END %].
58
        </h3>
59
        </h3>
59
60
60
        <div id="searchheader">
61
        <div id="searchheader">
61
62
62
            <div id="selection_ops">
63
            <div id="selection_ops">
63
                <a href="#" id="select_all"><i class="fa fa-check"></i> Select all</a>
64
                <a href="#" id="select_all"><i class="fa fa-check"></i> [% t('Select all') %]</a>
64
                |
65
                |
65
                <a href="#" id="clear_all"><i class="fa fa-remove"></i> Clear all</a>
66
                <a href="#" id="clear_all"><i class="fa fa-remove"></i> [% t('Clear all') %]</a>
66
                |
67
                |
67
                <a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a>
68
                <a href="#" class="highlight_toggle" id="highlight_toggle_off">[% t('Unhighlight') %]</a>
68
                <a href="#" class="highlight_toggle" id="highlight_toggle_on">Highlight</a>
69
                <a href="#" class="highlight_toggle" id="highlight_toggle_on">[% t('Highlight') %]</a>
69
                |
70
                |
70
71
71
            [% IF ( intranetbookbag ) %]
72
            [% IF ( intranetbookbag ) %]
72
                <div class="btn-group">
73
                <div class="btn-group">
73
                    <a id="cartsubmit" class="btn btn-default btn-xs" href="#"><i class="fa fa-shopping-cart"></i> Add to cart</a>
74
                    <a id="cartsubmit" class="btn btn-default btn-xs" href="#"><i class="fa fa-shopping-cart"></i> [% t('Add to cart') %]</a>
74
                </div>
75
                </div>
75
            [% END %]
76
            [% END %]
76
77
77
            [% IF Koha.Preference('virtualshelves') %]
78
            [% IF Koha.Preference('virtualshelves') %]
78
                <div class="btn-group">
79
                <div class="btn-group">
79
                    <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
80
                    <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
80
                        <i class="fa fa-list"></i> Add to list <span class="caret"></span>
81
                        <i class="fa fa-list"></i> [% t('Add to list') %] <span class="caret"></span>
81
                    </button>
82
                    </button>
82
                    <ul class="dropdown-menu">
83
                    <ul class="dropdown-menu">
83
                        [% IF add_to_some_private_shelves.count %]
84
                        [% IF add_to_some_private_shelves.count %]
84
                            <li class="dropdown-header">Your lists</li>
85
                            <li class="dropdown-header">[% t('Your lists') %]</li>
85
                            [% SET number_of_private_shelves = 0 %]
86
                            [% SET number_of_private_shelves = 0 %]
86
                            [% FOREACH s IN add_to_some_private_shelves %]
87
                            [% FOREACH s IN add_to_some_private_shelves %]
87
                                [% IF shelfnumber != s.shelfnumber %]
88
                                [% IF shelfnumber != s.shelfnumber %]
Lines 94-100 Link Here
94
                            [% END %]
95
                            [% END %]
95
                        [% END %]
96
                        [% END %]
96
                        [% IF add_to_some_public_shelves.count %]
97
                        [% IF add_to_some_public_shelves.count %]
97
                            <li class="dropdown-header">Public lists</li>
98
                            <li class="dropdown-header">[% t('Public lists') %]</li>
98
                            [% SET number_of_public_shelves = 0 %]
99
                            [% SET number_of_public_shelves = 0 %]
99
                            [% FOREACH s IN add_to_some_public_shelves %]
100
                            [% FOREACH s IN add_to_some_public_shelves %]
100
                                [% IF shelfnumber != s.shelfnumber %]
101
                                [% IF shelfnumber != s.shelfnumber %]
Lines 109-119 Link Here
109
                        <li role="separator" class="divider"></li>
110
                        <li role="separator" class="divider"></li>
110
                        [% IF add_to_some_private_shelves.count > 10 or add_to_some_public_shelves.count > 10 %]
111
                        [% IF add_to_some_private_shelves.count > 10 or add_to_some_public_shelves.count > 10 %]
111
                            <li>
112
                            <li>
112
                                <a href="#" class="addtolist morelists">More lists</a>
113
                                <a href="#" class="addtolist morelists">[% t('More lists') %]</a>
113
                            </li>
114
                            </li>
114
                        [% END %]
115
                        [% END %]
115
                        <li>
116
                        <li>
116
                            <a href="#" class="addtolist newlist">New list</a>
117
                            <a href="#" class="addtolist newlist">[% t('New list') %]</a>
117
                        </li>
118
                        </li>
118
                    </ul>
119
                    </ul>
119
                </div>
120
                </div>
Lines 123-247 Link Here
123
                [% IF ( CAN_user_reserveforothers && DisplayMultiPlaceHold ) %]
124
                [% IF ( CAN_user_reserveforothers && DisplayMultiPlaceHold ) %]
124
                [% IF ( holdfor ) %]
125
                [% IF ( holdfor ) %]
125
                    <div id="placeholdc" class="btn-group">
126
                    <div id="placeholdc" class="btn-group">
126
                        <button class="btn btn-default btn-xs placehold"><i class="fa fa-sticky-note-o"></i> Place hold</button>
127
                        <button class="btn btn-default btn-xs placehold"><i class="fa fa-sticky-note-o"></i> [% t('Place hold') %]</button>
127
                        <button class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
128
                        <button class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
128
                        <span class="caret"></span>
129
                        <span class="caret"></span>
129
                        </button>
130
                        </button>
130
                        <ul class="dropdown-menu">
131
                        <ul class="dropdown-menu">
131
                            <li><a href="#" class="placehold">Place hold</a></li>
132
                            <li><a href="#" class="placehold">[% t('Place hold') %]</a></li>
132
                            <li><a href="#" class="placeholdfor">Place hold for [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></li>
133
                            <li><a href="#" class="placeholdfor">[% t('Place hold for') %] [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></li>
133
                            <li class="divider"></li>
134
                            <li class="divider"></li>
134
                            <li><a href="#" id="forgetholdfor">Forget  [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></li>
135
                            <li><a href="#" id="forgetholdfor">[% t('Forget') %]  [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></li>
135
                        </ul>
136
                        </ul>
136
                    </div>
137
                    </div>
137
                [% ELSE %]
138
                [% ELSE %]
138
                    <div id="placeholdc" class="btn-group"><a class="btn btn-default btn-xs placehold" href="#"><i class="fa fa-sticky-note-o"></i> Place hold</a></div>
139
                    <div id="placeholdc" class="btn-group"><a class="btn btn-default btn-xs placehold" href="#"><i class="fa fa-sticky-note-o"></i> [% t('Place hold') %]</a></div>
139
                [% END %]
140
                [% END %]
140
                [% END %]
141
                [% END %]
141
                [% IF Koha.Preference('BrowseResultSelection') %]
142
                [% IF Koha.Preference('BrowseResultSelection') %]
142
                    <div id="browse_selection" class="btn-group"><a class="btn btn-default btn-xs browse_selection" href="#"><i class="fa fa-sticky-note-o"></i> Browse selected records</a></div>
143
                    <div id="browse_selection" class="btn-group"><a class="btn btn-default btn-xs browse_selection" href="#"><i class="fa fa-sticky-note-o"></i> [% t('Browse selected records') %]</a></div>
143
                [% END %]
144
                [% END %]
144
145
145
                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %] <div class="btn-group"><a class="btn btn-default btn-xs" id="z3950submit" href="#"><i class="fa fa-search"></i> Z39.50/SRU search</a></div>[% END %]
146
                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %] <div class="btn-group"><a class="btn btn-default btn-xs" id="z3950submit" href="#"><i class="fa fa-search"></i> [% t('Z39.50/SRU search') %]</a></div>[% END %]
146
147
147
            [% IF ( searchdesc ) %]
148
            [% IF ( searchdesc ) %]
148
                [% BLOCK sort_search_query ~%]
149
                [% BLOCK sort_search_query ~%]
149
                    [%~ FOREACH QUERY_INPUT IN QUERY_INPUTS ~%]
150
                    [%~ FOREACH QUERY_INPUT IN QUERY_INPUTS ~%]
150
                        &amp;[% QUERY_INPUT.input_name |html %]=[% QUERY_INPUT.input_value |html %]
151
                        &[% QUERY_INPUT.input_name |html %]=[% QUERY_INPUT.input_value |html %]
151
                    [%~ END ~%]
152
                    [%~ END ~%]
152
                    [%~ FOREACH LIMIT_INPUT IN LIMIT_INPUTS ~%]
153
                    [%~ FOREACH LIMIT_INPUT IN LIMIT_INPUTS ~%]
153
                        &amp;[% LIMIT_INPUT.input_name |html %]=[% LIMIT_INPUT.input_value |html %]
154
                        &[% LIMIT_INPUT.input_name |html %]=[% LIMIT_INPUT.input_value |html %]
154
                    [%~ END ~%]
155
                    [%~ END ~%]
155
                [%~ END %]
156
                [%~ END %]
156
            [% END %]
157
            [% END %]
157
158
158
            <div class="btn-group">
159
            <div class="btn-group">
159
                <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
160
                <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
160
                    Sort <span class="caret"></span>
161
                    [% t('Sort') %] <span class="caret"></span>
161
                </button>
162
                </button>
162
                <ul class="dropdown-menu">
163
                <ul class="dropdown-menu">
163
                    [% IF ( sort_by == "relevance_dsc" ) %]
164
                    [% IF ( sort_by == "relevance_dsc" ) %]
164
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=relevance[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Relevance</a></li>
165
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=relevance[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Relevance') %]</a></li>
165
                    [% ELSE %]
166
                    [% ELSE %]
166
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=relevance[% PROCESS sort_search_query %]">Relevance</a></li>
167
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=relevance[% PROCESS sort_search_query %]">[% t('Relevance') %]</a></li>
167
                    [% END %]
168
                    [% END %]
168
                    <li class="dropdown-header">Popularity</li>
169
                    <li class="dropdown-header">[% t('Popularity') %]</li>
169
                    [% IF ( sort_by == "popularity_dsc" ) %]
170
                    [% IF ( sort_by == "popularity_dsc" ) %]
170
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Popularity (most to least)</a></li>
171
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Popularity (most to least)') %]</a></li>
171
                    [% ELSE %]
172
                    [% ELSE %]
172
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_dsc[% PROCESS sort_search_query %]">Popularity (most to least)</a></li>
173
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_dsc[% PROCESS sort_search_query %]">[% t('Popularity (most to least)') %]</a></li>
173
                    [% END %]
174
                    [% END %]
174
175
175
                    [% IF ( sort_by == "popularity_asc" ) %]
176
                    [% IF ( sort_by == "popularity_asc" ) %]
176
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Popularity (least to most)</a></li>
177
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Popularity (least to most)') %]</a></li>
177
                    [% ELSE %]
178
                    [% ELSE %]
178
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_asc[% PROCESS sort_search_query %]">Popularity (least to most)</a></li>
179
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_asc[% PROCESS sort_search_query %]">[% t('Popularity (least to most)') %]</a></li>
179
                    [% END %]
180
                    [% END %]
180
181
181
                    <li class="dropdown-header">Author</li>
182
                    <li class="dropdown-header">[% t('Author') %]</li>
182
183
183
                    [% IF ( sort_by == "author_az" || sort_by == "author_asc" ) %]
184
                    [% IF ( sort_by == "author_az" || sort_by == "author_asc" ) %]
184
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_a[% PROCESS sort_search_query %]z"><i class="fa fa-check"></i> Author (A-Z)</a></li>
185
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_a[% PROCESS sort_search_query %]z"><i class="fa fa-check"></i> [% t('Author (A-Z)') %]</a></li>
185
                    [% ELSE %]
186
                    [% ELSE %]
186
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_az[% PROCESS sort_search_query %]">Author (A-Z)</a></li>
187
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_az[% PROCESS sort_search_query %]">[% t('Author (A-Z)') %]</a></li>
187
                    [% END %]
188
                    [% END %]
188
189
189
                    [% IF ( sort_by == "author_za" || sort_by == "author_dsc" ) %]
190
                    [% IF ( sort_by == "author_za" || sort_by == "author_dsc" ) %]
190
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_za[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Author (Z-A)</a></li>
191
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_za[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Author (Z-A)') %]</a></li>
191
                    [% ELSE %]
192
                    [% ELSE %]
192
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_za[% PROCESS sort_search_query %]">Author (Z-A)</a></li>
193
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_za[% PROCESS sort_search_query %]">[% t('Author (Z-A)') %]</a></li>
193
                    [% END %]
194
                    [% END %]
194
195
195
                    <li class="dropdown-header">Call number</li>
196
                    <li class="dropdown-header">[% t('Call number') %]</li>
196
197
197
                    [% IF ( sort_by == "call_number_asc" ) %]
198
                    [% IF ( sort_by == "call_number_asc" ) %]
198
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Call Number (0-9 to A-Z)</a></li>
199
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Call Number (0-9 to A-Z)') %]</a></li>
199
                    [% ELSE %]
200
                    [% ELSE %]
200
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_asc[% PROCESS sort_search_query %]">Call Number (0-9 to A-Z)</a></li>
201
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_asc[% PROCESS sort_search_query %]">[% t('Call Number (0-9 to A-Z)') %]</a></li>
201
                    [% END %]
202
                    [% END %]
202
203
203
                    [% IF ( sort_by == "call_number_dsc" ) %]
204
                    [% IF ( sort_by == "call_number_dsc" ) %]
204
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Call number (Z-A to 9-0)</a></li>
205
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Call number (Z-A to 9-0)') %]</a></li>
205
                    [% ELSE %]
206
                    [% ELSE %]
206
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_dsc[% PROCESS sort_search_query %]">Call number (Z-A to 9-0)</a></li>
207
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_dsc[% PROCESS sort_search_query %]">[% t('Call number (Z-A to 9-0)') %]</a></li>
207
                    [% END %]
208
                    [% END %]
208
209
209
                    <li class="dropdown-header">Dates</li>
210
                    <li class="dropdown-header">[% t('Dates') %]</li>
210
                    [% IF ( sort_by == "pubdate_dsc" ) %]
211
                    [% IF ( sort_by == "pubdate_dsc" ) %]
211
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Publication/Copyright date: newest to oldest</a></li>
212
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Publication/Copyright date: newest to oldest') %]</a></li>
212
                    [% ELSE %]
213
                    [% ELSE %]
213
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_dsc[% PROCESS sort_search_query %]">Publication/Copyright date: newest to oldest</a></li>
214
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_dsc[% PROCESS sort_search_query %]">[% t('Publication/Copyright date: newest to oldest') %]</a></li>
214
                    [% END %]
215
                    [% END %]
215
216
216
                    [% IF ( sort_by == "pubdate_asc" ) %]
217
                    [% IF ( sort_by == "pubdate_asc" ) %]
217
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Publication/Copyright date: oldest to newest</a></li>
218
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Publication/Copyright date: oldest to newest') %]</a></li>
218
                    [% ELSE %]
219
                    [% ELSE %]
219
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_asc[% PROCESS sort_search_query %]">Publication/Copyright date: oldest to newest</a></li>
220
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_asc[% PROCESS sort_search_query %]">[% t('Publication/Copyright date: oldest to newest') %]</a></li>
220
                    [% END %]
221
                    [% END %]
221
222
222
                    [% IF ( sort_by == "acqdate_dsc" ) %]
223
                    [% IF ( sort_by == "acqdate_dsc" ) %]
223
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Acquisition date: newest to oldest</a></li>
224
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Acquisition date: newest to oldest') %]</a></li>
224
                    [% ELSE %]
225
                    [% ELSE %]
225
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_dsc[% PROCESS sort_search_query %]">Acquisition date: newest to oldest</a></li>
226
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_dsc[% PROCESS sort_search_query %]">[% t('Acquisition date: newest to oldest') %]</a></li>
226
                    [% END %]
227
                    [% END %]
227
228
228
                    [% IF ( sort_by == "acqdate_asc" ) %]
229
                    [% IF ( sort_by == "acqdate_asc" ) %]
229
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Acquisition date: oldest to newest</a></li>
230
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Acquisition date: oldest to newest') %]</a></li>
230
                    [% ELSE %]
231
                    [% ELSE %]
231
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_asc[% PROCESS sort_search_query %]">Acquisition date: oldest to newest</a></li>
232
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_asc[% PROCESS sort_search_query %]">[% t('Acquisition date: oldest to newest') %]</a></li>
232
                    [% END %]
233
                    [% END %]
233
234
234
                    <li class="dropdown-header">Title</li>
235
                    <li class="dropdown-header">[% t('Title') %]</li>
235
                    [% IF ( sort_by == "title_az" || sort_by == "title_asc" ) %]
236
                    [% IF ( sort_by == "title_az" || sort_by == "title_asc" ) %]
236
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_az[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Title (A-Z)</a></li>
237
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_az[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Title (A-Z)') %]</a></li>
237
                    [% ELSE %]
238
                    [% ELSE %]
238
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_az[% PROCESS sort_search_query %]">Title (A-Z)</a></li>
239
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_az[% PROCESS sort_search_query %]">[% t('Title (A-Z)') %]</a></li>
239
                    [% END %]
240
                    [% END %]
240
241
241
                    [% IF ( sort_by == "title_za" || sort_by == "title_dsc" ) %]
242
                    [% IF ( sort_by == "title_za" || sort_by == "title_dsc" ) %]
242
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_za[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Title (Z-A)</a></li>
243
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_za[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> [% t('Title (Z-A)') %]</a></li>
243
                    [% ELSE %]
244
                    [% ELSE %]
244
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_za[% PROCESS sort_search_query %]">Title (Z-A)</a></li>
245
                        <li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_za[% PROCESS sort_search_query %]">[% t('Title (Z-A)') %]</a></li>
245
                    [% END %]
246
                    [% END %]
246
                </ul>
247
                </ul>
247
            </div>
248
            </div>
Lines 251-315 Link Here
251
    [% ELSE %]
252
    [% ELSE %]
252
        <div id="searchheader">
253
        <div id="searchheader">
253
			<form method="post" name="fz3950" class="fz3950bigrpad">
254
			<form method="post" name="fz3950" class="fz3950bigrpad">
254
                <button class="btn btn-default" type="button" id="z3950submit"><i class="fa fa-search"></i> Z39.50/SRU search</button>
255
                <button class="btn btn-default" type="button" id="z3950submit"><i class="fa fa-search"></i> [% t('Z39.50/SRU search') %]</button>
255
			</form>
256
			</form>
256
            <h3>No results found</h3>
257
            <h3>[% t('No results found') %]</h3>
257
        [% IF ( searchdesc ) %]
258
        [% IF ( searchdesc ) %]
258
            <p>
259
            <p>
259
                No results match your search [% IF ( query_desc ) %]for <span style="font-weight: bold;">'[% query_desc |html %]'</span>[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s): <span style="font-weight: bold;">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName %] Catalog[% END %].
260
                [% t('No results match your search') %] [% IF ( query_desc ) %][% t('for') %] <span style="font-weight: bold;">'[% query_desc |html %]'</span>[% END %][% IF ( limit_desc ) %][% t(' with limit(s):') %] <span style="font-weight: bold;">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] [% t('in') %] [% LibraryName %] [% t('Catalog') %][% END %].
260
            </p>
261
            </p>
261
        [% ELSE %]
262
        [% ELSE %]
262
            <p>You did not specify any search criteria.</p>
263
            <p>[% t('You did not specify any search criteria.') %]</p>
263
        [% END %]
264
        [% END %]
264
		</div>
265
		</div>
265
    [% END %]
266
    [% END %]
266
267
267
    [% IF ( query_error ) %]
268
    [% IF ( query_error ) %]
268
        <div class="dialog alert"><p><strong>Error:</strong> [% query_error %]</p></div>
269
        <div class="dialog alert"><p><strong>[% t('Error:') %]</strong> [% query_error %]</p></div>
269
    [% END %]
270
    [% END %]
270
271
271
    <!-- Search Results Table -->
272
    <!-- Search Results Table -->
272
    [% IF ( total ) %]
273
    [% IF ( total ) %]
273
        [% IF ( scan ) %]
274
        [% IF ( scan ) %]
274
            <h1>Scan index:</h1>
275
            <h1>[% t('Scan index:') %]</h1>
275
            <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
276
            <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
276
            <table>
277
            <table>
277
                <tr>
278
                <tr>
278
                    <td>
279
                    <td>
279
                        [% IF ( scan_search_term_to_use ) %]
280
                        [% IF ( scan_search_term_to_use ) %]
280
                            Scan Index for: <input type="text" name="q" id="scan-index" size="35" value="[% scan_search_term_to_use | html %]" />
281
                            [% t('Scan Index for:') %] <input type="text" name="q" id="scan-index" size="35" value="[% scan_search_term_to_use | html %]" />
281
                        [% ELSE %]
282
                        [% ELSE %]
282
                            Scan Index for: <input type="text" name="q" id="scan-index" size="35" value="" />
283
                            [% t('Scan Index for:') %] <input type="text" name="q" id="scan-index" size="35" value="" />
283
                        [% END %]
284
                        [% END %]
284
                    </td>
285
                    </td>
285
                </tr>
286
                </tr>
286
                <tr>
287
                <tr>
287
                    <td>
288
                    <td>
288
                        <label for="scan-index">Indexed in:</label>
289
                        <label for="scan-index">[% t('Indexed in:') %]</label>
289
                        <select name="idx" id="scan-index">
290
                        <select name="idx" id="scan-index">
290
                            <option value="">Any word</option>
291
                            <option value="">[% t('Any word') %]</option>
291
                            [% IF ( ms_anycommaphr) %]<option selected="selected" value="any,phr">Any phrase</option>
292
                            [% IF ( ms_anycommaphr) %]<option selected="selected" value="any,phr">[% t('Any phrase') %]</option>
292
                            [% ELSE %]<option value="any,phr">Any phrase</option>[% END %]
293
                            [% ELSE %]<option value="any,phr">[% t('Any phrase') %]</option>[% END %]
293
                            [% IF ( ms_ti ) %]<option selected="selected" value="ti">Title</option>
294
                            [% IF ( ms_ti ) %]<option selected="selected" value="ti">[% t('Title') %]</option>
294
                            [% ELSE %]<option value="ti">Title</option>[% END %]
295
                            [% ELSE %]<option value="ti">[% t('Title') %]</option>[% END %]
295
                            [% IF ( ms_ticommaphr ) %]<option selected="selected" value="ti,phr">Title phrase</option>
296
                            [% IF ( ms_ticommaphr ) %]<option selected="selected" value="ti,phr">[% t('Title phrase') %]</option>
296
                            [% ELSE %]<option value="ti,phr">Title phrase</option>[% END %]
297
                            [% ELSE %]<option value="ti,phr">[% t('Title phrase') %]</option>[% END %]
297
                            [% IF ( ms_aucommaphr ) %]<option selected="selected" value="au,phr">Author</option>
298
                            [% IF ( ms_aucommaphr ) %]<option selected="selected" value="au,phr">[% t('Author') %]</option>
298
                            [% ELSE %]<option value="au,phr">Author</option>[% END %]
299
                            [% ELSE %]<option value="au,phr">[% t('Author') %]</option>[% END %]
299
                            [% IF ( ms_su ) %]<option selected="selected" value="su">Subject</option>
300
                            [% IF ( ms_su ) %]<option selected="selected" value="su">[% t('Subject') %]</option>
300
                            [% ELSE %]<option value="su">Subject</option>[% END %]
301
                            [% ELSE %]<option value="su">[% t('Subject') %]</option>[% END %]
301
                            [% IF ( ms_sucommaphr ) %]<option selected="selected" value="su,phr">Subject phrase</option>
302
                            [% IF ( ms_sucommaphr ) %]<option selected="selected" value="su,phr">[% t('Subject phrase') %]</option>
302
                            [% ELSE %]<option value="su,phr">Subject phrase</option>[% END %]
303
                            [% ELSE %]<option value="su,phr">[% t('Subject phrase') %]</option>[% END %]
303
                            [% IF ( ms_se ) %]<option selected="selected" value="se">Series</option>
304
                            [% IF ( ms_se ) %]<option selected="selected" value="se">[% t('Series') %]</option>
304
                            [% ELSE %]<option value="su">Series</option>[% END %]
305
                            [% ELSE %]<option value="su">[% t('Series') %]</option>[% END %]
305
                            [% IF ( ms_pb ) %]<option selected="selected" value="pb">Publisher</option>
306
                            [% IF ( ms_pb ) %]<option selected="selected" value="pb">[% t('Publisher') %]</option>
306
                            [% ELSE %]<option value="pb">Publisher</option>[% END %]
307
                            [% ELSE %]<option value="pb">[% t('Publisher') %]</option>[% END %]
307
                            [% IF ( ms_nt ) %]<option selected="selected" value="nt">Notes</option>
308
                            [% IF ( ms_nt ) %]<option selected="selected" value="nt">[% t('Notes') %]</option>
308
                            [% ELSE %]<option value="nt">Notes</option>[% END %]
309
                            [% ELSE %]<option value="nt">[% t('Notes') %]</option>[% END %]
309
                            [% IF ( ms_sn ) %]<option selected="selected" value="sn">ISBN</option>
310
                            [% IF ( ms_sn ) %]<option selected="selected" value="sn">[% t('ISBN') %]</option>
310
                            [% ELSE %]<option value="sn">ISBN</option>[% END %]
311
                            [% ELSE %]<option value="sn">[% t('ISBN') %]</option>[% END %]
311
                            [% IF ( ms_ss ) %]<option selected="selected" value="ss">ISSN</option>
312
                            [% IF ( ms_ss ) %]<option selected="selected" value="ss">[% t('ISSN') %]</option>
312
                            [% ELSE %]<option value="ss">ISSN</option>[% END %]
313
                            [% ELSE %]<option value="ss">[% t('ISSN') %]</option>[% END %]
313
                        </select>
314
                        </select>
314
                        <input type="hidden" name="scan" value="1" />
315
                        <input type="hidden" name="scan" value="1" />
315
                    </td>
316
                    </td>
Lines 320-332 Link Here
320
            <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
321
            <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
321
            <table>
322
            <table>
322
                <tr>
323
                <tr>
323
                    <th>Term/Phrase</th>
324
                    <th>[% t('Term/Phrase') %]</th>
324
                    <th>Count</th>
325
                    <th>[% t('Count') %]</th>
325
                </tr>
326
                </tr>
326
                [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
327
                [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
327
                    <tr>
328
                    <tr>
328
                        <td>
329
                        <td>
329
                            <a href="/cgi-bin/koha/catalogue/search.pl?idx=[% scan_index_to_use %]&amp;q=[% SEARCH_RESULT.scan_use |url %]&quot;[% SEARCH_RESULT.title %]&quot;">[% SEARCH_RESULT.title |html %]</a>
330
                            <a href="/cgi-bin/koha/catalogue/search.pl?idx=[% scan_index_to_use %]&q=[% SEARCH_RESULT.scan_use |url %]"[% SEARCH_RESULT.title %]"">[% SEARCH_RESULT.title |html %]</a>
330
                        </td>
331
                        </td>
331
                        <td>
332
                        <td>
332
                            [% SEARCH_RESULT.author %]
333
                            [% SEARCH_RESULT.author %]
Lines 344-362 Link Here
344
                <form action="/cgi-bin/koha/catalogue/search.pl" method="get" name="bookbag_form" id="bookbag_form">
345
                <form action="/cgi-bin/koha/catalogue/search.pl" method="get" name="bookbag_form" id="bookbag_form">
345
                [% IF ( searchdesc ) %]
346
                [% IF ( searchdesc ) %]
346
                [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
347
                [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
347
                <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]"/>
348
                <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]" />
348
                [% END %]
349
                [% END %]
349
                [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
350
                [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
350
                <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]"/>
351
                <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]" />
351
                [% END %]
352
                [% END %]
352
                [% END %]
353
                [% END %]
353
354
354
                    <!-- TABLE RESULTS START -->
355
                    <!-- TABLE RESULTS START -->
355
                <table>
356
                <table>
356
                    <tr>
357
                    <tr>
357
                        [% IF ( AmazonCoverImages || LocalCoverImages ) %]<th>&nbsp;</th>[% END %]
358
                        [% IF ( AmazonCoverImages || LocalCoverImages ) %]<th> </th>[% END %]
358
                        <th colspan="2">Results</th>
359
                        <th colspan="2">[% t('Results') %]</th>
359
                        <th>Location</th>
360
                        <th>[% t('Location') %]</th>
360
                    </tr>
361
                    </tr>
361
                        <!-- Actual Search Results -->
362
                        <!-- Actual Search Results -->
362
                        [% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %]
363
                        [% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %]
Lines 403-409 Link Here
403
                                 [% biblionumber = SEARCH_RESULT.biblionumber %]
404
                                 [% biblionumber = SEARCH_RESULT.biblionumber %]
404
405
405
				[% INCLUDE 'biblio-default-view.inc' %]
406
				[% INCLUDE 'biblio-default-view.inc' %]
406
                                            <b>[% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %]</b>
407
                                            <b>[% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %][% t('No title') %][% END %]</b>
407
                                            </a>
408
                                            </a>
408
                                        [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield %][% END %]
409
                                        [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield %][% END %]
409
                                        [% IF ( SEARCH_RESULT.seriestitle ) %][% SEARCH_RESULT.seriestitle %][% END %]
410
                                        [% IF ( SEARCH_RESULT.seriestitle ) %][% SEARCH_RESULT.seriestitle %][% END %]
Lines 411-437 Link Here
411
                                </p>
412
                                </p>
412
                                [% IF ( SEARCH_RESULT.summary ) %]
413
                                [% IF ( SEARCH_RESULT.summary ) %]
413
                                        [% IF ( SEARCH_RESULT.author ) %]
414
                                        [% IF ( SEARCH_RESULT.author ) %]
414
                                            <a href="/cgi-bin/koha/catalogue/search.pl?idx=au&amp;q=[% SEARCH_RESULT.author |url %]" title="Search for this Author">[% SEARCH_RESULT.author %]</a>
415
                                            <a href="/cgi-bin/koha/catalogue/search.pl?idx=au&q=[% SEARCH_RESULT.author |url %]" title="[% t('Search for this Author') %]">[% SEARCH_RESULT.author %]</a>
415
                                        [% ELSE %]
416
                                        [% ELSE %]
416
                                            &nbsp;
417
                                             
417
                                        [% END %]
418
                                        [% END %]
418
                                    <p>[% SEARCH_RESULT.summary %]</p>
419
                                    <p>[% SEARCH_RESULT.summary %]</p>
419
                                [% ELSE %]
420
                                [% ELSE %]
420
                                    <p>
421
                                    <p>
421
                                        [% IF ( SEARCH_RESULT.author ) %]
422
                                        [% IF ( SEARCH_RESULT.author ) %]
422
                                            <a href="/cgi-bin/koha/catalogue/search.pl?idx=au&amp;q=[% SEARCH_RESULT.author |url %]" title="Search for this Author">[% SEARCH_RESULT.author %]</a>
423
                                            <a href="/cgi-bin/koha/catalogue/search.pl?idx=au&q=[% SEARCH_RESULT.author |url %]" title="[% t('Search for this Author') %]">[% SEARCH_RESULT.author %]</a>
423
                                        [% ELSE %]
424
                                        [% ELSE %]
424
                                            &nbsp;
425
                                             
425
                                        [% END %]
426
                                        [% END %]
426
                                        Description:
427
                                        [% t('Description:') %]
427
                                        <span class="results_imprint">[% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place %] [% END %]
428
                                        <span class="results_imprint">[% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place %] [% END %]
428
                                        [% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode %][% END %] [% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear %] [% ELSIF ( SEARCH_RESULT.copyrightdate ) %] [% SEARCH_RESULT.copyrightdate %][% END %]</span>
429
                                        [% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode %][% END %] [% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear %] [% ELSIF ( SEARCH_RESULT.copyrightdate ) %] [% SEARCH_RESULT.copyrightdate %][% END %]</span>
429
										[% IF ( SEARCH_RESULT.edition ) %]<span class="results_edition">Edition: [% SEARCH_RESULT.edition %]</span>[% END %]
430
										[% IF ( SEARCH_RESULT.edition ) %]<span class="results_edition">[% t('Edition:') %] [% SEARCH_RESULT.edition %]</span>[% END %]
430
                                        <span class="results_physicaldesc">[% IF ( SEARCH_RESULT.pages ) %]: [% SEARCH_RESULT.pages %][% END %]
431
                                        <span class="results_physicaldesc">[% IF ( SEARCH_RESULT.pages ) %]: [% SEARCH_RESULT.pages %][% END %]
431
                                        [% IF ( SEARCH_RESULT.size ) %] ; [% SEARCH_RESULT.size %][% END %]</span> [% IF ( SEARCH_RESULT.isbn ) %]<span class="results_isbn">ISBN: [% SEARCH_RESULT.isbn | replace('\s\|', ', ')%]</span>[% END %]
432
                                        [% IF ( SEARCH_RESULT.size ) %] ; [% SEARCH_RESULT.size %][% END %]</span> [% IF ( SEARCH_RESULT.isbn ) %]<span class="results_isbn">[% t('ISBN:') %] [% SEARCH_RESULT.isbn | replace('\s\|', ', ')%]</span>[% END %]
432
                                        <span class="results_itemtype">[% SEARCH_RESULT.description %]</span>
433
                                        <span class="results_itemtype">[% SEARCH_RESULT.description %]</span>
433
                                        [% IF ( SEARCH_RESULT.timestamp ) %] <i>(modified on [% SEARCH_RESULT.timestamp %])</i>[% END %]
434
                                        [% IF ( SEARCH_RESULT.timestamp ) %] <i>[% t('(modified on') %] [% SEARCH_RESULT.timestamp %])</i>[% END %]
434
                                        [% IF ( SEARCH_RESULT.cn_class ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% SEARCH_RESULT.cn_class |uri %]%22">[% SEARCH_RESULT.cn_class %]</a>][% END %]
435
                                        [% IF ( SEARCH_RESULT.cn_class ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% SEARCH_RESULT.cn_class |uri %]%22">[% SEARCH_RESULT.cn_class %]</a>][% END %]
435
                                    </p>
436
                                    </p>
436
                                    [% IF ( SEARCH_RESULT.searchhighlightblob ) %]<p class="searchhighlightblob">[% SEARCH_RESULT.searchhighlightblob %]</p>[% END %]
437
                                    [% IF ( SEARCH_RESULT.searchhighlightblob ) %]<p class="searchhighlightblob">[% SEARCH_RESULT.searchhighlightblob %]</p>[% END %]
437
438
Lines 440-473 Link Here
440
                                  <p class="hold">
441
                                  <p class="hold">
441
442
442
                            [% IF ( SEARCH_RESULT.norequests ) %]
443
                            [% IF ( SEARCH_RESULT.norequests ) %]
443
                                <span class="noholdstext">No holds allowed</span>
444
                                <span class="noholdstext">[% t('No holds allowed') %]</span>
444
                            [% ELSE %]
445
                            [% ELSE %]
445
                                <a id="reserve_[% SEARCH_RESULT.biblionumber %]" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Holds ([% Biblio.HoldsCount( SEARCH_RESULT.biblionumber ) %])</a>
446
                                <a id="reserve_[% SEARCH_RESULT.biblionumber %]" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">[% t('Holds (') %][% Biblio.HoldsCount( SEARCH_RESULT.biblionumber ) %])</a>
446
                                [% IF ( holdfor ) %] <span class="holdforlink">| <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]&amp;findborrower=[% holdfor_cardnumber %]">Place hold for [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></span>[% END %]
447
                                [% IF ( holdfor ) %] <span class="holdforlink">| <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]&findborrower=[% holdfor_cardnumber %]">[% t('Place hold for') %] [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></span>[% END %]
447
                            [% END %]
448
                            [% END %]
448
449
449
                                [% IF Koha.Preference('intranetbookbag') == 1 %]
450
                                [% IF Koha.Preference('intranetbookbag') == 1 %]
450
                                    [% IF ( SEARCH_RESULT.incart ) %]
451
                                    [% IF ( SEARCH_RESULT.incart ) %]
451
                                        | <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber %]" href="#">In your cart</a> <a class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber %]" href="#">(remove)</a>
452
                                        | <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber %]" href="#">[% t('In your cart') %]</a> <a class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber %]" href="#">[% t('(remove)') %]</a>
452
                                    [% ELSE %]
453
                                    [% ELSE %]
453
                                        | <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber %]" href="#">Add to cart</a> <a style="display:none;" class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber %]" href="#">(remove)</a>
454
                                        | <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber %]" href="#">[% t('Add to cart') %]</a> <a style="display:none;" class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber %]" href="#">[% t('(remove)') %]</a>
454
                                    [% END %]
455
                                    [% END %]
455
                                [% END # / IF intranetbookbag %]
456
                                [% END # / IF intranetbookbag %]
456
457
457
                          [% IF Koha.Preference('ArticleRequests') %]
458
                          [% IF Koha.Preference('ArticleRequests') %]
458
                              | <a id="requst_article_[% SEARCH_RESULT.biblionumber %]" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Request article</a>
459
                              | <a id="requst_article_[% SEARCH_RESULT.biblionumber %]" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">[% t('Request article') %]</a>
459
                          [% END %]
460
                          [% END %]
460
461
461
                          [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
462
                          [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
462
                          | <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Edit record</a>
463
                          | <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">[% t('Edit record') %]</a>
463
                          [% END %]
464
                          [% END %]
464
                          [% IF ( CAN_user_editcatalogue_edit_items ) %]
465
                          [% IF ( CAN_user_editcatalogue_edit_items ) %]
465
                          | <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Edit items</a>
466
                          | <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">[% t('Edit items') %]</a>
466
                          [% END %]
467
                          [% END %]
467
468
468
                          [% IF ( OPACBaseURL ) %]
469
                          [% IF ( OPACBaseURL ) %]
469
                              <span class="view-in-opac">
470
                              <span class="view-in-opac">
470
                                | <a href="[% Koha.Preference('OPACBaseURL') %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]" target="_blank">OPAC view</a>
471
                                | <a href="[% Koha.Preference('OPACBaseURL') %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]" target="_blank">[% t('OPAC view') %]</a>
471
                              </span>
472
                              </span>
472
                          [% END %]
473
                          [% END %]
473
474
Lines 478-487 Link Here
478
                                    [% IF ( SEARCH_RESULT.items_count ) %]
479
                                    [% IF ( SEARCH_RESULT.items_count ) %]
479
                                        <strong>
480
                                        <strong>
480
                                            [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
481
                                            [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
481
                                                <span class="blocker inaccurate-item-statuses" title="Item statuses may be inaccurate. Please view the record details for accurate item statuses">
482
                                                <span class="blocker inaccurate-item-statuses" title="[% t('Item statuses may be inaccurate. Please view the record details for accurate item statuses') %]">
482
                                            [% END %]
483
                                            [% END %]
483
484
484
                                            [% tnx('{count} item', '{count} items', SEARCH_RESULT.items_count, {count = SEARCH_RESULT.items_count}) %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount %] available:[% ELSE %], None available[% END %]
485
                                            [% tnx('{count} item', '{count} items', SEARCH_RESULT.items_count, {count = SEARCH_RESULT.items_count}) %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount %] [% t('available:') %][% ELSE %][% t(', None available') %][% END %]
485
486
486
                                            [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
487
                                            [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
487
                                                </span>
488
                                                </span>
Lines 500-509 Link Here
500
                                        [% END %]
501
                                        [% END %]
501
                                        [% IF ( available_items_loo.branchname ) %][% available_items_loo.branchname %][% END %]
502
                                        [% IF ( available_items_loo.branchname ) %][% available_items_loo.branchname %][% END %]
502
                                        [% IF ( available_items_loo.location ) %][% available_items_loo.location %][% END %]
503
                                        [% IF ( available_items_loo.location ) %][% available_items_loo.location %][% END %]
503
                                        [% IF ( available_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% available_items_loo.itemcallnumber |uri %]%22">[% available_items_loo.itemcallnumber %]</a>][% END %]
504
                                        [% IF ( available_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% available_items_loo.itemcallnumber |uri %]%22">[% available_items_loo.itemcallnumber %]</a>][% END %]
504
                                        ([% available_items_loo.count %])
505
                                        ([% available_items_loo.count %])
505
                                        [% IF item_level_itypes && available_items_loo.description %]
506
                                        [% IF item_level_itypes && available_items_loo.description %]
506
                                        <br/>[% available_items_loo.description %]
507
                                        <br />[% available_items_loo.description %]
507
                                        [% END %]
508
                                        [% END %]
508
                                        </li>
509
                                        </li>
509
                                    [% END %]
510
                                    [% END %]
Lines 511-517 Link Here
511
                                    [% END %]
512
                                    [% END %]
512
513
513
                                   [% IF ( SEARCH_RESULT.onloancount ) %]
514
                                   [% IF ( SEARCH_RESULT.onloancount ) %]
514
                                   <span class="status">[% SEARCH_RESULT.onloancount %] on loan:</span>
515
                                   <span class="status">[% SEARCH_RESULT.onloancount %] [% t('on loan:') %]</span>
515
                                    <ul>
516
                                    <ul>
516
                                    [% FOREACH onloan_items_loo IN SEARCH_RESULT.onloan_items_loop %]
517
                                    [% FOREACH onloan_items_loo IN SEARCH_RESULT.onloan_items_loop %]
517
                                        [% IF item_level_itypes && !noItemTypeImages && onloan_items_loo.imageurl %]
518
                                        [% IF item_level_itypes && !noItemTypeImages && onloan_items_loo.imageurl %]
Lines 522-531 Link Here
522
                                        [% END %]
523
                                        [% END %]
523
                                        [% IF ( onloan_items_loo.branchname ) %][% onloan_items_loo.branchname %][% END %]
524
                                        [% IF ( onloan_items_loo.branchname ) %][% onloan_items_loo.branchname %][% END %]
524
                                        [% IF ( onloan_items_loo.location ) %][% onloan_items_loo.location %][% END %]
525
                                        [% IF ( onloan_items_loo.location ) %][% onloan_items_loo.location %][% END %]
525
                                        [% IF ( onloan_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% onloan_items_loo.itemcallnumber |uri %]%22">[% onloan_items_loo.itemcallnumber %]</a>][% END %]
526
                                        [% IF ( onloan_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% onloan_items_loo.itemcallnumber |uri %]%22">[% onloan_items_loo.itemcallnumber %]</a>][% END %]
526
                                        ([% onloan_items_loo.count %][% IF ( onloan_items_loo.longoverdue ) %], [% onloan_items_loo.longoverdue %] long overdue[% END %]) date due: [% onloan_items_loo.due_date | $KohaDates %]
527
                                        ([% onloan_items_loo.count %][% IF ( onloan_items_loo.longoverdue ) %], [% onloan_items_loo.longoverdue %] [% t('long overdue') %][% END %][% t(') date due:') %] [% onloan_items_loo.due_date | $KohaDates %]
527
                                        [% IF item_level_itypes && onloan_items_loo.description %]
528
                                        [% IF item_level_itypes && onloan_items_loo.description %]
528
                                        <br/>[% onloan_items_loo.description %]
529
                                        <br />[% onloan_items_loo.description %]
529
                                        [% END %]
530
                                        [% END %]
530
                                        </li>
531
                                        </li>
531
                                    [% END %]
532
                                    [% END %]
Lines 533-539 Link Here
533
                                    [% END %]
534
                                    [% END %]
534
535
535
                                    [% IF ( SEARCH_RESULT.othercount ) %]
536
                                    [% IF ( SEARCH_RESULT.othercount ) %]
536
                                    <span class="unavailable">[% SEARCH_RESULT.othercount %] unavailable:</span>
537
                                    <span class="unavailable">[% SEARCH_RESULT.othercount %] [% t('unavailable:') %]</span>
537
                                    <ul>
538
                                    <ul>
538
                                    [% FOREACH other_items_loo IN SEARCH_RESULT.other_items_loop %]
539
                                    [% FOREACH other_items_loo IN SEARCH_RESULT.other_items_loop %]
539
                                        [% IF item_level_itypes && !noItemTypeImages && other_items_loo.imageurl %]
540
                                        [% IF item_level_itypes && !noItemTypeImages && other_items_loo.imageurl %]
Lines 544-559 Link Here
544
                                        [% END %]
545
                                        [% END %]
545
                                        [% IF ( other_items_loo.branchname ) %][% other_items_loo.branchname %][% END %]
546
                                        [% IF ( other_items_loo.branchname ) %][% other_items_loo.branchname %][% END %]
546
                                        [% IF ( other_items_loo.location ) %][% other_items_loo.location %][% END %]
547
                                        [% IF ( other_items_loo.location ) %][% other_items_loo.location %][% END %]
547
                                        [% IF ( other_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% other_items_loo.itemcallnumber |uri %]%22">[% other_items_loo.itemcallnumber %]</a>][% END %]
548
                                        [% IF ( other_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% other_items_loo.itemcallnumber |uri %]%22">[% other_items_loo.itemcallnumber %]</a>][% END %]
548
                                        [% IF ( other_items_loo.withdrawn ) %]([% AuthorisedValues.GetByCode( 'WITHDRAWN', other_items_loo.withdrawn ) %])[% END %]
549
                                        [% IF ( other_items_loo.withdrawn ) %]([% AuthorisedValues.GetByCode( 'WITHDRAWN', other_items_loo.withdrawn ) %])[% END %]
549
                                        [% IF ( other_items_loo.itemlost ) %]([% AuthorisedValues.GetByCode( 'LOST', other_items_loo.itemlost ) %])[% END %]
550
                                        [% IF ( other_items_loo.itemlost ) %]([% AuthorisedValues.GetByCode( 'LOST', other_items_loo.itemlost ) %])[% END %]
550
                                        [% IF ( other_items_loo.damaged ) %]([% AuthorisedValues.GetByCode( 'DAMAGED', other_items_loo.damaged ) %])[% END %]
551
                                        [% IF ( other_items_loo.damaged ) %]([% AuthorisedValues.GetByCode( 'DAMAGED', other_items_loo.damaged ) %])[% END %]
551
                                        [% IF ( other_items_loo.intransit ) %](In transit)[% END %]
552
                                        [% IF ( other_items_loo.intransit ) %][% t('(In transit)') %][% END %]
552
                                        [% IF ( other_items_loo.onhold ) %](On hold)[% END %]
553
                                        [% IF ( other_items_loo.onhold ) %][% t('(On hold)') %][% END %]
553
                                        [% IF ( other_items_loo.notforloan ) %][% other_items_loo.notforloan %][% END %]
554
                                        [% IF ( other_items_loo.notforloan ) %][% other_items_loo.notforloan %][% END %]
554
                                        ([% other_items_loo.count %])
555
                                        ([% other_items_loo.count %])
555
                                        [% IF item_level_itypes && other_items_loo.description %]
556
                                        [% IF item_level_itypes && other_items_loo.description %]
556
                                        <br/>[% other_items_loo.description %]
557
                                        <br />[% other_items_loo.description %]
557
                                        [% END %]
558
                                        [% END %]
558
                                        </li>
559
                                        </li>
559
                                    [% END %]
560
                                    [% END %]
Lines 561-574 Link Here
561
                                    [% END %]
562
                                    [% END %]
562
                                    [% ELSE %]
563
                                    [% ELSE %]
563
                                    [% IF ( SEARCH_RESULT.ALTERNATEHOLDINGS.count ) %]
564
                                    [% IF ( SEARCH_RESULT.ALTERNATEHOLDINGS.count ) %]
564
                                    <strong id="altholdings_heading">Other holdings:</strong>
565
                                    <strong id="altholdings_heading">[% t('Other holdings:') %]</strong>
565
                                    <ul>
566
                                    <ul>
566
                                    [% FOREACH ALTERNATEHOLDING IN SEARCH_RESULT.ALTERNATEHOLDINGS %]
567
                                    [% FOREACH ALTERNATEHOLDING IN SEARCH_RESULT.ALTERNATEHOLDINGS %]
567
                                    <li id="alternateholdings">[% ALTERNATEHOLDING.holding %]</li>
568
                                    <li id="alternateholdings">[% ALTERNATEHOLDING.holding %]</li>
568
                                    [% END %]
569
                                    [% END %]
569
                                    </ul>
570
                                    </ul>
570
                                    [% ELSE %]
571
                                    [% ELSE %]
571
                                    <span class="unavailable">No items</span>
572
                                    <span class="unavailable">[% t('No items') %]</span>
572
                                    [% END %]
573
                                    [% END %]
573
                                    [% END %] <!-- /items count -->
574
                                    [% END %] <!-- /items count -->
574
                                    </div></td>
575
                                    </div></td>
Lines 604-616 Link Here
604
    <!-- Value will be set here by placeHold() -->
605
    <!-- Value will be set here by placeHold() -->
605
    <input id="hold_form_biblios" type="hidden" name="biblionumbers" value="" />
606
    <input id="hold_form_biblios" type="hidden" name="biblionumbers" value="" />
606
    <input type="hidden" name="findborrower" id="holdFor" value="" />
607
    <input type="hidden" name="findborrower" id="holdFor" value="" />
607
    <input type="hidden" name="multi_hold" value="1"/>
608
    <input type="hidden" name="multi_hold" value="1" />
608
</form>
609
</form>
609
610
610
<form id="list_form" method="get" action="/cgi-bin/koha/reserve/request.pl">
611
<form id="list_form" method="get" action="/cgi-bin/koha/reserve/request.pl">
611
    <!-- Value will be set here by addToList() -->
612
    <!-- Value will be set here by addToList() -->
612
    <input id="list_form_biblios" type="hidden" name="biblionumbers" value="" />
613
    <input id="list_form_biblios" type="hidden" name="biblionumbers" value="" />
613
    <input type="hidden" name="multi_listadd" value="1"/>
614
    <input type="hidden" name="multi_listadd" value="1" />
614
</form>
615
</form>
615
616
616
</div>
617
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt (-39 / +40 lines)
Lines 1-9 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% USE Koha %]
5
[% USE Koha %]
5
[% USE KohaDates %]
6
[% USE KohaDates %]
6
<title>Koha &rsaquo; Catalog &rsaquo; Search history</title>
7
<title>[% t('Koha › Catalog › Search history') %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
[% Asset.css("css/datatables.css") %]
9
[% Asset.css("css/datatables.css") %]
9
</head>
10
</head>
Lines 14-20 Link Here
14
[% INCLUDE 'cat-search.inc' %]
15
[% INCLUDE 'cat-search.inc' %]
15
16
16
<div id="breadcrumbs">
17
<div id="breadcrumbs">
17
  <a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Search history
18
  <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/catalogue/search.pl">[% t('Catalog') %]</a>  [% t('› Search history') %]
18
</div>
19
</div>
19
20
20
<div id="doc3" class="yui-t2">
21
<div id="doc3" class="yui-t2">
Lines 22-45 Link Here
22
<div id="bd">
23
<div id="bd">
23
  <div id="yui-main">
24
  <div id="yui-main">
24
    <div class="yui-b">
25
    <div class="yui-b">
25
      <h1>Search history</h1>
26
      <h1>[% t('Search history') %]</h1>
26
      <div id="tabs" class="toptabs">
27
      <div id="tabs" class="toptabs">
27
        <ul>
28
        <ul>
28
          <li><a href="#biblio_tab">Catalog</a></li>
29
          <li><a href="#biblio_tab">[% t('Catalog') %]</a></li>
29
          <li><a href="#authority_tab">Authority</a></li>
30
          <li><a href="#authority_tab">[% t('Authority') %]</a></li>
30
        </ul>
31
        </ul>
31
        <div id="biblio_tab">
32
        <div id="biblio_tab">
32
          [% IF ( current_biblio_searches ) %]
33
          [% IF ( current_biblio_searches ) %]
33
            <h2>Current session</h2>
34
            <h2>[% t('Current session') %]</h2>
34
            <form action="/cgi-bin/koha/catalogue/search-history.pl" method="post">
35
            <form action="/cgi-bin/koha/catalogue/search-history.pl" method="post">
35
              <div class="selections-toolbar">
36
              <div class="selections-toolbar">
36
                <a class="CheckAll" href="#"><i class="fa fa-check"></i> Select all visible rows</a>
37
                <a class="CheckAll" href="#"><i class="fa fa-check"></i> [% t('Select all visible rows') %]</a>
37
                <span class="sep">|</span>
38
                <span class="sep">|</span>
38
                <a class="CheckNone" href="#"><i class="fa fa-remove"></i> Clear selection on visible rows</a>
39
                <a class="CheckNone" href="#"><i class="fa fa-remove"></i> [% t('Clear selection on visible rows') %]</a>
39
                <span class="sep">|</span>
40
                <span class="sep">|</span>
40
                <span class="links">
41
                <span class="links">
41
                  <span class="selections">Select searches to: </span>
42
                  <span class="selections">[% t('Select searches to:') %] </span>
42
                  <a href="#" class="action_delete disabled">Delete</a>
43
                  <a href="#" class="action_delete disabled">[% t('Delete') %]</a>
43
                </span>
44
                </span>
44
              </div>
45
              </div>
45
              <input type="hidden" name="action" value="delete" />
46
              <input type="hidden" name="action" value="delete" />
Lines 47-55 Link Here
47
                <thead>
48
                <thead>
48
                  <tr>
49
                  <tr>
49
                    <th></th>
50
                    <th></th>
50
                    <th>Date</th>
51
                    <th>[% t('Date') %]</th>
51
                    <th>Search</th>
52
                    <th>[% t('Search') %]</th>
52
                    <th>Results</th>
53
                    <th>[% t('Results') %]</th>
53
                  </tr>
54
                  </tr>
54
                </thead>
55
                </thead>
55
                <tbody>
56
                <tbody>
Lines 67-82 Link Here
67
          [% END %]
68
          [% END %]
68
69
69
          [% IF ( previous_biblio_searches ) %]
70
          [% IF ( previous_biblio_searches ) %]
70
            <h2>Previous sessions</h2>
71
            <h2>[% t('Previous sessions') %]</h2>
71
            <form action="/cgi-bin/koha/catalogue/search-history.pl" method="post">
72
            <form action="/cgi-bin/koha/catalogue/search-history.pl" method="post">
72
              <div class="selections-toolbar">
73
              <div class="selections-toolbar">
73
                <a class="CheckAll" href="#"><i class="fa fa-check"></i> Select all visible rows</a>
74
                <a class="CheckAll" href="#"><i class="fa fa-check"></i> [% t('Select all visible rows') %]</a>
74
                <span class="sep">|</span>
75
                <span class="sep">|</span>
75
                <a class="CheckNone" href="#"><i class="fa fa-remove"></i> Clear selection on visible rows</a>
76
                <a class="CheckNone" href="#"><i class="fa fa-remove"></i> [% t('Clear selection on visible rows') %]</a>
76
                <span class="sep">|</span>
77
                <span class="sep">|</span>
77
                <span class="links">
78
                <span class="links">
78
                  <span class="selections">Select searches to: </span>
79
                  <span class="selections">[% t('Select searches to:') %] </span>
79
                  <a href="#" class="action_delete disabled">Delete</a>
80
                  <a href="#" class="action_delete disabled">[% t('Delete') %]</a>
80
                </span>
81
                </span>
81
              </div>
82
              </div>
82
              <input type="hidden" name="action" value="delete" />
83
              <input type="hidden" name="action" value="delete" />
Lines 84-92 Link Here
84
                <thead>
85
                <thead>
85
                  <tr>
86
                  <tr>
86
                    <th></th>
87
                    <th></th>
87
                    <th>Date</th>
88
                    <th>[% t('Date') %]</th>
88
                    <th>Search</th>
89
                    <th>[% t('Search') %]</th>
89
                    <th>Results</th>
90
                    <th>[% t('Results') %]</th>
90
                  </tr>
91
                  </tr>
91
                </thead>
92
                </thead>
92
                <tbody>
93
                <tbody>
Lines 104-125 Link Here
104
          [% END %]
105
          [% END %]
105
106
106
          [% IF !current_biblio_searches && !previous_biblio_searches %]
107
          [% IF !current_biblio_searches && !previous_biblio_searches %]
107
            <p>Your catalog search history is empty.</p>
108
            <p>[% t('Your catalog search history is empty.') %]</p>
108
          [% END %]
109
          [% END %]
109
        </div>
110
        </div>
110
111
111
        <div id="authority_tab">
112
        <div id="authority_tab">
112
          [% IF ( current_authority_searches ) %]
113
          [% IF ( current_authority_searches ) %]
113
            <h2>Current session</h2>
114
            <h2>[% t('Current session') %]</h2>
114
            <form action="/cgi-bin/koha/catalogue/search-history.pl" method="post">
115
            <form action="/cgi-bin/koha/catalogue/search-history.pl" method="post">
115
              <div class="selections-toolbar">
116
              <div class="selections-toolbar">
116
                <a class="CheckAll" href="#"><i class="fa fa-check"></i> Select all visible rows</a>
117
                <a class="CheckAll" href="#"><i class="fa fa-check"></i> [% t('Select all visible rows') %]</a>
117
                <span class="sep">|</span>
118
                <span class="sep">|</span>
118
                <a class="CheckNone" href="#"><i class="fa fa-remove"></i> Clear selection on visible rows</a>
119
                <a class="CheckNone" href="#"><i class="fa fa-remove"></i> [% t('Clear selection on visible rows') %]</a>
119
                <span class="sep">|</span>
120
                <span class="sep">|</span>
120
                <span class="links">
121
                <span class="links">
121
                  <span class="selections">Select searches to: </span>
122
                  <span class="selections">[% t('Select searches to:') %] </span>
122
                  <a href="#" class="action_delete disabled">Delete</a>
123
                  <a href="#" class="action_delete disabled">[% t('Delete') %]</a>
123
                </span>
124
                </span>
124
              </div>
125
              </div>
125
              <input type="hidden" name="action" value="delete" />
126
              <input type="hidden" name="action" value="delete" />
Lines 127-135 Link Here
127
                <thead>
128
                <thead>
128
                  <tr>
129
                  <tr>
129
                    <th></th>
130
                    <th></th>
130
                    <th>Date</th>
131
                    <th>[% t('Date') %]</th>
131
                    <th>Search</th>
132
                    <th>[% t('Search') %]</th>
132
                    <th>Results</th>
133
                    <th>[% t('Results') %]</th>
133
                  </tr>
134
                  </tr>
134
                </thead>
135
                </thead>
135
                <tbody>
136
                <tbody>
Lines 147-162 Link Here
147
          [% END %]
148
          [% END %]
148
149
149
          [% IF ( previous_authority_searches ) %]
150
          [% IF ( previous_authority_searches ) %]
150
            <h2>Previous sessions</h2>
151
            <h2>[% t('Previous sessions') %]</h2>
151
            <form action="/cgi-bin/koha/catalogue/search-history.pl" method="post">
152
            <form action="/cgi-bin/koha/catalogue/search-history.pl" method="post">
152
              <div class="selections-toolbar">
153
              <div class="selections-toolbar">
153
                <a class="CheckAll" href="#"><i class="fa fa-check"></i> Select all visible rows</a>
154
                <a class="CheckAll" href="#"><i class="fa fa-check"></i> [% t('Select all visible rows') %]</a>
154
                <span class="sep">|</span>
155
                <span class="sep">|</span>
155
                <a class="CheckNone" href="#"><i class="fa fa-remove"></i> Clear selection on visible rows</a>
156
                <a class="CheckNone" href="#"><i class="fa fa-remove"></i> [% t('Clear selection on visible rows') %]</a>
156
                <span class="sep">|</span>
157
                <span class="sep">|</span>
157
                <span class="links">
158
                <span class="links">
158
                  <span class="selections">Select searches to: </span>
159
                  <span class="selections">[% t('Select searches to:') %] </span>
159
                  <a href="#" class="action_delete disabled">Delete</a>
160
                  <a href="#" class="action_delete disabled">[% t('Delete') %]</a>
160
                </span>
161
                </span>
161
              </div>
162
              </div>
162
              <input type="hidden" name="action" value="delete" />
163
              <input type="hidden" name="action" value="delete" />
Lines 164-172 Link Here
164
                <thead>
165
                <thead>
165
                  <tr>
166
                  <tr>
166
                    <th></th>
167
                    <th></th>
167
                    <th>Date</th>
168
                    <th>[% t('Date') %]</th>
168
                    <th>Search</th>
169
                    <th>[% t('Search') %]</th>
169
                    <th>Results</th>
170
                    <th>[% t('Results') %]</th>
170
                  </tr>
171
                  </tr>
171
                </thead>
172
                </thead>
172
                <tbody>
173
                <tbody>
Lines 184-190 Link Here
184
          [% END %]
185
          [% END %]
185
186
186
          [% IF !current_authority_searches && !previous_authority_searches %]
187
          [% IF !current_authority_searches && !previous_authority_searches %]
187
            <p>Your authority search history is empty.</p>
188
            <p>[% t('Your authority search history is empty.') %]</p>
188
          [% END %]
189
          [% END %]
189
        </div>
190
        </div>
190
      </div>
191
      </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showmarc.tt (-2 / +2 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Cataloging &rsaquo; MARC import</title>
3
<title>[% t('Koha › Cataloging › MARC import') %]</title>
3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
</head>
5
</head>
5
<body id="catalog_showmarc" class="catalog">
6
<body id="catalog_showmarc" class="catalog">
6
- 

Return to bug 20988