Merge branch 'master' of git.evergreen-ils.org:Evergreen
[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                 <th>[% l("Tag:") %]</th>
8                 <td><input type="text" name="tag" size="3" autofocus /></td>
9                 <th>[% l("Subfield:") %]</th>
10                 <td><input type="text" name="subfield" size="1" /></td>
11                 <th>[% l("Value:") %]</th>
12                 <td><input type="text" name="term" size="16" /></td>
13                 <td>
14                     <a href="javascript:;" class="row-remover"
15                         title="[% l('Remove row') %]" alt="[% l('Remove row') %]"
16                         onclick='return killRowIfAtLeast(1, this);'><img src="[% ctx.media_prefix %]/images/adv_row_close_btn.png" /></a>
17                 </td>
18             </tr>
19         </tbody>
20         <tfoot>
21             <tr>
22                <td colspan="7"><a href="javascript:addExpertRow();">[ [% l("Add row") %] ]</a></td>
23             </tr>
24             <tr>
25                <td colspan="5" class="expert-search-row">
26                    <label><strong>[% l("Search Library:") %]</strong>
27                        [%- PROCESS "opac/parts/org_selector.tt2";
28                            INCLUDE build_org_selector show_loc_groups=1 
29                        %]
30                    </label>
31                </td>
32             </tr>
33             <tr>
34                 <td colspan="2" class="expert-search-row">
35                 <input type="submit" value="[% l('Search') %]"
36                     alt="[% l('Search') %]" title="[% l('Search') %]"
37                     class="opac-button" />
38                 </td>
39             </tr>
40         </tfoot>
41     </table>
42 </form>