X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/e1703495130c8ed88fe210f50a2a6b453b3c566b..cd5e077ecb497431decde4835138b877d63b261c:/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 905b2695..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 getHtml() { + function getHtml() { if ($this->id=="") $this->id = $this->name;