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' value="[% CGI.param('query') | html %]"
5 [% seed = l(' Enter Text... ') | html %]
6 class="sub_sidebar_search_box" style="color:#aaa;" value="[% seed %]"
7 onfocus="if(this.value=='[% seed %]'){this.value='';this.style.color='#424242';}"
8 onblur="if(this.value==''){this.value='[% seed %]'; this.style.color='#aaa';}" />
10 <table cellpadding="0" cellspacing="0" border="0" class="sub_sidebar_search_st">
14 {keyword => l('Word')},
15 {title => l('Title')},
16 {author => l('Author')}
18 FOR qtype_blob IN types;
19 qtype = qtype_blob.keys.0 %]
20 <td class="st_radio_btn">
21 <input type="radio" name="qtype" value="[% qtype %]" id="st_[% qtype %]"
22 [% IF (CGI.param('qtype') == qtype) OR
23 (!CGI.param('qtype') AND qtype == 'keyword') %]checked="checked"[% END %]/>
25 <td class="st_label"><label for="st_[% qtype %]">[% qtype_blob.$qtype | html %]</label></td>
27 <td class="st_radio_spacer"><div> </div></td>
32 <div class="hr"> </div>
33 <div class="sub_search_category">
34 <!-- XXX TODO: QP Groups / saved searches -->
35 <select class="search_category" name="search_category">
36 <option>Children's Material</option>
39 <div class="hr"> </div>
41 <input type="image" alt="search" src="[% ctx.media_prefix %]/images/kpac/search_btn_sub.png" />