Bug 17600: Fix opac/svc/overdrive
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / budgets-admin-search.inc
1 [% USE Koha %]
2 [% USE Branches %]
3 <div class="gradient">
4 <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Fund Admin Resident Search Box -->
5
6 <div id="header_search">
7     <div id="budgets_search" class="residentsearch">
8         <p class="tip">Search funds:</p>
9         <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="post">
10             <label for="filter_budgetname">Fund code: </label><input class="query" type="text" name="filter_budgetname" id="filter_budgetname" size="20" value="[% filter_budgetname | html %]" />
11             <label for="filter_budgetbranch">Library: </label>
12             <select name="filter_budgetbranch" id="filter_budgetbranch" style="width:10em;">
13                 <option value=""></option>
14                     [% FOREACH branchloo IN Branches.all( selected => selected_branchcode ) %]
15                         [% IF branchloo.selected %]
16                         <option value="[% branchloo.branchcode | html %]" selected="selected">[% branchloo.branchname | html %]</option>
17                         [% ELSE %]
18                         <option value="[% branchloo.branchcode | html %]" >[% branchloo.branchname | html %]</option>
19                         [% END %]
20                     [% END %]
21             </select>
22           <input type="hidden"  name="budget_period_id" value="[% budget_period_id | html %]" />
23           <input type="submit" class="submit" name="filter" value="Submit" />
24         </form>
25     </div>
26
27 [% INCLUDE 'patron-search-box.inc' %]
28
29     [% IF ( CAN_user_catalogue ) %]
30     <div id="catalog_search" class="residentsearch">
31         <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
32             <label class="tip" for="search-form">Enter search keywords:</label>
33              [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
34              <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="query form-text" />
35                 <input type="submit" value="Submit"  class="submit" />
36         </form>
37     </div>[% END %]
38             <ul>
39             <li><a class="keep_text" href="#budgets_search">Search funds</a></li>
40             [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
41             [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
42             </ul>
43 </div>
44 </div>
45 <!-- End Suggestions Resident Search Box -->