X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FCheckboxGroup.class.php;h=cb7c9f1f4ed4b1d68bae8af4b3df4168bf07139e;hb=60d2288b7fca6caf0f5d9d3eee972f040eb24fb0;hp=9f5cc053f5732b0f752f04de2188289834404458;hpb=3a5964df63eb410b66e02326ebc7f7c90e8d606e;p=timetracker.git diff --git a/WEB-INF/lib/form/CheckboxGroup.class.php b/WEB-INF/lib/form/CheckboxGroup.class.php index 9f5cc053..cb7c9f1f 100644 --- a/WEB-INF/lib/form/CheckboxGroup.class.php +++ b/WEB-INF/lib/form/CheckboxGroup.class.php @@ -60,13 +60,12 @@ class CheckboxGroup extends FormElement { function setGroupIn($value) { $this->mGroupIn = $value; if ($this->mGroupIn<1) $this->mGroupIn = 1;} function getGroupIn() { return $this->mGroupIn; } - function setLocalization($i18n) { - FormElement::setLocalization($i18n); + function localize($i18n) { $this->lSelAll = $i18n->getKey('label.select_all'); $this->lSelNone = $i18n->getKey('label.select_none'); } - function toStringControl() { + function getHtml() { if ($this->id=="") $this->id = $this->name;