@@ -, +, @@ --- .../prog/en/modules/tools/tools-home.tt | 13 +++++++++++-- tools/tools-home.pl | 7 +++++++ 2 files changed, 18 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt @@ -120,9 +120,18 @@
Quote editor for Quote-of-the-day feature in OPAC
[% END %] - [% IF ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool ) %] + [% IF ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool && tool_plugins ) %]
Tool plugins
-
Use tool plugins
+
+ Use tool plugins + [% FOREACH plugin IN tool_plugins %] + + [% END %] +
[% END %] [% IF ( CAN_user_tools_upload_general_files ) %] --- a/tools/tools-home.pl +++ a/tools/tools-home.pl @@ -43,4 +43,11 @@ $template->param( pendingtags => $pendingtags ); +if ( C4::Context->config('enable_plugins') ) { + my @tool_plugins = Koha::Plugins->new()->GetPlugins({ + method => 'tool', + }); + $template->param( tool_plugins => \@tool_plugins ); +} + output_html_with_http_headers $query, $cookie, $template->output; --