X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/d2df33e87f20af74c9339c15d3a7fbacd9560ded..e1703495130c8ed88fe210f50a2a6b453b3c566b:/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..044b3d6d 100644 --- a/WEB-INF/lib/form/TextField.class.php +++ b/WEB-INF/lib/form/TextField.class.php @@ -27,16 +27,17 @@ // +----------------------------------------------------------------------+ import('form.FormElement'); - + class TextField extends FormElement { - function __construct($name,$value="") - { - $this->class = 'TextField'; - $this->name = $name; - $this->value = $value; - } + function __construct($name, $value = '') + { + $this->class = 'TextField'; + $this->name = $name; + $this->value = $value; + } + // TODO: refactoring ongoing down from here. function getHtml() { if (!$this->isEnabled()) { $html = "name\" value=\"".htmlspecialchars($this->getValue())."\" readonly>\n";