1 [% PROCESS "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>
16 [% IF is_advanced || is_special %]
18 <input type="hidden" name="_adv" value="1" />
21 [% INCLUDE "opac/parts/qtype_selector.tt2" %]
24 [% IF ctx.processed_search_query OR (NOT is_advanced AND NOT is_special) %]
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';}"
34 <input name='page' type='hidden' value="0" />
38 <div class="opac-auto-143">
39 <input id='search-submit-go' type="submit" value="[% l('Search') %]" alt="[% l('Search') %]" class="opac-button"
40 onclick='setTimeout(function(){$("search-submit-spinner").className=""; $("search-submit-go").className="hidden"}, 2000)'/>
41 <img id='search-submit-spinner' src='/opac/images/progressbar_green.gif' style='height:16px;width:16px;' class='hidden' alt=''/>
47 [% UNLESS is_advanced OR is_special %]
50 [% INCLUDE "opac/parts/coded_value_selector.tt2" attr=["mattype", "item_type"] none_ok=1 none_label=l('All Formats') %]
54 [% PROCESS build_org_selector name='loc' value=CGI.param('loc') %]
60 [% UNLESS took_care_of_form %]</form>[% END %]
61 [% IF (is_advanced AND NOT is_special) AND CGI.param('qtype') %]
62 <div class="opac-auto-102">
63 [ <a href="[% mkurl(ctx.opac_root _ '/advanced') %]">[%
64 l('Click to Refine Your Original Search')
69 <a href="[% ctx.opac_root %]/home">[% l('Catalog Home') %]</a> >
71 <div class="clear-both"></div>