diff --git a/phpgwapi/inc/class.html.inc.php b/phpgwapi/inc/class.html.inc.php index afe24d1dc4..1694c2e2cc 100644 --- a/phpgwapi/inc/class.html.inc.php +++ b/phpgwapi/inc/class.html.inc.php @@ -583,14 +583,14 @@ class html * @param string $base_href='' * @return string the necessary html for the textarea */ - function fckEditorQuick($_name, $_mode, $_content='', $_style='', $base_href='') { + function fckEditorQuick($_name, $_mode, $_content='', $_height='400px', $_width='100%') { include_once(EGW_INCLUDE_ROOT."/phpgwapi/js/fckeditor/fckeditor.php"); $oFCKeditor = new FCKeditor($_name) ; $oFCKeditor->BasePath = $GLOBALS['egw_info']['server']['webserver_url'].'/phpgwapi/js/fckeditor/' ; $oFCKeditor->Value = $_content; - $oFCKeditor->Width = '100%' ; - $oFCKeditor->Height = '400px' ; + $oFCKeditor->Width = $_width ; + $oFCKeditor->Height = $_height ; switch($_mode) { case 'ascii': return "";