X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/7fec9e24e61b856bd67ed58421445a0eb878e446..1cf228c258ba8a8950b1a55bc25b93768bf50184:/WEB-INF/lib/form/TextArea.class.php 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);";