Bugzilla – Attachment 36653 Details for
Bug 7843
Add RSS feeds for OPAC news
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED-QA] Bug 7843: (qa-followup) Create an RSS feed for news in Opac
PASSED-QA-Bug-7843-qa-followup-Create-an-RSS-feed-.patch (text/plain), 1.73 KB, created by
Kyle M Hall (khall)
on 2015-03-06 09:54:12 UTC
(
hide
)
Description:
[PASSED-QA] Bug 7843: (qa-followup) Create an RSS feed for news in Opac
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-03-06 09:54:12 UTC
Size:
1.73 KB
patch
obsolete
>From da15c2a01ac1611d1963cec80302fb0ee541cbe8 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 19 Feb 2015 12:48:44 +0100 >Subject: [PATCH] [PASSED-QA] Bug 7843: (qa-followup) Create an RSS feed for > news in Opac > >1/ use strict and warnings are useless, Modern::Perl is used >2/ Prefer to use the interface and theme TT var instead of the hard >coded path > >Signed-off-by: Pierre <tredok.pierre@gmail.com> >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 2 +- > opac/opac-news-rss.pl | 4 ---- > 2 files changed, 1 insertion(+), 5 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >index 5dd7955..ca86c22 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >@@ -48,7 +48,7 @@ > [% END %] > </div> > <div id="rssnews-container"> >- <a href="opac-news-rss.pl"><img src="/opac-tmpl/bootstrap/images/feed-icon-16x16.png"></a> >+ <a href="opac-news-rss.pl"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png"></a> > RSS for the librarys general newsfeed. > </div> > [% END %] >diff --git a/opac/opac-news-rss.pl b/opac/opac-news-rss.pl >index 5250a74..d48fceb 100755 >--- a/opac/opac-news-rss.pl >+++ b/opac/opac-news-rss.pl >@@ -25,10 +25,6 @@ use C4::Output; > use C4::NewsChannels; # GetNewsToDisplay > use C4::Languages qw(getTranslatedLanguages accept_language); > >-use strict; >-use warnings; >- >- > my $input = new CGI; > my $dbh = C4::Context->dbh; > >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7843
:
28926
|
35733
|
36017
|
36023
|
36024
|
36025
|
36390
|
36403
|
36414
|
36415
|
36416
|
36417
|
36418
|
36651
|
36652
| 36653 |
36654
|
36655
|
36656