]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/opac/pages/chunks/search_bar_form.ttk
onward and upward
[Evergreen.git] / Open-ILS / src / templates / opac / pages / chunks / search_bar_form.ttk
1 [%      
2         WRAPPER html/div id='search_bar_form';
3
4                 # our text map
5                 tm = global.textmap.opac.search_bar;
6
7                 space(2);
8                 input( type='hidden', name='target', value='mr_result');
9                 input( type='hidden', name='page', value='0');
10
11                 input(id='mr_search_query',  name='mr_search_query',  
12                                 type='textarea', size='24');
13         
14                 space(1);
15         
16                 WRAPPER html/select name='mr_search_type' id='mr_search_type';
17                         option(value='title',   selected='selected', content=tm.title);
18                         option(value='author',  content=tm.author);
19                         option(value='subject', content=tm.subject);
20                         option(value='keyword', content=tm.keyword);
21                         option(value='series',  content="Series");
22                 END;
23         
24                 space(1);
25
26                 input(type='submit', id='mr_search_button', 
27                                 value=tm.search, onclick='alert("help");' );
28
29                 space(1);
30
31                 
32                 
33         END;
34
35 %]
36