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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc (+1 lines)
Lines 46-51 Link Here
46
    [% END %]
46
    [% END %]
47
[% END %]
47
[% END %]
48
[% IF ( Koha.Preference('OPACBaseURL') ) %]
48
[% IF ( Koha.Preference('OPACBaseURL') ) %]
49
    <link rel="search" type="application/opensearchdescription+xml" href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-search.pl?format=opensearchdescription" title="Search [% LibraryNameTitle | html %]">
49
    <link rel="unapi-server" type="application/xml" title="unAPI" href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/unapi" />
50
    <link rel="unapi-server" type="application/xml" title="unAPI" href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/unapi" />
50
[% END %]
51
[% END %]
51
[% PROCESS cssinclude %]
52
[% PROCESS cssinclude %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt (-10 / +14 lines)
Lines 5-19 Link Here
5
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
5
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
6
6
7
[% IF ( opensearchdescription ) %]
7
[% IF ( opensearchdescription ) %]
8
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
8
    <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
9
   <ShortName>[% LibraryName | html %] Search</ShortName>
9
        <ShortName>[% LibraryNameTitle | html %]</ShortName>
10
   <Description>Search the [% LibraryName | html %]</Description>
10
        <Description>Search the [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha library[% END %] catalog</Description>
11
   <Tags>koha opac [% LibraryName | html %]</Tags>
11
        <InputEncoding>UTF-8</InputEncoding>
12
   <Contact>[% KohaAdminEmailAddress | html %]</Contact>
12
        <Image width="16" height="16" type="image/x-icon">
13
   <Url type="application/rss+xml"
13
            [% IF ( Koha.Preference('OpacFavicon') ) %]
14
        template="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?q={searchTerms}&amp;pw={startPage?}&amp;format=rss"/>
14
                [% Koha.Preference('OpacFavicon') | url %]
15
</OpenSearchDescription>
15
            [% ELSE %]
16
16
                [% Koha.Preference('OPACBaseURL') | url %][% interface | url %]/[% theme | url %]/images/favicon.ico
17
            [% END %]
18
        </Image>
19
        <Url method="get" type="text/html" template="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-search.pl?q={searchTerms}" />
20
        <Query role="example" searchTerms="cat" />
21
    </OpenSearchDescription>
17
[% ELSE %]
22
[% ELSE %]
18
23
19
[% IF ( rss ) %]
24
[% IF ( rss ) %]
20
- 

Return to bug 11994