From 6173df6f48b2aa33f07d9d8133968122bc82c88e Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Wed, 8 Nov 2006 08:06:27 +0000 Subject: [PATCH] * reworked api call for fckeditor --- phpgwapi/inc/class.html.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 "";