]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/opac/pages/chunks/search_bar_form.ttk
our little opac is growing up
[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='28');
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                 WRAPPER html/select name='format' id='mr_search_format';
25                         option(value='all',     selected='selected', content="All Formats");
26                         option(value='audiobooks',      content="Audiobooks");
27                         option(value='',        content="...");
28                 END;
29
30         
31                 space(1);
32
33                 input(type='submit', id='mr_search_button', 
34                                 value=tm.search, onclick='alert("help");' );
35
36                 space(1);
37                 %]
38
39                 [%
40                         "Hits per page ";
41                         WRAPPER html/select name='hits_per_page' id='hits_per_page';
42                                 option(value='5',               content="5");
43                                 option(value='10',      selected='selected', content="10");
44                                 option(value='15',      content="15");
45                                 option(value='25',      content="25");
46                                 option(value='50',      content="50");
47                         END;
48                 %]
49
50
51                 
52                 
53                 [%
54         END;
55
56 %]
57