|
Lines 1-6
Link Here
|
| 1 |
<div class="gradient"> |
1 |
<div class="gradient"> |
| 2 |
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1> |
2 |
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1> |
| 3 |
<!-- Begin Authorities Resident Search Box --> |
3 |
<!-- Begin Authorities Resident Search Box --> |
|
|
4 |
<script type="text/javascript"> |
| 5 |
//<![CDATA[ |
| 6 |
$(document).ready(function() { |
| 7 |
var searchType = '[% marclist %]'; |
| 8 |
if (searchType) { |
| 9 |
if ('mainmainentry' == searchType) { |
| 10 |
$("#header_search").tabs( "option", "selected", 0 ); |
| 11 |
} else if ('mainentry' == searchType) { |
| 12 |
$("#header_search").tabs( "option", "selected", 1 ); |
| 13 |
} else if ('all' == searchType) { |
| 14 |
$("#header_search").tabs( "option", "selected", 2 ); |
| 15 |
} |
| 16 |
} |
| 17 |
}); |
| 18 |
//]]> |
| 19 |
</script> |
| 4 |
<div id="header_search" class="residentsearch"> |
20 |
<div id="header_search" class="residentsearch"> |
| 5 |
<div id="authority_search" class="residentsearch"> |
21 |
<div id="authority_search" class="residentsearch"> |
| 6 |
<p class="tip">Enter authority heading ($a):</p> |
22 |
<p class="tip">Enter authority heading ($a):</p> |
|
Lines 18-33
Link Here
|
| 18 |
[% END %] |
34 |
[% END %] |
| 19 |
</select> |
35 |
</select> |
| 20 |
<input type="hidden" name="marclist" value="mainmainentry" /> |
36 |
<input type="hidden" name="marclist" value="mainmainentry" /> |
|
|
37 |
<input type="hidden" name="and_or" value="and" /> |
| 38 |
<input type="hidden" name="excluding" value="" /> |
| 21 |
<select name="operator"> |
39 |
<select name="operator"> |
|
|
40 |
[% IF ( operator == 'contains' ) %] |
| 41 |
<option value="contains" selected="selected">contains</option> |
| 42 |
[% ELSE %] |
| 22 |
<option value="contains">contains</option> |
43 |
<option value="contains">contains</option> |
|
|
44 |
[% END %] |
| 45 |
[% IF ( operator == 'start' ) %] |
| 46 |
<option value="start" selected="selected">starts with</option> |
| 47 |
[% ELSE %] |
| 23 |
<option value="start">starts with</option> |
48 |
<option value="start">starts with</option> |
|
|
49 |
[% END %] |
| 50 |
[% IF ( operator == 'is' ) %] |
| 51 |
<option value="is" selected="selected">is exactly</option> |
| 52 |
[% ELSE %] |
| 24 |
<option value="is">is exactly</option> |
53 |
<option value="is">is exactly</option> |
|
|
54 |
[% END %] |
| 25 |
</select> |
55 |
</select> |
| 26 |
<input id="value_anywhere" type="text" name="value" value="[% value %]" /> |
56 |
<input id="value_anywhere" type="text" name="value" value="[% value %]" /> |
| 27 |
<select name="orderby"> |
57 |
<select name="orderby"> |
| 28 |
<option value="">None</option> |
58 |
[% IF ( orderby == 'HeadingAsc' ) %] |
| 29 |
<option value="HeadingAsc" selected="selected">Heading A-Z</option> |
59 |
<option value="HeadingAsc" selected="selected">Heading A-Z</option> |
|
|
60 |
[% ELSE %] |
| 61 |
<option value="HeadingAsc">Heading A-Z</option> |
| 62 |
[% END %] |
| 63 |
[% IF ( orderby == 'HeadingDsc' ) %] |
| 64 |
<option value="HeadingDsc" selected="selected">Heading Z-A</option> |
| 65 |
[% ELSE %] |
| 30 |
<option value="HeadingDsc">Heading Z-A</option> |
66 |
<option value="HeadingDsc">Heading Z-A</option> |
|
|
67 |
[% END %] |
| 68 |
[% IF ( orderby == '' && op ) %] |
| 69 |
<option value="" selected="selected">None</option> |
| 70 |
[% ELSE %] |
| 71 |
<option value="">None</option> |
| 72 |
[% END %] |
| 31 |
</select> |
73 |
</select> |
| 32 |
<input type="submit" class="submit" value="Submit" /> |
74 |
<input type="submit" class="submit" value="Submit" /> |
| 33 |
</form> |
75 |
</form> |
|
Lines 51-66
Link Here
|
| 51 |
<input type="hidden" name="and_or" value="and" /> |
93 |
<input type="hidden" name="and_or" value="and" /> |
| 52 |
<input type="hidden" name="excluding" value="" /> |
94 |
<input type="hidden" name="excluding" value="" /> |
| 53 |
<select name="operator"> |
95 |
<select name="operator"> |
|
|
96 |
[% IF ( operator == 'contains' ) %] |
| 97 |
<option value="contains" selected="selected">contains</option> |
| 98 |
[% ELSE %] |
| 54 |
<option value="contains">contains</option> |
99 |
<option value="contains">contains</option> |
|
|
100 |
[% END %] |
| 101 |
[% IF ( operator == 'start' ) %] |
| 102 |
<option value="start" selected="selected">starts with</option> |
| 103 |
[% ELSE %] |
| 55 |
<option value="start">starts with</option> |
104 |
<option value="start">starts with</option> |
|
|
105 |
[% END %] |
| 106 |
[% IF ( operator == 'is' ) %] |
| 107 |
<option value="is" selected="selected">is exactly</option> |
| 108 |
[% ELSE %] |
| 56 |
<option value="is">is exactly</option> |
109 |
<option value="is">is exactly</option> |
|
|
110 |
[% END %] |
| 57 |
</select> |
111 |
</select> |
| 58 |
<input id="value_mainentry" type="text" name="value" value="[% value %]" /> |
112 |
<input id="value_mainentry" type="text" name="value" value="[% value %]" /> |
| 59 |
<select name="orderby"> |
113 |
<select name="orderby"> |
| 60 |
<option value="">None</option> |
114 |
[% IF ( orderby == 'HeadingAsc' ) %] |
| 61 |
<option value="HeadingAsc" selected="selected">Heading A-Z</option> |
115 |
<option value="HeadingAsc" selected="selected">Heading A-Z</option> |
|
|
116 |
[% ELSE %] |
| 117 |
<option value="HeadingAsc">Heading A-Z</option> |
| 118 |
[% END %] |
| 119 |
[% IF ( orderby == 'HeadingDsc' ) %] |
| 120 |
<option value="HeadingDsc" selected="selected">Heading Z-A</option> |
| 121 |
[% ELSE %] |
| 62 |
<option value="HeadingDsc">Heading Z-A</option> |
122 |
<option value="HeadingDsc">Heading Z-A</option> |
| 63 |
</select> |
123 |
[% END %] |
|
|
124 |
[% IF ( orderby == '' && op ) %] |
| 125 |
<option value="" selected="selected">None</option> |
| 126 |
[% ELSE %] |
| 127 |
<option value="">None</option> |
| 128 |
[% END %] |
| 129 |
</select> |
| 64 |
<input type="submit" class="submit" value="Submit" /> |
130 |
<input type="submit" class="submit" value="Submit" /> |
| 65 |
</form> |
131 |
</form> |
| 66 |
</div> |
132 |
</div> |
|
Lines 83-98
Link Here
|
| 83 |
<input type="hidden" name="and_or" value="and" /> |
149 |
<input type="hidden" name="and_or" value="and" /> |
| 84 |
<input type="hidden" name="excluding" value="" /> |
150 |
<input type="hidden" name="excluding" value="" /> |
| 85 |
<select name="operator"> |
151 |
<select name="operator"> |
|
|
152 |
[% IF ( operator == 'contains' ) %] |
| 153 |
<option value="contains" selected="selected">contains</option> |
| 154 |
[% ELSE %] |
| 86 |
<option value="contains">contains</option> |
155 |
<option value="contains">contains</option> |
|
|
156 |
[% END %] |
| 157 |
[% IF ( operator == 'start' ) %] |
| 158 |
<option value="start" selected="selected">starts with</option> |
| 159 |
[% ELSE %] |
| 87 |
<option value="start">starts with</option> |
160 |
<option value="start">starts with</option> |
|
|
161 |
[% END %] |
| 162 |
[% IF ( operator == 'is' ) %] |
| 163 |
<option value="is" selected="selected">is exactly</option> |
| 164 |
[% ELSE %] |
| 88 |
<option value="is">is exactly</option> |
165 |
<option value="is">is exactly</option> |
|
|
166 |
[% END %] |
| 89 |
</select> |
167 |
</select> |
| 90 |
<input id="value_mainmainentry" type="text" name="value" value="[% value %]" /> |
168 |
<input id="value_mainmainentry" type="text" name="value" value="[% value %]" /> |
| 91 |
<select name="orderby"> |
169 |
<select name="orderby"> |
| 92 |
<option value="">None</option> |
170 |
[% IF ( orderby == 'HeadingAsc' ) %] |
| 93 |
<option value="HeadingAsc" selected="selected">Heading A-Z</option> |
171 |
<option value="HeadingAsc" selected="selected">Heading A-Z</option> |
|
|
172 |
[% ELSE %] |
| 173 |
<option value="HeadingAsc">Heading A-Z</option> |
| 174 |
[% END %] |
| 175 |
[% IF ( orderby == 'HeadingDsc' ) %] |
| 176 |
<option value="HeadingDsc" selected="selected">Heading Z-A</option> |
| 177 |
[% ELSE %] |
| 94 |
<option value="HeadingDsc">Heading Z-A</option> |
178 |
<option value="HeadingDsc">Heading Z-A</option> |
| 95 |
</select> |
179 |
[% END %] |
|
|
180 |
[% IF ( orderby == '' && op ) %] |
| 181 |
<option value="" selected="selected">None</option> |
| 182 |
[% ELSE %] |
| 183 |
<option value="">None</option> |
| 184 |
[% END %] |
| 185 |
</select> |
| 96 |
<input type="submit" class="submit" value="Submit" /> |
186 |
<input type="submit" class="submit" value="Submit" /> |
| 97 |
</form> |
187 |
</form> |
| 98 |
</div> |
188 |
</div> |