Commit 1d81a3d3 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Internal search: Change to switchbox (1431569)"

parents 10934688 3eeb027e
......@@ -12,4 +12,4 @@
defined('INTERNAL') || die();
$string['exactusersearch'] = 'Exact user searches';
$string['exactusersearchdescription'] = 'If checked, results from the "Search users" box and "Find friends" page are only returned for users whose profile fields match entire search terms.';
$string['exactusersearchdescription1'] = 'If set to "On", results from the "Search users" box and "Find friends" page are only returned for users whose profile fields match entire search terms.';
......@@ -42,9 +42,9 @@ class PluginSearchInternal extends PluginSearch {
'elements' => array(
'exactusersearch' => array(
'title' => get_string('exactusersearch', 'search.internal'),
'description' => get_string('exactusersearchdescription', 'search.internal'),
'description' => get_string('exactusersearchdescription1', 'search.internal'),
'help' => true,
'type' => 'checkbox',
'type' => 'switchbox',
'defaultvalue' => get_config_plugin('search', 'internal', 'exactusersearch'),
),
),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment