Revision 881cc205
Von Moritz Bunkus vor mehr als 14 Jahren hinzugefügt
SL/Dispatcher.pm | ||
---|---|---|
|
||
sub show_error {
|
||
$::lxdebug->enter_sub;
|
||
my $template = shift;
|
||
my $error_type = shift || '';
|
||
$::locale = Locale->new($::language, 'all');
|
||
$::form->{error} = $::locale->text('The session is invalid or has expired.') if ($error_type eq 'session');
|
||
$::form->{error} = $::locale->text('Incorrect password!.') if ($error_type eq 'password');
|
||
my $template = shift;
|
||
my $error_type = shift || '';
|
||
|
||
$::locale = Locale->new($::language, 'all');
|
||
$::form->{error} = $::locale->text('The session is invalid or has expired.') if ($error_type eq 'session');
|
||
$::form->{error} = $::locale->text('Incorrect password!.') if ($error_type eq 'password');
|
||
$::myconfig{countrycode} = $::language;
|
||
$::form->{stylesheet} = 'css/lx-office-erp.css';
|
||
|
Auch abrufbar als: Unified diff
Kosmetik