Revision 29185b68
Von Sven Schöling vor fast 12 Jahren hinzugefügt
SL/Template/LaTeX.pm | ||
---|---|---|
if ($self->{use_template_toolkit}) {
|
||
my $additional_params = $::form;
|
||
|
||
if ($self->{custom_tag_style}) {
|
||
$contents = "[% TAGS $self->{tag_start} $self->{tag_end} %]\n" . $contents;
|
||
}
|
||
|
||
$::form->init_template->process(\$contents, $additional_params, \$new_contents) || die $::form->template->error;
|
||
} else {
|
||
$new_contents = $self->parse_block($contents);
|
SL/Template/Simple.pm | ||
---|---|---|
my $tag_start = shift;
|
||
my $tag_end = shift;
|
||
|
||
$self->{custom_tag_style} = 1;
|
||
$self->{tag_start} = $tag_start;
|
||
$self->{tag_end} = $tag_end;
|
||
$self->{tag_start_qm} = quotemeta $tag_start;
|
Auch abrufbar als: Unified diff
config tag-style für TT vorlagen