X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FTextArea.class.php;h=be884f0d88d1a2628c623b1db16b9df2d26ec601;hb=817c14c6c2098d85ef912fb95898c857bf533b4f;hp=c6e8d1ff8b9ef14104d73d4bd6e93cff779b94f1;hpb=f037a5416ac13e73d775f3c997afe8dfc4917339;p=timetracker.git diff --git a/WEB-INF/lib/form/TextArea.class.php b/WEB-INF/lib/form/TextArea.class.php index c6e8d1ff..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,9 +37,6 @@ class TextArea extends FormElement { $this->name = $name; } - function setColumns($value) { $this->mColumns = $value; } - function setRows($value) { $this->mRows = $value; } - function getHtml() { if (empty($this->id)) @@ -49,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);";