X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/6e59f47d1baf9e3d420b4a368dcc005d54b6e599..6e2b1ec1880cebedef5a1ca380820ad0d40d06a2:/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 ecc2010b..be884f0d 100644
--- a/WEB-INF/lib/form/TextArea.class.php
+++ b/WEB-INF/lib/form/TextArea.class.php
@@ -29,75 +29,37 @@
import('form.FormElement');
class TextArea extends FormElement {
- var $mValue;
- var $mPassword = false;
- var $mColumns = "";
- var $mRows = "";
- var $cClassName = "TextArea";
+ var $mOnKeyPress = "";
- function __construct($name,$value="")
- {
- $this->name = $name;
- $this->mValue = $value;
- }
-
- function setColumns($value) { $this->mColumns = $value; }
- function getColumns() { return $this->mColumns; }
+ function __construct($name)
+ {
+ $this->class = 'TextArea';
+ $this->name = $name;
+ }
- function setRows($value) { $this->mRows = $value; }
- function getRows() { return $this->mRows; }
-
- function toStringControl() {
- if (!$this->isRenderable()) return "";
-
- if ($this->id=="") $this->id = $this->mName;
-
- $js_maxlen = "";
+ function getHtml() {
+
+ if (empty($this->id))
+ $this->id = $this->name;
$html = "\n\t";
- if ($js_maxlen) $html = $js_maxlen."\n".$html;
return $html;
}
-
- function getExtraScript() {
- $s = "\n";
- return $s;
- }
}