X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/ac5189157ef60820dd125400baee9f408a9ba2ea..a4d1c5627c3958245ea7e2e573267e34f5872471:/WEB-INF/lib/form/CheckboxGroup.class.php diff --git a/WEB-INF/lib/form/CheckboxGroup.class.php b/WEB-INF/lib/form/CheckboxGroup.class.php index bbb7135b..136cc069 100644 --- a/WEB-INF/lib/form/CheckboxGroup.class.php +++ b/WEB-INF/lib/form/CheckboxGroup.class.php @@ -60,8 +60,7 @@ 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'); } @@ -132,7 +131,7 @@ class CheckboxGroup extends FormElement { $html = "\n\tstyle."\">\n"; $html .= "
\n"; - $html .= ''.$this->lSelAll.' / '.$this->lSelNone.''; + $html .= ''.$this->lSelAll.' / '.$this->lSelNone.''; $html .= "
"; $html .= "\n\t\n"; @@ -147,10 +146,10 @@ class CheckboxGroup extends FormElement { $html .= "
\n"; $str = "