X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Flogin.pl;h=e88872113808af90cbf6a61d87065bbbb69b9ad2;hb=435a5be586488ee4700b0a4fed0c91b5a5e1abfb;hp=765e4d33482e0a2f3575e3500ee7e086c3902585;hpb=4dbb09950c9f5596646537c12d991c99086fe7c1;p=kivitendo-erp.git diff --git a/bin/mozilla/login.pl b/bin/mozilla/login.pl index 765e4d334..e88872113 100644 --- a/bin/mozilla/login.pl +++ b/bin/mozilla/login.pl @@ -27,12 +27,10 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ####################################################################### - use DBI; use SL::User; use SL::Form; - $form = new Form; $locale = new Locale $language, "login"; @@ -50,7 +48,8 @@ if (-f "$form->{path}/$form->{login}_$form->{script}") { } # window title bar, user info -$form->{titlebar} = "Lx-Office ".$locale->text('Version'). " $form->{version}"; +$form->{titlebar} = + "Lx-Office " . $locale->text('Version') . " $form->{version}"; if ($form->{action}) { $form->{titlebar} .= " - $myconfig{name} - $myconfig{dbname}"; @@ -59,17 +58,15 @@ if ($form->{action}) { &login_screen; } - 1; - sub login_screen { $lxdebug->enter_sub(); - + if (-f "css/lx-office-erp.css") { $form->{stylesheet} = "lx-office-erp.css"; } - + $form->{fokus} = "loginscreen.login"; $form->header; @@ -86,7 +83,8 @@ sub login_screen {