From 498ef1b87023789caae08f5216312df4f0444cf5 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 29 Oct 2002 00:52:59 +0000 Subject: [PATCH] changed behavior of no_lang on extra labels (labels in front of input-fields, not buttons), the get now always translated if they are longer than 1 char and do not contain variable content (via @ or $) --- etemplate/inc/class.uietemplate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.uietemplate.inc.php b/etemplate/inc/class.uietemplate.inc.php index fec96c8ff2..93b2855ce6 100644 --- a/etemplate/inc/class.uietemplate.inc.php +++ b/etemplate/inc/class.uietemplate.inc.php @@ -776,7 +776,7 @@ } if ($extra_label && ($label != '' || $html == '')) { - if (strlen($label) > 1 && !$cell['no_lang']) + if (strlen($label) > 1 && !($cell['no_lang'] && $cell['label'] != $label)) { $label = lang($label); }