X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Flicenses.pl;h=5876e85887f46e7d5b05f12ccb544d9991e8c463;hb=4077825982a622b654888a20121c845d0e15c9c3;hp=442ff605fd1bf6c86ef20a698d96f4932aa7a9e5;hpb=a14a3ff56b00e22c39a2cfb0e465f8c7764a4cd4;p=kivitendo-erp.git
diff --git a/bin/mozilla/licenses.pl b/bin/mozilla/licenses.pl
index 442ff605f..5876e8588 100644
--- a/bin/mozilla/licenses.pl
+++ b/bin/mozilla/licenses.pl
@@ -35,6 +35,8 @@ use SL::IC;
use SL::IS;
use SL::LICENSES;
+require "bin/mozilla/common.pl";
+
sub quot {
$lxdebug->enter_sub();
$_[0] =~ s/\"/\"/g;
@@ -44,6 +46,9 @@ sub quot {
sub form_header {
$lxdebug->enter_sub();
+
+ $auth->assert('license_edit');
+
$form->{jsscript} = 1;
$form->header();
@@ -56,7 +61,10 @@ sub form_header {
sub form_footer {
$lxdebug->enter_sub();
- my @items = ("path", "login", "password", "old_callback", "previousform");
+
+ $auth->assert('license_edit');
+
+ my @items = qw(old_callback previousform);
push(@items, @{ $form->{"hidden"} });
map({
print("{$_}) . "\">\n"
@@ -64,7 +72,7 @@ sub form_footer {
} @items);
print(
- qq|
+ qq|