Revision 29185b68
Von Sven Schöling vor mehr als 11 Jahren hinzugefügt
SL/Template/LaTeX.pm | ||
---|---|---|
356 | 356 |
if ($self->{use_template_toolkit}) { |
357 | 357 |
my $additional_params = $::form; |
358 | 358 |
|
359 |
if ($self->{custom_tag_style}) { |
|
360 |
$contents = "[% TAGS $self->{tag_start} $self->{tag_end} %]\n" . $contents; |
|
361 |
} |
|
362 |
|
|
359 | 363 |
$::form->init_template->process(\$contents, $additional_params, \$new_contents) || die $::form->template->error; |
360 | 364 |
} else { |
361 | 365 |
$new_contents = $self->parse_block($contents); |
SL/Template/Simple.pm | ||
---|---|---|
48 | 48 |
my $tag_start = shift; |
49 | 49 |
my $tag_end = shift; |
50 | 50 |
|
51 |
$self->{custom_tag_style} = 1; |
|
51 | 52 |
$self->{tag_start} = $tag_start; |
52 | 53 |
$self->{tag_end} = $tag_end; |
53 | 54 |
$self->{tag_start_qm} = quotemeta $tag_start; |
Auch abrufbar als: Unified diff
config tag-style für TT vorlagen