From: Sven Donath Date: Thu, 16 Sep 2010 12:45:21 +0000 (+0200) Subject: HTML-Menü als Standard. Die Menüvariante v3 (CSS) ist nicht mit allen Browsern kompat... X-Git-Tag: release-2.6.2beta1~131 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=c1b69a2cc9b8bceb807aeeeda9c6a083defde33f;p=kivitendo-erp.git HTML-Menü als Standard. Die Menüvariante v3 (CSS) ist nicht mit allen Browsern kompatibel. Man kann nicht zu allen Browsern kompatibel sein. Aber man kann versuchen mit dem kleinsten gemeinsamen Nenner, hier HTML, einen Kompromiss zu finden. Das erspart vielen Neulingen sinnlosen Ärger. Vielleicht sollte man die default-Einstellung nicht hardcodieren sondern z.B. in lx-erp.conf einstellbar machen? --- diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl index ab34702a6..b1bdcb219 100755 --- a/bin/mozilla/admin.pl +++ b/bin/mozilla/admin.pl @@ -351,13 +351,15 @@ sub add_user { $form->{title} = "Lx-Office ERP " . $locale->text('Administration') . " / " . $locale->text('Add User'); +# Note: Menu Style 'v3' is not compatible to all browsers! +# "menustyle" => "old" sets the HTML Menu to default. my $myconfig = { "vclimit" => 200, "countrycode" => "de", "numberformat" => "1.000,00", "dateformat" => "dd.mm.yy", "stylesheet" => "lx-office-erp.css", - "menustyle" => "v3", + "menustyle" => "old", }; edit_user_form($myconfig); diff --git a/templates/webpages/admin/edit_user.html b/templates/webpages/admin/edit_user.html index b30278050..a9e97d034 100644 --- a/templates/webpages/admin/edit_user.html +++ b/templates/webpages/admin/edit_user.html @@ -174,11 +174,11 @@ [% 'Setup Menu' | $T8 %] diff --git a/templates/webpages/am/config.html b/templates/webpages/am/config.html index 280db9d67..3d5aba29a 100644 --- a/templates/webpages/am/config.html +++ b/templates/webpages/am/config.html @@ -125,11 +125,11 @@ [% 'Setup Menu' | $T8 %]