fixed translation of the date-widget's label

This commit is contained in:
Ralf Becker 2003-10-25 21:02:16 +00:00
parent a3ab98c600
commit 3c7811e45a

View File

@ -120,7 +120,11 @@
} }
$value = $str; $value = $str;
$cell['type'] = 'label'; $cell['type'] = 'label';
$cell['no_lang'] = True; if (!$cell['no_lang'])
{
$cell['no_lang'] = True;
$cell['label'] = strlen($cell['label']) > 1 ? lang($cell['label']) : $cell['label'];
}
return True; return True;
} }
$tpl = new etemplate; $tpl = new etemplate;