diff --git a/phpgwapi/inc/class.html.inc.php b/phpgwapi/inc/class.html.inc.php index 8aec4bf17f..edd0496137 100644 --- a/phpgwapi/inc/class.html.inc.php +++ b/phpgwapi/inc/class.html.inc.php @@ -534,6 +534,10 @@ htmlareaConfig_'.$id.'.editorURL = '."'$this->phpgwapi_js_url/htmlarea/';"; } $html .= "\t\n"; } + if (!is_array($rows)) + { + echo "

".function_backtrace()."

\n"; + } $html .= "\n"; if ($no_table_tr) @@ -691,4 +695,16 @@ htmlareaConfig_'.$id.'.editorURL = '."'$this->phpgwapi_js_url/htmlarea/';"; } return "$content"; } + + function fieldset($content,$legend='',$options='') + { + $html = "
".($legend ? ''.$this->htmlspecialchars($legend).'' : '')."\n"; + + if ($content) + { + $html .= $content; + $html .= "\n
\n"; + } + return $html; + } } \ No newline at end of file