*/
function HTML_Image($src = '', $alt = '', $attrs = array())// ~X2C
{
- $attrs['src'] = $src;
- $attrs['alt'] = $alt;
+ if (is_array($attrs)) {
+ $attrs['src'] = $src;
+ $attrs['alt'] = $alt;
+ } else {
+ $attrs .= " src=$src alt=$alt";
+ }
parent::HTML_Common($attrs);
}
// -X2C