X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FTextArea.class.php;h=be884f0d88d1a2628c623b1db16b9df2d26ec601;hb=75a1eedb8977b8f2db459128bab9aaf367e3b58b;hp=9e8515f9471191cf41bbd93159ff388220f5420f;hpb=7fec9e24e61b856bd67ed58421445a0eb878e446;p=timetracker.git diff --git a/WEB-INF/lib/form/TextArea.class.php b/WEB-INF/lib/form/TextArea.class.php index 9e8515f9..be884f0d 100644 --- a/WEB-INF/lib/form/TextArea.class.php +++ b/WEB-INF/lib/form/TextArea.class.php @@ -29,8 +29,6 @@ import('form.FormElement'); class TextArea extends FormElement { - var $mColumns = ""; - var $mRows = ""; var $mOnKeyPress = ""; function __construct($name) @@ -39,12 +37,6 @@ class TextArea extends FormElement { $this->name = $name; } - function setColumns($value) { $this->mColumns = $value; } - function getColumns() { return $this->mColumns; } - - function setRows($value) { $this->mRows = $value; } - function getRows() { return $this->mRows; } - function getHtml() { if (empty($this->id)) @@ -52,13 +44,7 @@ class TextArea extends FormElement { $html = "\n\tname\" id=\"$this->id\""; - - if ($this->mColumns!="") - $html .= " cols=\"$this->mColumns\""; - - if ($this->mRows!="") - $html .= " rows=\"$this->mRows\""; - + if ($this->max_length!="") { if ($this->mOnKeyPress) $this->mOnKeyPress .= ";"; $this->mOnKeyPress .= "return validateMaxLenght_".$this->name."(this, event);";