From: Moritz Bunkus Date: Tue, 15 Feb 2011 08:02:25 +0000 (+0100) Subject: Verwendete Schnittstelle (CGI/FastCGI) in Versionsinfoscreen anzeigen X-Git-Tag: release-2.6.3~82 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=bb800c52769934354b53caa7a81ee52e88e3b4d4;p=kivitendo-erp.git Verwendete Schnittstelle (CGI/FastCGI) in Versionsinfoscreen anzeigen --- diff --git a/SL/Dispatcher.pm b/SL/Dispatcher.pm index f22cf0e9f..26312f6f2 100644 --- a/SL/Dispatcher.pm +++ b/SL/Dispatcher.pm @@ -35,6 +35,11 @@ sub new { return $self; } +sub interface_type { + my ($self) = @_; + return $self->{interface} eq 'cgi' ? 'CGI' : 'FastCGI'; +} + sub pre_request_checks { if (!$::auth->session_tables_present) { if ($::form->{script} eq 'admin.pl') { diff --git a/bin/mozilla/login.pl b/bin/mozilla/login.pl index 49cb6c613..43ef95224 100644 --- a/bin/mozilla/login.pl +++ b/bin/mozilla/login.pl @@ -163,6 +163,7 @@ sub company_logo { $form->{stylesheet} = $myconfig{stylesheet}; $form->{title} = $::locale->text('Lx-Office'); + $form->{interface} = $::dispatcher->interface_type; # create the logo screen $form->header() unless $form->{noheader}; diff --git a/locale/de/all b/locale/de/all index 41038e16e..dd550435e 100644 --- a/locale/de/all +++ b/locale/de/all @@ -1897,6 +1897,7 @@ $self->{texts} = { 'Warning' => 'Warnung', 'Warnings during template upgrade' => 'Warnungen bei Aktualisierung der Dokumentenvorlagen', 'WebDAV link' => 'WebDAV-Link', + 'Webserver interface' => 'Webserverschnittstelle', 'Weight' => 'Gewicht', 'Weight unit' => 'Gewichtseinheit', 'What term you are looking for?' => 'Nach welchem Begriff wollen Sie suchen?', diff --git a/templates/webpages/login/company_logo.html b/templates/webpages/login/company_logo.html index 7946c5274..fc758d89a 100644 --- a/templates/webpages/login/company_logo.html +++ b/templates/webpages/login/company_logo.html @@ -40,6 +40,10 @@ [% 'Database Host' | $T8 %] [% HTML.escape(myconfig_dbhost) %] + + [% 'Webserver interface' | $T8 %] + [% HTML.escape(interface) %] + [% 'Lx-Office Homepage' | $T8 %]: http://lx-office.org