Revision a9937c85
Von Bernd Blessmann vor mehr als 13 Jahren hinzugefügt
bin/mozilla/ct.pl | ||
---|---|---|
50 | 50 |
use SL::CT; |
51 | 51 |
use SL::CVar; |
52 | 52 |
use SL::DB::Business; |
53 |
use SL::DB::Default; |
|
53 | 54 |
use SL::ReportGenerator; |
54 | 55 |
|
55 | 56 |
require "bin/mozilla/common.pl"; |
... | ... | |
336 | 337 |
|
337 | 338 |
$form->{NOTES} ||= [ ]; |
338 | 339 |
|
340 |
if (!$form->{'language_id'}) { |
|
341 |
my $l_id = SL::DB::Default->get->{'language_id'}; |
|
342 |
if ($l_id) { |
|
343 |
$form->{'default_language_id'} = $l_id; |
|
344 |
} |
|
345 |
} |
|
346 |
|
|
339 | 347 |
$form->{CUSTOM_VARIABLES} = CVar->get_custom_variables('module' => 'CT', 'trans_id' => $form->{id}); |
340 | 348 |
|
341 | 349 |
CVar->render_inputs('variables' => $form->{CUSTOM_VARIABLES}) if (scalar @{ $form->{CUSTOM_VARIABLES} }); |
Auch abrufbar als: Unified diff
Vorauswahl der Sprache fuer Kunden in defaults