1 |
[% INCLUDE header.tt %] |
[% INCLUDE header.tt %] |
2 |
|
|
3 |
[% url = base _ 'search/suggest/' %] |
[% url_suggest = base _ site_url _ 'search/suggest/' %] |
4 |
|
|
5 |
|
<!-- site: [% site %] base: [% base %] site_url: [% site_url %] --> |
6 |
|
|
7 |
<!-- |
<!-- |
8 |
[% c.prototype.form_remote_tag( |
[% c.prototype.form_remote_tag( |
9 |
url => base _ 'search/results', |
url => base _ site_url _ 'search/results', |
10 |
update => 'results', |
update => 'results', |
11 |
loading => 'show_searching();', |
loading => 'show_searching();', |
12 |
loaded => 'hide_searching();', |
loaded => 'hide_searching();', |
16 |
} |
} |
17 |
) %] |
) %] |
18 |
--> |
--> |
19 |
<form action="[% base _ 'search/results' %]" method="get" id="results_form" name="results_form"> |
<form action="[% base _ site_url _ 'search/results' %]" method="get" id="results_form" name="results_form"> |
20 |
|
|
21 |
<table id="search_table" border="0"> |
<table id="search_table" border="0"> |
22 |
|
|
25 |
All: |
All: |
26 |
</td><td> |
</td><td> |
27 |
<input autocomplete="off" id="sve_input" name="all" type="text" value="" size="60"/> |
<input autocomplete="off" id="sve_input" name="all" type="text" value="" size="60"/> |
|
<span id="sve_input_loading" style="display: none;"> |
|
|
<img src="/img/indicator.gif" /> |
|
|
</span> |
|
|
|
|
|
<div class="auto_complete" id="sve_input_auto_complete"></div> |
|
|
[% c.prototype.auto_complete_field( 'sve_input', { |
|
|
url => url _ '?search=all&show=TitleProper', |
|
|
indicator => 'sve_input_loading', |
|
|
frequency => 0.8, |
|
|
} ) %] |
|
28 |
<!-- operator for individual words --> |
<!-- operator for individual words --> |
29 |
<input type="hidden" name="_all" value="AND" /> |
<input type="hidden" name="_all" value="AND" /> |
30 |
</td> |
</td> |
35 |
Title: |
Title: |
36 |
</td><td> |
</td><td> |
37 |
<input autocomplete="off" id="naslov_input" name="TitleProper" type="text" value="" size="60"/> |
<input autocomplete="off" id="naslov_input" name="TitleProper" type="text" value="" size="60"/> |
|
<span id="naslov_input_loading" style="display: none;"> |
|
|
<img src="/img/indicator.gif" /> |
|
|
</span> |
|
|
|
|
|
<div class="auto_complete" id="naslov_input_auto_complete"></div> |
|
|
[% c.prototype.auto_complete_field( 'naslov_input', { |
|
|
url => url _ '?search=TitleProper&show=TitleProper', |
|
|
indicator => 'naslov_input_loading', |
|
|
frequency => 0.8, |
|
|
} ) %] |
|
|
|
|
38 |
<input type="hidden" name="_TitleProper" value="AND" /> |
<input type="hidden" name="_TitleProper" value="AND" /> |
39 |
|
|
40 |
</td> |
</td> |
45 |
Author: |
Author: |
46 |
</td><td> |
</td><td> |
47 |
<input autocomplete="off" id="autor_input" name="Names" type="text" value="" size="60"/> |
<input autocomplete="off" id="autor_input" name="Names" type="text" value="" size="60"/> |
|
<span id="autor_input_loading" style="display: none;"> |
|
|
<img src="/img/indicator.gif" /> |
|
|
</span> |
|
|
<div class="auto_complete" id="autor_input_auto_complete"></div> |
|
|
[% c.prototype.auto_complete_field( 'autor_input', { |
|
|
url => url _ '?search=Names&show=Names', |
|
|
indicator => 'autor_input_loading', |
|
|
frequency => 0.8, |
|
|
} ) %] |
|
|
|
|
48 |
<input type="hidden" name="_Names" value="AND" /> |
<input type="hidden" name="_Names" value="AND" /> |
49 |
|
|
50 |
</td> |
</td> |
58 |
<input name="_reset" type="hidden" id="_reset" value="sve_input,naslov_input,autor_input"/> |
<input name="_reset" type="hidden" id="_reset" value="sve_input,naslov_input,autor_input"/> |
59 |
|
|
60 |
<div class="databases"> |
<div class="databases"> |
61 |
<a id="toggle_database_list" href="#" onclick="return toggleLinkAndElement( this, 'database_list', 'Sakrij knjižnice!');">Pokaži knjižnice!</a> |
<a id="toggle_database_list" href="#" onclick="return toggleLinkAndElement( this, 'database_list', 'Hide libraries!');">Show libraries!</a> |
62 |
<ul id="database_list" style="display: none;"> |
<ul id="database_list" style="display: none;"> |
63 |
[% INCLUDE databases.tt %] |
[% INCLUDE databases.tt %] |
64 |
</ul> |
</ul> |