enabled translation of the title-tag of images as submit-buttons

This commit is contained in:
Ralf Becker 2003-02-22 15:03:27 +00:00
parent f6394ba593
commit fe64fbbb17

View File

@ -587,7 +587,7 @@
list($img,$ro_img) = explode(',',$cell['size']); list($img,$ro_img) = explode(',',$cell['size']);
if (!empty($img)) if (!empty($img))
{ {
$options .= ' TITLE="'.$label.'"'; $options .= ' TITLE="'.(strlen($label)<=1||$cell['no_lang']?$label:lang($label)).'"';
} }
$html .= !$readonly ? $this->html->submit_button($form_name,$label,'', $html .= !$readonly ? $this->html->submit_button($form_name,$label,'',
strlen($label) <= 1 || $cell['no_lang'],$options,$img,$app) : strlen($label) <= 1 || $cell['no_lang'],$options,$img,$app) :