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:
df870c6
)
Eine Fehlermeldung ausgeben, wenn der veraltete Aufruf "parse_html_template2" gefunde...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 11 Jan 2008 13:25:53 +0000
(13:25 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 11 Jan 2008 13:25:53 +0000
(13:25 +0000)
locale/de/locales.pl
patch
|
blob
|
history
diff --git
a/locale/de/locales.pl
b/locale/de/locales.pl
index
a183f1c
..
580c605
100755
(executable)
--- a/
locale/de/locales.pl
+++ b/
locale/de/locales.pl
@@
-350,8
+350,11
@@
sub scanfile {
}
# is this a template call?
- if (/parse_html_template\s*\(\s*[\"\']([\w\/]+)\s*[\"\']/) {
+ if (/parse_html_template
2?
\s*\(\s*[\"\']([\w\/]+)\s*[\"\']/) {
my $newfile = "$basedir/templates/webpages/$1_master.html";
+ if (/parse_html_template2/) {
+ print "E: " . strip_base($file) . " is still using 'parse_html_template2' for " . strip_base($newfile) . ".\n";
+ }
if (-f $newfile) {
# &scanhtmlfile($newfile);
# &converthtmlfile($newfile);