Minor - format code.

1.10.x
Julio Montoya 11 years ago
parent 4cdbcf2033
commit d9f4ca24fa
  1. 1
      main/inc/lib/display.lib.php
  2. 18
      main/inc/lib/pear/HTML/QuickForm/textarea.php

@ -2054,6 +2054,7 @@ class Display
* @param string $title
* @param string $footer
* @param string $style
*
* @return string
*/
public static function panel($content, $title = '', $footer = '', $style = '')

@ -42,7 +42,7 @@ class HTML_QuickForm_textarea extends HTML_QuickForm_element
* @since 1.0
* @access private
*/
var $_value = null;
public $_value = null;
// }}}
// {{{ constructor
@ -185,7 +185,7 @@ class HTML_QuickForm_textarea extends HTML_QuickForm_element
* @access public
* @return string
*/
function toHtml()
public function toHtml()
{
if ($this->_flagFrozen) {
return $this->getFrozenHtml();
@ -199,10 +199,7 @@ class HTML_QuickForm_textarea extends HTML_QuickForm_element
//
'</textarea>';
}
} //end func toHtml
// }}}
// {{{ getFrozenHtml()
}
/**
* Returns the value of field without HTML tags (in this case, value is changed to a mask)
@ -211,7 +208,7 @@ class HTML_QuickForm_textarea extends HTML_QuickForm_element
* @access public
* @return string
*/
function getFrozenHtml()
public function getFrozenHtml()
{
// Modified by Ivan Tcholakov, 16-MAR-2010.
//$value = htmlspecialchars($this->getValue());
@ -223,9 +220,6 @@ class HTML_QuickForm_textarea extends HTML_QuickForm_element
$html = nl2br($value)."\n";
}
return $html . $this->_getPersistantData();
} //end func getFrozenHtml
// }}}
}
} //end class HTML_QuickForm_textarea
?>
}

Loading…
Cancel
Save