projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A bit more work on Greek file to improve quality.
[timetracker.git]
/
WEB-INF
/
lib
/
form
/
Combobox.class.php
diff --git
a/WEB-INF/lib/form/Combobox.class.php
b/WEB-INF/lib/form/Combobox.class.php
index
e253e8e
..
88f0b50
100644
(file)
--- a/
WEB-INF/lib/form/Combobox.class.php
+++ b/
WEB-INF/lib/form/Combobox.class.php
@@
-44,13
+44,11
@@
class Combobox extends FormElement {
var $mCompareOn = "key"; // or "value"
var $mDataDeep = 1;
var $mDataKeys = array();
var $mCompareOn = "key"; // or "value"
var $mDataDeep = 1;
var $mDataKeys = array();
- var $cClassName = "Combobox";
- function __construct($name,$value="")
- {
- $this->name = $name;
- $this->value = $value;
- }
+ function __construct($name) {
+ $this->class = 'Combobox';
+ $this->name = $name;
+ }
function setMultiple($value) { $this->mMultiple = $value; }
function isMultiple() { return $this->mMultiple; }
function setMultiple($value) { $this->mMultiple = $value; }
function isMultiple() { return $this->mMultiple; }
@@
-65,7
+63,7
@@
class Combobox extends FormElement {
function getDataKeys() { return $this->mDataKeys; }
function getDataKeys() { return $this->mDataKeys; }
- function
toStringContro
l() {
+ function
getHtm
l() {
if ($this->id=="") $this->id = $this->name;
if ($this->id=="") $this->id = $this->name;
@@
-84,7
+82,7
@@
class Combobox extends FormElement {
if ($this->style!="")
$html .= " style=\"$this->style\"";
if ($this->style!="")
$html .= " style=\"$this->style\"";
- if (!$this->isEnable())
+ if (!$this->isEnable
d
())
$html .= " disabled";
$html .= ">\n";
$html .= " disabled";
$html .= ">\n";
@@
-111,4
+109,3
@@
class Combobox extends FormElement {
return $html;
}
}
return $html;
}
}
-?>
\ No newline at end of file