LP#1507845: Improve search engine optimization
[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     ctx.metalinks.push('<meta name="robots" content="noindex,follow">');
9 -%]
10     <h2 class="sr-only">[% l('Advanced Search') %]</h2>
11     <div id="search-wrapper">
12         <div id="search-box">
13             <span class="search_catalog_lbl mobile_hide">[% l('Search the Catalog') %]</span>
14             <span class="adv_search_catalog_lbl"><a href="[% mkurl(ctx.opac_root _ '/home') %]"
15                     id="home_adv_search_link">[%l('Basic Search')%]</a></span>
16
17             <span class="browse_the_catalog_lbl"><a href="[% mkurl(ctx.opac_root _ '/browse') %]">[%
18                     l('Browse the Catalog')%]</a></span>
19         </div>
20         <div id="adv_search_parent">
21             <div id="adv_search_tabs">
22                 <a href="[% mkurl('', {pane => 'advanced'}) %]"
23                     [% IF pane == 'advanced' %]class="on" [% END %]
24                     id="adv_search">[% l('Advanced Search') %]</a>
25                 <a href="[% mkurl('', {pane => 'numeric'}) %]"
26                     [% IF pane == 'numeric' %]class="on" [% END %]
27                     id="num_search">[% l('Numeric Search') %]</a>
28                 <a href="[% mkurl('', {pane => 'expert'}) %]"
29                     [% IF pane == 'expert' %]class="on" [% END %]
30                     id="expert_search">[% l('Expert Search') %]</a>
31             </div>
32         </div>
33     </div>
34     <div id="content-wrapper">
35         <div id="main-content">
36             <div class="advanced_div">
37             [% IF pane == 'advanced' %]
38             [% INCLUDE "opac/parts/advanced/search.tt2" %]
39             [% ELSIF pane == 'numeric' %]
40             [% INCLUDE "opac/parts/advanced/numeric.tt2" %]
41             [% ELSIF pane == 'expert' %]
42             [% INCLUDE "opac/parts/advanced/expert.tt2" %]
43             [% END %]
44             </div>
45             <div class="common-full-pad"></div> 
46         </div>
47     </div>
48 [% END %]