]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/Menu.pm
Nach einem Datenbankupgrade den Link "Weiter" durch einen Button ersetzt. Macht ihn...
[kivitendo-erp.git] / SL / Menu.pm
index bef5242667c02080a643f4b76919254f24f01445..5da42e64a06443e3932c839a1aaa02bb2d04875f 100644 (file)
@@ -69,7 +69,7 @@ sub menuitem {
   my $level = $form->escape($item);
 
   my $str =
-    qq|<a href=$module?path=$form->{path}&action=$action&level=$level&login=$form->{login}&password=$form->{password}|;
+    qq|<a style="vertical-align:top" href=$module?path=$form->{path}&action=$action&level=$level&login=$form->{login}&password=$form->{password}|;
 
   my @vars = qw(module action target href);
 
@@ -150,8 +150,11 @@ sub access_control {
     @menu = grep { /^${menulevel}--/ } @{ $self->{ORDER} };
   }
 
-  my @a = split /;/, $myconfig->{acs};
-  my %excl;
+  my @a    = split /;/, $myconfig->{acs};
+  my $excl = ();
+
+  # remove --AR, --AP from array
+  grep { ($a, $b) = split /--/; s/--$a$//; } @a;
 
   map { $excl{$_} = 1 } @a;