projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed a comment.
[timetracker.git]
/
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
905b269
..
35eb6df
100644
(file)
--- a/
WEB-INF/lib/form/Submit.class.php
+++ b/
WEB-INF/lib/form/Submit.class.php
@@
-29,15
+29,14
@@
import('form.FormElement');
class Submit extends FormElement {
import('form.FormElement');
class Submit extends FormElement {
- var $class = 'Submit';
-
function __construct($name,$value=""
)
-
{
-
$this->name = $name
;
-
$this->value = $valu
e;
-
}
+
function __construct($name
)
+ {
+
$this->class = 'Submit'
;
+
$this->name = $nam
e;
+ }
-
function getHtml() {
+ function getHtml() {
if ($this->id=="") $this->id = $this->name;
if ($this->id=="") $this->id = $this->name;