projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some renaming.
[timetracker.git]
/
WEB-INF
/
lib
/
form
/
Hidden.class.php
diff --git
a/WEB-INF/lib/form/Hidden.class.php
b/WEB-INF/lib/form/Hidden.class.php
index
8483746
..
cddb223
100644
(file)
--- a/
WEB-INF/lib/form/Hidden.class.php
+++ b/
WEB-INF/lib/form/Hidden.class.php
@@
-29,21
+29,20
@@
import('form.FormElement');
class Hidden extends FormElement {
import('form.FormElement');
class Hidden extends FormElement {
- var $mValue;
var $cClassName = "Hidden";
function __construct($name,$value="")
{
var $cClassName = "Hidden";
function __construct($name,$value="")
{
- $this->
mName
= $name;
- $this->
mValue
= $value;
+ $this->
name
= $name;
+ $this->
value
= $value;
}
function toStringControl() {
}
function toStringControl() {
- if ($this->
mId=="") $this->mId = $this->mN
ame;
+ if ($this->
id=="") $this->id = $this->n
ame;
$html = "\n\t<input";
$html = "\n\t<input";
- $html .= " type=\"hidden\" name=\"$this->
mName\" id=\"$this->mI
d\"";
+ $html .= " type=\"hidden\" name=\"$this->
name\" id=\"$this->i
d\"";
$html .= " value=\"".$this->getValue()."\"";
$html .= ">";
$html .= " value=\"".$this->getValue()."\"";
$html .= ">";