X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fadmin.pl;h=28bc6fad212c40f062886ce30062947c6c61753d;hb=7804fab3bb495ddedd90159071c51b35a7e603ce;hp=6ac2a514404e660364e1d6dda425c9cb2816d2b3;hpb=27cd1e791f08771c4c0873461c83397345a47d88;p=kivitendo-erp.git diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl index 6ac2a5144..28bc6fad2 100644 --- a/bin/mozilla/admin.pl +++ b/bin/mozilla/admin.pl @@ -487,8 +487,13 @@ sub form_header { $form->header; - if ($myconfig->{menustyle} eq "neu") { $neu = "checked"; } - else { $old = "checked"; } + if ($myconfig->{menustyle} eq "v3") { + $menustyle_v3 = "checked"; + } elsif ($myconfig->{menustyle} eq "neu") { + $menustyle_neu = "checked"; + } else { + $menustyle_old = "checked"; + } print qq| @@ -596,8 +601,13 @@ sub form_header { | . $locale->text('Setup Menu') . qq| -  New -  Old +  | . + $locale->text("Top (CSS)") . qq| +  | . + $locale->text("Top (Javascript)") . qq| +  | . + $locale->text("Old (on the side)") . qq| + {templates}> @@ -1457,7 +1467,7 @@ sub create_dataset { } opendir SQLDIR, "sql/." or $form - error($!); - foreach $item (sort grep /-chart\.sql/, readdir SQLDIR) { + foreach $item (sort grep /-chart\.sql\z/, readdir SQLDIR) { next if ($item eq 'Default-chart.sql'); $item =~ s/-chart\.sql//; push @charts, @@ -1466,21 +1476,22 @@ sub create_dataset { closedir SQLDIR; $selectencoding = qq|