4 include_once
'./Services/Membership/classes/class.ilMembershipRegistrationSettings.php';
30 $this->options = $a_options;
78 $reg_type->addOption($opt_dir);
84 $pass->setInfo($this->
txt(
'reg_password_info'));
85 #$pass->setValue($this->object->getPassword());
87 $pass->setMaxLength(32);
88 $opt_pass->addSubItem(
$pass);
89 $reg_type->addOption($opt_pass);
95 $reg_type->addOption($opt_req);
100 $reg_type->addOption($opt_deact);
109 $lim =
new ilCheckboxInputGUI($this->
txt(
'reg_max_members_short'),
'registration_membership_limited');
111 #$lim->setOptionTitle($this->lng->txt('reg_grp_max_members'));
112 #$lim->setChecked($this->object->isMembershipLimited());
114 $max =
new ilTextInputGUI($this->
txt(
'reg_max_members'),
'registration_max_members');
115 #$max->setValue($this->object->getMaxMembers() ? $this->object->getMaxMembers() : '');
118 $max->setMaxLength(4);
119 $max->setInfo($this->
txt(
'reg_max_members_info'));
120 $lim->addSubItem($max);
125 $wait->setInfo($this->
txt(
'reg_waiting_list_info'));
126 #$wait->setChecked($this->object->isWaitingListEnabled() ? true : false);
127 $lim->addSubItem($wait);
138 protected function txt($a_lang_key)
141 return $GLOBALS[
'lng']->txt($prefix.
'_'.$a_lang_key);