Commit ee3ddf99 authored by Kristina Hoeppner's avatar Kristina Hoeppner

Networking: Change checkboxes to switchboxes (Bug 1431569)

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