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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt (-4 / +4 lines)
Lines 7-26 Link Here
7
   <Tags>koha opac [% LibraryName | html %]</Tags>
7
   <Tags>koha opac [% LibraryName | html %]</Tags>
8
   <Contact>[% KohaAdminEmailAddress | html %]</Contact>
8
   <Contact>[% KohaAdminEmailAddress | html %]</Contact>
9
   <Url type="application/rss+xml"
9
   <Url type="application/rss+xml"
10
        template="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?q={searchTerms}&amp;pw={startPage?}&amp;format=rss2"/>
10
        template="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?q={searchTerms}&amp;pw={startPage?}&amp;format=rss"/>
11
</OpenSearchDescription>
11
</OpenSearchDescription>
12
12
13
[% ELSE %]
13
[% ELSE %]
14
14
15
[% IF ( rss2 ) %]
15
[% IF ( rss ) %]
16
<rss version="2.0"
16
<rss version="2.0"
17
      xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"
17
      xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"
18
      xmlns:dc="http://purl.org/dc/elements/1.1/"
18
      xmlns:dc="http://purl.org/dc/elements/1.1/"
19
      xmlns:atom="http://www.w3.org/2005/Atom">
19
      xmlns:atom="http://www.w3.org/2005/Atom">
20
   <channel>
20
   <channel>
21
     <title><![CDATA[[% LibraryName | html %] Search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]]]></title>
21
     <title><![CDATA[[% LibraryName | html %] Search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]]]></title>
22
     <link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html %][% limit_cgi | html %]&amp;format=rss2</link>
22
     <link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html %][% limit_cgi | html %]&amp;format=rss</link>
23
     <atom:link rel="self" type="application/rss+xml" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %]&amp;sort_by=[% sort_by | uri %]&amp;format=rss2"/>
23
     <atom:link rel="self" type="application/rss+xml" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %]&amp;sort_by=[% sort_by | uri %]&amp;format=atom"/>
24
     <description><![CDATA[ Search results [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %] at [% LibraryName | html %]]]></description>
24
     <description><![CDATA[ Search results [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %] at [% LibraryName | html %]]]></description>
25
     <opensearch:totalResults>[% total | html %]</opensearch:totalResults>
25
     <opensearch:totalResults>[% total | html %]</opensearch:totalResults>
26
     <opensearch:startIndex>[% offset | html %]</opensearch:startIndex>
26
     <opensearch:startIndex>[% offset | html %]</opensearch:startIndex>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-3 / +3 lines)
Lines 18-24 Link Here
18
    [% END %]
18
    [% END %]
19
[% END %]
19
[% END %]
20
20
21
<link rel="alternate" type="application/rss+xml" title="[% LibraryName | html %] Search RSS feed" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | url %][% limit_cgi |uri %]&amp;count=[% countrss |uri %]&amp;sort_by=acqdate_dsc&amp;format=rss2" />
21
<link rel="alternate" type="application/rss+xml" title="[% LibraryName | html %] Search RSS feed" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | url %][% limit_cgi | uri %]&amp;count=[% countrss | uri %]&amp;sort_by=acqdate_dsc&amp;format=rss" />
22
</head>
22
</head>
23
23
24
[% INCLUDE 'bodytag.inc' bodyid='results' bodyclass='scrollto' %]
24
[% INCLUDE 'bodytag.inc' bodyid='results' bodyclass='scrollto' %]
Lines 43-49 Link Here
43
                        <strong>No results found!</strong>
43
                        <strong>No results found!</strong>
44
                        <p>
44
                        <p>
45
                            [% IF ( searchdesc ) %]
45
                            [% IF ( searchdesc ) %]
46
                                No results found for that in [% LibraryName | html %] catalog. <a href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | url %][% limit_cgi | html | url %]&amp;format=rss2" class="rsssearchlink noprint"><img src="[% interface | html %]/[% theme | html %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" border="0" class="rsssearchicon"/></a>
46
                                No results found for that in [% LibraryName | html %] catalog. <a href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | url %][% limit_cgi | html | url %]&amp;format=rss" class="rsssearchlink noprint"><img src="[% interface %]/[% theme | html %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" border="0" class="rsssearchicon"/></a>
47
                            [% ELSE %]
47
                            [% ELSE %]
48
                                You did not specify any search criteria.
48
                                You did not specify any search criteria.
49
                            [% END %]
49
                            [% END %]
Lines 87-93 Link Here
87
                                [% END %]
87
                                [% END %]
88
                            ).
88
                            ).
89
                        [% END %]
89
                        [% END %]
90
                        <a href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | url %][% limit_cgi |html | url %]&amp;count=[% countrss | html %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink noprint"><img src="[% interface | html %]/[% theme | html %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a>
90
                        <a href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | url %][% limit_cgi | html | url %]&amp;count=[% countrss | html %]&amp;sort_by=acqdate_dsc&amp;format=rss" class="rsssearchlink noprint"><img src="[% interface | html %]/[% theme | html %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a>
91
                    [% END # / IF total %]
91
                    [% END # / IF total %]
92
                    </p>
92
                    </p>
93
                [% END # / IF searchdesc %]
93
                [% END # / IF searchdesc %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt (-3 / +2 lines)
Lines 71-77 Link Here
71
                                                    <tr>
71
                                                    <tr>
72
                                                        <td><input type="checkbox" name="id" value="[% s.id | html %]" /></td>
72
                                                        <td><input type="checkbox" name="id" value="[% s.id | html %]" /></td>
73
                                                        <td><span title="[% s.time | html %]">[% s.time |$KohaDates with_hours => 1 | html %]</span></td>
73
                                                        <td><span title="[% s.time | html %]">[% s.time |$KohaDates with_hours => 1 | html %]</span></td>
74
                                                        <td><a href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html |url %][% limit_cgi |html | url %]&amp;[% s.query_cgi | html %]&amp;count=[% countrss | html %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink"><img src="[% interface | html %]/[% theme | html %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a> <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi | html %]">[% s.query_desc | html %]</a></td>
74
                                                        <td><a href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html |url %][% limit_cgi | html | url %]&amp;[% s.query_cgi | html %]&amp;count=[% countrss | html %]&amp;sort_by=acqdate_dsc&amp;format=rss" class="rsssearchlink"><img src="[% interface | html %]/[% theme | html %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a> <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi | html %]">[% s.query_desc | html %]</a></td>
75
                                                        <td>[% s.total | html %]</td>
75
                                                        <td>[% s.total | html %]</td>
76
                                                    </tr>
76
                                                    </tr>
77
                                                [% END %]
77
                                                [% END %]
Lines 111-117 Link Here
111
                                                <tr>
111
                                                <tr>
112
                                                    <td><input type="checkbox" name="id" value="[% s.id | html %]" /></td>
112
                                                    <td><input type="checkbox" name="id" value="[% s.id | html %]" /></td>
113
                                                    <td><span title="[% s.time | html %]">[% s.time |$KohaDates with_hours => 1 | html %]</span></td>
113
                                                    <td><span title="[% s.time | html %]">[% s.time |$KohaDates with_hours => 1 | html %]</span></td>
114
                                                    <td><a href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html |url %][% limit_cgi |html | url %]&amp;[% s.query_cgi | html %]&amp;count=[% countrss | html %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink"><img src="[% interface | html %]/[% theme | html %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a> <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi | html %]">[% s.query_desc | html %]</a></td>
114
                                                    <td><a href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html |url %][% limit_cgi | html | url %]&amp;[% s.query_cgi | html %]&amp;count=[% countrss | html %]&amp;sort_by=acqdate_dsc&amp;format=rss" class="rsssearchlink"><img src="[% interface | html %]/[% theme | html %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a> <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi | html %]">[% s.query_desc | html %]</a></td>
115
                                                    <td>[% s.total | html %]</td>
115
                                                    <td>[% s.total | html %]</td>
116
                                                </tr>
116
                                                </tr>
117
                                            [% END %]
117
                                            [% END %]
118
- 

Return to bug 16111