mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
Merge branch 'MDL-42891-master' of git://github.com/ankitagarwal/moodle
This commit is contained in:
commit
ac32e42827
@ -270,7 +270,7 @@ $string['configmypagelocked'] = 'This setting prevents the default page from bei
|
||||
$string['confignavcourselimit'] = 'Limits the number of courses shown to the user when they are either not logged in or are not enrolled in any courses.';
|
||||
$string['confignavshowallcourses'] = 'This setting determines whether users who are enrolled in courses can see Courses (listing all courses) in the navigation, in addition to My Courses (listing courses in which they are enrolled).';
|
||||
$string['confignavshowcategories'] = 'Show course categories in the navigation bar and navigation blocks. This does not occur with courses the user is currently enrolled in, they will still be listed under mycourses without categories.';
|
||||
$string['confignotifyloginfailures'] = 'If login failures have been recorded, email notifications can be sent out. Who should see these notifications?';
|
||||
$string['confignotifyloginfailures'] = 'Send login failure notification messages to these selected users. This requires an internal logstore (eg Standard Logstore) to be enabled.';
|
||||
$string['confignotifyloginthreshold'] = 'If notifications about failed logins are active, how many failed login attempts by one user or one IP address is it worth notifying about?';
|
||||
$string['confignotloggedinroleid'] = 'Users who are not logged in to the site will be treated as if they have this role granted to them at the site context. Guest is almost always what you want here, but you might want to create roles that are less or more restrictive. Things like creating posts still require the user to log in properly.';
|
||||
$string['configopentogoogle'] = 'If you enable this setting, then Google will be allowed to enter your site as a Guest. In addition, people coming in to your site via a Google search will automatically be logged in as a Guest. Note that this only provides transparent access to courses that already allow guest access.';
|
||||
|
@ -669,7 +669,7 @@ class core_renderer extends renderer_base {
|
||||
// Include this file only when required.
|
||||
require_once($CFG->dirroot . '/user/lib.php');
|
||||
if ($count = user_count_login_failures($USER)) {
|
||||
$loggedinas .= ' <div class="loginfailures">';
|
||||
$loggedinas .= '<div class="loginfailures">';
|
||||
$a = new stdClass();
|
||||
$a->attempts = $count;
|
||||
$loggedinas .= get_string('failedloginattempts', '', $a);
|
||||
|
Loading…
x
Reference in New Issue
Block a user