X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Flicenses.pl;h=fb065f2549b46678fc34c6e6b35729bf8fcbee47;hb=1e0d413084100ccd892e8c5be95703be5d965de7;hp=49022059f6c7e188cc57cf280be197b2077e1441;hpb=b2945bf61775161f9ce9be9bdbd106ad44247a14;p=kivitendo-erp.git 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.') ); }