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