}
} else {
ldap_close($ldap_connection);
- error("LDAP part of CAS-module cannot connect to server: $CFG->ldap_host_url");
+ print_error('auth_cas_cantconnect', 'auth', $CFG->ldap_host_url);
}
return false;
}
</tr>
<tr valign="top" class="required">
- <td align="right">use_cas:</td>
+ <td align="right"><?php print_string('auth_cas_use_cas', 'auth') ?>:</td>
<td>
<?php
</tr>
<tr valign="top" class="required">
- <td align="right">hostname:</td>
+ <td align="right"><?php print_string('auth_cas_hostname_key', 'auth') ?>:</td>
<td>
<input name="hostname" type="text" size="30" value="<?php echo $config->hostname ?>" />
<?php
</tr>
<tr valign="top" class="required">
- <td align="right">baseuri:</td>
+ <td align="right"><?php print_string('auth_cas_baseuri_key', 'auth') ?>:</td>
<td>
<input name="baseuri" type="text" size="30" value="<?php echo $config->baseuri ?>" />
<?php
</tr>
<tr valign="top" class="required">
- <td align="right">port:</td>
+ <td align="right"><?php print_string('auth_cas_port_key', 'auth') ?>:</td>
<td>
<input name="port" type="text" size="30" value="<?php echo $config->port ?>" />
<?php
</tr>
<tr valign="top" class="required">
- <td align="right">casversion:</td>
+ <td align="right"><?php print_string('auth_cas_casversion', 'auth') ?>:</td>
<td>
<input name="casversion" type="text" size="30" value="<?php echo $config->casversion ?>" />
<?php
</tr>
<tr valign="top" class="required">
- <td align="right">language:</td>
+ <td align="right"><?php print_string('auth_cas_language_key', 'auth') ?>:</td>
<td>
<?php
</tr>
<tr valign="top">
- <td align="right">auth_user_create: </td>
+ <td align="right"><?php print_string('auth_cas_auth_user_create', 'auth') ?>: </td>
<td>
<?php
</tr>
<tr valign="top" class="required">
- <td align="right">create_user:</td>
+ <td align="right"><?php print_string('auth_cas_create_user_key', 'auth') ?>:</td>
<td>
<?php
</tr>
<tr valign="top">
- <td align="right"> changepasswordurl: </td>
+ <td align="right"><?php print_string('auth_cas_changepasswordurl', 'auth') ?>: </td>
<td>
<input name="changepasswordurl" type="text" value="<?php echo $config->changepasswordurl ?>" />
<?php
require("../../config.php");
if (!$site = get_site()) {
- error("No site found!");
+ print_error('nosite', '', '', NULL, true);
}
$loginsite = get_string("loginsite");
//Define variables used in page
if (!$site = get_site()) {
- error("No site found!");
+ print_error('nosite', '', '', NULL, true);
}
if (empty($CFG->langmenu)) {
if (isset($passwordchangeurl)) {
redirect($passwordchangeurl);
} else {
- error("You cannot proceed without changing your password.
- However there is no available page for changing it.
- Please contact your Moodle Administrator.");
+ print_error('auth_cas_broken_password','auth');
}
}
if (isset($passwordchangeurl)) {
redirect($passwordchangeurl);
} else {
- error("You cannot proceed without changing your password.
- However there is no available page for changing it.
- Please contact your Moodle Administrator.");
+ print_error('auth_cas_broken_password','auth');
}
}
$authdb->Close();
if (!$rs) {
- notify("Could not connect to the specified authentication database...");
-
+ print_error('auth_dbcantconnect','auth');
return false;
}
$CFG->prefix = $prefix;
if (!$rs) {
- notify("Could not connect to the specified authentication database...");
+ print_error('auth_dbcantconnect','auth');
return false;
}
$remove_users = get_records_sql($sql);
if (!empty($remove_users)) {
- print "User entries to remove: ". count($remove_users) . "\n";
+ print_string('auth_dbuserstoremove','auth', count($remove_users));
+ echo "\n";
begin_sql();
foreach ($remove_users as $user) {
unset($usernames);
if (!empty($add_users)) {
- print "User entries to add: ". count($add_users). "\n";
+ print_string('auth_dbuserstoadd','auth',count($add_users));
+ echo "\n";
begin_sql();
foreach($add_users as $user) {
$username = $user;
if ($old_user = get_record('user', 'username', $user->username, 'deleted', 1, 'mnethostid', $user->mnethostid)) {
$user->id = $old_user->id;
set_field('user', 'deleted', 0, 'username', $user->username);
- echo "Revived user $user->username id $user->id\n";
+ print_string('auth_dbrevive','auth',array($user->username, $user->id));
+ echo "\n";
} elseif ($id=insert_record ('user',$user)) { // it is truly a new user
- echo "inserted user $user->username id $id\n";
+ print_string('auth_dbinsertuser','auth',array($user->username, $id));
+ echo "\n";
$user->id = $id;
// if relevant, tag for password generation
if ($this->config->passtype === 'internal') {
set_user_preference('create_password', 1, $id);
}
} else {
- echo "error inserting user $user->username \n";
+ print_string('auth_dbinsertusererror', 'auth', $user->username);
+ echo "\n";
}
$CFG->debug=$old_debug;
}
$authdb->Close();
if (!$rs) {
- notify("Could not connect to the specified authentication database...");
+ print_error('auth_dbcantconnect','auth');
return false;
}
$authdb->Close();
if (!$rs) {
- notify("Could not connect to the specified authentication database...");
+ print_error('auth_dbcantconnect','auth');
return false;
}
$user = get_record('user', 'username', $username, 'mnethostid', $CFG->mnet_localhost_id);
if (empty($user)) { // trouble
error_log("Cannot update non-existent user: $username");
+ print_error('auth_dbusernotexist','auth',$username);
die;
}
<table cellspacing="0" cellpadding="5" border="0" align="center">
<tr valign="top" class="required">
- <td align="right"> host: </td>
+ <td align="right"><?php print_string("auth_dbhost_key", "auth") ?>: </td>
<td>
<input name="host" type="text" size="30" value="<?php echo $config->host?>" />
<?php
</tr>
<tr valign="top" class="required">
- <td align="right"> type: </td>
+ <td align="right"><?php print_string("auth_dbtype_key", "auth") ?>: </td>
<td>
<?php $dbtypes = array("access","ado_access", "ado", "ado_mssql", "borland_ibase", "csv", "db2", "fbsql", "firebird", "ibase", "informix72", "informix", "mssql", "mssql_n", "mysql", "mysqlt", "oci805", "oci8", "oci8po", "odbc", "odbc_mssql", "odbc_oracle", "oracle", "postgres64", "postgres7", "postgres", "proxy", "sqlanywhere", "sybase", "vfp");
foreach ($dbtypes as $dbtype) {
</tr>
<tr valign="top" class="required">
- <td align="right"> name: </td>
+ <td align="right"><?php print_string("auth_dbname_key", "auth") ?>: </td>
<td>
<input name="name" type="text" size="30" value="<?php echo $config->name?>" />
<?php
</tr>
<tr valign="top" class="required">
- <td align="right"> user: </td>
+ <td align="right"><?php print_string("auth_dbuser_key", "auth") ?>: </td>
<td>
<input name="user" type="text" size="30" value="<?php echo $config->user?>" />
<?php
</tr>
<tr valign="top" class="required">
- <td align="right"> pass: </td>
+ <td align="right"><?php print_string("auth_dbpass_key", "auth") ?>: </td>
<td>
<input name="pass" type="text" size="30" value="<?php echo $config->pass?>" />
<?php
</tr>
<tr valign="top" class="required">
- <td align="right"> table: </td>
+ <td align="right"><?php print_string("auth_dbtable_key", "auth") ?>: </td>
<td>
<input name="table" type="text" size="30" value="<?php echo $config->table?>" />
<?php
</tr>
<tr valign="top" class="required">
- <td align="right"> fielduser: </td>
+ <td align="right"><?php print_string("auth_dbfielduser_key", "auth") ?>: </td>
<td>
<input name="fielduser" type="text" size="30" value="<?php echo $config->fielduser?>" />
<?php
</tr>
<tr valign="top" class="required">
- <td align="right"> fieldpass: </td>
+ <td align="right"><?php print_string("auth_dbfieldpass_key", "auth") ?>: </td>
<td>
<input name="fieldpass" type="text" size="30" value="<?php echo $config->fieldpass?>" />
<?php
</tr>
<tr valign="top" class="required">
- <td align="right"> passtype: </td>
+ <td align="right"><?php print_string("auth_dbpasstype_key", "auth") ?>: </td>
<td>
<?php
</tr>
<tr valign="top">
- <td align="right"> changepasswordurl: </td>
+ <td align="right"><?php print_string("auth_dbchangepasswordurl_key", "auth") ?>: </td>
<td>
<input name="changepasswordurl" type="text" value="<?php echo $config->changepasswordurl ?>" />
<?php
*/
function user_signup($user, $notify = true) {
if (! ($user->id = insert_record('user', $user)) ) {
- error('Could not add your record to the database!');
+ print_error('auth_emailnoinsert','auth');
}
if (! send_confirmation_email($user)) {
- error('Tried to send you an email but failed!');
+ print_error('auth_emailnoemail','auth');
}
if ($notify) {
<table cellspacing="0" cellpadding="5" border="0" align="center">
<tr valign="top" class="required">
- <td align="right">host:</td>
+ <td align="right"><?php print_string("auth_fchost_key", "auth") ?>:</td>
<td>
<input name="host" type="text" size="30" value="<?php echo $config->host?>" />
<?php if (isset($err["host"])) formerr($err["host"]); ?>
</tr>
<tr valign="top" class="required">
- <td align="right">fppport:</td>
+ <td align="right"><?php print_string("auth_fcfppport_key", "auth") ?>:</td>
<td>
<input name="fppport" type="text" size="30" value="<?php echo $config->fppport?>" />
<?php if (isset($err["fppport"])) formerr($err["host"]); ?>
</tr>
<tr valign="top" class="required">
- <td align="right">userid:</td>
+ <td align="right"><?php print_string("auth_fcuserid_key", "auth") ?>:</td>
<td>
<input name="userid" type="text" size="30" maxlength="15" value="<?php echo $config->userid?>" />
<?php if (isset($err["userid"])) formerr($err["userid"]); ?>
<?php print_string("auth_fcuserid", "auth") ?>
</td>
</tr>
-
<tr valign="top" class="required">
- <td align="right">passwd:</td>
+ <td align="right"><?php print_string("auth_fcpasswd_key", "auth") ?>:</td>
<td>
<input name="passwd" type="password" size="30" maxlength="12" value="<?php echo $config->passwd?>" />
<?php if (isset($err["passwd"])) formerr($err["passwd"]); ?>
</tr>
<tr valign="top" class="required">
- <td align="right">creators:</td>
+ <td align="right"><?php print_string("auth_fccreators_key", "auth") ?>:</td>
<td>
<input name="creators" type="text" size="30" value="<?php echo $config->creators?>" />
<?php if (isset($err["creators"])) formerr($err["creators"]); ?>
</tr>
<tr valign="top">
- <td align="right"> changepasswordurl: </td>
+ <td align="right"><?php print_string('auth_fcchangepasswordurl', 'auth') ?>: </td>
<td>
<input name="changepasswordurl" type="text" value="<?php echo $config->changepasswordurl ?>" />
<?php
$conn = fsockopen($host, $port, $errno, $errstr, 5);
if (!$conn)
{
- echo "connection failed!".$errno. $errstr;
+ print_error('auth_fcconnfail','auth', array($errno, $errstr));
return false;
}
</tr>
<tr valign="top" class="required">
- <td align="right">host_url:</td>
+ <td align="right"><?php print_string('auth_ldap_host_url_key','auth') ?>:</td>
<td>
<input name="host_url" type="text" size="30" value="<?php echo $config->host_url?>" />
<?php if (isset($err['host_url'])) formerr($err['host_url']); ?>
</tr>
<tr valign="top" class="required">
- <td align="right">version:</td>
+ <td align="right"><?php print_string('auth_ldap_version_key','auth') ?>:</td>
<td>
<?php
$versions[2] = '2';
</tr>
<tr valign="top" class="required">
- <td align="right">preventpassindb:</td>
+ <td align="right"><?php print_string('auth_ldap_preventpassindb_key','auth') ?>:</td>
<td>
<?php
$choices = array();
</tr>
<tr valign="top" class="required">
- <td align="right">bind_dn:</td>
+ <td align="right"><?php print_string('auth_ldap_bind_dn_key','auth') ?>:</td>
<td>
<input name="bind_dn" type="text" size="30" value="<?php echo $config->bind_dn?>" />
<?php if (isset($err['bind_dn'])) formerr($err['bind_dn']); ?>
</tr>
<tr valign="top" class="required">
- <td align="right">bind_pw:</td>
+ <td align="right"><?php print_string('auth_ldap_bind_pw_key','auth') ?>:</td>
<td>
<input name="bind_pw" type="password" size="30" value="<?php echo $config->bind_pw?>" />
<?php if (isset($err['bind_pw'])) formerr($err['bind_pw']); ?>
</tr>
<tr valign="top" class="required">
- <td align="right">user_type:</td>
+ <td align="right"><?php print_string('auth_ldap_user_type_key','auth') ?>:</td>
<td>
<?php choose_from_menu($this->ldap_suppported_usertypes(), 'user_type', $config->user_type, ''); ?>
<?php if (isset($err['user_type'])) formerr($err['user_type']); ?>
</tr>
<tr valign="top" class="required">
- <td align="right">contexts:</td>
+ <td align="right"><?php print_string('auth_ldap_contexts_key','auth') ?>:</td>
<td>
<input name="contexts" type="text" size="30" value="<?php echo $config->contexts?>" />
<?php if (isset($err['contexts'])) formerr($err['contexts']); ?>
</tr>
<tr valign="top" class="required">
- <td align="right">search_sub:</td>
+ <td align="right"><?php print_string('auth_ldap_search_sub_key','auth') ?>:</td>
<td>
<?php
$choices = array();
</td>
</tr>
<tr valign="top" class="required">
- <td align="right">opt_deref:</td>
+ <td align="right"><?php print_string('auth_ldap_opt_deref_key','auth') ?>:</td>
<td>
<?php
$opt_deref[LDAP_DEREF_NEVER] = get_string('no');
<tr valign="top" class="required">
- <td align="right">user_attribute:</td>
+ <td align="right"><?php print_string('auth_ldap_user_attribute_key','auth') ?>:</td>
<td>
<input name="user_attribute" type="text" size="30" value="<?php echo $config->user_attribute?>" />
<?php if (isset($err['user_attribute'])) formerr($err['user_attribute']); ?>
</tr>
<tr valign="top" class="required">
- <td align="right">memberattribute:</td>
+ <td align="right"><?php print_string('auth_ldap_memberattribute_key','auth') ?>:</td>
<td>
<input name="memberattribute" type="text" size="30" value="<?php echo $config->memberattribute?>" />
<?php if (isset($err['memberattribute'])) formerr($err['memberattribute']); ?>
</tr>
<tr valign="top" class="required">
- <td align="right">objectclass:</td>
+ <td align="right"><?php print_string('auth_ldap_objectclass_key','auth') ?>:</td>
<td>
<input name="objectclass" type="text" size="30" value="<?php echo $config->objectclass?>" />
<?php if (isset($err['objectclass'])) formerr($err['objectclass']); ?>
</tr>
<tr valign="top">
- <td align="right"> changepasswordurl: </td>
+ <td align="right"><?php print_string('auth_ldap_changepasswordurl_key','auth') ?>: </td>
<td>
<input name="changepasswordurl" type="text" value="<?php echo $config->changepasswordurl ?>" />
<?php
</tr>
<tr valign="top" class="required">
- <td align="right">expiration:</td>
+ <td align="right"><?php print_string('auth_ldap_expiration_key','auth') ?>:</td>
<td>
<?php
$expiration['0'] = 'no';
<tr valign="top" class="required">
- <td align="right">expiration_warning:</td>
+ <td align="right"><?php print_string('auth_ldap_expiration_warning_key','auth') ?>:</td>
<td>
<input name="expiration_warning" type="text" size="2" value="<?php echo $config->expiration_warning?>" />
<?php if (isset($err['expiration_warning'])) formerr($err['expiration_warning']);
</tr>
<tr valign="top" class="required">
- <td align="right">exprireattr:</td>
+ <td align="right"><?php print_string('auth_ldap_exprireattr_key','auth') ?>:</td>
<td>
<input name="expireattr" type="text" size="30" value="<?php echo $config->expireattr?>" />
<?php if (isset($err['expireattr'])) formerr($err['expireattr']);
</tr>
<tr valign="top" class="required">
- <td align="right">gracelogins:</td>
+ <td align="right"><?php print_string('auth_ldap_gracelogins_key','auth') ?>:</td>
<td>
<?php
$grace['0'] = get_string('no');
</tr>
<tr valign="top" class="required">
- <td align="right">graceattr:</td>
+ <td align="right"><?php print_string('auth_ldap_gracelogin_key','auth') ?>:</td>
<td>
<input name="graceattr" type="text" size="30" value="<?php echo $config->graceattr?>" />
<?php if (isset($err['graceattr'])) formerr($err['graceattr']);
</tr>
<tr valign="top">
- <td align="right">auth_user_create: </td>
+ <td align="right"><?php print_string('auth_ldap_auth_user_create_key','auth') ?>: </td>
<td>
<?php
</td>
</tr>
-</tr>
<tr valign="top" class="required">
- <td align="right">create_context:</td>
+ <td align="right"><?php print_string('auth_ldap_create_context_key','auth') ?>:</td>
<td>
<input name="create_context" type="text" size="30" value="<?php echo $config->create_context?>" />
<?php if (isset($err['create_context'])) formerr($err['create_context']); ?>
</tr>
<tr valign="top" class="required">
- <td align="right">creators:</td>
+ <td align="right"><?php print_string('auth_ldap_creators_key','auth') ?>:</td>
<td>
<input name="creators" type="text" size="30" value="<?php echo $config->creators?>" />
<?php if (isset($err['creators'])) formerr($err['creators']); ?>
$string['auth_cas_text'] = 'Secure connection';
$string['auth_cas_create_user'] = 'Turn this on if you want to insert CAS-authenticated users in Moodle database. If not then only users who already exist in the Moodle database can log in.';
$string['auth_casnotinstalled'] = 'Cannot use CAS authentication. The PHP LDAP module is not installed.';
+$string['auth_cas_cantconnect'] ='LDAP part of CAS-module cannot connect to server: $a';
+$string['auth_cas_use_cas'] ='Use CAS';
+$string['auth_cas_broken_password'] ='You cannot proceed without changing your password, however there is no available page for changing it. Please contact your Moodle Administrator.';
+
+
+$string['auth_cas_hostname_key'] ='Hostname';
+$string['auth_cas_changepasswordurl'] ='Password-change URL';
+$string['auth_cas_create_user_key'] ='Create user';
+$string['auth_cas_auth_user_create'] ='Create users externally';
+$string['auth_cas_language_key'] ='Language';
+$string['auth_cas_casversion'] ='Version';
+$string['auth_cas_port_key'] ='Port';
+$string['auth_cas_baseuri_key'] ='Base URI';
+
+
$string['auth_changepasswordurl'] = 'Change password URL';
$string['auth_changepasswordurl_expl'] = 'Specify the url to send users who have lost their $a password. Set <strong>Use standard Change Password page</strong> to <strong>No</strong>.';
$string['auth_dbhost'] = 'The computer hosting the database server.';
$string['auth_dbname'] = 'Name of the database itself';
$string['auth_dbpass'] = 'Password matching the above username';
-$string['auth_dbpasstype'] = '<p>Specify the format that the password field is using. MD5 encryption is useful for connecting to other common web applications like PostNuke.</p> <p>Use \'internal\' if you want to the external DB to manage usernames & email addresses, but Moodle to manage passwords. If you use \'internal\', you <i>must</i> provide a populated email address field in the external DB, and you must execute admin/cron.php regularly. Moodle will send an email to new users with a temporary password.</p>';
+$string['auth_dbpasstype'] = '<p>Specify the format that the password field is using. MD5 encryption is useful for connecting to other common web applications like PostNuke.</p> <p>Use \'internal\' if you want to the external DB to manage usernames & email addresses, but Moodle to manage passwords. If you use \'internal\', you <i>must</i> provide a populated email address field in the external DB, and you must execute admin/cron.php regularly. Moodle will send an email to new users with a temporary password.</p>';
$string['auth_dbtable'] = 'Name of the table in the database';
$string['auth_dbtitle'] = 'Use an external database';
$string['auth_dbtype'] = 'The database type (See the <a href=\"../lib/adodb/readme.htm#drivers\">ADOdb documentation</a> for details)';
$string['auth_dbuser'] = 'Username with read access to the database';
+$string['auth_dbcantconnect'] ='Could not connect to the specified authentication database...';
+$string['auth_dbuserstoadd'] = 'User entries to add: $a';
+$string['auth_dbrevive'] = 'Revived user $a[0] id $a[1]';
+$string['auth_dbinsertuser'] ='inserted user $a[0] id $a[1]';
+$string['auth_dbinsertusererror'] = 'error inserting user $a';
+$string['auth_dbuserstoremove'] = 'User entries to remove: $a';
+$string['auth_dbusernotexist'] = 'Cannot update non-existent user: $a';
+$string['auth_dbhost_key'] = 'Host';
+$string['auth_dbtype_key'] = 'Database';
+$string['auth_dbname_key'] = 'DB Name';
+$string['auth_dbuser_key'] = 'DB User';
+$string['auth_dbpass_key'] = 'Password';
+$string['auth_dbtable_key'] = 'Table';
+$string['auth_dbfielduser_key'] = 'Username field';
+$string['auth_dbfieldpass_key'] = 'Password field';
+$string['auth_dbpasstype_key'] = 'Password format';
+$string['auth_dbchangepasswordurl_key'] = 'Password-change URL';
// Email plugin
$string['auth_emaildescription'] = 'Email confirmation is the default authentication method. When the user signs up, choosing their own new username and password, a confirmation email is sent to the user\'s email address. This email contains a secure link to a page where the user can confirm their account. Future logins just check the username and password against the stored values in the Moodle database.';
$string['auth_emailtitle'] = 'Email-based self-registration';
+$string['auth_emailnoinsert'] = 'Could not add your record to the database!';
+$string['auth_emailnoemail'] = 'Tried to send you an email but failed!';
// FirstClass plugin
$string['auth_fccreators'] = 'List of groups whose members are allowed to create new courses. Separate multiple groups with \';\'. Names must be spelled exactly as on FirstClass server. System is case-sensitive.';
$string['auth_fcpasswd'] = 'Password for the account above.';
$string['auth_fctitle'] = 'Use a FirstClass server';
$string['auth_fcuserid'] = 'Userid for FirstClass account with privilege \'Subadministrator\' set.';
+$string['auth_fchost_key'] = 'Host:';
+$string['auth_fcfppport_key'] = 'Port';
+$string['auth_fcuserid_key'] = 'User ID';
+$string['auth_fcpasswd_key'] = 'Password';
+$string['auth_fccreators_key'] = 'Creators';
+$string['auth_fcchangepasswordurl'] = 'Password-change URL';
+$string['auth_fcconnfail'] = 'Connection failed with Errno: $a[0] and Error String: $a[1]';
// Fieldlocks
$string['auth_fieldlock'] = 'Lock value';
$string['auth_ldap_creators'] = 'List of groups whose members are allowed to create new courses. Separate multiple groups with \';\'. Usually something like \'cn=teachers,ou=staff,o=myorg\'';
$string['auth_ldap_expiration_desc'] = 'Select No to disable expired password checking or LDAP to read passwordexpiration time directly from LDAP';
$string['auth_ldap_expiration_warning_desc'] = 'Number of days before password expiration warning is issued.';
-$string['auth_ldap_expireattr_desc'] = 'Optional: overrides ldap-attribute what stores password expiration time passwordExpirationTime';
+$string['auth_ldap_expireattr_desc'] = 'Optional: overrides ldap-attribute that stores password expiration time';
$string['auth_ldap_graceattr_desc'] = 'Optional: Overrides gracelogin attribute';
$string['auth_ldap_gracelogins_desc'] = 'Enable LDAP gracelogin support. After password has expired user can login until gracelogin count is 0. Enabling this setting displays grace login message if password is exprired.';
$string['auth_ldap_host_url'] = 'Specify LDAP host in URL-form like \'ldap://ldap.myorg.com/\' or \'ldaps://ldap.myorg.com/\' Separate multipleservers with \';\' to get failover support.';
wanted fields in Moodle. For following logins only the username and
password are checked.';
+$string['auth_ldap_host_url_key'] = 'Host URL';
+$string['auth_ldap_version_key'] = 'Version';
+$string['auth_ldap_preventpassindb_key'] = 'Hide passwords';
+$string['auth_ldap_bind_dn_key'] = 'Distinguished Name';
+$string['auth_ldap_bind_pw_key'] = 'Password';
+$string['auth_ldap_user_type_key'] = 'User type';
+$string['auth_ldap_contexts_key'] = 'Contexts';
+$string['auth_ldap_search_sub_key'] = 'Search subcontexts';
+$string['auth_ldap_opt_deref_key'] = 'Dereference aliases';
+$string['auth_ldap_user_attribute_key'] = 'User attribute';
+$string['auth_ldap_memberattribute_key'] = 'Member attribute';
+$string['auth_ldap_objectclass_key'] = 'Object class';
+$string['auth_ldap_changepasswordurl_key'] = 'Password-change URL';
+$string['auth_ldap_expiration_key'] = 'Expiration';
+$string['auth_ldap_expiration_warning_key'] = 'Expiration warning';
+$string['auth_ldap_exprireattr_key'] = 'Expiration attribute';
+$string['auth_ldap_gracelogins_key'] = 'Grace logins';
+$string['auth_ldap_gracelogin_key'] = 'Grace login attribute';
+$string['auth_ldap_auth_user_create_key'] = 'Create users externally';
+$string['auth_ldap_create_context_key'] = 'Context for new users';
+$string['auth_ldap_creators_key'] = 'Creators';
+
$string['auth_ldapextrafields'] = 'These fields are optional. You can choose to pre-fill some Moodle user fields with information from the <b>LDAP fields</b> that you specify here. <p>If you leave these fields blank, then nothing will be transferred from LDAP and Moodle defaults will be used instead.</p><p>In either case, the user will be able to edit all of these fields after they log in.</p>';
$string['auth_ldaptitle'] = 'Use an LDAP server';
$string['auth_ldapnotinstalled'] = 'Cannot use LDAP authentication. The PHP LDAP module is not installed.';
$string['noresults'] = 'No results';
$string['normal'] = 'Normal';
$string['normalfilter'] = 'Normal search';
+$string['nosite'] = 'Could not find site-level course';
$string['nostatstodisplay'] = 'There is no available data to display, sorry.';
$string['nostudentsfound'] = 'No $a found';
$string['nostudentsingroup'] = 'There are no students in this group yet';