Revision 2e66dde5
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/Template/LaTeX.pm | ||
---|---|---|
12 | 12 |
use List::MoreUtils qw(any); |
13 | 13 |
use Unicode::Normalize qw(); |
14 | 14 |
|
15 |
use SL::DB::Default; |
|
16 |
|
|
15 | 17 |
sub new { |
16 | 18 |
my $type = shift; |
17 | 19 |
|
... | ... | |
516 | 518 |
$local_form->{IN} = $template_file_name; |
517 | 519 |
$local_form->{tmpdir} = $::lx_office_conf{paths}->{userspath}; |
518 | 520 |
$local_form->{tmpfile} = $tex_file_name; |
519 |
$local_form->{templates} = $::myconfig{templates};
|
|
521 |
$local_form->{templates} = SL::DB::Default->get->templates;
|
|
520 | 522 |
|
521 | 523 |
foreach (keys %params) { |
522 | 524 |
croak "The parameter '$_' must not be used." if exists $local_form->{$_}; |
Auch abrufbar als: Unified diff
'templates' nicht aus %::myconfig, sondern aus Defaults-Tabelle holen