X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/785d404c84c153bda7d45d3aedfefa81985703b3..bb92f78d67fee6fd5b005e8196ccbf618c76518b:/WEB-INF/lib/form/TextField.class.php diff --git a/WEB-INF/lib/form/TextField.class.php b/WEB-INF/lib/form/TextField.class.php index 45455d0d..4904e248 100644 --- a/WEB-INF/lib/form/TextField.class.php +++ b/WEB-INF/lib/form/TextField.class.php @@ -27,16 +27,16 @@ // +----------------------------------------------------------------------+ import('form.FormElement'); - + class TextField extends FormElement { - function __construct($name,$value="") - { - $this->class = 'TextField'; - $this->name = $name; - $this->value = $value; - } + function __construct($name) + { + $this->class = 'TextField'; + $this->name = $name; + } + // TODO: refactoring ongoing down from here. function getHtml() { if (!$this->isEnabled()) { $html = "name\" value=\"".htmlspecialchars($this->getValue())."\" readonly>\n";