Introduced PasswordField.class.php to keep things simple.
[timetracker.git] / WEB-INF / lib / form / CheckboxGroup.class.php
index 9f5cc05..cb7c9f1 100644 (file)
@@ -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;