]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/opac/pages/chunks/search_bar_form.ttk
removing old opac images and css
[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='at',      content="Books");
27                         option(value='at-d',    content="Large Print Books");
28                         option(value='i',               content="Audiobooks");
29                         option(value='g',               content="Video Recording");
30                         option(value='j',               content="Music");
31                         option(value='m',               content="Electronic Resources");
32                 END;
33
34         
35                 space(1);
36
37                 input(type='submit', id='mr_search_button', 
38                                 value=tm.search, onclick='alert("help");' );
39
40                 space(1);
41                 %]
42
43                 [%
44                         "Hits per page ";
45                         WRAPPER html/select name='hits_per_page' id='hits_per_page';
46                                 option(value='5',               content="5");
47                                 option(value='10',      selected='selected', content="10");
48                                 option(value='15',      content="15");
49                                 option(value='25',      content="25");
50                                 option(value='50',      content="50");
51                         END;
52                 %]
53
54
55                 
56                 
57                 [%
58         END;
59
60 %]
61