Minor - format code.

pull/2487/head
jmontoyaa 8 years ago
parent 3f81c3f10b
commit 3088ddf01d
  1. 9
      main/inc/lib/pear/HTML/QuickForm/group.php
  2. 3
      main/inc/lib/pear/HTML/QuickForm/radio.php
  3. 3
      main/inc/lib/pear/HTML/QuickForm/text.php

@ -91,8 +91,13 @@ class HTML_QuickForm_group extends HTML_QuickForm_element
* @access public
* @return void
*/
public function __construct($elementName=null, $elementLabel=null, $elements=null, $separator=null, $appendName = true)
{
public function __construct(
$elementName = null,
$elementLabel = null,
$elements = null,
$separator = null,
$appendName = true
) {
parent::__construct($elementName, $elementLabel);
$this->_type = 'group';
if (isset($elements) && is_array($elements)) {

@ -147,7 +147,6 @@ class HTML_QuickForm_radio extends HTML_QuickForm_input
return HTML_QuickForm_input::toHtml() . $label;
}
/**
* Returns the value of field without HTML tags
*
@ -255,6 +254,4 @@ class HTML_QuickForm_radio extends HTML_QuickForm_input
{
return $this->columnsSize;
}
}

@ -86,8 +86,7 @@ class HTML_QuickForm_text extends HTML_QuickForm_input
return '';
}
return '
<div class="input-group-addon">
return '<div class="input-group-addon">
<em class="fa fa-'.$icon.'"></em>
</div>';
}

Loading…
Cancel
Save