diff --git a/admin/settings/security.php b/admin/settings/security.php index 8bf66af2a9e..792607453d7 100644 --- a/admin/settings/security.php +++ b/admin/settings/security.php @@ -47,6 +47,7 @@ $temp->add(new admin_setting_configtext('minpassworddigits', get_string('minpass $temp->add(new admin_setting_configtext('minpasswordlower', get_string('minpasswordlower', 'admin'), get_string('configminpasswordlower', 'admin'), 1, PARAM_INT)); $temp->add(new admin_setting_configtext('minpasswordupper', get_string('minpasswordupper', 'admin'), get_string('configminpasswordupper', 'admin'), 1, PARAM_INT)); $temp->add(new admin_setting_configtext('minpasswordnonalphanum', get_string('minpasswordnonalphanum', 'admin'), get_string('configminpasswordnonalphanum', 'admin'), 1, PARAM_INT)); +$temp->add(new admin_setting_configcheckbox('disableuserimages', get_string('disableuserimages', 'admin'), get_string('configdisableuserimages', 'admin'), 0)); $ADMIN->add('security', $temp); diff --git a/lang/en_utf8/admin.php b/lang/en_utf8/admin.php index b991a10f56e..3e84b32252c 100644 --- a/lang/en_utf8/admin.php +++ b/lang/en_utf8/admin.php @@ -81,6 +81,7 @@ $string['configdefaultuserroleid'] = 'All logged in users will be given the capa $string['configdeleteunconfirmed'] = 'If you are using email authentication, this is the period within which a response will be accepted from users. After this period, old unconfirmed accounts are deleted.'; $string['configdenyemailaddresses'] = 'To deny email addresses from particular domains list them here in the same way. All other domains will be accepted. eg hotmail.com yahoo.co.uk'; $string['configdigestmailtime'] = 'People who choose to have emails sent to them in digest form will be emailed the digest daily. This setting controls which time of day the daily mail will be sent (the next cron that runs after this hour will send it).'; +$string['configdisableuserimages'] = 'Disable the ability for users to change user profile images.'; $string['configdisplayloginfailures'] = 'This will display information to selected users about previous failed logins.'; $string['configdocroot'] = 'Defines the path to the Moodle Docs. You can change this if you wish to have your own custom online documentation. Howerver, if you do that, make sure that the paths in your documentation follow the same format as http://docs.moodle.org.'; $string['configdoctonewwindow'] = 'If you enable this, then links to Moodle Docs will be showed in a new window.'; @@ -250,6 +251,7 @@ $string['deleteuser'] = 'Delete user'; $string['density'] = 'Density'; $string['denyemailaddresses'] = 'Denied email domains'; $string['digestmailtime'] = 'Hour to send digest emails'; +$string['disableuserimages'] = 'Disable User Profile Images'; $string['displayloginfailures'] = 'Display login failures to'; $string['docroot'] = 'Moodle Docs document root'; $string['doctonewwindow'] = 'Open in new window';