]> wagnertech.de Git - kivitendo-erp.git/commitdiff
und in admin.pl denselben Bug
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 16 Feb 2007 16:01:01 +0000 (16:01 +0000)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 16 Feb 2007 16:01:01 +0000 (16:01 +0000)
bin/mozilla/admin.pl

index c2db1384dc5f9ec0c0504d03c53c0d63cb2ddb9c..3b37dab5ea5800b456fd19e9c63ee8542fc5f3dc 100644 (file)
@@ -473,9 +473,13 @@ sub form_header {
     }
   }
 
     }
   }
 
-  opendir CSS, "css/.";
-  @all = sort(grep({ /\.css$/ && ($_ ne "tabcontent.css") } readdir(CSS)));
-  closedir CSS;
+#  opendir CSS, "css/.";
+#  @all = grep /.*\.css$/, readdir CSS;
+#  closedir CSS;
+
+# css dir has styles that are not intended as general layouts.
+# reverting to hardcoded list
+  @all = qw(lx-office-erp.css Win2000.css);
 
   foreach $item (@all) {
     if ($item eq $myconfig->{stylesheet}) {
 
   foreach $item (@all) {
     if ($item eq $myconfig->{stylesheet}) {