projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring ongoing on week view.
[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
947b368
..
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 toStringContro
l() {
+
function getHtm
l() {
if ($this->id=="") $this->id = $this->name;
if ($this->id=="") $this->id = $this->name;