From: Sven Schöling Date: Mon, 5 Mar 2012 10:32:26 +0000 (+0100) Subject: lx-office-erp stylesheet als fallback X-Git-Tag: release-3.0.0beta1~347^2~4 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;ds=sidebyside;h=2bbd4152c4ead167ccbe5dd3487f5be10f787645;p=kivitendo-erp.git lx-office-erp stylesheet als fallback --- diff --git a/SL/Form.pm b/SL/Form.pm index 7eab5c294..810552b1c 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -465,6 +465,8 @@ sub get_stylesheet_for_user { if (my $user_style = $::myconfig{stylesheet}) { $user_style =~ s/\.css$//; # nuke trailing .css, this is a remnand of pre 2.7.0 stylesheet handling $css_path = "$css_path/$user_style" if -d "$css_path/$user_style"; + } else { + $css_path = "$css_path/lx-office-erp"; } $::myconfig{css_path} = $css_path; # needed for menunew, FIXME: don't do this here