]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/CheckboxGroup.class.php
Finished refactoring Turkish translation.
[timetracker.git] / WEB-INF / lib / form / CheckboxGroup.class.php
index 0bb3ac42df39da71afc3a0af9abc2b718cb88d61..810c96311491e4b8e84df260551b88a64c01779f 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->getKey('label.select_all');
+          $this->lSelNone = $i18n->getKey('label.select_none');
        }
                
        function getHtml() {