From 35e22c72eba429f13ba0bb56ab7fdd40ab4ea9a2 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Thu, 9 May 2013 16:57:11 +0200 Subject: [PATCH] Minor - cosmetic changes --- main/inc/lib/formvalidator/Element/html_editor.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 +}