host)) { $config->host = 'localhost'; } if (!isset($config->type)) { $config->type = 'mysql'; } if (!isset($config->sybasequoting)) { $config->sybasequoting = 0; } if (!isset($config->name)) { $config->name = ''; } if (!isset($config->user)) { $config->user = ''; } if (!isset($config->pass)) { $config->pass = ''; } if (!isset($config->table)) { $config->table = ''; } if (!isset($config->fielduser)) { $config->fielduser = ''; } if (!isset($config->fieldpass)) { $config->fieldpass = ''; } if (!isset($config->passtype)) { $config->passtype = 'plaintext'; } if (!isset($config->changepasswordurl)) { $config->changepasswordurl = ''; } if (empty($config->extencoding)) { $config->extencoding = 'utf-8'; } if (empty($config->debugauthdb)) { $config->debugauthdb = 0; } if (!isset($config->setupsql)) { $config->setupsql = ''; } if (!isset($config->removeuser)) { $config->removeuser = AUTH_REMOVEUSER_KEEP; } $yesno = array( get_string('no'), get_string('yes') ); ?>
error_text($err["host"]); } ?>
select(html_select::make($dboptions, "type", $config->type, false)); ?>
select(html_select::make($yesno, 'sybasequoting', $config->sybasequoting, false)); ?>
error_text($err["name"]); } ?>
error_text($err["user"]); } ?>
error_text($err["pass"]); } ?>
error_text($err["table"]); } ?>
error_text($err["fielduser"]); } ?>
error_text($err["fieldpass"]); } ?>
select(html_select::make($passtype, "passtype", $config->passtype, false)); ?>
error_text($err['extencoding']); } ?>
select(html_select::make($yesno, 'debugauthdb', $config->debugauthdb, false)); ?>
error_text($err['changepasswordurl']); } ?>

select(html_select::make($deleteopt, 'removeuser', $config->removeuser, false)); ?>