X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FSubmit.class.php;h=947b368d8bd5db267b488d62bcd029a321183d58;hb=3a5964df63eb410b66e02326ebc7f7c90e8d606e;hp=ba3d698c89b341d8e65f5da07dc3df80bf9cf299;hpb=4bfd0a6f4a7a79c4bfeaeab17b9b898b10a3d6d2;p=timetracker.git diff --git a/WEB-INF/lib/form/Submit.class.php b/WEB-INF/lib/form/Submit.class.php index ba3d698c..947b368d 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,15 +37,14 @@ class Submit extends FormElement { $this->value = $value; } - function toStringControl() { - if (!$this->isRenderable()) return ""; + function toStringControl() { if ($this->id=="") $this->id = $this->name; $html = "\n\tname\" id=\"$this->id\""; - if (!$this->isEnable()) { + if (!$this->isEnabled()) { $html .= " disabled=\"true\""; }