]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/admin.pl
stylesheet/javascript handling verbessert
[mfinanz.git] / bin / mozilla / admin.pl
index c704174c8f66ec2fac026e3e217c8f708b91c369..a9dbd050e109d115e017ace39532b403421a0bdf 100755 (executable)
@@ -91,7 +91,7 @@ sub run {
   $locale = $::locale;
   $auth   = $::auth;
 
-  $form->{stylesheet} = "lx-office-erp.css";
+  $request->{layout}->use_stylesheet("lx-office-erp.css");
   $form->{favicon}    = "favicon.ico";
 
   if ($form->{action}) {
@@ -703,7 +703,7 @@ sub dbupdate {
   my $form            = $main::form;
   my $locale          = $main::locale;
 
-  $form->{stylesheet} = "lx-office-erp.css";
+  $::request->{layout}->use_stylesheet("lx-office-erp.css");
   $form->{title}      = $locale->text("Dataset upgrade");
   $form->header();