Browse Source

Bug 23975: (RM follow-up) Comment example configuration

As promised, I am commenting out the configuration for git repositories
to use for searches by default prior to release. To enable the feature,
simply uncomment the relevant github repositories or add your own.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
20.05.x
Martin Renvoize 2 years ago
parent
commit
4c579207d9
Signed by: martin.renvoize GPG Key ID: 422B469130441A0F
  1. 2
      debian/templates/koha-conf-site.xml.in
  2. 2
      etc/koha-conf.xml
  3. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt
  4. 1
      plugins/plugins-home.pl

2
debian/templates/koha-conf-site.xml.in

@ -410,6 +410,7 @@ __END_SRU_PUBLICSERVER__
<dev_install>0</dev_install>
<strict_sql_modes>0</strict_sql_modes>
<plugin_repos>
<!--
<repo>
<name>ByWater Solutions</name>
<org_name>bywatersolutions</org_name>
@ -425,6 +426,7 @@ __END_SRU_PUBLICSERVER__
<org_name>ptfs-europe</org_name>
<service>github</service>
</repo>
-->
</plugin_repos>
<koha_xslt_security>

2
etc/koha-conf.xml

@ -234,6 +234,7 @@ __PAZPAR2_TOGGLE_XML_POST__
<dev_install>0</dev_install>
<strict_sql_modes>0</strict_sql_modes>
<plugin_repos>
<!--
<repo>
<name>ByWater Solutions</name>
<org_name>bywatersolutions</org_name>
@ -249,6 +250,7 @@ __PAZPAR2_TOGGLE_XML_POST__
<org_name>ptfs-europe</org_name>
<service>github</service>
</repo>
-->
</plugin_repos>
<koha_xslt_security>

2
koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt

@ -41,6 +41,7 @@
</ul>
</div>
[% IF can_search %]
<div class="btn-group">
<form class="form-inline" id="plugin-search-form">
<div class="form-group">
@ -53,6 +54,7 @@
</div>
</form>
</div>
[% END %]
</div>
[% END %]
<h1>Plugins</h1>

1
plugins/plugins-home.pl

@ -60,6 +60,7 @@ if ($plugins_enabled) {
$template->param( plugins => \@plugins, );
$template->param( can_search => C4::Context->config('plugin_repos') ? 1 : 0 );
my @results;
if ($plugin_search) {
my $repos = C4::Context->config('plugin_repos');

Loading…
Cancel
Save