fc5645a0d2117ffdd9618899b72e02de44b9400e
[Evergreen.git] / Open-ILS / web / opac / skin / default / xml / searchbar.xml
1 <?xml version='1.0'?>
2 <!DOCTYPE x [ <!ENTITY % ent SYSTEM "../../../locale/en-US/lang.dtd"> %ent; ] >
3
4 <!-- Searchbar for doing metarecord searches -->
5
6 <div id='searchbar'>
7
8         <!-- load my js -->
9         <script language='javascript' src='../js/search_bar.js'> </script>
10
11         <script language='javascript'>
12                 config.ids.searchbar = {};
13                 config.css.searchbar = {};
14                 config.ids.searchbar.text                               = 'search_box'; 
15                 config.ids.searchbar.submit                     = 'search_submit';      
16                 config.ids.searchbar.type_selector      = 'search_type_selector';
17                 config.ids.searchbar.depth_selector     = 'depth_selector';
18                 config.ids.searchbar.form_selector      = 'form_selector';
19                 config.ids.searchbar.extra_row          = 'searchbar_extra';
20                 config.ids.searchbar.main_row                   = 'searchbar_main_row';
21                 config.ids.searchbar.table                              = 'searchbar_table';
22                 config.ids.searchbar.location_tag       = 'search_location_tag_link';
23                 config.ids.searchbar.lib_sel_span       = 'lib_selector_span';
24                 config.ids.searchbar.lib_sel_link       = 'lib_selector_link';
25                 config.ids.searchbar.depth_sel_span     = 'depth_selector_span';
26         </script>
27
28
29         <table class='color_1' width='100%' style='border-collapse: collapse;'>
30                 <tbody>
31                         <tr>
32
33                                 <td  nowrap='nowrap' align='center' style='width: 240px; padding: 3px; border: 1px solid #A0A0A0;' class='color_2'>
34                                         <input id='search_box' style='width: 190px;' type='text' />
35                                         <span style='padding-left: 6px;'>
36                                                 <input type='button' style='width: 40px;' id='search_submit' value='Go!' />
37                                         </span>
38                                 </td>
39
40                                 <td nowrap='nowrap' style='padding: 3px;' align='right' >
41
42                                         <!--
43                                         <span style='margin-left: 3px; margin-right: 6px;'> Options:  </span>
44                                         -->
45
46                                         <span style='padding-right:9px;'>
47                                         <select id='search_type_selector'>
48                                                 <option value='keyword' selected='selected'> Keyword </option>
49                                                 <option value='title'>Title</option>
50                                                 <option value='author'>Author</option>
51                                                 <option value='subject'>Subject</option>
52                                                 <option value='series'>Series</option>
53                                         </select>
54                                         </span>
55
56                                         <span style='padding-right:9px;'>
57                                         <select id='form_selector' >
58                                                 <option value='all'>All Formats</option>
59                                                 <option value='at'>Books</option>
60                                                 <option value='at-d'>Large Print Books</option>
61                                                 <option value='i'>Audiobooks</option>
62                                                 <option value='g'>Video Recording</option>
63                                                 <option value='j'>Music</option>
64                                                 <option value='m'>Electronic Resources</option>
65                                         </select>
66                                         </span>
67
68                                         <span>
69                                                 <span class='hide_me' id='depth_selector_span'>
70                                                         <select id='depth_selector' >
71                                                                 <option value='new'>Choose a different library...</option>
72                                                         </select>
73                                                 </span>
74                                                 <span class='hide_me' id='lib_selector_span'>
75                                                         <a id='lib_selector_link' href='javascript:void(0)'>* Choose a library to search</a>
76                                                 </span>
77                                         </span>
78
79                                 </td>
80                         </tr>
81                 </tbody>
82         </table>
83 </div>
84
85
86
87
88
89