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 $)

This commit is contained in:
Ralf Becker 2002-10-29 00:52:59 +00:00
parent c1550c8638
commit 498ef1b870

View File

@ -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);
}