Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision be6f6cfd

Von Moritz Bunkus vor fast 14 Jahren hinzugefügt

  • ID be6f6cfd8dc7def5356edd0c5aacb814b4baded1
  • Vorgänger 2b339152
  • Nachfolger d29b0238

Globale Variablen für Systemeinstellungen und Features nach %::lx_office_conf verschoben

Betroffen sind:
$webdav
$vertreter
$lizenzen
$show_best_before
$parts_show_image
$parts_image_css
$parts_listing_images
$eur
$dbcharset
$language

Unterschiede anzeigen:

SL/Dispatcher.pm
52 52
  my $template             = shift;
53 53
  my $error_type           = shift || '';
54 54

  
55
  $::locale                = Locale->new($::language);
55
  $::locale                = Locale->new($::lx_office_conf{system}->{language});
56 56
  $::form->{error}         = $::locale->text('The session is invalid or has expired.') if ($error_type eq 'session');
57 57
  $::form->{error}         = $::locale->text('Incorrect password!.')                   if ($error_type eq 'password');
58
  $::myconfig{countrycode} = $::language;
58
  $::myconfig{countrycode} = $::lx_office_conf{system}->{language};
59 59
  $::form->{stylesheet}    = 'css/lx-office-erp.css';
60 60

  
61 61
  $::form->header;
......
164 164
  $self->unrequire_bin_mozilla;
165 165

  
166 166
  $::cgi         = CGI->new('');
167
  $::locale      = Locale->new($::language);
167
  $::locale      = Locale->new($::lx_office_conf{system}->{language});
168 168
  $::form        = Form->new;
169 169
  %::called_subs = ();
170 170

  

Auch abrufbar als: Unified diff