]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/web/opac/skin/default/xml/result_table.xml
added format icons
[Evergreen.git] / Open-ILS / web / opac / skin / default / xml / result_table.xml
1 <?xml version='1.0'?>
2 <!DOCTYPE x [ <!ENTITY % ent SYSTEM "../../../locale/en-US/lang.dtd"> %ent; ] >
3
4 <!-- Search results are spit into this table -->
5
6 <div id='result_table_div' xmlns:xi="http://www.w3.org/2001/XInclude">
7
8         <table id='res_table'> 
9
10                 <!-- for some reason, this is the only way i can force the cell widths -->
11                 <thead><td class='result_table_pic_header'></td><td/></thead>
12
13                 <tbody id='result_table'>
14
15                         <!-- Template for displaying a search result.  This row template is cloned and inserted
16                                         for each result returned -->
17
18                         <tr id='result_table_template'>
19
20                                 <!-- Jacket image goes here -->
21                                 <td width="10%"><a><img name='item_jacket' class='result_table_pic'/></a></td>
22
23                                 <td class='result_table_row'>
24                                         <table class='result_table_subtable'>
25                                                 <tbody class='result_table_subtbody'>
26
27                                                         <tr name='counts_row'>
28
29                                                                 <td class='result_table_title_cell' name='result_table_title_cell'>
30                                                                         <a title="View titles for this record" name='item_title' class='search_link'> 
31                                                                                 <!-- Title goes here -->
32                                                                         </a>
33                                                                 </td>
34
35                                                                 <!-- Copy this td for each copy count appended -->
36                                                                 <td nowrap='nowrap' name="copy_count_cell" class='copy_count_cell' rowspan='3'> </td>
37
38                                                         </tr>
39                 
40                                                         <tr>
41                                                                 <td class='result_table_author_cell'>
42                                                                         <a title="Perform an Author Search" name='item_author' class='search_link'> 
43                                                                                 <!-- Author goes here -->
44                                                                         </a>
45                                                                 </td>
46                                                         </tr>
47
48                                                         <tr>
49                                                                 <td name='result_table_format_cell' class='result_table_format_cell'>
50                                                                         <a name='resource_link' class='search_link'> 
51                                                                                 <img name='format_pic' class='tor_pic'> </img>
52                                                                                 <!-- Item formats go here -->
53                                                                         </a>
54                                                                 </td>
55                                                         </tr>
56
57                                                 </tbody>
58                                         </table>
59                                 </td>
60                         </tr>
61                 </tbody>
62         </table>
63
64         <script language='javascript'>
65                 config.names.result.format_cell = 'result_table_format_cell';
66                 config.names.result.format_link = 'resource_link'
67                 config.names.result.format_pic = 'format_pic'
68         </script>
69
70 </div>
71
72