projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e12375
)
Form::parse_html_template() darf Form::error() nicht aufrufen, weil die wiederum...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 17 Feb 2006 13:54:29 +0000
(13:54 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 17 Feb 2006 13:54:29 +0000
(13:54 +0000)
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
afdbd03
..
b6f62fb
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-434,7
+434,10
@@
sub parse_html_template {
} elsif (-f "templates/webpages/${file}.html") {
$file = "templates/webpages/${file}.html";
} else {
- $self->error("Web page template '${file}' not found.");
+ my $info = "Web page template '${file}' not found.\n" .
+ "Please re-run 'locales.pl' in 'locale/" . $main::myconfig{"countrycode"} . "'.";
+ print(qq|<pre>$info</pre>|);
+ die($info);
}
my $template = HTML::Template->new("filename" => $file,