Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2e66dde5

Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt

  • ID 2e66dde525c12d064518c316d25a6b41ed727b39
  • Vorgänger 05b30be4
  • Nachfolger cd417762

'templates' nicht aus %::myconfig, sondern aus Defaults-Tabelle holen

Unterschiede anzeigen:

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