Commit 3eeb027e authored by Kristina Hoeppner's avatar Kristina Hoeppner
Browse files

Internal search: Change to switchbox (1431569)



Change checkbox in the plugin config to a switchbox.

Change-Id: Icdfa805c15a0cd9d11dd1631421c9a1715836967
Signed-off-by: Kristina Hoeppner's avatarKristina D.C. Hoeppner <kristina@catalyst.net.nz>
parent 586fdcd6
......@@ -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'),
),
),
......
Markdown is supported
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