2 # ---------------------------------------------------------------------------------
3 # OPAC Search bar that appears at the top of each page
4 # Submission of the search calls the 'mr_basic_search()' function which expects a
5 # table called 'mr_results_table' to be available for population.
7 # if the 'js_only' variable is set to true, then the search form will do all of
8 # the work locally (javascript) instead of reloading the current page
9 # ---------------------------------------------------------------------------------
11 # grab the textmap info for this page
12 tm = global.textmap.opac.search_bar;
14 WRAPPER html/div id='opac_search_bar_box';
16 WRAPPER html/table border='0' width='100%';
19 WRAPPER html/cell nowrap='nowrap' valign='middle' align='left';
20 INCLUDE opac/pages/chunks/search_bar_form.ttk;
24 WRAPPER html/cell align='center';
25 WRAPPER html/div class="text_link_div" id='adv_search_link_div';
26 anchor( id='adv_search_link', href='?target=advanced_search', text = tm.advanced );
30 WRAPPER html/cell align='center';
32 WRAPPER html/div class='text_link_div' id='login_div';
33 anchor( id='login_link', href='?target=login', text = tm.login );
36 WRAPPER html/div style="display:none;visibility:hidden" class='text_link_div' id='logout_div';
37 anchor( id='logout_link', href='?target=logout', text = tm.logout );
42 WRAPPER html/cell align='center';
43 WRAPPER html/div class='text_link_div' id='my_opac_link_div';
44 anchor( id='my_opac_link', href='?target=my_opac', text = tm.my_opac );
49 WRAPPER html/cell align='center';
50 WRAPPER html/div class='text_link_div' id='about_link_div';
51 anchor( id='about_link', href='?target=about', text = tm.about );
56 WRAPPER html/cell valign='bottom' align='right';
57 WRAPPER html/div id='small_logo_div';
58 WRAPPER html/anchor href=global.config.root_url;
59 img(src = "/images/small_logo.jpg", border="0", width='30', height='30');
64 cell( content = space(2) );