]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/TextField.class.php
Refactoring - renamed a couple of variables.
[timetracker.git] / WEB-INF / lib / form / TextField.class.php
index 4766d91189387a70244b14000f9bd3c9f01ea83f..88fb434c01c9f8a7698ddd6de596d9577f02a508 100644 (file)
@@ -54,14 +54,14 @@ class TextField extends FormElement {
                        $html .= ( $this->mPassword ? " type=\"password\"" : " type=\"text\"");
                        $html .= " name=\"$this->name\" id=\"$this->id\"";
                        
-                       if ($this->mSize!="")
-                         $html .= " size=\"$this->mSize\"";
+                       if ($this->size!="")
+                         $html .= " size=\"$this->size\"";
                          
                        if ($this->mStyle!="")
                           $html .= " style=\"$this->mStyle\"";
                          
-                       if ($this->mMaxLength!="")
-                          $html .= " maxlength=\"$this->mMaxLength\"";
+                       if ($this->max_length!="")
+                          $html .= " maxlength=\"$this->max_length\"";
                           
                        if ($this->mOnChange!="")
                           $html .= " onchange=\"$this->mOnChange\"";