X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Flicenses.pl;h=fb065f2549b46678fc34c6e6b35729bf8fcbee47;hb=1e0d413084100ccd892e8c5be95703be5d965de7;hp=218de1fb40e18a9f0c04722317e86c39051a429d;hpb=40782548cf82ac1e4c0fe417113a4cb3072e9390;p=kivitendo-erp.git diff --git a/bin/mozilla/licenses.pl b/bin/mozilla/licenses.pl index 218de1fb4..fb065f254 100644 --- a/bin/mozilla/licenses.pl +++ b/bin/mozilla/licenses.pl @@ -37,15 +37,22 @@ use SL::LICENSES; require "bin/mozilla/common.pl"; +use strict; + sub quot { - $lxdebug->enter_sub(); + $main::lxdebug->enter_sub(); $_[0] =~ s/\"/\"/g; - $lxdebug->leave_sub(); + $main::lxdebug->leave_sub(); return $_[0]; } sub form_header { - $lxdebug->enter_sub(); + $main::lxdebug->enter_sub(); + + $main::auth->assert('license_edit'); + + my $form = $main::form; + $form->{jsscript} = 1; $form->header(); @@ -53,34 +60,48 @@ sub form_header { qq|
+ qq|