X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/06ec4ba10585fef2bc42a70a099e6c619ae41f87..6e59f47d1baf9e3d420b4a368dcc005d54b6e599:/WEB-INF/lib/form/TextField.class.php?ds=sidebyside
diff --git a/WEB-INF/lib/form/TextField.class.php b/WEB-INF/lib/form/TextField.class.php
index a409410f..e1259d69 100644
--- a/WEB-INF/lib/form/TextField.class.php
+++ b/WEB-INF/lib/form/TextField.class.php
@@ -35,7 +35,7 @@ class TextField extends FormElement {
function __construct($name,$value="")
{
- $this->mName = $name;
+ $this->name = $name;
$this->mValue = $value;
}
@@ -46,14 +46,14 @@ class TextField extends FormElement {
if (!$this->isRenderable()) return "";
if (!$this->isEnable()) {
- $html = "mName\" value=\"".htmlspecialchars($this->getValue())."\" readonly>\n";
+ $html = "name\" value=\"".htmlspecialchars($this->getValue())."\" readonly>\n";
} else {
- if ($this->mId=="") $this->mId = $this->mName;
+ if ($this->id=="") $this->id = $this->name;
$html = "\n\tmPassword ? " type=\"password\"" : " type=\"text\"");
- $html .= " name=\"$this->mName\" id=\"$this->mId\"";
+ $html .= " name=\"$this->name\" id=\"$this->id\"";
if ($this->mSize!="")
$html .= " size=\"$this->mSize\"";