Adjusted time.php to honor note on separate row option.
[timetracker.git] / WEB-INF / lib / form / CheckboxGroup.class.php
index 0bb3ac4..9488b5c 100644 (file)
@@ -58,9 +58,10 @@ class CheckboxGroup extends FormElement {
        function setGroupIn($value)     { $this->mGroupIn = $value; if ($this->mGroupIn<1) $this->mGroupIn = 1;}
        function getGroupIn() { return $this->mGroupIn; }
        
-       function localize($i18n) {
-               $this->lSelAll = $i18n->getKey('label.select_all');
-               $this->lSelNone = $i18n->getKey('label.select_none');
+       function localize() {
+          global $i18n;
+          $this->lSelAll = $i18n->get('label.select_all');
+          $this->lSelNone = $i18n->get('label.select_none');
        }
                
        function getHtml() {