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

(-)a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css (-1 / +32 lines)
Lines 1988-1991 fieldset.rows+h3 {clear:both;padding-top:.5em;} Link Here
1988
.importing .importing_msg {
1988
.importing .importing_msg {
1989
    padding-left: 10px;
1989
    padding-left: 10px;
1990
    padding-bottom: 10px;
1990
    padding-bottom: 10px;
1991
}
1991
}
1992
1993
#advanced-search fieldset {
1994
	border : 1px solid #EEE;
1995
	-moz-border-radius : 3px;
1996
	border-radius : 3px;
1997
}
1998
1999
#advanced-search fieldset.action {
2000
	border : 0;
2001
}
2002
2003
#advanced-search fieldset fieldset {
2004
	border : 1px solid #EEE;
2005
	margin : 0;
2006
	padding : .3em .5em;
2007
	-moz-border-radius : 0;
2008
	border-radius : 0;
2009
}
2010
#advanced-search fieldset fieldset+fieldset {
2011
	border-top : 0;
2012
}
2013
#advanced-search table {
2014
	border-spacing : 5px;
2015
	border-collapse : separate;
2016
	border-width : 0;
2017
}
2018
#advanced-search td {
2019
	border : 1px solid #EEE;
2020
	padding : 0.3em 0.4em;
2021
}
2022
</style>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt (-97 / +36 lines)
Lines 43-50 Link Here
43
43
44
[% IF ( outer_servers_loop ) %]
44
[% IF ( outer_servers_loop ) %]
45
<!-- REMOTE DATABASES -->
45
<!-- REMOTE DATABASES -->
46
<fieldset>
46
<fieldset id="databases">
47
    <legend>Select remote databases:</legend>
47
    <legend>Select remote databases</legend>
48
                [% FOREACH outer_servers_loo IN outer_servers_loop %]
48
                [% FOREACH outer_servers_loo IN outer_servers_loop %]
49
                [% 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 %]
49
                [% 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 %]
50
<label for="[% outer_servers_loo.id %]"><img alt="[% outer_servers_loo.id %]" src="[% themelang %]/images/[% outer_servers_loo.icon %]" />[% outer_servers_loo.label %]</label>
50
<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 54-61 Link Here
54
[% END %]
54
[% END %]
55
55
56
<!-- BOOLEAN SEARCH OPTIONS -->
56
<!-- BOOLEAN SEARCH OPTIONS -->
57
    <fieldset>
57
    <fieldset id="searchterms">
58
    <legend>Search For: </legend>
58
    <legend>Search For </legend>
59
    [% FOREACH search_box IN search_boxes_loop %]
59
    [% FOREACH search_box IN search_boxes_loop %]
60
        [% IF ( search_boxes_label ) %]<div style="text-indent: 4.5em;">[% ELSE %]<div>[% END %]
60
        [% IF ( search_boxes_label ) %]<div style="text-indent: 4.5em;">[% ELSE %]<div>[% END %]
61
			[% IF ( expanded_options ) %]
61
			[% IF ( expanded_options ) %]
Lines 74-80 Link Here
74
                    <a href="JavaScript:add_field();" id="ButtonPlus" title="Add another field">[+]</a>
74
                    <a href="JavaScript:add_field();" id="ButtonPlus" title="Add another field">[+]</a>
75
				[% END %]
75
				[% END %]
76
              [% IF ( search_box.scan_index ) %]
76
              [% IF ( search_box.scan_index ) %]
77
                <label for="scan">Scan Indexes</label><input type="checkbox" name="scan" id="scan" value="1" />
77
                <label for="scan">Scan Indexes</label> <input type="checkbox" name="scan" id="scan" value="1" />
78
              [% END %]
78
              [% END %]
79
            [% END %]
79
            [% END %]
80
		</div>
80
		</div>
Lines 83-102 Link Here
83
<!-- /BOOLEAN SEARCH OPTIONS -->
83
<!-- /BOOLEAN SEARCH OPTIONS -->
84
84
85
<!-- SEARCH BUTTONS -->
85
<!-- SEARCH BUTTONS -->
86
            <p><input class="submit" type="submit" accesskey="s" value="Search" />
86
            <fieldset class="action" id="submit1"><input class="submit" type="submit" accesskey="s" value="Search" />
87
            [% IF ( expanded_options ) %]
87
            [% IF ( expanded_options ) %]
88
            <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0">[Fewer Options]</a>
88
            <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0">[Fewer Options]</a>
89
            [% ELSE %]
89
            [% ELSE %]
90
            <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1">[More options]</a>
90
            <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1">[More options]</a>
91
            [% END %]
91
            [% END %]
92
            <a href="/cgi-bin/koha/catalogue/search.pl?do=Clear">[New search]</a>
92
            <a href="/cgi-bin/koha/catalogue/search.pl?do=Clear">[New search]</a>
93
            </p>
93
            </fieldset>
94
<!-- /SEARCH BUTTONS -->
94
<!-- /SEARCH BUTTONS -->
95
95
96
    <div id="itemtypelist">
97
<!-- ITEMTYPE LIMITS -->
96
<!-- ITEMTYPE LIMITS -->
98
	<fieldset>
97
	<fieldset id="itemtypelist">
99
     <legend>Limit to any of the following:</legend>
98
     <legend>Limit to any of the following</legend>
100
    <table>
99
    <table>
101
        <tr>
100
        <tr>
102
      [% FOREACH itemtypeloo IN itemtypeloop %]
101
      [% FOREACH itemtypeloo IN itemtypeloop %]
Lines 113-135 Link Here
113
    </table>
112
    </table>
114
	</fieldset>
113
	</fieldset>
115
<!-- /ITEMTYPE LIMITS -->
114
<!-- /ITEMTYPE LIMITS -->
116
    </div>
117
115
118
[% IF ( expanded_options ) %]
116
[% IF ( expanded_options ) %]
119
<div id="basiclimits" class="container">
120
<!-- BASIC LIMITS -->
117
<!-- BASIC LIMITS -->
121
 <fieldset>
118
 <fieldset id="basiclimits">
122
	<legend>Limits:</legend>
119
	<legend>Limits</legend>
123
<div id="pubrange" class="container">
120
<fieldset id="pubrange">
124
<!-- PUB / COPY YEAR LIMIT --><!-- FIXME: add publication,copyright,acquisition options -->
121
<!-- PUB / COPY YEAR LIMIT --><!-- FIXME: add publication,copyright,acquisition options -->
125
	<p><label for="limit-yr">Year: </label>
122
	<p><label for="limit-yr">Year: </label>
126
		<input type="text" size="15" name="limit-yr" id="" value=""/>&nbsp;&nbsp;(format: yyyy-yyyy)</p>
123
		<input type="text" size="15" name="limit-yr" id="limit-yr" value=""/>&nbsp;&nbsp;(format: yyyy-yyyy)</p>
127
<!-- /PUB / COPY YEAR LIMIT -->
124
<!-- /PUB / COPY YEAR LIMIT -->
128
</div>
125
</fieldset>
129
<div id="language" class="container">
126
<fieldset id="language">
130
<!-- LANGUAGE LIMIT -->
127
<!-- LANGUAGE LIMIT -->
131
		<p><label for="language-limit">Language: </label>                                        
128
		<p><label for="language-limit">Language: </label>                                        
132
		<select name="limit">
129
		<select name="limit" id="language-limit">
133
		<option value="">No Limit</option>
130
		<option value="">No Limit</option>
134
		[% FOREACH search_languages_loo IN search_languages_loop %]
131
		[% FOREACH search_languages_loo IN search_languages_loop %]
135
		[% IF ( search_languages_loo.selected ) %]
132
		[% IF ( search_languages_loo.selected ) %]
Lines 141-160 Link Here
141
		[% END %]
138
		[% END %]
142
		</select></p><!-- <a href="">Show all languages</a>-->
139
		</select></p><!-- <a href="">Show all languages</a>-->
143
<!-- /LANGUAGE LIMIT -->
140
<!-- /LANGUAGE LIMIT -->
144
</div>
141
</fieldset>
145
</fieldset>
142
</fieldset>
146
<!-- /BASIC LIMITS -->
143
<!-- /BASIC LIMITS -->
147
</div>
148
[% END %]
144
[% END %]
149
145
150
146
151
[% IF ( UNIMARC ) %]
147
[% IF ( UNIMARC ) %]
152
[% INCLUDE 'subtypes_unimarc.inc' %]
148
[% INCLUDE 'subtypes_unimarc.inc' %]
153
[% ELSE %]
149
[% ELSE %]
154
<div id="subtype" class="container">
155
<!-- SUBTYPE LIMITS -->
150
<!-- SUBTYPE LIMITS -->
156
        <fieldset>
151
        <fieldset id="subtype">
157
        <legend>Subtype limits:</legend><p>
152
        <legend>Subtype limits</legend><p>
158
        
153
        
159
        <select name="limit" class="subtype">
154
        <select name="limit" class="subtype">
160
            <option value="" selected="selected" class="menuheader">Any audience</option>
155
            <option value="" selected="selected" class="menuheader">Any audience</option>
Lines 220-285 Link Here
220
       </p>
215
       </p>
221
216
222
</fieldset>
217
</fieldset>
223
</div>
224
[% END %]
218
[% END %]
225
219
226
[% IF ( template_defined_limits ) %]
220
<!-- AVAILABILITY LIMITS -->
227
<div id="advsearch-itemtype" class="container">
221
    <fieldset id="availability"><legend>Location and availability</legend>
228
<!-- TYPE LIMITS -->
222
<fieldset id="currently-avail">
229
    <fieldset>
223
        <p><label for="available-items">Only items currently available</label> <input type="checkbox" id="available-items" name="limit" value="available" /></p>
230
231
    <legend>Limit to any of the following</legend>
232
    <table class="itemtypes">
233
            <tr>
234
            <td><input type="checkbox" id="mc-bks" name="limit" value="mc:t" />
235
			<label for="mc-bks" title="Books, Pamphlets, Technical reports, Manuscripts, Legal papers, Theses and dissertations">
236
			<img border="0" src="/intranet-tmpl/prog/img/AF.gif" alt="Books" />Books</label></td>
237
			<td><input type="checkbox" id="mc-vis" name="limit" value="mc:v" />
238
			<label for="mc-vis" title="Motion pictures, Videorecordings, Filmstrips, Slides, Transparencies, Photos, Cards, Charts, Drawings">
239
			<img border="0" src="/intranet-tmpl/prog/en/images/AV Aids.gif" alt="Visual Materials" />Visual Materials</label></td>
240
            <td><input type="checkbox" id="mc-sr" name="limit" value="mc-rtype:i" />
241
			<label for="mc-sr" title="Spoken, Books on CD and Cassette">
242
			<img border="0" src="/intranet-tmpl/prog/en/images/AF.gif" alt="Books on Tape" />Books on Tape</label></td>
243
            </tr>
244
245
            <tr>
246
            <td><input type="checkbox" id="mc-cf" name="limit" value="mc:c" />
247
			<label for="mc-cf" title="Computer files, Data, Software">
248
			<img border="0" src="/intranet-tmpl/prog/en/images/CD-ROM software.gif" alt="Computer Files" />Computer Files</label></td>
249
            <td><input type="checkbox" id="mc-lh" name="limit" value="mc-collection:LH" />
250
			<label for="mc-lh" title="Local History Materials">
251
			<img border="0" src="/intranet-tmpl/prog/en/images/Local history.gif" alt="Local History Materials" />Local History Materials</label></td>
252
            <td><input type="checkbox" id="mc-map" name="limit" value="mc:a" />
253
			<label for="mc-map" title="Maps, Globes">
254
			<img border="0" src="/intranet-tmpl/prog/en/images/PF.gif " alt="Maps" />Maps</label></td>
255
            </tr>
256
257
            <tr>
258
            <td><input type="checkbox" id="mc-mus" name="limit" value="mc-rtype:j" />
259
			<label for="mc-mus" title="Music">
260
			<img border="0" src="/intranet-tmpl/prog/en/images/CDM.gif" alt="Music" />Music</label></td>
261
            <td><input type="checkbox" id="mc-kit" name="limit" value="mc-rtype:o" />
262
			<label for="mc-kit" title="Kits"><img border="0" src="/intranet-tmpl/prog/en/images/KIT.gif" alt="Kits" />Kits</label></td>
263
            <td><input type="checkbox" id="mc-ref" name="limit" value="mc-collection:REF" />
264
			<label for="mc-ref" title="Reference">
265
			<img border="0" src="/intranet-tmpl/prog/en/images/REF.gif" alt="Reference" />Reference</label></td>
266
            </tr>
267
            
268
            </table>
269
</fieldset>
224
</fieldset>
270
</div>
271
[% END %]
272
<!-- /TYPE LIMITS -->
273
225
274
<div id="availability" class="container">
226
<fieldset id="select-libs">
275
<!-- AVAILABILITY LIMITS -->
227
        <p><label for="branchloop">Individual Libraries:</label><select name="limit" id="branchloop" onchange='if(this.value != ""){document.getElementById("categoryloop").disabled=true;} else {document.getElementById("categoryloop").disabled=false;}'>
276
    <fieldset><legend>Location and availability: </legend>
277
<div id="currently-avail" class="container">
278
        <label for="available-items">Only items currently available</label> <input type="checkbox" id="available-items" name="limit" value="available" />
279
</div>
280
<p />
281
<div id="select-libs" class="container">
282
        <label for="branchloop">Individual Libraries:</label><select name="limit" id="branchloop" onchange='if(this.value != ""){document.getElementById("categoryloop").disabled=true;} else {document.getElementById("categoryloop").disabled=false;}'>
283
        <option value="">All Libraries</option>
228
        <option value="">All Libraries</option>
284
        [% FOREACH branchloo IN branchloop %]
229
        [% FOREACH branchloo IN branchloop %]
285
        [% IF ( branchloo.selected ) %]
230
        [% IF ( branchloo.selected ) %]
Lines 288-334 Link Here
288
        <option value="branch:[% branchloo.value %]">[% branchloo.branchname %]</option>
233
        <option value="branch:[% branchloo.value %]">[% branchloo.branchname %]</option>
289
        [% END %]
234
        [% END %]
290
        [% END %]
235
        [% END %]
291
        </select>
236
        </select></p>
292
    <!-- <input type="hidden" name="limit" value="branch: MAIN" /> -->
237
    <!-- <input type="hidden" name="limit" value="branch: MAIN" /> -->
293
        [% IF ( searchdomainloop ) %]
238
        [% IF ( searchdomainloop ) %]
294
    <p>OR</p> <!-- should addjs to grey out group pulldown if a library is selected. -->
239
    <p>OR</p> <!-- should addjs to grey out group pulldown if a library is selected. -->
295
        <label for="categoryloop">Groups of Libraries</label><select name="multibranchlimit" id="categoryloop">
240
        <p><label for="categoryloop">Groups of Libraries</label><select name="multibranchlimit" id="categoryloop">
296
        <option value=""> -- none -- </option>
241
        <option value=""> -- none -- </option>
297
        [% FOREACH searchdomainloo IN searchdomainloop %]
242
        [% FOREACH searchdomainloo IN searchdomainloop %]
298
        <option value="[% searchdomainloo.categorycode %]">[% searchdomainloo.categoryname %]</option>
243
        <option value="[% searchdomainloo.categorycode %]">[% searchdomainloo.categoryname %]</option>
299
        [% END %]
244
        [% END %]
300
        </select>
245
        </select></p>
301
    [% END %]
246
    [% END %]
302
</div>
247
</fieldset>
303
    </fieldset>
248
    </fieldset>
304
<!-- /AVAILABILITY LIMITS -->
249
<!-- /AVAILABILITY LIMITS -->
305
</div>
306
250
307
<!-- RANK LIMITS -->
251
<!-- RANK LIMITS -->
308
252
<fieldset id="sortby"><legend>Sorting</legend>
309
<div id="sortby" class="container">
253
    <p>
310
<fieldset><legend>Sort by: </legend>
254
    <label for="sort_by">Sort by </label><select id="sort_by" name="sort_by">
311
    <p><select id="sort_by" name="sort_by">
312
  [% INCLUDE 'resort_form.inc' %]
255
  [% INCLUDE 'resort_form.inc' %]
313
    </select>
256
    </select>
314
        </p>
257
        </p>
315
</fieldset>
258
</fieldset>
316
</div>
259
<!-- /RANK LIMITS -->
317
<!-- RANK LIMITS -->
318
319
</div>
320
321
260
322
<!-- SEARCH BUTTONS -->
261
<!-- SEARCH BUTTONS -->
323
            <p><input class="submit" type="submit" accesskey="s" value="Search" />
262
            <fieldset class="action" id="submit2"><input class="submit" type="submit" accesskey="s" value="Search" />
324
            [% IF ( expanded_options ) %]
263
            [% IF ( expanded_options ) %]
325
            <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0">[Fewer Options]</a>
264
            <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0">[Fewer Options]</a>
326
            [% ELSE %]
265
            [% ELSE %]
327
            <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1">[More options]</a>
266
            <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1">[More options]</a>
328
            [% END %]
267
            [% END %]
329
            <a href="/cgi-bin/koha/catalogue/search.pl?do=Clear">[New search]</a> 
268
            <a href="/cgi-bin/koha/catalogue/search.pl?do=Clear">[New search]</a> 
330
            </p>
269
            </fieldset>
331
<!-- /SEARCH BUTTONS -->
270
<!-- /SEARCH BUTTONS -->
271
</div>
332
</form>
272
</form>
333
</div>
273
</div>
334
274
335
- 

Return to bug 6170