]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/CheckboxGroup.class.php
Some fixes to templates.php.
[timetracker.git] / WEB-INF / lib / form / CheckboxGroup.class.php
index 0bb3ac42df39da71afc3a0af9abc2b718cb88d61..9488b5cce24bcb180d0562ce6a2a256ee2459183 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() {