From 8f163b462a805985e4c5db3b7d72f57fcdda1822 Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Wed, 18 Jan 2012 09:08:46 -0500 Subject: [PATCH] Revert "Bug 5729 - Add CoinS to intranet" This reverts commit b05389689590fe1c135b3a6762b899df493a836d. Removing this enh from 3.6.x --- catalogue/ISBDdetail.pl | 4 +--- catalogue/MARCdetail.pl | 1 - catalogue/detail.pl | 1 - .../intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt | 5 +---- .../intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt | 4 ---- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 5 ----- 6 files changed, 2 insertions(+), 18 deletions(-) diff --git a/catalogue/ISBDdetail.pl b/catalogue/ISBDdetail.pl index de24490ce0..58a8d901c5 100755 --- a/catalogue/ISBDdetail.pl +++ b/catalogue/ISBDdetail.pl @@ -100,15 +100,13 @@ if ($subscriptionsnumber) { subscriptiontitle => $subscriptiontitle, ); } -my $record = GetMarcBiblio($biblionumber); $template->param ( ISBD => $res, biblionumber => $biblionumber, isbdview => 1, z3950_search_params => C4::Search::z3950_search_args(GetBiblioData($biblionumber)), - ocoins => GetCOinSBiblio($record), - C4::Search::enabled_staff_search_views, + C4::Search::enabled_staff_search_views ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/catalogue/MARCdetail.pl b/catalogue/MARCdetail.pl index 0490076402..0a2974b1aa 100755 --- a/catalogue/MARCdetail.pl +++ b/catalogue/MARCdetail.pl @@ -83,7 +83,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( ); my $record = GetMarcBiblio($biblionumber); -$template->param( ocoins => GetCOinSBiblio($record) ); if ( not defined $record ) { # biblionumber invalid -> report and exit diff --git a/catalogue/detail.pl b/catalogue/detail.pl index a1e5cc91a3..580949d109 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -86,7 +86,6 @@ if (C4::Context->preference("XSLTDetailsDisplay") ) { } $template->param( 'SpineLabelShowPrintOnBibDetails' => C4::Context->preference("SpineLabelShowPrintOnBibDetails") ); -$template->param( ocoins => GetCOinSBiblio($record) ); # some useful variables for enhanced content; # in each case, we're grabbing the first value we find in diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt index 1d924ec9b9..b08f360dc4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt @@ -30,10 +30,7 @@
[% INCLUDE 'cat-toolbar.inc' %] - [% IF ( ocoins ) %] - - - [% END %] +
[% ISBD %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt index ae86ee0633..3fac577e0a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt @@ -57,10 +57,6 @@ function Changefwk(FwkList) { [% IF ( frameworkcodeloo.selected ) %][% ELSE %][% END %] [% END %]

-[% IF ( ocoins ) %] - - -[% END %]
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index dae3ad51c8..019fa10e86 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -68,11 +68,6 @@ function verify_images() {
    [% INCLUDE 'cat-toolbar.inc' %] - [% IF ( ocoins ) %] - - - [% END %] - [% IF ( AmazonEnabled ) %] [% IF ( XSLTDetailsDisplay ) %]
    -- 2.39.5