X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/ee072e4f077213bf6f8792ca8f0a1afebbb6282f..e69e3657:/bin/mozilla/licenses.pl
diff --git a/bin/mozilla/licenses.pl b/bin/mozilla/licenses.pl
index 93397361b..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|