"title for ro-image of buttons"

This commit is contained in:
Ralf Becker 2009-04-15 09:16:04 +00:00
parent 68f15f6c5a
commit 2b73958407

View File

@ -1277,7 +1277,7 @@ class etemplate extends boetemplate
}
$html .= !$readonly ? html::submit_button($form_name,$label,$onclick,
strlen($label) <= 1 || $cell['no_lang'],$options,$img,$app,$type == 'buttononly' ? 'button' : 'submit') :
html::image($app,$ro_img);
html::image($app,$ro_img,'',$options);
}
$extra_label = False;
if (!$readonly && $type != 'buttononly') // input button, are never submitted back!