]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/Layout/Javascript.pm
Dateimanagement: Anhänge-aller-Artikel-Download: auch für andere OE-Typen
[kivitendo-erp.git] / SL / Layout / Javascript.pm
index 366e0d7c9464322b1b11f7b0883cff77236e1a9f..72f55fc18f2df6cac95bd445c303c678f1606145 100644 (file)
@@ -41,7 +41,7 @@ sub pre_content {
   $_[0]->presenter->render("menu/menunew",
     force_ul_width  => 1,
     menu            => $_[0]->menu,
-    icon_path       => sub { my $img = "image/icons/16x16/$_[0].png"; -f $img ? $img : () },
+    icon_path       => sub { my $simg = "image/icons/svg/$_[0].svg";  my $pimg="image/icons/16x16/$_[0].png"; -f $simg ? $simg : ( -f $pimg ? $pimg : ()) },
     max_width       => sub { 10 * max map { length $::locale->text($_->{name}) } @{ $_[0]{children} || [] } },
   );
 }
@@ -59,7 +59,6 @@ sub stylesheets {
     dhtmlsuite/menu-item.css
     dhtmlsuite/menu-bar.css
     icons16.css
-    frame_header/header.css
     menu.css
   ));
   $_[0]->SUPER::stylesheets;