auth_dbhost)) {
$config->auth_dbhost = "localhost";
}
if (!isset($config->auth_dbtype)) {
$config->auth_dbtype = "mysql";
}
if (!isset($config->auth_dbname)) {
$config->auth_dbname = "";
}
if (!isset($config->auth_dbuser)) {
$config->auth_dbuser = "";
}
if (!isset($config->auth_dbpass)) {
$config->auth_dbpass = "";
}
if (!isset($config->auth_dbtable)) {
$config->auth_dbtable = "";
}
if (!isset($config->auth_dbfielduser)) {
$config->auth_dbfielduser = "";
}
if (!isset($config->auth_dbfieldpass)) {
$config->auth_dbfieldpass = "";
}
if (!isset($config->auth_dbpasstype)) {
$config->auth_dbpasstype = "plaintext";
}
?>
auth_dbhost: |
if (isset($err["auth_dbhost"])) formerr($err["auth_dbhost"]); ?>
|
print_string("auth_dbhost","auth") ?>
|
auth_dbtype: |
$dbtypes = array("access","ado_access", "ado", "ado_mssql", "borland_ibase", "csv", "db2", "fbsql", "firebird", "ibase", "informix72", "informix", "mssql", "mysql", "mysqlt", "oci805", "oci8", "oci8po", "odbc", "odbc_mssql", "odbc_oracle", "oracle", "postgres64", "postgres7", "postgres", "proxy", "sqlanywhere", "sybase", "vfp");
foreach ($dbtypes as $dbtype) {
$dboptions[$dbtype] = $dbtype;
}
choose_from_menu($dboptions, "auth_dbtype", $config->auth_dbtype, "");
?>
|
print_string("auth_dbtype","auth") ?>
|
auth_dbname: |
if (isset($err["auth_dbname"]))formerr($err["auth_dbname"]); ?>
|
print_string("auth_dbname","auth") ?>
|
auth_dbuser: |
if (isset($err["auth_dbuser"])) formerr($err["auth_dbuser"]); ?>
|
print_string("auth_dbuser","auth") ?>
|
auth_dbpass: |
if (isset($err["auth_dbpass"])) formerr($err["auth_dbpass"]); ?>
|
print_string("auth_dbpass","auth") ?>
|
auth_dbtable: |
if (isset($err["auth_dbtable"])) formerr($err["auth_dbtable"]); ?>
|
print_string("auth_dbtable","auth") ?>
|
auth_dbfielduser: |
if (isset($err["auth_dbfielduser"])) formerr($err["auth_dbfielduser"]); ?>
|
print_string("auth_dbfielduser","auth") ?>
|
auth_dbfieldpass: |
if (isset($err["auth_dbfieldpass"])) formerr($err["auth_dbfieldpass"]); ?>
|
print_string("auth_dbfieldpass","auth") ?>
|
auth_dbpasstype: |
$passtype["plaintext"] = get_string("plaintext", "auth");
$passtype["md5"] = get_string("md5", "auth");
choose_from_menu($passtype, "auth_dbpasstype", $config->auth_dbpasstype, "");
?>
|
print_string("auth_dbpasstype","auth") ?>
|
print_string("firstname") ?>: |
|
print_string("auth_dbextrafields","auth") ?>
|
print_string("lastname") ?>: |
|
print_string("email") ?>: |
|
print_string("phone") ?> 1: |
|
print_string("phone") ?> 2: |
|
print_string("department") ?>: |
|
print_string("address") ?>: |
|
print_string("city") ?>: |
|
print_string("country") ?>: |
|
print_string("description") ?>: |
|
print_string("idnumber") ?>: |
|
print_string("language") ?>: |
|
print_string("instructions", "auth") ?>: |
|
print_string("authinstructions","auth") ?>
helpbutton("text", get_string("helptext")) ?>
|