From b51c7496e62417a5b33decfb6fd0ea712db196c4 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 11 Nov 2005 08:49:42 +0000 Subject: [PATCH] not returning labes containing $row or $cont for translating --- etemplate/inc/class.soetemplate.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etemplate/inc/class.soetemplate.inc.php b/etemplate/inc/class.soetemplate.inc.php index a9b51d3171..c398e23c49 100644 --- a/etemplate/inc/class.soetemplate.inc.php +++ b/etemplate/inc/class.soetemplate.inc.php @@ -1270,7 +1270,8 @@ } foreach($strings as $str) { - if (strlen($str) > 1 && $str{0} != '@' && $str{0} != '$') + if (strlen($str) > 1 && $str{0} != '@' && $str{0} != '$' && + strstr($str,'$row') === false && strstr($str,'$cont') === false) { $to_trans[trim(strtolower($str))] = $str; }