1 <div class="sub_sidebar_header">[% l('New Search') %]</div>
2 <form action="[% ctx.kpac_root _ '/results' %]">
3 <div class="sub_sidebar_search_wrapper">
4 <input type="text" name='query'
5 value="[% CGI.param('nosprop') ? '' : CGI.param('query') | html %]"
6 [% seed = l(' Enter Text... ') | html %]
7 class="sub_sidebar_search_box" style="color:#aaa;" value="[% seed %]"
8 onfocus="if(this.value=='[% seed %]'){this.value='';this.style.color='#424242';}"
9 onblur="if(this.value==''){this.value='[% seed %]'; this.style.color='#aaa';}" />
11 <table cellpadding="0" cellspacing="0" border="0" class="sub_sidebar_search_st">
15 {keyword => l('Word')},
16 {title => l('Title')},
17 {author => l('Author')}
19 FOR qtype_blob IN types;
20 qtype = qtype_blob.keys.0 %]
21 <td class="st_radio_btn">
22 <input type="radio" name="qtype" value="[% qtype %]" id="st_[% qtype %]"
23 [% IF (CGI.param('qtype') == qtype) OR
24 (!CGI.param('qtype') AND qtype == 'keyword') %]checked="checked"[% END %]/>
26 <td class="st_label"><label for="st_[% qtype %]">[% qtype_blob.$qtype | html %]</label></td>
28 <td class="st_radio_spacer"><div> </div></td>
33 <div class="hr"> </div>
34 <div class="sub_search_category">
35 <!-- XXX TODO: QP Groups / saved searches -->
36 <select class="search_category" name="search_category">
37 <option>Children's Material</option>
40 <div class="hr"> </div>
42 <input type="image" alt="search" src="[% ctx.media_prefix %]/images/kpac/search_btn_sub.png" />