Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 881cc205

Von Moritz Bunkus vor etwa 14 Jahren hinzugefügt

  • ID 881cc20546b8445c3d8308e12ed54641c87ef12b
  • Vorgänger 596459af
  • Nachfolger c7edb248

Kosmetik

Unterschiede anzeigen:

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