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}&pw={startPage?}&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 |
- |
|
|