@@ -, +, @@
the pulldown filter list
---
koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt | 6 ++++++
opac/opac-account.pl | 8 ++++----
2 files changed, 10 insertions(+), 4 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt
@@ -39,6 +39,8 @@
View all plugins
View report plugins
View tool plugins
+ View MARC conversion plugins
+ View online payment plugins
@@ -53,6 +55,10 @@
No plugins that can be used as a tool are installed
[% ELSIF method == 'report' %]
No plugins that can create a report are installed
+ [% ELSIF method == 'to_marc' %]
+ No plugins that can convert files to MARC records are installed
+ [% ELSIF method == 'opac_online_payment' %]
+ No plugins that can process online payments via the public catalog are installed
[% ELSE %]
Unknown plugin type [% method %]
[% END %]
--- a/opac/opac-account.pl
+++ a/opac/opac-account.pl
@@ -80,12 +80,12 @@ $template->param(
my $plugins_enabled = C4::Context->preference('UseKohaPlugins') && C4::Context->config("enable_plugins");
if ( $plugins_enabled ) {
- my @plugins = Koha::Plugins->new()->GetPlugins({
- method => 'opac_online_payment',
- });
+ my @plugins = Koha::Plugins->new()->GetPlugins({
+ method => 'opac_online_payment',
+ });
# Only pass in plugins where opac online payment is enabled
@plugins = grep { $_->opac_online_payment } @plugins;
- $template->param( plugins => \@plugins );
+ $template->param( plugins => \@plugins );
}
output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 };
--