1 |
[% INCLUDE header.tt %] |
[% INCLUDE header.tt %] |
2 |
|
|
|
[% c.prototype.auto_complete_stylesheet %] |
|
3 |
[% url = base _ 'search/suggest/' %] |
[% url = base _ 'search/suggest/' %] |
4 |
|
|
5 |
[% c.prototype.form_remote_tag( |
[% c.prototype.form_remote_tag( |
6 |
url => base _ 'results', |
url => base _ 'search/results', |
7 |
update => 'results', |
update => 'results', |
8 |
loading => 'show_searching();', |
loading => 'show_searching();', |
9 |
loaded => 'hide_searching();', |
loaded => 'hide_searching();', |
10 |
|
html_options => { |
11 |
|
id => 'results_form', |
12 |
|
name => 'results_form', |
13 |
|
} |
14 |
) %] |
) %] |
15 |
|
|
16 |
<table> |
<table> |
23 |
<span id="sve_input_loading" style="display: none;"> |
<span id="sve_input_loading" style="display: none;"> |
24 |
<img src="/img/indicator.gif" /> |
<img src="/img/indicator.gif" /> |
25 |
</span> |
</span> |
|
</div> |
|
26 |
|
|
27 |
<div class="auto_complete" id="sve_input_auto_complete"></div> |
<div class="auto_complete" id="sve_input_auto_complete"></div> |
28 |
[% c.prototype.auto_complete_field( 'sve_input', { |
[% c.prototype.auto_complete_field( 'sve_input', { |
29 |
url => url _ 'TitleProper', |
url => url _ 'TitleProper', |
30 |
indicator => 'sve_input_loading' |
indicator => 'sve_input_loading', |
31 |
|
frequency => 0.8, |
32 |
} ) %] |
} ) %] |
33 |
<!-- operator for individual words --> |
<!-- operator for individual words --> |
34 |
<input type="hidden" name="_all" value="AND" /> |
<input type="hidden" name="_all" value="AND" /> |
43 |
<span id="naslov_input_loading" style="display: none;"> |
<span id="naslov_input_loading" style="display: none;"> |
44 |
<img src="/img/indicator.gif" /> |
<img src="/img/indicator.gif" /> |
45 |
</span> |
</span> |
|
</div> |
|
46 |
|
|
47 |
<div class="auto_complete" id="naslov_input_auto_complete"></div> |
<div class="auto_complete" id="naslov_input_auto_complete"></div> |
48 |
[% c.prototype.auto_complete_field( 'naslov_input', { |
[% c.prototype.auto_complete_field( 'naslov_input', { |
49 |
url => url _ 'TitleProper', |
url => url _ 'TitleProper', |
50 |
indicator => 'naslov_input_loading' |
indicator => 'naslov_input_loading', |
51 |
|
frequency => 0.8, |
52 |
} ) %] |
} ) %] |
53 |
</td> |
</td> |
54 |
|
|
57 |
<td> |
<td> |
58 |
Autor: |
Autor: |
59 |
</td><td> |
</td><td> |
60 |
<input autocomplete="off" id="autor_input" name="PersonalName" type="text" value="" size="60"/> |
<input autocomplete="off" id="autor_input" name="Names" type="text" value="" size="60"/> |
61 |
<span id="autor_input_loading" style="display: none;"> |
<span id="autor_input_loading" style="display: none;"> |
62 |
<img src="/img/indicator.gif" /> |
<img src="/img/indicator.gif" /> |
63 |
</span> |
</span> |
|
</div> |
|
64 |
<div class="auto_complete" id="autor_input_auto_complete"></div> |
<div class="auto_complete" id="autor_input_auto_complete"></div> |
65 |
[% c.prototype.auto_complete_field( 'autor_input', { |
[% c.prototype.auto_complete_field( 'autor_input', { |
66 |
url => url _ 'PersonalName', |
url => url _ 'Names', |
67 |
indicator => 'autor_input_loading' |
indicator => 'autor_input_loading', |
68 |
|
frequency => 0.8, |
69 |
} ) %] |
} ) %] |
70 |
</td> |
</td> |
71 |
|
|
72 |
</tr> |
</tr> |
73 |
</table> |
</table> |
74 |
|
|
75 |
<input type="submit" name="_submit" value="Search" /> |
<!-- additional fields which might get updated by javascript --> |
76 |
|
<input name="_template" type="hidden" id="template_name" /> |
77 |
|
<input name="_page" type="hidden" id="page_nr" /> |
78 |
|
|
79 |
|
<div class="databases"> |
80 |
|
<a href="#" onclick="return toggleLinkAndElement( this, 'database_list', 'Hide databases');">Select databases</a> |
81 |
|
<ul id="database_list" style="display: none;"> |
82 |
|
[% FOREACH db = c.comp('Model::Databases').list.sort('name') %] |
83 |
|
<li><input type="checkbox" name="_database" value="[% db.prefix %]" onclick="return checkbox_click();">[% db.name %]</li> |
84 |
|
[% END %] |
85 |
|
</ul> |
86 |
|
</div> |
87 |
|
|
88 |
|
<div class="buttons"> |
89 |
|
|
90 |
|
<input type="submit" name="_submit" value="Search" |
91 |
|
onclick="reset_page_nr( 1 ); return true;" |
92 |
|
/> |
93 |
|
|
94 |
<span id="searching" style="display: none;"> |
<span id="searching" style="display: none;"> |
95 |
Search in progress... |
Search in progress... |
96 |
<img src="/img/indicator.gif" /> |
<img src="/img/indicator.gif" /> |
97 |
</span> |
</span> |
98 |
|
|
99 |
<input type="reset" name="_reset" value="Clear" /> |
<input type="reset" name="_reset" value="Clear" /> |
100 |
|
|
101 |
|
</div> |
102 |
|
|
103 |
</form> |
</form> |
104 |
|
|
105 |
<div id="results"> |
<div id="results"> |
106 |
<span style="color: #808080;">no results yet</span> |
[% IF results ; results ; ELSE %] |
107 |
|
<span class="notice">No results yet.</span> |
108 |
|
[% END %] |
109 |
</div> |
</div> |
110 |
|
|
111 |
[% INCLUDE footer.tt %] |
[% INCLUDE footer.tt %] |