View | Details | Raw Unified | Return to bug 28356
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc (-34 / +30 lines)
Lines 3-45 Link Here
3
<div class="gradient">
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 -->
4
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Fund Admin Resident Search Box -->
5
5
6
<div id="header_search">
6
    <div id="header_search">
7
    <div id="budgets_search" class="residentsearch">
7
        <div id="budgets_search" class="residentsearch">
8
        <p class="tip">Search funds:</p>
8
            <p class="tip">Search funds:</p>
9
        <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="post">
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 %]" />
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>
11
                <label for="filter_budgetbranch">Library: </label>
12
            <select name="filter_budgetbranch" id="filter_budgetbranch" style="width:10em;">
12
                <select name="filter_budgetbranch" id="filter_budgetbranch" style="width:10em;">
13
                <option value=""></option>
13
                    <option value=""></option>
14
                    [% FOREACH branchloo IN Branches.all( selected => selected_branchcode ) %]
14
                        [% FOREACH branchloo IN Branches.all( selected => selected_branchcode ) %]
15
                        [% IF branchloo.selected %]
15
                            [% IF branchloo.selected %]
16
                        <option value="[% branchloo.branchcode | html %]" selected="selected">[% branchloo.branchname | html %]</option>
16
                            <option value="[% branchloo.branchcode | html %]" selected="selected">[% branchloo.branchname | html %]</option>
17
                        [% ELSE %]
17
                            [% ELSE %]
18
                        <option value="[% branchloo.branchcode | html %]" >[% branchloo.branchname | html %]</option>
18
                            <option value="[% branchloo.branchcode | html %]" >[% branchloo.branchname | html %]</option>
19
                            [% END %]
19
                        [% END %]
20
                        [% END %]
20
                    [% END %]
21
                </select>
21
            </select>
22
              <input type="hidden"  name="budget_period_id" value="[% budget_period_id | html %]" />
22
          <input type="hidden"  name="budget_period_id" value="[% budget_period_id | html %]" />
23
              <input type="submit" class="submit" name="filter" value="Submit" />
23
          <input type="submit" class="submit" name="filter" value="Submit" />
24
            </form>
24
        </form>
25
        </div>
25
    </div>
26
26
27
[% INCLUDE 'patron-search-box.inc' %]
27
        [% INCLUDE 'patron-search-box.inc' %]
28
        [% INCLUDE 'catalogue-search-box.inc' %]
28
29
29
    [% IF ( CAN_user_catalogue ) %]
30
        <ul>
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>
31
            <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 %]
32
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
41
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
33
                <li><a class="keep_text" href="#circ_search">Check out</a></li>
42
            </ul>
34
            [% END %]
43
</div>
35
            [% IF ( CAN_user_catalogue ) %]
36
                <li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>
37
            [% END %]
38
        </ul>
39
    </div>
44
</div>
40
</div>
45
<!-- End Suggestions Resident Search Box -->
41
<!-- End Suggestions Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc (-14 / +1 lines)
Lines 23-42 Link Here
23
</div>
23
</div>
24
[% END %]
24
[% END %]
25
25
26
[% IF ( CAN_user_catalogue ) %]
26
[% INCLUDE 'catalogue-search-box.inc' %]
27
<div id="catalog_search" class="residentsearch">
28
    <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
29
        [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
30
            <label class="tip" for="search-form">Enter search keywords:</label>
31
            [% INCLUDE 'search_indexes.inc' %]
32
        [% ELSE %]
33
            <label class="tip" for="search-form">Enter search keywords:</label>
34
        [% END %]
35
        <input type="text" name="q" id="search-form" size="40" value="[% ms_value | html %]" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
36
        <input type="submit" class="submit" value="Submit" />
37
    </form>
38
</div>
39
[% END %]
40
27
41
<ul>
28
<ul>
42
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
29
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc (-13 / +1 lines)
Lines 29-47 Link Here
29
        </div>
29
        </div>
30
        [% END %]
30
        [% END %]
31
31
32
32
        [% INCLUDE 'catalogue-search-box.inc' %]
33
        <div id="catalog_search" class="residentsearch">
34
            <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
35
                [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
36
                    <label class="tip" for="search-form">Enter search keywords:</label>
37
                    [% INCLUDE 'search_indexes.inc' %]
38
                [% ELSE %]
39
                    <label class="tip" for="search-form">Enter search keywords:</label>
40
                [% END %]
41
                <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
42
                <input type="submit" class="submit" value="Submit" />
43
            </form>
44
        </div>
45
33
46
        <ul>
34
        <ul>
47
            <li><a class="keep_text" href="#addbooks_search">Cataloging search</a></li>
35
            <li><a class="keep_text" href="#addbooks_search">Cataloging search</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue-search-box.inc (+13 lines)
Line 0 Link Here
1
[% IF ( CAN_user_catalogue ) %]
2
    <div id="catalog_search" class="residentsearch">
3
        <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
4
            <label class="tip" for="search-form">Enter search keywords:</label>
5
                [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
6
                    [% INCLUDE 'search_indexes.inc' %]
7
                [% END %]
8
            <input type="text" name="q" id="search-form" size="40" value="[% ms_value | html %]" title="Enter the terms you wish to search for." class="query form-text head-searchbox" />
9
            <input type="submit" value="Submit"  class="submit" />
10
        </form>
11
    </div>
12
[% END %]
13
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc (-14 / +1 lines)
Lines 14-33 Link Here
14
</div>
14
</div>
15
[% END %]
15
[% END %]
16
16
17
[% IF ( CAN_user_catalogue ) %]
17
[% INCLUDE 'catalogue-search-box.inc' %]
18
<div id="catalog_search" class="residentsearch">
19
    <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
20
        [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
21
            <label class="tip" for="search-form">Enter search keywords:</label>
22
            [% INCLUDE 'search_indexes.inc' %]
23
        [% ELSE %]
24
            <label class="tip" for="search-form">Enter search keywords:</label>
25
        [% END %]
26
        <input class="head-searchbox" type="text" name="q" id="search-form" size="40" />
27
        <input type="submit" class="submit" value="Submit"/>
28
    </form>
29
</div>
30
[% END %]
31
<ul>
18
<ul>
32
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
19
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
33
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">Renew</a></li>[% END %]
20
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">Renew</a></li>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc (-14 / +1 lines)
Lines 4-9 Link Here
4
4
5
<div id="header_search">
5
<div id="header_search">
6
    [% INCLUDE 'patron-search-box.inc' %]
6
    [% INCLUDE 'patron-search-box.inc' %]
7
    [% INCLUDE 'catalogue-search-box.inc' %]
7
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
8
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
8
<div id="checkin_search" class="residentsearch">
9
<div id="checkin_search" class="residentsearch">
9
    <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
10
    <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
Lines 20-39 Link Here
20
    </form>
21
    </form>
21
</div>
22
</div>
22
[% END %]
23
[% END %]
23
[% IF ( CAN_user_catalogue ) %]
24
<div id="catalog_search" class="residentsearch">
25
    <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
26
        [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
27
            <label class="tip" for="search-form">Enter search keywords:</label>
28
            [% INCLUDE 'search_indexes.inc' %]
29
        [% ELSE %]
30
            <label class="tip" for="search-form">Enter search keywords:</label>
31
        [% END %]
32
        <input class="head-searchbox" type="text" name="q" id="search-form" size="40" accesskey="q" />
33
        <input type="submit" class="submit" value="Submit"/>
34
    </form>
35
</div>
36
[% END %]
37
24
38
<ul>
25
<ul>
39
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
26
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc (-13 / +1 lines)
Lines 11-30 Link Here
11
	</div>
11
	</div>
12
12
13
    [% INCLUDE 'patron-search-box.inc' %]
13
    [% INCLUDE 'patron-search-box.inc' %]
14
    [% INCLUDE 'catalogue-search-box.inc' %]
14
15
15
	[% IF ( CAN_user_catalogue ) %]
16
    <div id="catalog_search" class="residentsearch">
17
		<form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
18
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
19
                <label class="tip" for="search-form">Enter search keywords:</label>
20
                [% INCLUDE 'search_indexes.inc' %]
21
            [% ELSE %]
22
                <label class="tip" for="search-form">Enter search keywords:</label>
23
            [% END %]
24
             <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
25
				<input type="submit" value="Submit"  class="submit" />
26
		</form>
27
	</div>[% END %]
28
			<ul>
16
			<ul>
29
            <li><a class="keep_text" href="#city_search">Search cities</a></li>
17
            <li><a class="keep_text" href="#city_search">Search cities</a></li>
30
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
18
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc (-14 / +1 lines)
Lines 12-31 Link Here
12
	</div>
12
	</div>
13
13
14
    [% INCLUDE 'patron-search-box.inc' %]
14
    [% INCLUDE 'patron-search-box.inc' %]
15
15
    [% INCLUDE 'catalogue-search-box.inc' %]
16
	[% IF ( CAN_user_catalogue ) %]
17
    <div id="catalog_search" class="residentsearch">
18
		<form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
19
        [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
20
            <label class="tip" for="search-form">Enter search keywords:</label>
21
            [% INCLUDE 'search_indexes.inc' %]
22
        [% ELSE %]
23
            <label class="tip" for="search-form">Enter search keywords:</label>
24
        [% END %]
25
             <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
26
				<input type="submit" value="Submit"  class="submit" />
27
		</form>
28
	</div>[% END %]
29
16
30
	<ul>
17
	<ul>
31
            <li><a class="keep_text" href="#contract_description_search">Search contracts</a></li>
18
            <li><a class="keep_text" href="#contract_description_search">Search contracts</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc (-13 / +1 lines)
Lines 10-28 Link Here
10
        </form>	
10
        </form>	
11
	</div>
11
	</div>
12
    [% INCLUDE 'patron-search-box.inc' %]
12
    [% INCLUDE 'patron-search-box.inc' %]
13
	[% IF ( CAN_user_catalogue ) %]
13
    [% INCLUDE 'catalogue-search-box.inc' %]
14
    <div id="catalog_search" class="residentsearch">
15
		<form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
16
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
17
                <label class="tip" for="search-form">Enter search keywords:</label>
18
                [% INCLUDE 'search_indexes.inc' %]
19
            [% ELSE %]
20
                <label class="tip" for="search-form">Enter search keywords:</label>
21
            [% END %]
22
             <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
23
				<input type="submit" value="Submit"  class="submit" />
24
		</form>
25
	</div>[% END %]
26
			<ul>
14
			<ul>
27
            <li><a class="keep_text" href="#currency_search">Search currencies</a></li>
15
            <li><a class="keep_text" href="#currency_search">Search currencies</a></li>
28
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
16
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/desks-admin-search.inc (-13 / +1 lines)
Lines 11-30 Link Here
11
        </div>
11
        </div>
12
12
13
    [% INCLUDE 'patron-search-box.inc' %]
13
    [% INCLUDE 'patron-search-box.inc' %]
14
    [% INCLUDE 'catalogue-search-box.inc' %]
14
15
15
        [% IF ( CAN_user_catalogue ) %]
16
    <div id="catalog_search" class="residentsearch">
17
                <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
18
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
19
                <label class="tip" for="search-form">Enter search keywords:</label>
20
                [% INCLUDE 'search_indexes.inc' %]
21
            [% ELSE %]
22
                <label class="tip" for="search-form">Enter search keywords:</label>
23
            [% END %]
24
             <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
25
                                <input type="submit" value="Submit"  class="submit" />
26
                </form>
27
        </div>[% END %]
28
                        <ul>
16
                        <ul>
29
            <li><a class="keep_text" href="#desk_search">Search desks</a></li>
17
            <li><a class="keep_text" href="#desk_search">Search desks</a></li>
30
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
18
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc (-10 / +1 lines)
Lines 30-45 Link Here
30
        <input value="Submit" class="submit" type="submit" />
30
        <input value="Submit" class="submit" type="submit" />
31
    </form>
31
    </form>
32
</div>[% END %]
32
</div>[% END %]
33
[% IF ( CAN_user_catalogue ) %]
33
[% INCLUDE 'catalogue-search-box.inc' %]
34
<div id="catalog_search" class="residentsearch">
35
    <label class="tip" for="search-form">Enter search keywords:</label>
36
    <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
37
        [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
38
        <input type="text" name="q" id="search-form" class="head-searchbox" size="40" accesskey="q" />
39
        <input type="submit" class="submit" value="Submit"/>
40
    </form>
41
</div>[% END %]
42
43
<ul>
34
<ul>
44
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
35
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
45
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#checkin_search">Check in</a></li>[% END %]
36
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#checkin_search">Check in</a></li>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc (-13 / +1 lines)
Lines 10-28 Link Here
10
        </form>	
10
        </form>	
11
	</div>
11
	</div>
12
    [% INCLUDE 'patron-search-box.inc' %]
12
    [% INCLUDE 'patron-search-box.inc' %]
13
	[% IF ( CAN_user_catalogue ) %]
13
    [% INCLUDE 'catalogue-search-box.inc' %]
14
    <div id="catalog_search" class="residentsearch">
15
		<form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
16
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
17
                <label class="tip" for="search-form">Enter search keywords:</label>
18
                [% INCLUDE 'search_indexes.inc' %]
19
            [% ELSE %]
20
                <label class="tip" for="search-form">Enter search keywords:</label>
21
            [% END %]
22
            <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
23
				<input type="submit" name="op" value="Submit"  class="submit" />
24
		</form>
25
	</div>[% END %]
26
			<ul>
14
			<ul>
27
            <li><a class="keep_text" href="#notices_search">Search notices</a></li>
15
            <li><a class="keep_text" href="#notices_search">Search notices</a></li>
28
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
16
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-13 / +1 lines)
Lines 97-115 Link Here
97
        </div>
97
        </div>
98
    [% END %]
98
    [% END %]
99
99
100
    [% IF ( CAN_user_catalogue ) %]
100
    [% INCLUDE 'catalogue-search-box.inc' %]
101
    <div id="catalog_search" class="residentsearch">
102
        <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
103
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
104
                <label class="tip" for="search-form">Enter search keywords:</label>
105
                [% INCLUDE 'search_indexes.inc' %]
106
            [% ELSE %]
107
                <label class="tip" for="search-form">Enter search keywords:</label>
108
            [% END %]
109
             <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
110
             <input type="submit" name="op" id="opac-submit" value="Submit" class="submit" />
111
        </form>
112
    </div>[% END %]
113
101
114
    <ul>
102
    <ul>
115
        <li><a class="keep_text" href="#patron_search">Search patrons</a></li>
103
        <li><a class="keep_text" href="#patron_search">Search patrons</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc (-14 / +1 lines)
Lines 12-31 Link Here
12
    </form>
12
    </form>
13
	</div>
13
	</div>
14
    [% INCLUDE 'patron-search-box.inc' %]
14
    [% INCLUDE 'patron-search-box.inc' %]
15
	[% IF ( CAN_user_catalogue ) %]
15
    [% INCLUDE 'catalogue-search-box.inc' %]
16
    <div id="catalog_search" class="residentsearch">
17
		<form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
18
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
19
                <label class="tip" for="search-form">Enter search keywords:</label>
20
                [% INCLUDE 'search_indexes.inc' %]
21
            [% ELSE %]
22
                <label class="tip" for="search-form">Enter search keywords:</label>
23
            [% END %]
24
             <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
25
				<input type="submit" value="Submit" class="submit" />
26
		</form>
27
	</div>
28
	[% END %]
29
			<ul>
16
			<ul>
30
            <li><a class="keep_text" href="#syspref_search">Search system preferences</a></li>
17
            <li><a class="keep_text" href="#syspref_search">Search system preferences</a></li>
31
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
18
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc (-14 / +1 lines)
Lines 19-38 Link Here
19
    </form>
19
    </form>
20
    </div>
20
    </div>
21
    [% INCLUDE 'patron-search-box.inc' %]
21
    [% INCLUDE 'patron-search-box.inc' %]
22
    [% IF ( CAN_user_catalogue ) %]
22
    [% INCLUDE 'catalogue-search-box.inc' %]
23
      <div id="catalog_search" class="residentsearch">
24
        <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
25
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
26
                <label class="tip" for="search-form">Enter search keywords:</label>
27
                [% INCLUDE 'search_indexes.inc' %]
28
            [% ELSE %]
29
                <label class="tip" for="search-form">Enter search keywords:</label>
30
            [% END %]
31
          <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
32
          <input type="submit" value="Submit"  class="submit" />
33
        </form>
34
      </div>
35
    [% END %]
36
    <ul>
23
    <ul>
37
      <li><a href="#subscription_search">Search subscriptions</a></li>
24
      <li><a href="#subscription_search">Search subscriptions</a></li>
38
      [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
25
      [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc (-14 / +1 lines)
Lines 14-34 Link Here
14
	</div>
14
	</div>
15
15
16
    [% INCLUDE 'patron-search-box.inc' %]
16
    [% INCLUDE 'patron-search-box.inc' %]
17
    [% INCLUDE 'catalogue-search-box.inc' %]
17
18
18
	[% IF ( CAN_user_catalogue ) %]
19
    <div id="catalog_search" class="residentsearch">
20
		<form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
21
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
22
                <label class="tip" for="search-form">Enter search keywords:</label>
23
                [% INCLUDE 'search_indexes.inc' %]
24
            [% ELSE %]
25
                <label class="tip" for="search-form">Enter search keywords:</label>
26
            [% END %]
27
            <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
28
				<input type="submit" value="Submit"  class="submit" />
29
		</form>
30
	</div>
31
	[% END %]
32
			<ul>
19
			<ul>
33
            <li><a href="#suggestions_search">Search suggestions</a></li>
20
            <li><a href="#suggestions_search">Search suggestions</a></li>
34
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
21
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc (-15 / +1 lines)
Lines 11-31 Link Here
11
	</div>
11
	</div>
12
12
13
    [% INCLUDE 'patron-search-box.inc' %]
13
    [% INCLUDE 'patron-search-box.inc' %]
14
    [% INCLUDE 'catalogue-search-box.inc' %]
14
15
15
	[% IF ( CAN_user_catalogue ) %]
16
    <div id="catalog_search" class="residentsearch">
17
		<form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
18
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
19
                <label class="tip" for="search-form">Enter search keywords:</label>
20
                [% INCLUDE 'search_indexes.inc' %]
21
            [% ELSE %]
22
                <label class="tip" for="search-form">Enter search keywords:</label>
23
            [% END %]
24
            <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
25
				<input type="submit" value="Submit"  class="submit" />
26
		</form>
27
	</div>
28
	[% END %]
29
			<ul>
16
			<ul>
30
            <li><a class="keep_text" href="#z3950_search">Search Z39.50/SRU servers</a></li>
17
            <li><a class="keep_text" href="#z3950_search">Search Z39.50/SRU servers</a></li>
31
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
18
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
32
- 

Return to bug 28356