public function serverList() { global $ilAccess, $ilErr; if (!$ilAccess->checkAccess('read', '', $this->ref_id) && $cmd != "serverList") { $ilErr->raiseError($this->lng->txt('msg_no_perm_write'), $ilErr->WARNING); } if (!ilLDAPServer::checkLDAPLib() and $this->server->isActive()) { ilUtil::sendFailure('Missing LDAP libraries. Please ensure that the PHP LDAP module is installed on your server.'); } $this->setSubTabs(); $this->tabs_gui->setSubTabActive('ldap_settings'); $this->initForm(); $this->setServerFormValues(); return $this->tpl->setContent($this->form_gui->getHtml()); }