X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FTextField.class.php;h=044b3d6de0ebdeb9b68f5fd0681abf2925f5d480;hb=cd5e077ecb497431decde4835138b877d63b261c;hp=45455d0d35e4e81f562e79399cc7e94ef7c14c32;hpb=785d404c84c153bda7d45d3aedfefa81985703b3;p=timetracker.git 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";