Thomas Bruederli
2012-11-17 be9aacaa5296dfca63fb3a01c2dc52538d1546aa
program/include/html.php
@@ -23,7 +23,8 @@
/**
 * Class for HTML code creation
 *
 * @package HTML
 * @package    Framework
 * @subpackage HTML
 */
class html
{
@@ -252,9 +253,9 @@
     * @return string HTML code
     * @see html::tag()
     */
    public static function br()
    public static function br($attrib = array())
    {
        return self::tag('br');
        return self::tag('br', $attrib);
    }
    /**
@@ -334,7 +335,7 @@
     */
    public static function quote($str)
    {
        return htmlspecialchars($str, ENT_COMPAT, RCMAIL_CHARSET);
        return @htmlspecialchars($str, ENT_COMPAT, RCMAIL_CHARSET);
    }
}
@@ -681,9 +682,9 @@
        $cell->content = $cont;
        $this->rows[$this->rowindex]->cells[$this->colindex] = $cell;
        $this->colindex++;
        $this->colindex += max(1, intval($attr['colspan']));
        if ($this->attrib['cols'] && $this->colindex == $this->attrib['cols']) {
        if ($this->attrib['cols'] && $this->colindex >= $this->attrib['cols']) {
            $this->add_row();
        }
    }