X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b2945bf61775161f9ce9be9bdbd106ad44247a14..c90b4dcd:/bin/mozilla/licenses.pl diff --git a/bin/mozilla/licenses.pl b/bin/mozilla/licenses.pl index 49022059f..fb065f254 100644 --- a/bin/mozilla/licenses.pl +++ b/bin/mozilla/licenses.pl @@ -323,10 +323,12 @@ sub add { my $form = $main::form; my $locale = $main::locale; - if (!$main::lizenzen) { + $form->{title} = $locale->text('Add License'); + + if (!$::lx_office_conf{features}->{lizenzen}) { $form->error( $locale->text( - 'The licensing module has been deactivated in lx-erp.conf.') + 'The licensing module has been deactivated in the configuration.') ); } @@ -514,10 +516,12 @@ sub search { my $form = $main::form; my $locale = $main::locale; - if (!$main::lizenzen) { + $form->{title} = $locale->text('Licenses'); + + if (!$::lx_office_conf{features}->{lizenzen}) { $form->error( $locale->text( - 'The licensing module has been deactivated in lx-erp.conf.') + 'The licensing module has been deactivated in the configuration.') ); }