|
Lines 44-79
YAHOO.util.Event.onContentReady("header_search", function() {
Link Here
|
| 44 |
}); |
44 |
}); |
| 45 |
//]]> |
45 |
//]]> |
| 46 |
</script> [% END %][% END %] |
46 |
</script> [% END %][% END %] |
| 47 |
<div id="header_search"> |
|
|
| 48 |
<div id="budgets_search" class="residentsearch"> |
| 49 |
<p class="tip">Search budgets:</p> |
| 50 |
|
| 51 |
<form action="/cgi-bin/koha/admin/aqbudgets.pl" method="post"> |
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
<label for="filter_budgetname">Name: </label><input type="text" name="filter_budgetname" id="filter_budgetname" size="20" value="[% filter_budgetname %]" /> |
| 56 |
|
47 |
|
|
|
48 |
<div id="header_search"> |
| 49 |
<div id="budgets_search" class="residentsearch"> |
| 50 |
<p class="tip">Search funds:</p> |
| 51 |
<form action="/cgi-bin/koha/admin/aqbudgets.pl" method="post"> |
| 52 |
<label for="filter_budgetname">Fund code: </label><input type="text" name="filter_budgetname" id="filter_budgetname" size="20" value="[% filter_budgetname %]" /> |
| 53 |
<label for="filter_budgetbranch">Library: </label> |
| 54 |
<select name="filter_budgetbranch" id="filter_budgetbranch" style="width:10em;"> |
| 55 |
<option value=""></option> |
| 56 |
[% FOREACH branchloo IN branchloop %] |
| 57 |
[% IF ( branchloo.selected ) %] |
| 58 |
<option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option> |
| 59 |
[% ELSE %] |
| 60 |
<option value="[% branchloo.value %]" >[% branchloo.branchname %]</option> |
| 61 |
[% END %] |
| 62 |
[% END %] |
| 63 |
</select> |
| 64 |
<input type="hidden" name="budget_period_id" value="[% budget_period_id %]" /> |
| 65 |
<input type="submit" class="submit" name="filter" value="Submit" /> |
| 66 |
</form> |
| 67 |
</div> |
| 57 |
|
68 |
|
| 58 |
<label for="filter_budgetbranch">Library: </label> |
|
|
| 59 |
|
| 60 |
<select name="filter_budgetbranch" id="filter_budgetbranch" style="width:10em;"> |
| 61 |
|
| 62 |
<option value=""></option> |
| 63 |
[% FOREACH branchloo IN branchloop %] |
| 64 |
[% IF ( branchloo.selected ) %] |
| 65 |
<option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option> |
| 66 |
[% ELSE %] |
| 67 |
<option value="[% branchloo.value %]" >[% branchloo.branchname %]</option> |
| 68 |
[% END %] |
| 69 |
[% END %] |
| 70 |
</select> |
| 71 |
|
| 72 |
<input type="hidden" name="budget_period_id" value="[% budget_period_id %]" /> |
| 73 |
<input type="submit" class="submit" name="filter" value="Submit" /> |
| 74 |
</form> |
| 75 |
|
| 76 |
</div> |
| 77 |
[% IF ( CAN_user_circulate ) %] |
69 |
[% IF ( CAN_user_circulate ) %] |
| 78 |
<div id="circ_search" class="residentsearch" style="display:none;"> |
70 |
<div id="circ_search" class="residentsearch" style="display:none;"> |
| 79 |
<p class="tip">Enter patron card number or partial name:</p> |
71 |
<p class="tip">Enter patron card number or partial name:</p> |
|
Lines 107-113
YAHOO.util.Event.onContentReady("header_search", function() {
Link Here
|
| 107 |
</form> |
99 |
</form> |
| 108 |
</div>[% END %] |
100 |
</div>[% END %] |
| 109 |
<ul> |
101 |
<ul> |
| 110 |
<li><a href="/cgi-bin/koha/admin/aqbudgets.pl#budgets_search">Search budgets</a></li> |
102 |
<li><a href="/cgi-bin/koha/admin/aqbudgets.pl#budgets_search">Search funds</a></li> |
| 111 |
[% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] |
103 |
[% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] |
| 112 |
[% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] |
104 |
[% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] |
| 113 |
</ul> |
105 |
</ul> |
| 114 |
- |
|
|