X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Flicenses.pl;h=5876e85887f46e7d5b05f12ccb544d9991e8c463;hb=dd88b40826189b57d3b816320d645f1517b020d2;hp=4efab2ff32315657173df798635fd85817713482;hpb=d319704a66e9be64da837ccea10af6774c2b0838;p=kivitendo-erp.git
diff --git a/bin/mozilla/licenses.pl b/bin/mozilla/licenses.pl
index 4efab2ff3..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|