X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c2bb1ff42520dba2abfe3faddca99de0c543d455..493bb35d18d4733af35205ff9a0b82fc02f13c42:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index 221f7b1aa..9f0cf11bc 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -594,8 +594,11 @@ sub _prepare_html_template { if (-f "templates/webpages/${file}.html") { $file = "templates/webpages/${file}.html"; + } elsif (ref $file eq 'SCALAR') { + # file is a scalarref, use inline mode } else { my $info = "Web page template '${file}' not found.\n"; + $::form->header; print qq|
$info
|; ::end_of_request(); }