diff --git a/main/inc/lib/formvalidator/Element/html_editor.php b/main/inc/lib/formvalidator/Element/html_editor.php index 93be962ad7..caae30c626 100644 --- a/main/inc/lib/formvalidator/Element/html_editor.php +++ b/main/inc/lib/formvalidator/Element/html_editor.php @@ -7,8 +7,8 @@ require_once 'HTML/QuickForm/textarea.php'; /** * A html editor field to use with QuickForm */ -class HTML_QuickForm_html_editor extends HTML_QuickForm_textarea { - +class HTML_QuickForm_html_editor extends HTML_QuickForm_textarea +{ /** * Full page */ @@ -36,7 +36,8 @@ class HTML_QuickForm_html_editor extends HTML_QuickForm_textarea { * @param string Attributes for the textarea * @param array $editor_config Optional configuration settings for the online editor. */ - function HTML_QuickForm_html_editor($elementName = null, $elementLabel = null, $attributes = null, $config = null) { + function HTML_QuickForm_html_editor($elementName = null, $elementLabel = null, $attributes = null, $config = null) + { // The global variable $fck_attribute has been deprecated. It stays here for supporting old external code. global $fck_attribute; @@ -88,7 +89,8 @@ class HTML_QuickForm_html_editor extends HTML_QuickForm_textarea { * Return the HTML editor in HTML * @return string */ - function toHtml() { + function toHtml() + { if ($this->getRichEditorStatus() == false) { //Fix rows and cols //$this->_attributes['rows'] = 20; @@ -132,4 +134,4 @@ class HTML_QuickForm_html_editor extends HTML_QuickForm_textarea { //$result .= ''.get_lang('AllowedHTMLTags').''; return $result; } -} \ No newline at end of file +}