1 [% PROCESS "default/opac/parts/org_selector.tt2" %]
3 [% UNLESS took_care_of_form -%]
4 <form action="[% ctx.opac_root %]/results" method="GET">
6 <table cellpadding="0" cellspacing="10" border="0">
9 <span class="search_catalog_lbl">[% l('Search the Catalog') %]</span>
10 <a href="[% ctx.opac_root %]/advanced"
11 id="home_adv_search_link"><span
12 class="adv_search_font">[% l('Advanced Search') %]</span></a>
18 <input type="hidden" name="_adv" value="1" />
21 [% INCLUDE "default/opac/parts/qtype_selector.tt2" %]
24 [% IF ctx.processed_search_query OR NOT is_advanced %]
26 <div id="search_box_wrapper">
27 <!-- Note: when common browsers support HTML5 placeholder text, we can remove the JS -->
28 <input type="text" id="search_box" name="query" value="[% is_advanced ? ctx.processed_search_query : CGI.param('query') || l("Search Keyword") | html %]"
29 [% IF is_advanced %]style="width: 450px"[% END %]
30 onfocus="if (this.value=='[% l("Search Keyword") %]'){this.value='';this.style.color='#000';}"
31 onblur="if (this.value==''){this.value='[% l("Search Keyword") %]';this.style.color='#999';}" />
33 <input name='page' type='hidden' value="0" />
37 <div class="opac-auto-143">
38 <input id='search-submit-go' type="image" alt="[% l('Search') %]" src="[% ctx.media_prefix %]/images/go-btn.png"
39 onmouseover="this.src='[% ctx.media_prefix %]/images/go-btn-hover.png';"
40 onmouseout="this.src='[% ctx.media_prefix %]/images/go-btn.png';"
41 onclick='setTimeout(function(){$("search-submit-spinner").className=""; $("search-submit-go").className="hidden"}, 2000)'/>
42 <img id='search-submit-spinner' src='/opac/images/progressbar_green.gif' style='height:16px;width:16px;' class='hidden'/>
48 [% UNLESS is_advanced %]
51 [% INCLUDE "default/opac/parts/coded_value_selector.tt2" attr=["mattype", "item_type"] none_ok=1 %]
54 <span id='depth_selector_span'>
55 [% PROCESS build_org_selector name='loc' value=CGI.param('loc') %]
57 <span id='lib_selector_span'>
58 <a id='lib_selector_link' class='classic_link'
59 href='#'>[% l("Choose a library to search") %]</a>
65 [% UNLESS took_care_of_form %]</form>[% END %]
66 [% IF is_advanced AND CGI.param('qtype') %]
67 <div class="opac-auto-102">
68 [ <a href="[% ctx.opac_root %]/advanced?[% query_string %]">[%
69 l('Click to Refine Your Original Search')
74 <a href="[% ctx.opac_root %]/home">[% l('Catalog Home') %]</a> >
76 <div class="clear-both"></div>