X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Flicenses.pl;h=5876e85887f46e7d5b05f12ccb544d9991e8c463;hb=924d69362b6626c8798ccc9f0b9f046f6be02872;hp=52e5e4f866e3ce6c04ac8c6fdd2401ca07094f48;hpb=081a4f9736f3bc345872be8f61632cbed4a8d9b3;p=kivitendo-erp.git
diff --git a/bin/mozilla/licenses.pl b/bin/mozilla/licenses.pl
index 52e5e4f86..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,10 @@ sub quot {
sub form_header {
$lxdebug->enter_sub();
+
+ $auth->assert('license_edit');
+
+ $form->{jsscript} = 1;
$form->header();
print(
@@ -55,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"
@@ -63,7 +72,7 @@ sub form_footer {
} @items);
print(
- qq|
+ qq|