Kyle M Hall
a8942c2884
Revert "DBRev to make notes of the XSS patches and the new important dependency." This reverts commite140603a59
. Revert "Bug 13618: Specific for branches.opac_info" This reverts commit06e4a50f00
. Revert "Bug 13618: (follow-up) Specific for other prefs" This reverts commitd6475a111f
. Revert "Bug 13618: Fix for debarredcomment and patron messages" This reverts commitdd98c9df92
. Revert "Bug 13618: Do not display html tags in patron's notices" This reverts commita065b243fe
. Revert "Bug 13618: Do not display and html tags in item fields content" This reverts commitbaeeaffbf8
. Revert "Bug 13618: Fix for system preference description" This reverts commita967a09261
. Revert "Bug 13618: Remove html filters for newly pushed code" This reverts commit0e98662b10
. Revert "Bug 13618: (follow-up) add missing lines for opac-shelves" This reverts commitfc2fb605e5
. Revert "Bug 13618: (follow-up) Specific for ColumnsSettings" This reverts commitbc308fdd9c
. Revert "Bug 13618: Fix for edit biblios and items" This reverts commit811c4e8402
. Revert "Bug 13618: followup to remove tabs" This reverts commitca8e8c397c
. Revert "Bug 13618: Fix last occurrences recently introduced to master" This reverts commitbb417b256b
. Revert "Bug 13618: Fix for news" This reverts commitae5b98020a
. Revert "Bug 13618: Fix escape on sending baskets or shelves by email" This reverts commita7731ffe25
. Revert "Bug 13618: Specific for XSLTBloc" This reverts commit11fa38dc29
. Revert "Bug 13618: Specific for Salutation on editing a patron" This reverts commit36c07ad6d3
. Revert "Bug 13618: Specific for other prefs" This reverts commite6ea281a3b
. Revert "Bug 13618 - memberentrygen.tt errors Not a GLOB reference" This reverts commit7824874557
. Revert "Bug 13618: Specific for ColumnsSettings" This reverts commit1834da3da3
. Revert "Bug 13618: Specific for IntranetUser* and OPACUser* prefs" This reverts commit21ae62b253
. Revert "Bug 13618: Fix error 'Not a GLOB reference'" This reverts commit602bdbab4c
. Revert "Bug 13618: Specific for the ISBD view" This reverts commitd254362435
. Revert "Bug 13618: Specific for pagination_bar" This reverts commit8837a8ae68
. Revert "Bug 13618: Specific places where we don't need to escape variables - intra" This reverts commit00eff140b3
. Revert "Bug 13618: Remove html filters at the intranet" This reverts commit7db851ff03
. Revert "Bug 13618: Specific places where we don't need to escape variables" This reverts commit49a3738b8d
. Revert "Bug 13618: Remove html filters at the OPAC" This reverts commitcedaa0e23e
. Revert "Bug 13618: Use Template::Stash::AutoEscaping to use the html filter" This reverts commit01b38d3b13
. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
190 lines
13 KiB
Text
190 lines
13 KiB
Text
[% USE Koha %]
|
|
[% USE KohaDates %]
|
|
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Recent comments</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
[% BLOCK cssinclude %][% END %]
|
|
<link rel="alternate" type="application/rss+xml" title="[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog recent comments" href="[% OPACBaseURL %]/cgi-bin/koha/opac-showreviews.pl?format=rss" />
|
|
</head>
|
|
[% INCLUDE 'bodytag.inc' bodyid='opac-showreviews' bodyclass='scrollto' %]
|
|
[% INCLUDE 'masthead.inc' %]
|
|
|
|
<div class="main">
|
|
<ul class="breadcrumb">
|
|
<li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
|
|
<li><a href="#">Recent comments</a></li>
|
|
</ul>
|
|
|
|
<div class="container-fluid">
|
|
<div class="row-fluid">
|
|
[% IF ( OpacNav || OpacNavBottom ) %]
|
|
<div class="span2">
|
|
<div id="navigation">
|
|
[% INCLUDE 'navigation.inc' %]
|
|
</div>
|
|
</div>
|
|
<div class="span10">
|
|
[% ELSE %]
|
|
<div class="span12">
|
|
[% END %]
|
|
<div id="showreviews" class="searchresults maincontent">
|
|
<h3>Recent comments <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-showreviews.pl?format=rss" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to recent comments" title="Subscribe to recent comments" border="0" class="rsssearchicon"/></a></h3>
|
|
<table class="table table-striped">
|
|
[% FOREACH review IN reviews %]
|
|
<tr>
|
|
<td>
|
|
<p>
|
|
[% IF ( BiblioDefaultViewmarc ) %]
|
|
<a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
|
|
[% ELSE %]
|
|
[% IF ( BiblioDefaultViewisbd ) %]
|
|
<a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
|
|
[% ELSE %]
|
|
<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
|
|
[% END %]
|
|
[% END %]
|
|
[% IF ( review.title ) %][% review.title %][% ELSE %]No title[% END %]
|
|
[% FOREACH subtitl IN review.subtitle %] [% subtitl.subfield |html %][% END %]
|
|
</a>
|
|
[% IF ( review.author ) %]
|
|
by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% review.author |url %]" title="Search for works by this author" class="author">[% review.author %]</a>
|
|
[% END %]
|
|
</p>
|
|
<p>
|
|
<span class="results_summary">
|
|
<span class="label">Publication:</span>
|
|
[% IF ( review.place ) %][% review.place %] [% END %]
|
|
[% IF ( review.publishercode ) %][% review.publishercode %][% END %]
|
|
[% IF ( review.publicationyear ) %]
|
|
[% review.publicationyear %]
|
|
[% ELSE %]
|
|
[% IF ( review.copyrightdate ) %]
|
|
[% review.copyrightdate %]
|
|
[% END %]
|
|
[% END %]
|
|
[% IF ( review.pages ) %]. [% review.pages %][% END %]
|
|
[% IF ( review.notes ) %], [% review.notes %][% END %]
|
|
[% IF ( review.size ) %] [% review.size %][% END %]
|
|
</span>
|
|
[% IF ( review.summary ) %]
|
|
<span class="result_summary">
|
|
[% review.summary %]
|
|
</span>
|
|
[% END %]
|
|
[% IF ( review.copyrightdate ) %]
|
|
<span class="results_summary">
|
|
<span class="label">Date:</span>
|
|
[% review.copyrightdate %]</span>
|
|
[% END %]
|
|
</p>
|
|
|
|
<p class="commentline[% IF ( review.your_comment ) %] yours[% END %]">
|
|
[% IF ( review.avatarurl ) %]
|
|
<img class="avatar" src="[% review.avatarurl %]" height="40" width="40" alt="" />
|
|
[% END %]
|
|
[% FILTER html_break %]
|
|
[% review.review |html %]
|
|
[% END %]
|
|
<span style="font-size:87%;font-color:#CCC;">Added [% review.datereviewed | $KohaDates %] [% IF ( review.your_comment ) %] by <strong>you</strong>[% ELSE %]
|
|
[% IF ( review.borrowernumber && ShowReviewer != "none" ) %] by
|
|
[% SWITCH ShowReviewer %]
|
|
[% CASE 'full' %]
|
|
[% review.borrtitle %] [% review.firstname %] [% review.surname %]
|
|
[% CASE 'first' %]
|
|
[% review.firstname %]
|
|
[% CASE 'surname' %]
|
|
[% review.surname %]
|
|
[% CASE 'firstandinitial' %]
|
|
[% review.firstname %] [% review.surname|truncate(2,'.') %]
|
|
[% CASE 'username' %]
|
|
[% review.userid %]
|
|
[% END %]
|
|
[% END %][% END %]</span></p>
|
|
</td>
|
|
<td>
|
|
[% IF ( review.BiblioDefaultViewmarc ) %]
|
|
<a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
|
|
[% ELSE %]
|
|
[% IF ( review.BiblioDefaultViewisbd ) %]
|
|
<a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
|
|
[% ELSE %]
|
|
<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
|
|
[% END %]
|
|
[% END %]
|
|
|
|
[% IF ( OPACAmazonCoverImages ) %]
|
|
[% IF ( review.normalized_isbn ) %]
|
|
<img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />
|
|
[% ELSE %]
|
|
<span class="no-image">No cover image available</span>
|
|
[% END %]
|
|
[% END %]
|
|
|
|
[% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
|
|
[% IF ( using_https ) %]
|
|
<img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% review.normalized_upc %]&oclc=[% review.normalized_oclc %]" alt="" class="thumbnail" />
|
|
[% ELSE %]
|
|
<img src="http://www.syndetics.com/index.aspx?isbn=[% review.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% review.normalized_upc %]&oclc=[% review.normalized_oclc %]" alt="" class="thumbnail" />
|
|
[% END %]
|
|
[% END %]
|
|
|
|
[% IF ( GoogleJackets ) %]
|
|
[% IF ( review.normalized_isbn ) %]
|
|
<div style="block" title="[% review.biblionumber |url %]" class="[% review.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
|
|
[% ELSE %]
|
|
<span class="no-image">No cover image available</span>
|
|
[% END %]
|
|
[% END %]
|
|
</a>
|
|
[% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
|
|
[% IF ( BakerTaylorEnabled ) %]
|
|
[% IF ( bt_id ) %]
|
|
<a href="https://[% review.BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker & Taylor" src="[% review.BakerTaylorImageURL |html %][% bt_id %]" /></a>
|
|
[% ELSE %]
|
|
<span class="no-image">No cover image available</span>
|
|
[% END %]
|
|
[% END %]
|
|
</td>
|
|
</tr>
|
|
[% END # / FOREACH review %]
|
|
</table>
|
|
|
|
[% IF ( PAGE_NUMBERS ) %]
|
|
<div class="pages">
|
|
<!-- Row of numbers corresponding to showreviews result pages -->
|
|
[% IF ( previous_page_offset ) %]
|
|
<a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% previous_page_offset %]"><< Previous</a>
|
|
[% ELSE %]
|
|
[% IF ( previous_page_first ) %]
|
|
<a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=0"><< Previous</a>
|
|
[% END %]
|
|
[% END %]
|
|
[% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
|
|
[% IF ( PAGE_NUMBER.highlight ) %]
|
|
<span class="currentPage">[% PAGE_NUMBER.pg %]</span>
|
|
[% ELSE %]
|
|
<a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% PAGE_NUMBER.offset %]">[% PAGE_NUMBER.pg %]</a>
|
|
[% END %]
|
|
[% END %]
|
|
[% IF ( next_page_offset ) %]
|
|
<a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% next_page_offset %]">Next >></a>
|
|
[% END %]
|
|
</div>
|
|
[% END # / IF PAGE_NUMBERS %]
|
|
</div> <!-- / #showreviews -->
|
|
</div> <!-- / .span10/12 -->
|
|
</div> <!-- / .row-fluid -->
|
|
</div> <!-- / .container-fluid -->
|
|
</div> <!-- / .main -->
|
|
|
|
[% INCLUDE 'opac-bottom.inc' %]
|
|
[% BLOCK jsinclude %]
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
$(document).ready(function(){
|
|
[% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %]
|
|
});
|
|
//]]>
|
|
</script>
|
|
[% END %]
|