X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/5532fe6cfc2125063ff8040cfa80e20089ac64b0..61efd9d023ae34c1290ef2e1ae25829c509caaee:/WEB-INF/lib/form/Submit.class.php diff --git a/WEB-INF/lib/form/Submit.class.php b/WEB-INF/lib/form/Submit.class.php index 236fdb4b..905b2695 100644 --- a/WEB-INF/lib/form/Submit.class.php +++ b/WEB-INF/lib/form/Submit.class.php @@ -29,7 +29,7 @@ import('form.FormElement'); class Submit extends FormElement { - var $cClassName = "Submit"; + var $class = 'Submit'; function __construct($name,$value="") { @@ -37,14 +37,14 @@ class Submit extends FormElement { $this->value = $value; } - function toStringControl() { + function getHtml() { if ($this->id=="") $this->id = $this->name; $html = "\n\tname\" id=\"$this->id\""; - if (!$this->isEnable()) { + if (!$this->isEnabled()) { $html .= " disabled=\"true\""; }