904ee1a13be3ab868cb6b232d3edf22e21fd84a6
[working/Evergreen.git] / Open-ILS / src / templates / opac / advanced.tt2
1 [%- PROCESS "opac/parts/header.tt2";
2     WRAPPER "opac/parts/base.tt2";
3     INCLUDE "opac/parts/topnav.tt2";
4     ctx.page_title = l("Advanced Search");
5     pane = CGI.param("pane") || "advanced";
6     loc = ctx.search_ou;
7 -%]
8     <h2 class="sr-only">[% l('Advanced Search') %]</h2>
9     <div id="search-wrapper">
10         <div id="search-box">
11             <span class="search_catalog_lbl mobile_hide">[% l('Search the Catalog') %]</span>
12             <span class="adv_search_catalog_lbl"><a href="[% mkurl(ctx.opac_root _ '/home') %]"
13                     id="home_adv_search_link">[%l('Basic Search')%]</a></span>
14
15             <span class="browse_the_catalog_lbl"><a href="[% mkurl(ctx.opac_root _ '/browse') %]">[%
16                     l('Browse the Catalog')%]</a></span>
17         </div>
18         <div id="adv_search_parent">
19             <div id="adv_search_tabs">
20                 <a href="[% mkurl('', {pane => 'advanced'}) %]"
21                     [% IF pane == 'advanced' %]class="on" [% END %]
22                     id="adv_search">[% l('Advanced Search') %]</a>
23                 <a href="[% mkurl('', {pane => 'numeric'}) %]"
24                     [% IF pane == 'numeric' %]class="on" [% END %]
25                     id="num_search">[% l('Numeric Search') %]</a>
26                 <a href="[% mkurl('', {pane => 'expert'}) %]"
27                     [% IF pane == 'expert' %]class="on" [% END %]
28                     id="expert_search">[% l('Expert Search') %]</a>
29             </div>
30         </div>
31     </div>
32     <div id="content-wrapper">
33         <div id="main-content">
34             <div class="advanced_div">
35             [% IF pane == 'advanced' %]
36             [% INCLUDE "opac/parts/advanced/search.tt2" %]
37             [% ELSIF pane == 'numeric' %]
38             [% INCLUDE "opac/parts/advanced/numeric.tt2" %]
39             [% ELSIF pane == 'expert' %]
40             [% INCLUDE "opac/parts/advanced/expert.tt2" %]
41             [% END %]
42             </div>
43             <div class="common-full-pad"></div> 
44         </div>
45     </div>
46 [% END %]