Commit c480b3b6 authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review
Browse files

Merge "Add user: Switch to switchbox (Bug 1431569)"

parents 3a8422bf b91c1817
......@@ -83,12 +83,12 @@ $elements = array(
'rules' => array('required' => true),
),
'staff' => array(
'type' => 'checkbox',
'type' => 'switchbox',
'title' => get_string('sitestaff', 'admin'),
'ignore' => !$USER->get('admin'),
),
'admin' => array(
'type' => 'checkbox',
'type' => 'switchbox',
'title' => get_string('siteadmin', 'admin'),
'ignore' => !$USER->get('admin'),
),
......@@ -107,7 +107,7 @@ $elements = array(
'ignore' => !$authinstancecount,
),
'institutionadmin' => array(
'type' => 'checkbox',
'type' => 'switchbox',
'title' => get_string('institutionadministrator','admin'),
'ignore' => !$authinstancecount,
),
......
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