Bib record browser with 'see also', etc from linked authority headings
[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     <div id="search-wrapper">
9         <div id="search-box">
10             <span class="search_catalog_lbl">[% l('Search the Catalog') %]</span>
11             <span><a href="[% mkurl(ctx.opac_root _ '/home') %]"
12                     id="home_adv_search_link">[%l('Basic Search')%]</a></span>
13
14             <span><a href="[% mkurl(ctx.opac_root _ '/browse') %]">[%
15                     l('Browse the Catalog')%]</a></span>
16         </div>
17         <div id="adv_search_parent">
18             <div id="adv_search_tabs">
19                 <a href="[% mkurl('', {pane => 'advanced'}) %]"
20                     [% IF pane == 'advanced' %]class="on" [% END %]
21                     id="adv_search">[% l('Advanced Search') %]</a>
22                 <a href="[% mkurl('', {pane => 'numeric'}) %]"
23                     [% IF pane == 'numeric' %]class="on" [% END %]
24                     id="num_search">[% l('Numeric Search') %]</a>
25                 <a href="[% mkurl('', {pane => 'expert'}) %]"
26                     [% IF pane == 'expert' %]class="on" [% END %]
27                     id="expert_search">[% l('Expert Search') %]</a>
28             </div>
29         </div>
30     </div>
31     <div id="content-wrapper">
32         <div id="main-content">
33             <div class="advanced_div">
34             [% IF pane == 'advanced' %]
35             [% INCLUDE "opac/parts/advanced/search.tt2" %]
36             [% ELSIF pane == 'numeric' %]
37             [% INCLUDE "opac/parts/advanced/numeric.tt2" %]
38             [% ELSIF pane == 'expert' %]
39             [% INCLUDE "opac/parts/advanced/expert.tt2" %]
40             [% END %]
41             </div>
42             <div class="common-full-pad"></div> 
43         </div>
44     </div>
45 [% END %]