diff --git a/main/inc/lib/formvalidator/Element/HtmlEditor.php b/main/inc/lib/formvalidator/Element/HtmlEditor.php index 196e02ee0b..aee11e252c 100644 --- a/main/inc/lib/formvalidator/Element/HtmlEditor.php +++ b/main/inc/lib/formvalidator/Element/HtmlEditor.php @@ -72,7 +72,7 @@ class HtmlEditor extends HTML_QuickForm_textarea } else { $styleCss = $this->editor->getConfigAttribute('style'); - if ($styleCss){ + if ($styleCss) { $style = true; } else { $style = false; @@ -93,13 +93,13 @@ class HtmlEditor extends HTML_QuickForm_textarea /** * @return string */ - public function buildEditor($style=false) + public function buildEditor($style = false) { $result = ''; if ($this->editor) { $this->editor->value = $this->getValue(); $this->editor->setName($this->getName()); - if($style==true){ + if ($style == true) { $result = $this->editor->createHtmlStyle(); } else { $result = $this->editor->createHtml(); diff --git a/main/inc/lib/formvalidator/FormValidator.class.php b/main/inc/lib/formvalidator/FormValidator.class.php index 3c1a1e02f1..b71d85d080 100755 --- a/main/inc/lib/formvalidator/FormValidator.class.php +++ b/main/inc/lib/formvalidator/FormValidator.class.php @@ -761,7 +761,7 @@ EOT; /** @var HtmlEditor $element */ $element = $this->getElement($name); - if ($style){ + if ($style) { $config['style'] = true; } if ($fullPage) { diff --git a/main/inc/lib/userportal.lib.php b/main/inc/lib/userportal.lib.php index de5ddf880e..476ecaeccc 100755 --- a/main/inc/lib/userportal.lib.php +++ b/main/inc/lib/userportal.lib.php @@ -681,29 +681,29 @@ class IndexManager * @todo use the template system */ function show_right_block($title, $content, $id = null, $params = null, $idAccordion = null, $idCollpase = null) { - if (!empty($idAccordion)){ + if (!empty($idAccordion)) { $html = null; - $html .= '