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

Merge "Networking: Change checkboxes to switchboxes (Bug 1431569)"

parents ced538b5 ee3ddf99
......@@ -75,14 +75,14 @@ $networkingform = pieform(
'value' => format_date($openssl->expires)
),
'enablenetworking' => array(
'type' => 'select',
'type' => 'switchbox',
'title' => get_string('enablenetworking','admin'),
'description' => get_string('enablenetworkingdescription','admin'),
'defaultvalue' => get_config('enablenetworking'),
'options' => $yesno,
),
'promiscuousmode' => array(
'type' => 'select',
'type' => 'switchbox',
'title' => get_string('promiscuousmode','admin'),
'description' => get_string('promiscuousmodedescription','admin'),
'defaultvalue' => get_config('promiscuousmode'),
......
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