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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc (-38 / +37 lines)
Lines 4-170 Link Here
4
[% ELSE %]
4
[% ELSE %]
5
    <select class="advsearch" name="idx" id="idx">
5
    <select class="advsearch" name="idx" id="idx">
6
[% END %]
6
[% END %]
7
[% IF ms_kw %]
7
    [% IF ms_kw %]
8
        <option selected="selected" value="kw">Keyword</option>
8
        <option selected="selected" value="kw">Keyword</option>
9
    [% ELSE %]
9
    [% ELSE %]
10
        <option value="kw">Keyword</option>
10
        <option value="kw">Keyword</option>
11
    [% END %]
11
    [% END %]
12
[% IF ms_kwcommaphr %]
12
    [% IF ms_kwcommaphr %]
13
        <option selected="selected" value="kw,phr">&nbsp;&nbsp;&nbsp;&nbsp; Keyword as phrase</option>
13
        <option selected="selected" value="kw,phr">&nbsp;&nbsp;&nbsp;&nbsp; Keyword as phrase</option>
14
    [% ELSE %]
14
    [% ELSE %]
15
        <option value="kw,phr">&nbsp;&nbsp;&nbsp;&nbsp; Keyword as phrase</option>
15
        <option value="kw,phr">&nbsp;&nbsp;&nbsp;&nbsp; Keyword as phrase</option>
16
    [% END %]
16
    [% END %]
17
[% IF ms_au %]
17
    [% IF ms_au %]
18
        <option selected="selected" value="au">Author</option>
18
        <option selected="selected" value="au">Author</option>
19
    [% ELSE %]
19
    [% ELSE %]
20
        <option value="au">Author</option>
20
        <option value="au">Author</option>
21
    [% END %]
21
    [% END %]
22
[% IF ms_aucommaphr %]
22
    [% IF ms_aucommaphr %]
23
        <option selected="selected" value="au,phr">&nbsp;&nbsp;&nbsp;&nbsp; Author as phrase</option>
23
        <option selected="selected" value="au,phr">&nbsp;&nbsp;&nbsp;&nbsp; Author as phrase</option>
24
    [% ELSE %]
24
    [% ELSE %]
25
        <option value="au,phr">&nbsp;&nbsp;&nbsp;&nbsp; Author as phrase</option>
25
        <option value="au,phr">&nbsp;&nbsp;&nbsp;&nbsp; Author as phrase</option>
26
    [% END %]
26
    [% END %]
27
[% IF ms_cpn %]
27
    [% IF ms_cpn %]
28
        <option selected="selected" value="cpn">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name</option>
28
        <option selected="selected" value="cpn">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name</option>
29
    [% ELSE %]
29
    [% ELSE %]
30
        <option value="cpn">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name</option>
30
        <option value="cpn">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name</option>
31
    [% END %]
31
    [% END %]
32
[% IF ms_cfn %]
32
    [% IF ms_cfn %]
33
        <option selected="selected" value="cfn">&nbsp;&nbsp;&nbsp;&nbsp; Conference name</option>
33
        <option selected="selected" value="cfn">&nbsp;&nbsp;&nbsp;&nbsp; Conference name</option>
34
    [% ELSE %]
34
    [% ELSE %]
35
        <option value="cfn">&nbsp;&nbsp;&nbsp;&nbsp; Conference name</option>
35
        <option value="cfn">&nbsp;&nbsp;&nbsp;&nbsp; Conference name</option>
36
    [% END %]
36
    [% END %]
37
[% IF ms_cpncommaphr %]
37
    [% IF ms_cpncommaphr %]
38
        <option selected="selected" value="cpn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name as phrase</option>
38
        <option selected="selected" value="cpn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name as phrase</option>
39
    [% ELSE %]
39
    [% ELSE %]
40
        <option value="cpn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name as phrase</option>
40
        <option value="cpn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name as phrase</option>
41
    [% END %]
41
    [% END %]
42
[% IF ms_cfncommaphr %]
42
    [% IF ms_cfncommaphr %]
43
        <option selected="selected" value="cfn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Conference name as phrase</option>
43
        <option selected="selected" value="cfn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Conference name as phrase</option>
44
    [% ELSE %]
44
    [% ELSE %]
45
        <option value="cfn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Conference name as phrase</option>
45
        <option value="cfn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Conference name as phrase</option>
46
    [% END %]
46
    [% END %]
47
[% IF ms_pn %]
47
    [% IF ms_pn %]
48
        <option selected="selected" value="pn">&nbsp;&nbsp;&nbsp;&nbsp; Personal name</option>
48
        <option selected="selected" value="pn">&nbsp;&nbsp;&nbsp;&nbsp; Personal name</option>
49
    [% ELSE %]
49
    [% ELSE %]
50
        <option value="pn">&nbsp;&nbsp;&nbsp;&nbsp; Personal name</option>
50
        <option value="pn">&nbsp;&nbsp;&nbsp;&nbsp; Personal name</option>
51
    [% END %]
51
    [% END %]
52
[% IF ms_pncommaphr %]
52
    [% IF ms_pncommaphr %]
53
        <option selected="selected" value="pn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Personal name as phrase</option>
53
        <option selected="selected" value="pn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Personal name as phrase</option>
54
    [% ELSE %]
54
    [% ELSE %]
55
        <option value="pn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Personal name as phrase</option>
55
        <option value="pn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Personal name as phrase</option>
56
    [% END %]
56
    [% END %]
57
[% IF ms_ti %]
57
    [% IF ms_ti %]
58
        <option selected="selected" value="ti">Title</option>
58
        <option selected="selected" value="ti">Title</option>
59
    [% ELSE %]
59
    [% ELSE %]
60
        <option value="ti">Title</option>
60
        <option value="ti">Title</option>
61
    [% END %]
61
    [% END %]
62
[% IF ms_ticommaphr %]
62
    [% IF ms_ticommaphr %]
63
        <option selected="selected" value="ti,phr">&nbsp;&nbsp;&nbsp;&nbsp; Title as phrase</option>
63
        <option selected="selected" value="ti,phr">&nbsp;&nbsp;&nbsp;&nbsp; Title as phrase</option>
64
    [% ELSE %]
64
    [% ELSE %]
65
        <option value="ti,phr">&nbsp;&nbsp;&nbsp;&nbsp; Title as phrase</option>
65
        <option value="ti,phr">&nbsp;&nbsp;&nbsp;&nbsp; Title as phrase</option>
66
    [% END %]
66
    [% END %]
67
[% IF ms_se %]
67
    [% IF ms_se %]
68
        <option selected="seleced" value="se">&nbsp;&nbsp;&nbsp;&nbsp; Series title</option>
68
        <option selected="seleced" value="se">&nbsp;&nbsp;&nbsp;&nbsp; Series title</option>
69
    [% ELSE %]
69
    [% ELSE %]
70
        <option value="se">&nbsp;&nbsp;&nbsp;&nbsp; Series title</option>
70
        <option value="se">&nbsp;&nbsp;&nbsp;&nbsp; Series title</option>
71
    [% END %]
71
    [% END %]
72
[% IF ms_su %]
72
    [% IF ms_su %]
73
        <option selected="selected" value="su">Subject</option>
73
        <option selected="selected" value="su">Subject</option>
74
    [% ELSE %]
74
    [% ELSE %]
75
        <option value="su">Subject</option>
75
        <option value="su">Subject</option>
76
    [% END %]
76
    [% END %]
77
[% IF ms_sucommaphr %]
77
    [% IF ms_sucommaphr %]
78
        <option selected="selected" value="su,phr">&nbsp;&nbsp;&nbsp;&nbsp; Subject as phrase</option>
78
        <option selected="selected" value="su,phr">&nbsp;&nbsp;&nbsp;&nbsp; Subject as phrase</option>
79
    [% ELSE %]
79
    [% ELSE %]
80
        <option value="su,phr">&nbsp;&nbsp;&nbsp;&nbsp; Subject as phrase</option>
80
        <option value="su,phr">&nbsp;&nbsp;&nbsp;&nbsp; Subject as phrase</option>
81
    [% END %]
81
    [% END %]
82
[% IF ( expanded_options ) %]
82
    [% IF ( expanded_options ) %]
83
[% IF ms_sudashbr %]
83
        [% IF ms_sudashbr %]
84
            <option selected="selected" value="su-br">&nbsp;&nbsp;&nbsp;&nbsp; Subject and broader terms</option>
84
            <option selected="selected" value="su-br">&nbsp;&nbsp;&nbsp;&nbsp; Subject and broader terms</option>
85
        [% ELSE %]
85
        [% ELSE %]
86
            <option value="su-br">&nbsp;&nbsp;&nbsp;&nbsp; Subject and broader terms</option>
86
            <option value="su-br">&nbsp;&nbsp;&nbsp;&nbsp; Subject and broader terms</option>
87
        [% END %]
87
        [% END %]
88
[% IF ms_sudashna %]
88
        [% IF ms_sudashna %]
89
            <option selected="selected" value="su-na">&nbsp;&nbsp;&nbsp;&nbsp; Subject and narrower terms</option>
89
            <option selected="selected" value="su-na">&nbsp;&nbsp;&nbsp;&nbsp; Subject and narrower terms</option>
90
        [% ELSE %]
90
        [% ELSE %]
91
            <option value="su-na">&nbsp;&nbsp;&nbsp;&nbsp; Subject and narrower terms</option>
91
            <option value="su-na">&nbsp;&nbsp;&nbsp;&nbsp; Subject and narrower terms</option>
92
        [% END %]
92
        [% END %]
93
[% IF ms_sudashrl %]
93
        [% IF ms_sudashrl %]
94
            <option selected="selected" value="su-rl">&nbsp;&nbsp;&nbsp;&nbsp; Subject and related terms</option>
94
            <option selected="selected" value="su-rl">&nbsp;&nbsp;&nbsp;&nbsp; Subject and related terms</option>
95
        [% ELSE %]
95
        [% ELSE %]
96
            <option value="su-rl">&nbsp;&nbsp;&nbsp;&nbsp; Subject and related terms</option>
96
            <option value="su-rl">&nbsp;&nbsp;&nbsp;&nbsp; Subject and related terms</option>
97
        [% END %]
97
        [% END %]
98
    [% END %]
98
    [% END %]
99
[% IF ms_bc %]
99
    [% IF ms_bc %]
100
        <option selected="selected" value="bc">Barcode</option>
100
        <option selected="selected" value="bc">Barcode</option>
101
    [% ELSE %]
101
    [% ELSE %]
102
        <option value="bc">Barcode</option>
102
        <option value="bc">Barcode</option>
103
    [% END %]
103
    [% END %]
104
[% IF ms_locationcommawrdl %]
104
    [% IF ms_locationcommawrdl %]
105
        <option selected="selected" value="location,wrdl" title="Enter location code value for search">Shelving location (code)</option>
105
        <option selected="selected" value="location,wrdl" title="Enter location code value for search">Shelving location (code)</option>
106
    [% ELSE %]
106
    [% ELSE %]
107
        <option value="location,wrdl" title="Enter location code value for search">Shelving location (code)</option>
107
        <option value="location,wrdl" title="Enter location code value for search">Shelving location (code)</option>
108
    [% END %]
108
    [% END %]
109
[% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %]
109
    [% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %]
110
[% IF ms_identcommaphr %]
110
        [% IF ms_identcommaphr %]
111
            <option selected="selected" value="ident,phr">Standard number</option>
111
            <option selected="selected" value="ident,phr">Standard number</option>
112
        [% ELSE %]
112
        [% ELSE %]
113
            <option value="ident,phr">Standard number</option>
113
            <option value="ident,phr">Standard number</option>
114
        [% END %]
114
        [% END %]
115
    [% ELSE %]
115
    [% ELSE %]
116
[% IF ms_ident %]
116
        [% IF ms_ident %]
117
            <option selected="selected" value="ident">Standard number</option>
117
            <option selected="selected" value="ident">Standard number</option>
118
        [% ELSE %]
118
        [% ELSE %]
119
            <option value="ident">Standard number</option>
119
            <option value="ident">Standard number</option>
120
        [% END %]
120
        [% END %]
121
    [% END %]
121
    [% END %]
122
[% IF ms_nb %]
122
    [% IF ms_nb %]
123
        <option selected="selected" value="nb">&nbsp;&nbsp;&nbsp;&nbsp; ISBN</option>
123
        <option selected="selected" value="nb">&nbsp;&nbsp;&nbsp;&nbsp; ISBN</option>
124
    [% ELSE %]
124
    [% ELSE %]
125
        <option value="nb">&nbsp;&nbsp;&nbsp;&nbsp; ISBN</option>
125
        <option value="nb">&nbsp;&nbsp;&nbsp;&nbsp; ISBN</option>
126
    [% END %]
126
    [% END %]
127
[% IF ms_ns %]
127
    [% IF ms_ns %]
128
        <option selected="selected" value="ns">&nbsp;&nbsp;&nbsp;&nbsp; ISSN</option>
128
        <option selected="selected" value="ns">&nbsp;&nbsp;&nbsp;&nbsp; ISSN</option>
129
    [% ELSE %]
129
    [% ELSE %]
130
        <option value="ns">&nbsp;&nbsp;&nbsp;&nbsp; ISSN</option>
130
        <option value="ns">&nbsp;&nbsp;&nbsp;&nbsp; ISSN</option>
131
    [% END %]
131
    [% END %]
132
[% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %]
132
    [% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %]
133
[% IF ms_callnumcommaphr %]
133
        [% IF ms_callnumcommaphr %]
134
            <option selected="selected" value="callnum,phr">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
134
            <option selected="selected" value="callnum,phr">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
135
        [% ELSE %]
135
        [% ELSE %]
136
            <option value="callnum,phr">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
136
            <option value="callnum,phr">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
137
        [% END %]
137
        [% END %]
138
    [% ELSE %]
138
    [% ELSE %]
139
[% IF ms_callnum %]
139
        [% IF ms_callnum %]
140
            <option selected="selected" value="callnum">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
140
            <option selected="selected" value="callnum">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
141
        [% ELSE %]
141
        [% ELSE %]
142
            <option value="callnum">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
142
            <option value="callnum">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
143
        [% END %]
143
        [% END %]
144
    [% END %]
144
    [% END %]
145
[% IF ms_lncommartrn %]
145
    [% IF ms_lncommartrn %]
146
        <option selected="selected" value="ln,rtrn">Language</option>
146
        <option selected="selected" value="ln,rtrn">Language</option>
147
    [% ELSE %]
147
    [% ELSE %]
148
        <option value="ln,rtrn">Language</option>
148
        <option value="ln,rtrn">Language</option>
149
    [% END %]
149
    [% END %]
150
[% IF ms_nt %]
150
    [% IF ms_nt %]
151
        <option selected="selected" value="nt">Notes/Comments</option>
151
        <option selected="selected" value="nt">Notes/Comments</option>
152
    [% ELSE %]
152
    [% ELSE %]
153
        <option value="nt">Notes/Comments</option>
153
        <option value="nt">Notes/Comments</option>
154
    [% END %]
154
    [% END %]
155
[% IF (marcflavour != 'UNIMARC' ) %]
155
    [% IF (marcflavour != 'UNIMARC' ) %]
156
[% IF ms_curriculum %]
156
        [% IF ms_curriculum %]
157
            <option selected="selected" value="curriculum">Curriculum</option>
157
            <option selected="selected" value="curriculum">Curriculum</option>
158
        [% ELSE %]
158
        [% ELSE %]
159
            <option value="curriculum">Curriculum</option>
159
            <option value="curriculum">Curriculum</option>
160
        [% END %]
160
        [% END %]
161
    [% END %]
161
    [% END %]
162
[% IF ms_pb %]
162
    [% IF ms_pb %]
163
        <option selected="selected" value="pb">Publisher</option>
163
        <option selected="selected" value="pb">Publisher</option>
164
    [% ELSE %]
164
    [% ELSE %]
165
        <option value="pb">Publisher</option>
165
        <option value="pb">Publisher</option>
166
    [% END %]
166
    [% END %]
167
[% IF ms_pl %]
167
    [% IF ms_pl %]
168
        <option selected="selected" value="pl">Publisher location</option>
168
        <option selected="selected" value="pl">Publisher location</option>
169
    [% ELSE %]
169
    [% ELSE %]
170
        <option value="pl">Publisher location</option>
170
        <option value="pl">Publisher location</option>
Lines 176-187 Link Here
176
    [%# http://www.loc.gov/marc/bibliographic/bd008a.html %]
176
    [%# http://www.loc.gov/marc/bibliographic/bd008a.html %]
177
    [%# This search is also for date ranges due to the %]
177
    [%# This search is also for date ranges due to the %]
178
    [%# special Zebra r=r CCL mapping for 'yr' %]
178
    [%# special Zebra r=r CCL mapping for 'yr' %]
179
[% IF ms_yrcommastdashyear %]
179
    [% IF ms_yrcommastdashyear %]
180
        <option selected="selected" value="yr,st-year">Publication date (yyyy-yyyy)</option>
180
        <option selected="selected" value="yr,st-year">Publication date (yyyy-yyyy)</option>
181
    [% ELSE %]
181
    [% ELSE %]
182
        <option value="yr,st-year">Publication date (yyyy-yyyy)</option>
182
        <option value="yr,st-year">Publication date (yyyy-yyyy)</option>
183
    [% END %]
183
    [% END %]
184
[% IF ms_acqdatecommastdashdatedashnormalized %]
184
    [% IF ms_acqdatecommastdashdatedashnormalized %]
185
        <option selected="selected" value="acqdate,st-date-normalized">Acquisition date (yyyy-mm-dd)</option>
185
        <option selected="selected" value="acqdate,st-date-normalized">Acquisition date (yyyy-mm-dd)</option>
186
    [% ELSE %]
186
    [% ELSE %]
187
        <option value="acqdate,st-date-normalized">Acquisition date (yyyy-mm-dd)</option>
187
        <option value="acqdate,st-date-normalized">Acquisition date (yyyy-mm-dd)</option>
188
- 

Return to bug 34493