X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/dc11c6a1d9dc79fdbf738720c99bb2d503a48c1a..574e8c5b12ce49296b665509627a84bc1d1a0604:/pear_lib_tmp/HTML/Image.php diff --git a/pear_lib_tmp/HTML/Image.php b/pear_lib_tmp/HTML/Image.php index 5c9df5b..2a13944 100644 --- a/pear_lib_tmp/HTML/Image.php +++ b/pear_lib_tmp/HTML/Image.php @@ -53,7 +53,7 @@ class HTML_Image extends HTML_Common { * @return void * @access public */ - function HTML_Image($src = '', $alt = '', $attrs = array())// ~X2C + function HTML_Image($src = '', $alt = '', $attrs = array('border' => 0))// ~X2C { $attrs['src'] = $src; $attrs['alt'] = $alt; @@ -102,7 +102,7 @@ class HTML_Image extends HTML_Common { */ function setSrc($src)// ~X2C { - $this->updateAttributes('src' => $src); + $this->updateAttributes(array('src' => $src)); } // -X2C @@ -130,10 +130,10 @@ class HTML_Image extends HTML_Common { */ function setAlt($alt)// ~X2C { - $this->updateAttributes('alt' => $alt); + $this->updateAttributes(array('alt' => $alt)); } // -X2C } // -X2C Class :Image -?> +?> \ No newline at end of file