X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FSubmit.class.php;h=91123c5519a34c4a8708f664069f2e0be5b6a8e1;hb=cd5e077ecb497431decde4835138b877d63b261c;hp=947b368d8bd5db267b488d62bcd029a321183d58;hpb=ac5189157ef60820dd125400baee9f408a9ba2ea;p=timetracker.git diff --git a/WEB-INF/lib/form/Submit.class.php b/WEB-INF/lib/form/Submit.class.php index 947b368d..91123c55 100644 --- a/WEB-INF/lib/form/Submit.class.php +++ b/WEB-INF/lib/form/Submit.class.php @@ -29,15 +29,15 @@ import('form.FormElement'); class Submit extends FormElement { - var $class = 'Submit'; - function __construct($name,$value="") - { - $this->name = $name; - $this->value = $value; - } + function __construct($name, $value = '') + { + $this->class = 'Submit'; + $this->name = $name; + $this->value = $value; + } - function toStringControl() { + function getHtml() { if ($this->id=="") $this->id = $this->name;