diff options
| author | Antonio Gallo <tonicucoz@gmail.com> | 2011-07-28 20:27:23 +0000 | 
|---|---|---|
| committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-07-28 20:27:23 +0000 | 
| commit | e7b3717614621f14695ab6ca6dda6dd17ba3d65c (patch) | |
| tree | c8e6061aef3ff7bad5a17e1aecaf441d35e282cb /h-source/Library/Form/Textarea.php | |
| parent | 0de74c6879d263645770de3d6b3ce7123f5241d6 (diff) | |
added new easygiant library
Diffstat (limited to 'h-source/Library/Form/Textarea.php')
| -rwxr-xr-x | h-source/Library/Form/Textarea.php | 12 | 
1 files changed, 7 insertions, 5 deletions
diff --git a/h-source/Library/Form/Textarea.php b/h-source/Library/Form/Textarea.php index 33b8bc3..ba51fe9 100755 --- a/h-source/Library/Form/Textarea.php +++ b/h-source/Library/Form/Textarea.php @@ -31,14 +31,16 @@ class Form_Textarea extends Form_Entry  	public function render($value = null)  	{ -		$wrap = $this->getWrapElements(); -		$returnString = "<div class='".$this->getEntryClass()."'>\n\t"; -		$returnString .= $wrap[0]; -		$returnString .= $this->getLabelTag(); +		$wrap = $this->getWrapElements($value); +		$returnString = $wrap[0]; +		$returnString .= "<div class='".$this->getEntryClass()."'>\n\t";  		$returnString .= $wrap[1]; -		$returnString .= Html_Form::textarea($this->entryName, $value, $this->className, $this->idName); +		$returnString .= $this->getLabelTag();  		$returnString .= $wrap[2]; +		$returnString .= Html_Form::textarea($this->entryName, $value, $this->className, $this->idName); +		$returnString .= $wrap[3];  		$returnString .="</div>\n"; +		$returnString .= $wrap[4];  		return $returnString;  	}  | 
