@@ -, +, @@
/cgi-bin/koha/plugins/plugins-home.pl?method=opac_js
---
.../prog/en/modules/plugins/plugins-home.tt | 40 ++++++++++---------
1 file changed, 22 insertions(+), 18 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
@@ -57,7 +57,27 @@
[% END %]
[% END %]
-
Plugins
+
+ [% UNLESS ( method ) %]
+ All plugins
+ [% ELSE %]
+ [% IF method == 'tool' %]
+ Plugins that can be used as a tool
+ [% ELSIF method == 'report' %]
+ Plugins that can create a report
+ [% ELSIF method == 'to_marc' %]
+ Plugins that can convert files to MARC records
+ [% ELSIF method == 'opac_online_payment' %]
+ Plugins that can process online payments via the public catalog
+ [% ELSIF method == 'intranet_catalog_biblio_enhancements' %]
+ Plugins that can enhance the intranet catalog biblio records
+ [% ELSIF method == 'ill_availability_services' %]
+ Plugins that can provide ILL availability
+ [% ELSE %]
+ Plugins with class [% method | html %]
+ [% END %]
+ [% END %]
+
[% IF search_results %]
Search results
@@ -83,23 +103,7 @@
[% END %]
[% UNLESS ( plugins ) %]
- [% UNLESS ( method ) %]
- No plugins installed
- [% ELSE %]
- [% IF method == 'tool' %]
- 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
- [% ELSIF method == 'intranet_catalog_biblio_enhancements' %]
- No plugins that can enhance the intranet catalog biblio records are installed
- [% ELSE %]
- Unknown plugin type [% method | html %]
- [% END %]
- [% END %]
+ No plugins installed
[% ELSE %]