Introduced PasswordField.class.php to keep things simple.
[timetracker.git] / WEB-INF / lib / form / UploadFile.class.php
index c3a3276..eb24259 100644 (file)
@@ -29,7 +29,7 @@
 import('form.FormElement');
        
 class UploadFile extends FormElement {
-    var $cClassName            = "UploadFile";
+    var $class = 'UploadFile';
     var $mMaxSize              = 100000;       // 100kb
 
        function __construct($name,$value="")
@@ -41,7 +41,7 @@ class UploadFile extends FormElement {
        function setMaxSize($value)     { $this->mMaxSize = $value;     }
        function getMaxSize()   { return $this->mMaxSize; }
        
-       function toStringControl() {
+       function getHtml() {
 
             if ($this->id=="") $this->id = $this->name;