if you pass the style to htmlarea, and the htmlarea is available, then style is used as switch for the fck editor-mode. If not passed extended is

used as default.
This commit is contained in:
Klaus Leithoff 2008-08-11 09:28:37 +00:00
parent c5a3178c77
commit 871116b6e1

View File

@ -448,7 +448,7 @@ class html
{ {
return self::textarea($name,$content,'style="'.$style.'"'); return self::textarea($name,$content,'style="'.$style.'"');
} }
return self::fckEditor($name, $content, 'extended', array('toolbar_expanded' =>'true'), '400px', '100%', $base_href); return self::fckEditor($name, $content, ($style ? $style : 'extended'), array('toolbar_expanded' =>'true'), '400px', '100%', $base_href);
} }
/** /**