1abc365c81c1078fb4b512d9274f34cc53e81169
[working/Evergreen.git] / Open-ILS / src / templates / opac / parts / advanced / expert.tt2
1 <form action="[% ctx.opac_root %]/results" method="get">
2     <div class="header_middle">[% l("Expert Search") %]</div>
3     <input type="hidden" name="_special" value="1" />
4     <table class="expert-search">
5         <tbody id="adv_expert_rows_here">
6             <tr id="adv_expert_row">
7                 <td>
8                     <label for="expert_tag">[% l("Tag:") %]</label>
9                     <input id="expert_tag" type="text" name="tag" size="3" autofocus />
10                     <label for="expert_subfield">[% l("Subfield:") %]</label>
11                     <input id="expert_subfield" type="text" name="subfield" size="1" />
12                     <span style="white-space:nowrap">
13                         <label for="expert_term">[% l("Value:") %]</label>
14                         <input id="expert_term" type="text" name="term" size="16" />
15                     </span>
16                 </td>
17                 <td>
18                     <a href="javascript:;" class="row-remover"
19                         title="[% l('Remove row') %]" alt="[% l('Remove row') %]"
20                         onclick='return killRowIfAtLeast(1, this);'><img src="[% ctx.media_prefix %]/images/adv_row_close_btn.png" /></a>
21                 </td>
22             </tr>
23         </tbody>
24         <tfoot>
25             <tr>
26                <td colspan="7"><a href="javascript:addExpertRow();">[% l("Add Search Row") %]</a></td>
27             </tr>
28             <tr>
29                [%- lib_select_id = "expert_search_library"; -%]
30                <td colspan="5" class="expert-search-row">
31                    <label for="[% lib_select_id %]"><strong>[% l("Search Library:") %]</strong>
32                        [%- PROCESS "opac/parts/org_selector.tt2";
33                            INCLUDE build_org_selector id=lib_select_id show_loc_groups=1 
34                        %]
35                    </label>
36                </td>
37             </tr>
38             <tr>
39                 <td colspan="2" class="expert-search-row">
40                 <input type="submit" value="[% l('Search') %]"
41                     alt="[% l('Search') %]" title="[% l('Search') %]"
42                     class="opac-button" />
43                 </td>
44             </tr>
45         </tfoot>
46     </table>
47 </form>